You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
orchestration: worker-release cannot close a terminal reused via worker-start --terminal; only the last dispatch's release closes it #2
worker-release cannot close a terminal that was reused through worker-start --terminal; the result depends on which dispatch is released.
Seen on: 1.4.221-local.1791262937090.6b85338989d7 CLI; the run started on app 1.4.218-local (version not recorded per entry).
Run run_f9b087216665, a delivery run on a Go service repo. One implementer terminal received several fix rounds through worker-start --terminal <handle> --worktree <selector>, as the delivery guide's fix-round rule asks.
Command: orca orchestration worker-release --dispatch <id> --json after each accepted worker_done.
Expected: after an accepted settlement, release closes the terminal, or returns something the coordinator can act on.
Actual, unit 1 (several dispatches on one terminal):
fix dispatch: retained / external_terminal
original implement dispatch: retained / ownership_transferred
first reuse: retained / user_takeover
fix dispatches the user had asked to keep: retained / user_requested
The coordinator has no Orca path to close the terminal afterwards, so it was left open for the user.
Actual, unit 2 (dispatch ctx_719ae9f55d5d): releasing the LATEST dispatch on a reused terminal returned processAction=closed_agent_terminal and closed the terminal. The earlier releases of older dispatches on reused terminals had returned retained. So only the last dispatch's release closes a reused terminal, and releasing in the wrong order leaves it open.
Related: releasing an implementer dispatch whose terminal was already closed by releasing a later dispatch on the same terminal returns ok:true state:retained processAction:none; the record stays retained.
Suggested direction: when a terminal is reused within one run, return it to coordinator ownership on the next release, or add a release that closes the terminal regardless of dispatch order.
Parked during the authorized 2026-10-14 automation recovery to restore the retro queue. The automation coordinator ended its October 9 run after ENOSPC, before review/PR and label cleanup; its final output is preserved in automation run 10.
Preserved work: local branch DoozyX/retro-2-release-reused-terminal still points to commit d112a4effbe162977b223883a5d0268e94ec6c43 (9 changed files). Historical worktree /Users/doozyx/DoozyX/tools/orca/.worktrees/retro-2-release-reused-terminal is now absent; only the root checkout is registered with Git. Existing evidence remains under /Users/doozyx/DoozyX/tools/orca/.orca/2026-10-09-retro-issue-2/, including unit-2-record.md; its recorded verification limitations require independent review before any feature acceptance or landing.
Ownership remains unverifiable, not exited: orca orchestration worker-show --dispatch ctx_2d602394b534 reports Run run_53686cedc7c4, dispatch completed/succeeded, retained resource user_owned with retainedReason=user_takeover, liveness=unverifiable/missing_status, and no matching current terminal. The recovery coordinator explicitly authorized parking this settled historical automation claim and removing retro-in-progress only to unblock other eligible issues; retro-parked excludes this issue from retries. No old terminal/resource was stopped, released, deleted, or reassigned, and no source repair or issue feature was attempted.
Needs attention: establish the retained owner's status, recover/review the preserved commit and verification gaps, then explicitly unpark before delivery resumes. Current recovery report: /Users/doozyx/DoozyX/tools/orca/.orca/2026-10-14-automation-recovery/retro-recovery-report.md.
Activity
DoozyX commentedon Oct 14, 2026
Parked during the authorized 2026-10-14 automation recovery to restore the retro queue. The automation coordinator ended its October 9 run after ENOSPC, before review/PR and label cleanup; its final output is preserved in automation run 10.
Preserved work: local branch
DoozyX/retro-2-release-reused-terminalstill points to commitd112a4effbe162977b223883a5d0268e94ec6c43(9 changed files). Historical worktree/Users/doozyx/DoozyX/tools/orca/.worktrees/retro-2-release-reused-terminalis now absent; only the root checkout is registered with Git. Existing evidence remains under/Users/doozyx/DoozyX/tools/orca/.orca/2026-10-09-retro-issue-2/, includingunit-2-record.md; its recorded verification limitations require independent review before any feature acceptance or landing.Ownership remains unverifiable, not exited:
orca orchestration worker-show --dispatch ctx_2d602394b534reports Runrun_53686cedc7c4, dispatch completed/succeeded, retained resourceuser_ownedwithretainedReason=user_takeover,liveness=unverifiable/missing_status, and no matching current terminal. The recovery coordinator explicitly authorized parking this settled historical automation claim and removingretro-in-progressonly to unblock other eligible issues;retro-parkedexcludes this issue from retries. No old terminal/resource was stopped, released, deleted, or reassigned, and no source repair or issue feature was attempted.Needs attention: establish the retained owner's status, recover/review the preserved commit and verification gaps, then explicitly unpark before delivery resumes. Current recovery report:
/Users/doozyx/DoozyX/tools/orca/.orca/2026-10-14-automation-recovery/retro-recovery-report.md.fix(orchestration): release a reused terminal through the Dispatch th…
fix(orchestration): resolve a reused remote terminal's owner on the e…
refactor(renderer): fold activation mirroring and sort-order persiste…
fix(renderer): host writes route only through the strict owner, and t…
fix(pr-watch): report a head's CI result once when two runs in a suit…