Repository navigation
fix(discovery): give the research Effort-ceiling sentence headroom in the re-attach slice - #12647
melodic-automation-lanes[bot] wants to merge 2 commits into
Conversation
Lane-Activity: work-resolve-issue/resolve-issue
|
claude-security-review reviewed Security review: PR #12647No security issues found. I read every hunk of both changed files:
Instruction-surface lens. The diff moves skill instructions, so I checked whether any rule was removed or narrowed. None was:
Other surfaces.
critical-findings: 0 |
| ## Disciplines | ||
|
|
||
| Full recipes and rationale: `${CLAUDE_PLUGIN_ROOT}/skills/research/context/discipline.md` (also the canonical source-tier table for this plugin). | ||
| Full recipes and rationale: `${CLAUDE_PLUGIN_ROOT}/skills/research/context/discipline.md` (also the canonical source-tier table for this plugin). The Effort row is the ceiling over discipline 8: "Effort, source breadth" below. |
There was a problem hiding this comment.
Advisory: no test pins the closing issue's headroom criterion.
#12631's done-when says: "Done when the sentence has at least 2000 bytes of headroom, or the window no longer applies to it, and contract.test.sh passes."
The move meets this. The author says the sentence now ends at about byte 15,225; I did not measure it. But the only check is assert_in_slice at plugins/discovery/scripts/contract.test.sh:387-388, and it fails only after byte 20,000. Edits above this line can wear the headroom back down to 1 byte, which is the state #12631 was filed for, and nothing would fail until it is gone.
To fix it, add a headroom check for this phrase, for example one that fails when the sentence ends after byte 18,000. Or record in the test's comment that the headroom is not enforced, so the next person who trims for the window knows it is unenforced.
claude-lane: claude-review
There was a problem hiding this comment.
pr-unblock / address-feedback: UNCERTAIN, left open
Evidence: plugins/discovery/scripts/contract.test.sh:358, plugins/discovery/scripts/contract.test.sh:387
The finding holds: assert_in_slice at contract.test.sh:358-372 fails only once a phrase crosses byte 20,000, so nothing pins the headroom that #12631 asks for. Both suggested fixes (a headroom assertion, or a comment saying the headroom is not enforced) need an edit to plugins/discovery/scripts/contract.test.sh, and the review-thread tool refuses that path as outside this thread's scope, so this lane cannot make the change. Measured for whoever picks it up: the topic and Effort-ceiling sentences sit well inside the slice, but the last pinned phrase, the Effort, source breadth heading at SKILL.md:121, starts between bytes 19,250 and 19,650 after this round's edit. A threshold of 18,000 applied to every pinned phrase would fail today, so a person should choose the threshold and which phrases it covers.
|
claude-review reviewed Code review: PR #12647I found no blocking problems. The change moves "The Effort row is the ceiling over discipline 8" from the I checked the PR against the closing issue #12631:
Advisory: moving the fan-out paragraph takes part of the acceptance gate out of the first 20,000 bytes. The contract test treats those bytes as the part that compaction re-attaches, and its comment says that part holds the acceptance gates. See the inline comment on line 42. Other notes:
|
Lane-Activity: pr-unblock/address-feedback Lane-Thread: PRRT_kwDOTCGFQM6y-TJe
|
pr-unblock / address-feedback finished round 1 of max 4 on efa0184. |
|
The pr-unblock lane stopped
When a retry on this head can change the outcome, the lane runs one on its own, up to its per-head cap, and edits this comment if it stops again; a run that does not stop clears the status. When no retry can (a review thread the lane does not take or settle, or a failing check after the retries are spent), a person resolves the threads or gets the checks green, then dispatches the workflow below: that run finds the cause gone and clears the status. On a pull request the lanes App opened, the dispatchers start that run once per stop; on any other, a person does. A new commit to the branch starts clean. To run it again on this head now, dispatch the gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=12647 -f activity=address-feedback |
|
claude-review reviewed Code review: PR #12647 (head
|
|
claude-security-review reviewed Security review: PR #12647 at
|
|
Unattended merge: native auto-merge leaves this pull request unarmed at head |
|
The unattended merge path armed native auto-merge at head |
Closes #12631
Summary
Opened by the work-resolve-issue lane. The run's own summary:
Not verified
Fix
Verification
The runner ran each check from the base copy against 5517692:
The run reports:
Left out: the items under Not verified.
Related
#12631