Skip to content

fix(session): investigate hanging review and plans commands in large repos #70

Description

@4444J99

Failure state

In organvm-iii-ergon/public-record-data-scrapper, both required session-close commands hang with no output and require an external timeout:

  • organvm session review --latest
  • organvm session plans --project .

Observed on 2026-04-02 from repo root. Both exit 124 when wrapped with timeout 20, producing no stdout/stderr before termination.

Why this matters

These commands are mandated by repo session-close protocol in CLAUDE.md. A silent hang means session closeout cannot be completed deterministically, which creates governance and memory-loss risk.

Reproduction

cd ~/Workspace/organvm-iii-ergon/public-record-data-scrapper
timeout 20 organvm session review --latest
timeout 20 organvm session plans --project .

Expected

Commands should either complete or fail with actionable diagnostics.

Actual

Both commands block until killed by timeout.

Related context

  • organvm prompts distill --dry-run is not hanging, but fails fast because data/atoms/clipboard-prompts.json is missing and tells the operator to run organvm prompts clipboard first.
  • This was discovered during closeout of IRF-APP-003 work for public-record-data-scrapper.

Suggested investigation

  • Reproduce under profiler / debug logging.
  • Determine whether the stall is transcript discovery, plan indexing, git inspection, or corpus path resolution.
  • Add timeout / progress diagnostics so the failure mode is visible even before root cause is fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions