Repository navigation
fix(#1853): tighten the Codex wave after maintainer review - #1856
Conversation
The maintainer's approval of fullsend-ai#1849 listed these as non-blocking. The skill starts `correctness` and `security` first and runs the time budget check before each wait, not only after a timed-out one. Under 240 s it closes every open child and fails only if a selected one had not finished, because a check before a wait does not prove a child is running. The final-state rule now sits ahead of "any other timed-out wait", and agents/review.md becomes its single home, since that file wins a conflict. That also frees the skill's budget without raising the baseline, and "not backgrounded" returns to step 3c-1. A message reported by `close_agent` is a result, not a failure, in review and retro. Retro states the four-open cap. The contract test pins the challenger's denied-spawn guard. Part of fullsend-ai#1500. Signed-off-by: Dharit Shah <dhshah@redhat.com>
|
🤖 Review · Commit: Automated review did not complete for this commit. Check the latest review status before merging. If no review is queued or running, comment |
PR Summary by QodoTighten Codex review dispatch and sub-agent result handling
AI Description
Diagram
High-Level Assessment
Files changed (4)
|
|
🤖 Finished Review · Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.16 Automated review did not complete for this commit. Check the latest review status before merging. If no review is queued or running, comment |
Code Review by Qodo
1. Protected paths require human approval
|
|
🤖 Review · Commit: Automated review did not complete for this commit. Check the latest review status before merging. If no review is queued or running, comment |
|
/fs-review |
|
🤖 Finished Review · Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.23 Automated review did not complete for this commit. Check the latest review status before merging. If no review is queued or running, comment |
|
🤖 Finished Review · ✅ Success · Started 6:00 PM UTC · Completed 6:09 PM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $1.63 |
|
<!-- fullsend:risk-assessment --> DetailsSmall 46-line PR touching protected review files with high recent git churn, balanced by exact alignment with linked issue #1853 and complete acceptance criteria coverage. Previous run<!-- fullsend:risk-assessment --> DetailsSmall 46-line PR touching protected review files with high recent git churn, balanced by exact alignment with linked issue #1853 and complete acceptance criteria coverage. Previous run (2)<!-- fullsend:risk-assessment --> DetailsSmall 41-line PR touching protected review files with high recent git churn, balanced by exact alignment with linked issue #1853 and complete acceptance criteria coverage. |
ReviewFindingsMedium
Previous run<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJjb21tZW50IiwiZmluZGluZ3MiOltdfQ== --> ReviewFindingsMedium
Previous run (2)<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJjb21tZW50IiwiZmluZGluZ3MiOltdfQ== --> ReviewFindingsMedium
|
waynesun09
left a comment
There was a problem hiding this comment.
Two review findings on the Codex close_agent handling in skills/pr-review/SKILL.md. Both are inline.
The skill told the parent to apply the failure fallback after a close even when `close_agent` returned the child's result, which only agents/review.md and retro said to keep. Step 4's final-state close and 6d's 240 s recheck now collect a `completed` message, and the under 240 s failure turns on what the close shows. Part of fullsend-ai#1500. Signed-off-by: Dharit Shah <dhshah@redhat.com>
|
🤖 Finished Review · ✅ Success · Started 10:55 PM UTC · Completed 11:02 PM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $1.18 |
|
🤖 Finished Review · ✅ Success · Started 8:45 PM UTC · Completed 8:51 PM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.91 |
Summary
Applies the eight non-blocking follow-ups from the approval of #1849 to the Codex wave dispatch. Claude Code and pi behave as before. The Codex text applies only when the runtime note lists a roster, which fullsend v0.53.0 (fullsend-ai/fullsend#8836) ships on its experimental Codex runtime.
Related Issue
Fixes #1853. Part of #1500. Follows #1849.
Changes
skills/pr-review/SKILL.md, Codex wave bullet:correctnessandsecuritystart first; the time budget check runs before each wait, not only after a timed-out wait; the final-state rule comes ahead of "any other timed-out wait". Under 240 s the parent closes every open child, collects what those closes return, and writes thetime-budgetfailure only if a selected child is unfinished, unstarted ones included: a check before a wait does not prove a child is running, and the unconditional failure could post "This PR was NOT reviewed" with every result in hand. A final-state close also collects acompletedmessage before any fallback. 6d's recheck moves before each wait and keeps the same exception.skills/pr-review/SKILL.mdstep 3c-1: "not backgrounded" is restored.agents/review.md: now the only statement of review's Codex final states. The 900 s rule comes first, and a message reported byclose_agentis the sub-agent's result, not a failure. The skill points here for that list, so it no longer exists twice, and states theclose_agentrule itself in step 4 and 6d.agents/retro.md: states the four-open cap, and a message reported byclose_agentis the task's result, not a gap.scripts/pr-review-challenger-contract-test.sh: pins the challenger's denied-spawn guard insub-agents/challenger.mdand 6d'sclose_agentexception.Readings a maintainer may overrule
Skillsaw ceiling
skills/pr-review/SKILL.mdis now 68,242 characters, 2 more than onmain. The baselined ceiling of 17,060 estimated tokens is 68,243 characters, so 1 remains, and any larger addition needs an equal cut:CONTRIBUTING.mdforbids regenerating the baseline for it. This PR leaves the baseline untouched.Testing
make lint: 0 errors, 0 warnings, 12 suppressed../hack/lint-agent-docs: OK.pre-commit run --all-files: passed. gitlint: passed.make check-bundle: passed.bash scripts/pr-review-challenger-contract-test.sh: passed. With the guard removed fromchallenger.md, its three new assertions fail; with 6d's exception removed, its assertion fails.make script-teststep that reads a changed file was run directly and passed. On macOSmake script-testitself stops at thesedfailure inscripts/post-code-test.sh, as on plainmain. CI runs every step on Linux.Checklist
make lint,./hack/lint-agent-docs,pre-commit run --all-files🤖 Generated with Claude Code