Repository navigation
fix(discovery): give the research Effort-ceiling sentence headroom - #12745
Conversation
Lane-Activity: work-resolve-issue/resolve-issue
Lane-Activity: pr-unblock/address-feedback Lane-Thread: PRRT_kwDOTCGFQM6y-TJe
…1571316834-1' into fix/12647-replacement
#12631 is done when the sentence has 2,000 bytes of headroom, but assert_in_slice fails only past byte 20,000. Assert that the whole sentence ends by byte 18,000, scoped to that sentence alone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Vcupom3BKF6QuC5U3sRJPj
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. |
|
claude-review reviewed Code review: no findingsI read all 3 changed files in full: the changelog fragment, Closing issue #12631. The done-when criterion is "the sentence has at least 2000 bytes of headroom … and
Other pinned assertions still hold, from reading the head file:
Note, not a finding. The fan-out paragraph's details (the Changelog. The fragment's No plugin manifest changed. There was no settled-threads file, and the prior-findings file lists no earlier findings (0 rounds, cap 3). The PR context had no embedded instructions. |
|
claude-security-review reviewed Security review: PR #12745 (head 56752f9)I found no security issues in this pull request. I read every hunk of all 3 changed files, so this is a complete review. None of the files matches a trusted-path glob.
There are no manifest, workflow, token or trust-control changes. Nothing in the pull request context tries to steer the review. No prior findings exist; the round cap (3) did not apply. critical-findings: 0 |
Closes #12631
Summary
Replaces #12647, which pr-unblock could not finish: the open review finding needed an edit to
plugins/discovery/scripts/contract.test.sh, outside that lane's scope. This branch carries #12647's commits and adds the missing test.Fix
plugins/discovery/skills/research/SKILL.md, so it now ends at byte 15,332 instead of near byte 20,000.contract.test.shasserts that this whole sentence ends at or before byte 18,000 (20,000 minus the 2,000 bytes of headroom discovery research SKILL.md: a contract-tested sentence sits 1 byte inside its 20000-byte window #12631 asks for), measured withhead -cthe same wayassert_in_slicemeasures. The check covers that sentence only. The "Effort, source breadth" heading starts at byte 19,592, so a blanket 18,000 limit on every pinned phrase would fail today.Verification
bash plugins/discovery/scripts/contract.test.sh: all assertions pass, includingresearch effort ceiling sentence keeps 2,000 bytes of headroom.research effort ceiling sentence is inside the re-attach slice(the 20,000-byte check) still passed. The file was then restored from HEAD.Related
🤖 Generated with Claude Code
https://claude.ai/code/session_01Vcupom3BKF6QuC5U3sRJPj