Repository navigation
refactor(source-control): cut the model-read ecosystem specifics (ADR 0101) - #17336
melodic-automation-lanes[bot] merged 3 commits into
Conversation
Lane-Activity: work-resolve-issue/resolve-issue
|
Held for the before-and-after eval that cut item #16763 needs. The pr-merge release step lifts this hold when an eval-pair record exists for the current head. |
|
claude-review reviewed Code review: PR #17336, incremental from
|
|
claude-security-review reviewed Security review: PR #17336, changes since 16358deNo security issues found in this push. This was an incremental, blocking-only review, because this lane already reviewed an earlier head. I read every hunk of all 4 files in the incremental diff. My earlier finding is fixedThe earlier finding was at
The other two files
Other notes
critical-findings: 0 |
Targeted eval result: PASSOne targeted case per changed skill, run on the old text (before) and the new text (after), on What this gate checks: that the new text does no worse than the old on these cases. By the owner's decision of 2026-11-17 the gate is this no-loss compare alone. There is no wrong-text side, so this case set has not been shown to detect wrong text: a PASS says the cases did not get worse, not that they would have noticed a bad edit. Scope: a cut of seven R11 rows with three small behaviour additions, gated on no-loss alone (no targets): prep.md 1.5 gains a decision-rule bullet (an unresolved ecosystem is named in the PR body as not verified locally, F0383), create.md's dependencies row reports the check as not run when no install step is stated (F0377), and cleanup.md's build-server bullet reports that no build server was stopped when none is stated (F0378). Measured: F0385 (skills/pull-request/reference/ci-ci.md, the 'Never weaken a check' list) by p17336-pr-ci-escalates-not-weakens; F0378 (skills/worktree/context/cleanup.md build-server bullet, plus the worktree SKILL.md invariant) and F0379's cleanup.md Step 5 pointer by p17336-wt-cleanup-build-server; each row counts only when 2 of 3 runs a side opened cleanup.md or ci-ci.md. Unmeasured: F0377 (worktree/context/create.md, one case per skill), F0379's macos-caches.md page itself (macOS with xcrun only; the runs are on Linux), README.md and prerequisites.json (not model-read by these skills), F0381 (commit SKILL.md and setup apply-convention.md: a third case does not fit the 1.11 USD smoke budget), F0383 and F0384 (pull-request prep.md and ready-for-review.md: one case per skill).
Passing runs per grader, per side:
Graders that cannot show a loss, because they failed on the old text in every run:
Changed files the compare runs opened, per case and side:
Rows these runs measured (the row's file opened in at least 2 of 3 runs on each side, or loaded with the skill or agent):
Rows these runs did not measure:
Verdicts:
Cost: 2.73 USD (smoke and compare, the runs' The cases live outside the repository; their full text: The 2 cases: prompt.md and case.yaml
|
|
The |
Lane run report
Failed GitHub API calls
|
Lane-Activity: pr-unblock/address-feedback Lane-Thread: PRRT_kwDOTCGFQM65SHeZ Lane-Thread: PRRT_kwDOTCGFQM65SHu6
Lane run report
Failed GitHub API calls
|
|
pr-unblock / address-feedback finished round 1 of max 4 on 5b7b372. |
Lane run report
Failed GitHub API calls
|
|
Unattended merge: native auto-merge leaves this pull request unarmed at head |
|
Held again for its eval: the head moved after the eval record was posted. The record above is for head Next: once the failing checks on this pull request are fixed and the head is stable, the same two cases run again on the new head (before side unchanged), and a new record is posted. ETA: within 90 minutes of the head settling. |
The cut's rewrap split "Record `pass` or `fail` from its exit status" across two lines in ready-for-review.md, so ready-verify-local.test.sh assertion [7] no longer matched it. Rewrap only; no wording changes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Targeted eval result: PASSOne targeted case per changed skill, run on the old text (before) and the new text (after), on What this gate checks: that the new text does no worse than the old on these cases. By the owner's decision of 2026-11-17 the gate is this no-loss compare alone. There is no wrong-text side, so this case set has not been shown to detect wrong text: a PASS says the cases did not get worse, not that they would have noticed a bad edit. Scope: a cut of seven R11 rows with three small behaviour additions, gated on no-loss alone (no targets): prep.md 1.5 gains a decision-rule bullet (an unresolved ecosystem is named in the PR body as not verified locally, F0383), create.md's dependencies row reports the check as not run when no install step is stated (F0377), and cleanup.md's build-server bullet reports that no build server was stopped when none is stated (F0378). Measured: F0385 (skills/pull-request/reference/ci-ci.md, the 'Never weaken a check' list) by p17336-pr-ci-escalates-not-weakens; F0378 (skills/worktree/context/cleanup.md build-server bullet, plus the worktree SKILL.md invariant) and F0379's cleanup.md Step 5 pointer by p17336-wt-cleanup-build-server; each row counts only when 2 of 3 runs a side opened cleanup.md or ci-ci.md. Unmeasured: F0377 (worktree/context/create.md, one case per skill), F0379's macos-caches.md page itself (macOS with xcrun only; the runs are on Linux), README.md and prerequisites.json (not model-read by these skills), F0381 (commit SKILL.md and setup apply-convention.md: a third case does not fit the 1.11 USD smoke budget), F0383 and F0384 (pull-request prep.md and ready-for-review.md: one case per skill).
Passing runs per grader, per side:
Graders that cannot show a loss, because they failed on the old text in every run:
Changed files the compare runs opened, per case and side:
Rows these runs measured (the row's file opened in at least 2 of 3 runs on each side, or loaded with the skill or agent):
Rows these runs did not measure:
Verdicts:
Cost: 2.78 USD (smoke and compare, the runs' The cases live outside the repository; their full text: The 2 cases: prompt.md and case.yaml
|
|
The |
|
The unattended merge path armed native auto-merge at head |
|
Merge-Risk: unrated reason=pending |
|
The post-merge check verified merge commit |
Closes #16763
Summary
Opened by the work-resolve-issue lane; this body was restated by a host session against head
500ca22106aba2ccb3128fc024a8c432d1232738and basecc754136aee114332c979c921db9fe8f8eaee46d.Cuts the 7 R11 rows #16763 lists from
source-control, so the plugin ships no model-read tool, library or command choice outside ADR 0101's named exceptions. Where a skill still takes the step, generic text that reads the consumer's own records replaces the tool names; elsewhere the text is deleted.Row count: 7 rows. Paths in the table are under
plugins/source-control/.skills/worktree/context/create.mddotnet restore,uv sync/pip install -e .) and the lefthook/husky examples are gone. A generic "Dependencies installed" row reads the project's own install step from Workspace environment setup or its setup docs, reports the check as not run when none is stated, and skips an untrusted-input worktree. The helper's ownnpm cistep (the R6 reading, an executed adapter) is keptskills/worktree/context/cleanup.md,skills/worktree/SKILL.mddotnet build-server shutdownor Gradle--stop. They use the shutdown command the project's build tool documents, read from origin's default branch by SHA, never the candidate's tree, skip an untrusted-input worktree, and report that no build server was stopped when none is statedskills/worktree/context/macos-caches.md,skills/worktree/context/cleanup.md,prerequisites.jsonmacos-caches.mddeleted, its pointer incleanup.mdStep 5 removed, the optionalxcrunentry removed fromprerequisites.json. Items kept only because the page consumed them go in the same pull request: theREADME.mdsentence, worktreeevals/evals.jsoncase 22cleanup-macos-caches-need-a-yes-per-item, case 21's Xcode expectation, and thedocs/upstream/cursor-pstack.mdcitation of the pagemacos-caches.md); part (the others)skills/commit/SKILL.md,skills/setup/reference/apply-convention.mdcommit-msgentry in the hook manager the repository's own files name, plus the commit-message linter config that hook runs. lefthook, husky and commitlint are no longer namedskills/pull-request/reference/prep.md,skills/pull-request/reference/ready-for-review.mddotnet build && dotnet test,npm test,pytest, shellcheck, markdownlint and the "looks dotnet-only" example are gone. A new decision-rule bullet names an unresolved ecosystem in the PR body as not verified locally. ready-for-review.md's three "§1.5's ecosystem-native commands" references now say "the commands §1.5 resolves"skills/pull-request/reference/ready-for-review.mdskills/pull-request/reference/ci-ci.mdxfail/.onlyKept rows, not touched here (count per rule, from #16763): R2 4, R5 2 (D17, D18), R6 3.
Not verified
16358de0ae2927cb8c89a02741dbdc8a54261598; its re-run on this head also passed with no loss, and the record is in this pull request's comments (see "Eval cases per changed skill")Fix
Each changed file, with whether the cut deletes the whole page or part of it:
plugins/source-control/skills/worktree/context/macos-caches.mdplugins/source-control/skills/worktree/context/create.mdplugins/source-control/skills/worktree/context/cleanup.mdplugins/source-control/skills/worktree/SKILL.mdplugins/source-control/prerequisites.jsonxcrunentry removedplugins/source-control/README.mdplugins/source-control/skills/worktree/evals/evals.jsoncleanup-macos-caches-need-a-yes-per-itemremoved; case 21 drops its Xcode sentence and expectationplugins/source-control/skills/commit/SKILL.mdplugins/source-control/skills/setup/reference/apply-convention.mdplugins/source-control/skills/setup/evals/evals.jsonexpected_outputnames the hook genericallyplugins/source-control/skills/pull-request/reference/prep.mdplugins/source-control/skills/pull-request/reference/ready-for-review.mdplugins/source-control/skills/pull-request/reference/ci-ci.mdxfail/.onlyreplaced by generic wordingdocs/upstream/cursor-pstack.mdmacos-caches.mdand records its removal; its free-space cite now points atcleanup.md:94,382.changes/source-control/work-resolve-issue-issue-16763-44424557019-1-7749f4e4.mdVerification
Script-reader searches (R11 rows), run at the head commit
In the raw output of every search below, each line starts with
500ca22106aba2ccb3128fc024a8c432d1232738:; the prefix is dropped here.The deleted page and the removed prerequisite, F0379:
The one hit is a released changelog entry, not a reader. Nothing names the deleted page.
The partly cut files, F0377, F0378, F0379 (
cleanup.md,prerequisites.json,README.md), F0381, F0383, F0384, F0385, every file that is not markdown, so a script or data file that reads one shows up:(The two long lines are shortened with
...; nothing else is changed.) Most hits are comments or prose citing a section. Three tests readskills/pull-request/reference/ready-for-review.md(F0383, F0384); what each reads:Its 8 hits (pr-worktree.test.sh:123,125; ready-flip.test.sh:20,28,44,48,50; ready-verify-local.test.sh:19), summarized per test with the assertions they feed:
pr-worktree.test.sh:123reads the line holding bothpr-worktree.sh" --prandcheck-affected.sh" --tests, which this pull request does not change.ready-flip.test.sh:48reads the first bash block under## 2.5.7 Report, which this pull request does not change.ready-verify-local.test.sh:23-29asserts the page containsready --verify-local,skipped (CI covers it), thereview-venue.sh" --head ...command, "the venue'stestsline readci(above), drop--testsfrom the command" and "Recordpassorfailfrom its exit status". Each string is still in the page at this head; the last one is the sentence commit500ca221keeps on one line.None of the three reads the cut text, so the row stays cut and nothing goes back to #15730.
The removed strings themselves:
All three hits belong to other plugins and read no
source-controlfile.Per R11 row, the script or data readers found:
create.md: none.cleanup.md, worktreeSKILL.md: none.pull-request/evals/evals.json:747,752names worktreeSKILL.mdas text inside an eval prompt and expectation and reads no file.macos-caches.md,prerequisites.jsonxcrun,README.md: none.SKILL.md,apply-convention.md: none (lib/convention-key.sh:33is a comment).prep.md: none.ready-for-review.md: the three tests above, none on the cut text.ready-for-review.md: the same three tests, none on the cut text.ci-ci.md: none (the three hits are comments).References outside the plugin
The files #16763 lists under "References outside the plugin", searched for the removed prerequisite and page:
None is stale, so none changed.
Eval cases per changed skill
Existing in-repository cases, from
git ls-tree --name-only 500ca22106aba2ccb3128fc024a8c432d1232738 plugins/source-control/evals/and the skills' ownevals/evals.json, whose run reads the cut text. None of these was run on its own; the measured runs are the registered copies below.context/cleanup.md(F0378, F0379)worktree-cleanup-surfaces-removal-errors;skills/worktree/evals/evals.jsoncase 21cleanup-reports-disk-freed(Step 5 report)SKILL.md(F0378)worktree-cleanup-surfaces-removal-errorscontext/create.md(F0377)worktree-create-routes-through-helper(create flow; whether a run reaches the post-create checks is not measured)context/macos-caches.md(F0379)evals.jsoncase 22, removed here; no other case names it (search above)SKILL.md(F0381)commit-hook-rejection-no-bypasssets up a rejecting commit-msg hookreference/apply-convention.md(F0381)skills/setup/evals/evals.jsoncase 1infers-before-recommending-conventional-commits(the inference step)reference/ci-ci.md(F0385)pull-request-ci-mode-escalates-instead-of-weakening-test;pull-request-ci-mode-fixes-shell-lint(the suppression bullet)reference/ready-for-review.md(F0383, F0384)pull-request-ready-merges-base-never-rebases(ready runs the §2.5.3 verify gate last)reference/prep.md(F0383)pull-request-create-verification-ends-left-outskips prep)The measurement: before
cc754136aee114332c979c921db9fe8f8eaee46d, after16358de0ae2927cb8c89a02741dbdc8a54261598,sonnet, 3 runs a side, no-loss compare (loss: the mean case score falls by 0.15 or more, or a grader passes in 2 or more fewer after runs). Thep17336-*cases are registered for this pull request outside the repository, each copied from the in-repository case named.16358de0p17336-pr-ci-escalates-not-weakens(pull-request-ci-mode-escalates-instead-of-weakening-test)ci-ci.mdopened in 3 of 3 runs each sidep17336-wt-cleanup-build-server(worktree-cleanup-surfaces-removal-errors)cleanup.mdStep 5)cleanup.mdopened in 3 of 3 runs each sideOn this head (
500ca22106aba2ccb3128fc024a8c432d1232738): the same two cases were run again, 3 runs a side: PASS, no loss. Both cases scored 1.000 on both sides, every grader passed in 3 of 3 runs on each side, andci-ci.mdandcleanup.mdwere opened in 3 of 3 runs on each side. The record for this head is in this pull request's comments and replaces the one for16358de0.Rows not measured, and why: F0377 (one case per skill); F0379's deleted page,
prerequisites.jsonandREADME.md(macOS-only or not model-read); F0381 (no commit or setup case has a grader that separates the old ladder wording from the new, and the budget allowed two cases); F0383, F0384 (one case per skill). Nopull-request-ci-mode-fixes-shell-lintrun: its scaffold needsshellcheck, which is not on the eval launch path, so it fails on both sides.Controls: no sensitivity or detection control was run; the registration gates on the no-loss compare alone.
Checks the lane ran
The runner ran each check from the base copy against 16358de:
The run reports:
#16763 done-when items
Left out: the items under Not verified.
Related
#16763