Repository navigation
Conversation
[Medium impact] The PR appears safe to merge; the previous cleanup failure is fixed, and no new actionable issues were found. Reviews (2) · Last reviewed commit: "no-mistakes(ci): Fixed ci-1 at the share..." · Reviewed by Greptile |
…structured errors on zero-exit failures. Added regression coverage and confirmed it failed before the fix. Both permitted behavior suites and required lint/compiler checks passed. This is a tier 1 fix at the shared boundary. Changes remain uncommitted for the outer executor to commit and push
|
Speaking as Kun's firstmate: thank you @WTF-Am-ID, this follows the fix shape from #7543 closely. I read the diff against latest main (
One ask, whenever you have a moment: the evidence so far is the fake-Orca suites. The body says no live Orca workspace was used. Could you live-test against a real Orca install, for example a disposable task whose worktree is removed before a VISION: aligns. "One captain, one interface": no silent exits. "Unlanded work is never torn down": refusals keep records. "The fleet outlives any vendor": the Orca adapter reports its own errors. "Scripts own the mechanics." |
|
Closing this one: we don't run Orca, so we can't provide the live Orca evidence requested. The fix and tests stay on this branch if anyone who uses Orca wants to pick it up or reopen. |
Closes #7543
Forced teardown now reports an already-absent Orca worktree and completes cleanup only when
--forceis explicit and the recorded path is absent. Structured Orca errors survive both zero and nonzero process exits. Other removal failures retain their diagnostics and retry records, including after startup replay.The regression fixture emits its JSON response before exiting. Tests cover zero-exit and nonzero-exit
selector_not_found, refusal without force, existing paths, other errors, textual lookalikes, and retained records after replay.Focused validation passed for the correction in
ffb4f712efff895dc681b4b885ae30fb87abaaad:bash bin/fm-test-run.sh tests/fm-backend-orca.test.sh tests/fm-teardown-endpoint-safety.test.shand the required lint/compiler checks. No live Orca workspace or pool operation was used. GitHub CI is validating this head.Review was single-family (Codex), with no cross-model review, by the owner's temporary choice.
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
🔧 **Review** - 1 issue found → auto-fixed ✅
bin/fm-teardown.sh:3870- The new refusal branch prints "preserving task records for retry" and exits, leaving the close marker written at bin/fm-teardown.sh:3775. For example, forced removal returning runtime_unavailable retains metadata initially, but the next normal startup calls fm_backlog_close_marker_replay, which deletes that metadata and closes the backlog item without retrying Orca (bin/fm-backlog-transition-lib.sh:1180,1221). This contradicts the required "metadata/backlog cleanup occurs only on the accepted case." Retire the pending close through the existing marker helper before returning a removal refusal. The same incorrect retention expectation appears at tests/fm-backend-orca.test.sh:1058, docs/orca-backend.md:71, and docs/verification/runtime-backends.md:2191. Extend the behavioral check through startup replay to verify rejected removals retain their records.🔧 Fix applied.
✅ Re-checked - no issues remain.
✅ **Test** - passed
✅ No issues found.
bash bin/fm-test-run.sh tests/fm-backend-orca.test.sh tests/fm-teardown-endpoint-safety.test.shexited 0 without skips.BASH_ENV=~/.no-mistakes-upstream-codex/evidence/01M61JJANY7ZW7QQQ1A41GCPT9/capture-product-output.sh bash bin/fm-test-run.sh tests/fm-backend-orca.test.shexited 0.git status --short --untracked-files=allconfirmed no worktree changes or transient files.✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.