Repository navigation
feat(corrections): count Codifies: records with codify count-checks - #16363
Conversation
Lane-Activity: work-resolve-issue/resolve-issue
|
Unattended merge: native auto-merge leaves this pull request unarmed at head |
Lane run report
Failed GitHub API calls
|
|
claude-security-review reviewed Security review: PR #16363, incremental (
|
|
claude-review reviewed Code review: PR #16363, incremental pass from
|
|
The unattended merge path armed native auto-merge at head |
Verification evidence for 28e596dThe verifier passed this head. The capture artifact holds the capture summary, which says whether the capture ran, and any screenshot or video that passed the mask check; this comment uploads no file. Capture artifact: pr-capture-16363-28e596d65d9229b5837427c39160b1ee4bce8cb1, expires on 2026-12-15. One comment per pull request, updated in place for each new head. |
|
Merge-Risk: max=HIGH demote=true head=5ff5060385d3ec2ae973eac2a1208dbeb477598d rubric=9.2.4 rater=claude-opus-5-5 checker=claude-opus-5-5 |
Lane run report
Failed GitHub API calls
|
Lane-Activity: pr-unblock/resolve-conflicts
Lane run report
Failed GitHub API calls
|
…sue-15650-43729451450-1 # Conflicts: # plugins/corrections/evals/codify-proposal-names-the-fix/case.yaml
…every Codifies: line - A blocking record promotes an advisory one when its source is the pull request that landed the advisory record (that commit's `(#p)` subject suffix) and the rung matches, so a session-sourced advisory check made blocking counts once, and two checks sharing an issue number count twice. - Every line naming `Codifies:` off column 0 (the task-list item form, code spans, prose) is listed as not counted with its reason. - History is read with `git log --first-parent`. - `Reverts owner/repo#n` reverts only when owner/repo is origin's; with no origin URL the number alone is matched and the output says so. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…shellcheck Co-Authored-By: Claude Opus 5.5 <[email protected]>
…rted promotion origins count-checks listed every line that merely mentioned Codifies:, a commit subject and prose included, and opened a default window at the first such mention. It now lists a line off column 0 only when it looks like an attempted record (the text after Codifies: starts with #<digit>, session or <, or the line holds rung=), and opens the window only at a counted, reverted or record-like line. A repeated line in one commit message still counts once, and the repeat is now listed as not counted with its reason, so a second promotion of a same-source same-rung advisory record is visible; finding-classes.md says each such promotion needs its own commit. A blocking record whose advisory record was reverted is listed as a new blocking check with the reverted record and its reverter. The number-only revert note now reads true when origin exists but its URL names no owner/repo. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…window A malformed line at column 0 older than every record again opens the default window and is listed. A record written with emphasis on the key is listed, a quoted grammar with placeholders is not, and a repeated line carries the promotion hint only when it is a blocking record. Refs: #15650 Co-Authored-By: Claude Fable 5.2 <[email protected]>
…rung pattern Refs: #15650 Co-Authored-By: Claude Fable 5.2 <[email protected]>
|
The unattended merge path armed native auto-merge at head |
|
Merge-Risk: max=HIGH demote=true head=28e596d65d9229b5837427c39160b1ee4bce8cb1 rubric=9.2.4 rater=claude-opus-5-5 checker=claude-opus-5-5 |
Closes #15650
Summary
Adds
/corrections:codify count-checks, a read-only count of the checks that merged changes record with aCodifies:line in the pull request body.git log, calls no forge and writes no file.make-impossiblemarked advisory) is listed as not counted with its commit and reason. A line that only mentions the key in prose is ignored.Revertand that saysThis reverts commit <sha>orReverts owner/repo#<n>for this repository removes the record and lists it. A blocking record whose advisory origin was reverted is counted as a new blocking check and listed.make-impossiblenow holds the literal record line and its task-list item form.linkageLinescopies a wholeCodifies:record of at most 72 characters from a task-list item that names the pull request body, so both body builders carry it. It never copies one from the run's text.compiler-settingandbehavior-test, and the five plugin copies are regenerated.Remaining work
Not verified
reviews'[--pr <n>]andnote's[--applied]to fit the 100-character budget; the Actions table keeps the full forms.originremote URL to read, a revert that names a pull request is matched by number alone, and the output says so.codify-proposal-names-the-fixeval's grader on main acceptsaction-guard,harness-settingorarchitecture-testfor its row 6 and was left unchanged; it does not acceptbehavior-test.Fix
plugins/corrections/scripts/count-checks.mjs: the counter.plugins/corrections/scripts/count-checks.test.sh: fixture-repository tests (81 checks) with hand-derived expected rows.plugins/corrections/skills/codify/actions/count-checks.md: the action.plugins/corrections/skills/codify/SKILL.md: the action in the argument hint, Actions table, action words, allowed-tools, proposal contents and Boundary.plugins/corrections/skills/codify/reference/finding-classes.md: the Record line section (grammar, blocking and advisory, promotion, task-list item form).plugins/corrections/README.md: the action and script rows..github/scripts/work-resolve-issue/report-outcome.mjsand its test:linkageLinescarries the issue's record line.docs/contracts/enforcement-ladder/README.mdandCHANGELOG.md: 3.1.0 and the two ids; the five plugin copies regenerated bysync-shared-copies.docs/skill-cheat-sheet.md: the codify row.Verification
bash plugins/corrections/scripts/count-checks.test.sh: 81 of 81.scripts/check-changed-skills.sh --merge-base: 4 skills checked, 0 failed.CI Statuson the head, withsync-shared-copies --check-bumpin the Check Plugins job.Related
#15650
🤖 Generated with Claude Code