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-list proposes nextAction=release for user-retained and unverifiable rows while reclaimable filter is empty #32
worker-list proposes projection.nextAction.kind=release for rows whose resource is explicitly retained (resource.releaseState=retained, resource.retainedReason=user_requested), including rows with liveness=unverifiable, while the same run's --terminal-state reclaimable filter returns no rows.
Inspect per row (allowlisted fields only): resource.releaseState, resource.retainedReason, projection.liveness.verdict, projection.nextAction.kind; then result.workers / page.total of the second call.
Expected
A row retained by an explicit worker-retain (retainedReason=user_requested) does not carry nextAction.kind=release. The delivery teardown check treats any reclaimable row as residue, and that filter says nothing is reclaimable. For an unverifiable row the served recovery guide says never to release.
Actual
Four rows were retained / user_requested and still reported nextAction.kind=release: one live, three unverifiable (succeeded, failed, abandoned). The reclaimable filter returned 0 rows (counts: active 1, retained 12, released 11; page.total 0). Captured 2026-10-15T11:20Z, both commands exit 0.
A re-check on the current version shows the abandoned, unverifiable row is still retained / user_requested with nextAction.kind=release, and reclaimable still returns an empty workers array. That row had already been refused once: a supported worker-release returned retained / identity_unproven / processAction none, then the fleet row proposed the same release argv again with no new identity proof. Other user-retained rows stopped showing the symptom only after they were released.
Guide text that misleads
orchestration/references/recovery-and-cleanup.md:
each row carries projection.liveness, projection.attention.categories, projection.attention.requiresAction, and a literal projection.nextAction argv to run
versus the table row:
unverifiable liveness | Keep waiting or inspect; never stop, abandon, retry, or release
A coordinator that runs the literal argv on a retained row releases a worker the user asked to keep. Here the coordinator did not run it; it recorded KEEP.
Not claimed
That Orca would release anything by itself, or that release is never valid for a retained row after the user lifts the retention.
.orca/2026-10-15-eros-release2/orchestrate/retrospective.md (Orca issues, entry 1); receipt: orchestrate/teardown-commands.json seq 58/59 in the same run directory.
Already fixed on current fork/main (b01519b) by upstream commit 0668ba1 (stablyai#36803, 2026-10-31, after this was filed on 2026-10-15). Not re-implemented.
src/shared/orchestration/fleet/orchestration-fleet-worker-projection.tsprojectFleetNextAction: a settled worker only gets release when resource.ownershipState === 'owned' and releaseState is neither released nor retained. A retained row (including retainedReason=user_requested) gets { kind: 'none', argv: [] }.
deriveWorkerTerminalListState (worker-terminal-ownership.ts) maps release_state = 'retained' to terminalState=retained, so the earlier terminalState === 'reclaimable' branch never fires for it. The federated --include-remote path recomputes through the same projectFleetNextAction (refreshFleetWorkerVerdict).
Live and unverifiable rows reach only none or inspect, never release.
Regression test from that commit: asks nothing of a finished worker kept open in orchestration-fleet-projection.test.ts (succeeded, owned, releaseState: 'retained', expects none).
The "unverifiable row refused once, then the same release argv proposed again" case is covered by the same branch. I did not re-run the original captured run, since its data is from 2026-10-15.
Activity
fix(orchestration): advise release only on reclaimable worker terminals
DoozyX commentedon Nov 17, 2026
Already fixed on current fork/main (b01519b) by upstream commit 0668ba1 (stablyai#36803, 2026-10-31, after this was filed on 2026-10-15). Not re-implemented.
Evidence (code read on fork/main;
git merge-base --is-ancestor 0668ba1a332 fork/mainexits 0):src/shared/orchestration/fleet/orchestration-fleet-worker-projection.tsprojectFleetNextAction: a settled worker only getsreleasewhenresource.ownershipState === 'owned'andreleaseStateis neitherreleasednorretained. Aretainedrow (includingretainedReason=user_requested) gets{ kind: 'none', argv: [] }.deriveWorkerTerminalListState(worker-terminal-ownership.ts) mapsrelease_state = 'retained'toterminalState=retained, so the earlierterminalState === 'reclaimable'branch never fires for it. The federated--include-remotepath recomputes through the sameprojectFleetNextAction(refreshFleetWorkerVerdict).noneorinspect, neverrelease.asks nothing of a finished worker kept openinorchestration-fleet-projection.test.ts(succeeded, owned,releaseState: 'retained', expectsnone).The "unverifiable row refused once, then the same release argv proposed again" case is covered by the same branch. I did not re-run the original captured run, since its data is from 2026-10-15.