[agent] fix(subagents): require progress evidence and support reconciled task recovery - #179
thisisjun786 wants to merge 7 commits into
Conversation
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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3767ae8826
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4a829dfe95
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3c0bcc6f71
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 20e50485f9
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
|
Superseded by #180. The replacement retains this PR's evidence-based retirement guidance, explicit task-failure recovery and resolved review fixes. Its recovery runtime is carried unchanged. The combined change strengthens architect consultation while preserving CXC's existing delegation-selection rules and independent review. Live-child reconciliation and stop rules still apply. This PR is closed in favor of the single replacement; the original branch and contribution history remain preserved. |
Closes #178.
An executor can keep investigating while its working tree stays clean. The old waiting guidance treated repeated empty waits as failure. It also lacked an executable recovery path when a child stopped after confirmed stagnation or unusable output without a provider error.
The waiting reference now requires meaningful progress comparisons and a delivered checkpoint before declaring stagnation. It distinguishes missing visibility, final-output failure, cancellation, and resource limits, and requires prior work to stop before handoff.
Managed dispatch adds
outcome: "task_failed"for confirmedstagnationorunusable_output. It validates bounded evidence, the recorded child ID, stopped execution, and reconciliation before reusing the existing two-attempt handoff. A returnedreadystill requires a fresh claim; onlymain-directpermits main to reclaim work. Provider error precedence and terminal stop decisions remain intact. The CLI guidance, plan template, architect recovery clause, public guide, and doctrine agree on these permissions.Verification for
cb25e3b1:TMPDIRresolved local environment failures without product changes.Progress classification and child-shutdown evidence remain main-agent judgments; this does not add a runtime watchdog or authenticated termination receipts. No plugin installation, merge, or release is part of this PR.
Verification record.