Repository navigation
fix(agents): hold automatic settlement for unfinished Actions without manual setup - #582
Conversation
Unfinished ordinary Project Actions and their exact queued continuations now block automatic settlement. Parent mediation no longer requires a manual settlement-setting change. Exact native and legacy completion evidence releases the hold without relying on unrelated later work. Carry-Group: incubator Carry-Fix: #520 Carry-Observation: Preserve explicit lifecycle choices and the installed-acceptance gate for child-owned Actions. Co-Authored-By: Codex <[email protected]> Carry-Observation: This repair depends on the Action continuation, settlement, test and guidance contributions currently delivered together in Incubator; preserve their ordered replay.
An unaccepted delegated child must return a final Action request instead of launching or waiting. Scope the no-setting instruction to top-level and parent-launched Actions, and retain the ambiguous ownership brief as a sanitized model regression. Carry-Group: incubator Co-Authored-By: Codex <[email protected]> Carry-Observation: This repair depends on the Action continuation, settlement, test and guidance contributions currently delivered together in Incubator; preserve their ordered replay.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@codex review |
|
Codex Review: Didn't find any major issues. 🎉 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
4b166df to
092e231
Compare
|
@codex review |
|
Codex Review: Didn't find any major issues. Already looking forward to the next diff. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Agents running a resumable Project Action workflow stopped to ask the user to turn off automatic settlement first. #520 retained that manual step to the parent-mediation instructions, but ordinary Actions don't need it. This PR makes the server hold settlement by itself and removes the step.
What changes
outstandingOwnedWorkpredicate keeps a thread from settling automatically while it owns an unfinished or recoverable ordinary Action, or that Action's exact retained or queued follow-up. There is no new state machine, table or API.Validation
Head
092e2312f8d341025a3c2350cb250d112832c330on base0670c8aa4dd1c7b61f2800d445ba4d47c0579c9d.The changed-file gate passes on this head by reusing its passing source cache: 80 tests across 8 files and 25 package typechecks. The saved Automatic Quick CI Action produced a new exact-head/base passing receipt using normal task caches. No new test execution is claimed for the metadata-only correction.
Instruction-delivery and grader checks passed 431 tests, plus the one context-budget test. All eight Action replay requests build.
Terra 6.1 xhigh source review and the fresh carry-metadata delivery re-check are clean. The earlier source/runtime evidence retains its original pins; both replacement commit trees are identical to their originals.
An isolated running-server matrix covered ordinary Actions, Pause, disposal and explicit choice. It passed. This change has no visual UI, so the evidence is a short normalized server transcript:
Not proven
Implemented and validated with GPT-6.1 Sol through Codex; reviewed by GPT-6.1 Terra xhigh through Codex. Claude Opus 5.5 high performed the guidance writing pass; Claude Sonnet 5.5 high performed the PR wording pass, both through Claude Code.