Repository navigation
fix(review,discovery): state the hand-back size in four agents and the research brief - #13979
Conversation
…e research brief The 3,400-byte aim under a 4,096-byte cap lived only in the report skills, so review:code-reviewer, review:security-reviewer, discovery:researcher and discovery:research-verifier returned a pointer with no stated size. Each now states it, the research dispatch prompts carry a Return: line, and the verifier names target_as_received as its file pointer. Refs: #12469 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…e intact The Return: lines in skills/research/SKILL.md broke two contract checks: the envelope must match parent-contract.md's byte for byte, and the extra lines pushed "### Effort, source breadth" past the 20,000-byte re-attach slice. Both research agents state the size in their own definitions, which done-when 2 accepts, so SKILL.md returns to main's text. Refs: #12469 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ❌ FailedThis 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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
claude-security-review reviewed Security review: PR #13979, incremental (52254a6 → cabd3bc)No security issues found. This was an incremental review: I read every hunk of both files in its scope. What changed since the last review:
Checks:
Prior findings: the only earlier post is the last review's summary, which reported 0 findings, so there is nothing to carry forward. This review was blocking only ( critical-findings: 0 |
|
claude-review reviewed Code review: PR #13979 (incremental,
|
On the by-value path the researcher appends the artifact bodies after its block, and they are the only copy of the run, so an unconditional 4,096-byte cap would truncate them. The cap and the deep tier's Return: line now apply only with persistence: written, as in the reviewer agents. Refs: #12469 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Closes #12469
Summary
Done-when 2 of #12469 asks that the top agent types or briefs by bytes return a file pointer and a summary under a stated size. The static grading at #12469 (comment) found that only the implementation agents carried the size, because they preload a report skill. This PR states the 3,400-byte aim under the 4,096-byte cap in the four items graded PARTIAL or MISSING.
review:code-reviewerandreview:security-reviewer: the Cap. paragraph gives the size for apersistence: writtenreply, and detail goes in the findings file.discovery:researcher: the return section gives the size, and detail goes in the artifactartifact:points at.discovery:research-verifier: the return section namestarget_as_received, the artifact it graded, as its file pointer, with the bullets as the summary under the same size. It stays read-only: its "Tool honesty" section keeps one writer per memory slice, so it gets no Write tool and writes no file of its own.context/deep-tier.md) carries aReturn:line with the size.skills/research/SKILL.mdis unchanged. Its envelope must matchreference/parent-contract.mdbyte for byte, and### Effort, source breadthsits 25 bytes inside the 20,000-byte re-attach slice (scripts/contract.test.sh). Done-when 2 accepts the agent definitions, which carry the size.Fix
Five files: one size sentence in each of the four agent definitions, plus the deep tier's
Return:line.Verification
plugins/discovery/scripts/contract.test.sh: passes after the SKILL.md revert. Its two failing assertions are what caught the envelope line and the slice overflow.R402 no-loss eval: base
661df4f15bagainst head9e08bb1f13, this change before the rebase. That head also carried the SKILL.mdReturn:lines this PR has since dropped, so the shipped diff is a subset of the evaluated one. The rebase onto main brought in onlyplugins/review/lib/prior-findings.mjs, its test and a release bump, none of which is an agent or skill body. Claude Code 2.1.319,--runs 3, every launch through the host eval gate, each case under its ownallowed_tools.code-reviewer-dropped-ci-step,-duplicated-code-severity,-lowered-coverage-bar, andsecurity-reviewer-cache-key-omits-viewer,-delete-shape-check,-llm-output-trusted,-new-dependency-unread. All 14 sides are VALID, at base 1.00 and head 1.00 for every case.bs-asks-starting-point-first, which dropped from 1.00 to 0.83: one run in three missedasks-starting-point. That brainstorm case cannot reach this diff, since nothing underskills/brainstormchanged or names either research agent.rd-unread-page-not-recalled(head) andsu-fork-default-print-mode(both sides).review:code-reviewerran in all 9 code-reviewer runs andreview:security-reviewerin all 12 security-reviewer runs. Only 1 of those 21 runs passed aFindings path:, the condition the new sentence applies under.discovery:researcheranddiscovery:research-verifierran in none of the 42 discovery runs, because no discovery case dispatches them.Related
🤖 Generated with Claude Code