Skip to content

fix(implementation): cut model-read ecosystem specifics - #18126

Merged
melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-16762-44987235570-1
Nov 22, 2026
Merged

melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-16762-44987235570-1

Conversation

@melodic-automation-lanes

@melodic-automation-lanes melodic-automation-lanes Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Closes #16762

Summary

Opened by the work-resolve-issue lane. The run's own summary:

Cuts the 14 R11 rows that #16762 lists from the implementation plugin. Each stack-specific example and tool-doc pointer is deleted. Where a sentence needed a subject to keep its rule, a generic noun takes the example's place. The one routing site is the holdout run command in holdout-tests.md step 4, which still takes a language-specific step. There the orchestrator now resolves the runner by the plugin's ecosystem-resolution steps before step 1, takes the runner's flags from that runner's own documentation, and leaves holdout off and reports it unresolved when either is missing.

Row count: 14 rows. Kept rows: none.

Row Rule Kind Outcome
F0223 R11 K7 Cut: implement SKILL.md Commit discipline drops the eslint-disable/# noqa/# type: ignore/#pragma warning disable list; the rule now reads "a lint or type-checker suppression".
F0224 R11 K7 Cut: the layered .NET/Clean-Architecture example sentence is deleted from implement SKILL.md "Dependency direction" and from feature.md step 5.
F0225 R11 K7 Cut: in the Design-signals table, # type: ignore\[...\] becomes "a type-checker suppression".
F0226 R11 K7 Cut: feature.md drops the C# MCP-server and .NET project-template parenthetical.
F0227 R11 K7 Cut: refactor.md step 1 says "a clean type-checker or linter run" in place of tsc, mypy.
F0228 R11 K7 Cut: replace.md step 3 drops the Jest/Verify parenthetical. It also drops the sentence grading the step's evidence MEDIUM ("two tools document it, the third source..."), which only rested on the removed pointer.
F0229 R11 K5 Cut: replace.md's Pointer (Scientist, Jest, Verify, Istio) is deleted. "GitHub's Scientist experiments" becomes "in-process control-and-candidate experiments", and "A Scientist-style experiment" becomes "An in-process experiment". The parenthetical still defines it.
F0230 R11 K7 Cut: phase-verifier.md's test-or-check-file list replaces the conftest/pytest/Jest/Vitest/package.json parenthetical with "(a manifest's test script entries or runner configuration section included)".
F0231 R11 K7 Cut: implement-dispatch SKILL.md item 13 quotes the same new text verbatim, so it still matches phase-verifier.md.
F0232 R11 K7 Cut: holdout-tests.md step 3 drops python -c, node -e.
F0233 R11 K7 Replaced at a routing site: holdout-tests.md step 4 describes the tamper vectors generically (setup hook, configuration file, package script) and drops the pytest/vitest/jest example commands. In their place it routes to reference/ecosystem-resolution.md and the runner's own documentation, with an unresolved exit and an unattended assumed-command log.
F0234 R11 K5 Cut: the pytest/Vitest/Jest CLI pointer in holdout-tests.md step 4 is deleted.
F0235 R11 K7 Cut: the implement-dispatch Gotcha says "an exact assertion was loosened" in place of the assertEqual to assertIn example.
F0236 R11 K7 Cut: the implement-dispatch Gotcha on worktree cwd drops make -C <literal path>, npm --prefix <literal path>; it now reads "runs through its own directory flag with the literal path".

Not verified

  • Tidy skipped: the change touches scripts/docs-anchor-baseline.txt (a listed shared path) and spans 2 areas (plugins/implementation, scripts) against a cutoff of 1.
  • Eval runs (targeted before/after case per changed skill, detection-control results for each partial cut, eval-pair record) are the host session's work per the issue; none were run here: evals suspended (#18018). Case 31 of implement-dispatch still asserts make -C/npm --prefix, the text F0236 removes, and is the likeliest loss to watch.
  • check-affected skipped comment-hygiene (network fetch of the ci-workflows action denied), size-check (audit-size.sh missing from the lane checks), typos (not installed), changed-skills and three validate-plugins sub-checks that run code from the checked tree; portability-lint, line-citations,…
  • Markdownlint was skipped inside check-changed-skills (CHECK_SKILL_SKIP_MARKDOWNLINT=1); left to the PR's CI.
  • Changes left uncommitted in the working tree per the lane's instructions (the runner makes the patch). The untracked dotfiles in the checkout root (.bashrc, .gitconfig, .idea, .mcp.json, .vscode and others) are not this run's output and should not enter the patch.

Fix

  • plugins/implementation/skills/implement/SKILL.md: F0223 suppression-comment list removed; F0224 .NET/Clean-Architecture example sentence removed; F0225 # type: ignore\[...\] replaced by "a type-checker suppression".
  • plugins/implementation/skills/implement/context/feature.md: F0224 .NET example removed from step 5; F0226 C#/.NET scaffolding-skill parenthetical removed.
  • plugins/implementation/skills/implement/context/refactor.md: F0227 tsc, mypy replaced by "type-checker".
  • plugins/implementation/skills/implement/context/replace.md: F0228 Jest/Verify scrubbing parenthetical and the dependent MEDIUM-evidence sentence removed; F0229 Scientist names replaced by a generic description and the Scientist/Jest/Verify/Istio pointer deleted.
  • plugins/implementation/agents/phase-verifier.md: F0230 conftest/pytest/Jest/Vitest/package.json list replaced by "(a manifest's test script entries or runner configuration section included)".
  • plugins/implementation/skills/implement-dispatch/SKILL.md: F0231 item 13 quote kept verbatim with phase-verifier.md; F0235 assertEqual/assertIn example generalized; F0236 make -C/npm --prefix removed.
  • plugins/implementation/skills/implement-dispatch/reference/holdout-tests.md: F0232 python -c/node -e removed; F0233 pytest/vitest/jest examples replaced at the routing site by ecosystem resolution, with an unresolved exit. An attended run takes the config-isolating flags from the runner's own docs. An unattended run stays within the ecosystem-resolution unattended limits: it runs the holdout command, flags included, only when the record holds it, the repository states it, or its files imply it, and otherwise leaves the option off. F0234 runner CLI pointer deleted.
  • scripts/docs-anchor-baseline.txt: removed the now-stale rows for replace.md and holdout-tests.md (each has zero anchorless docs links after the cut).
  • .changes/implementation/work-resolve-issue-issue-16762-44987235570-1-b57804e7.md: new patch changelog fragment for the implementation plugin.

Verification

The runner ran each check from the base copy against 5903d32:

  • scripts/check-changelog-fragments.sh --check: passed
  • scripts/check-changed-skills.sh --merge-base: passed

The run reports:

  • check-changelog-fragments: all 2 fragments under .changes/ valid (run before and after review fixes).
  • check-changed-skills: implement and implement-dispatch PASS, 0 errors, 3 pre-existing size/description warnings each; all trigger phrases preserved.
  • check-affected: 16 passed, 9 skipped over 9 changed files (skips listed in not_done).
  • Grep for the removed names (conftest, pytest ini, Jest or Vitest config, assertIn, python -c/node -e) across the repo excluding CHANGELOGs: none remain in the implementation plugin; one in plugins/guardrails/README.md is another plugin's row, out of scope.
  • Manual count against validate-plugin-contracts.mjs ANCHORLESS_DOCS_LINK: replace.md 0, holdout-tests.md 0, implement-dispatch/SKILL.md 1 (line 19), matching the baseline edit.
  • Fresh-context review subagent over the full diff: 5 findings, 4 fixed, 1 left as out of scope (see summary).
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/44987235570

Script-reader search per R11 row

Each search ran on head 8c53543442fd124b6c3d12b2dd7fb0c5140cf5b0 as git grep -n -F '<path>' <head> -- plugins scripts .github ':!*.md' (markdown hits are model-read prose, not script readers). No row's file is read by a script for its content, so no row goes back to #15730.

Rows Search term Non-markdown hits
F0223, F0224, F0225 implement/SKILL.md none (2 markdown hits)
F0224, F0226 context/feature.md none (4 markdown hits)
F0227 context/refactor.md 2, both another file: plugins/verification/evals/confirm-fix-symptom-and-regression/samples/reads-fix-context.json:20 and plugins/verification/evals/confirm-refactor-large-reshape-equivalence/samples/reads-refactor-context.json:8 name verification/skills/confirm/context/refactor.md
F0228, F0229 context/replace.md 2, eval text only: plugins/implementation/skills/implement/evals/evals.json:452,455 (case 34's expected output)
F0230 phase-verifier.md none (0 hits of any kind)
F0231, F0235, F0236 implement-dispatch/SKILL.md 2: plugins/work-items/skills/work/unattended-callers.test.sh:5 (a test-scope: comment; the test it wraps, unattended-callers.test.mjs:28, reads only the frontmatter argument-hint), and scripts/docs-anchor-baseline.txt:74 (an anchorless-link count of 1, unchanged by the cut)
F0232, F0233, F0234 holdout-tests.md none (1 markdown hit; its docs-anchor-baseline.txt row is removed by this PR)

Eval cases that read the cut text

Found by matching each skill's evals/evals.json on the head against the cut terms with jq, and by git grep over plugins/implementation/evals/; the plugin-level cases match only on fixture text (pytest in prompts, assertEqual in scaffolds), not on cut text.

  • implement: case 33 (asserts no bare # type: ignore or # noqa is added) reads the Commit-discipline suppression rule (F0223) and the Design-signals row (F0225). Case 34 selects replace mode, reads context/replace.md and expects volatile fields normalized (F0228, F0229). Case 20 (feature mode) loads context/feature.md and cases 35 to 39 (refactor mode) load context/refactor.md, but none asserts on the cut text (F0224, F0226, F0227). No case asserts on the Dependency-direction example (F0224).
  • implement-dispatch: case 29 asserts the brief's fence lists existing test files as FORBIDDEN, which reads item 13 (F0231). Cases 31 and 32 read the worktree-cwd Gotcha (F0236); case 31 still asserts the brief directs make -C and npm --prefix with the literal path, the text this PR removes. No case asserts on the assertion-loosening Gotcha (F0235). No case enables holdout (case 29 asserts it stays off), so none reaches holdout-tests.md steps 3 or 4 (F0232 to F0234).
  • phase-verifier (agent, F0230): no eval case targets its test-or-check-file list.

Runs: not run: evals suspended (#18018).

Whole page or part

git diff --name-status origin/main...<head> lists every changed file as M (modified), none D, so every cut is partial and each needs a detection-control result, not a sensitivity-control one.

File Cut
plugins/implementation/agents/phase-verifier.md part (one parenthetical)
plugins/implementation/skills/implement/SKILL.md part (two examples, one table cell)
plugins/implementation/skills/implement/context/feature.md part (one sentence, one parenthetical)
plugins/implementation/skills/implement/context/refactor.md part (two tool names)
plugins/implementation/skills/implement/context/replace.md part (a parenthetical, one sentence, the Pointer bullet, two names)
plugins/implementation/skills/implement-dispatch/SKILL.md part (item 13 parenthetical, two Gotcha examples)
plugins/implementation/skills/implement-dispatch/reference/holdout-tests.md part (steps 3 and 4)

Left out: the items under Not verified.

Related

#16762

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

github-actions Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 8c53543442fd124b6c3d12b2dd7fb0c5140cf5b0: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

Security review (incremental, blocking only): no security issues found

This round covers one hunk in one file, plugins/implementation/skills/implement-dispatch/reference/holdout-tests.md (step 4, the holdout run command), changed since 5903d32558089ebc425d3633ba800b441ef3d2d6. I read the whole hunk. The file matches no trusted-path glob. An earlier head was already reviewed, so this review reports CRITICAL and IMPORTANT findings only.

Instruction surface. The edit tightens the rule rather than loosening it:

  • Attended runs: still take the flags that isolate the holdout configuration from the runner's own documentation.
  • Unattended runs: now stay within the unattended limits of the ecosystem-resolution page. They run the holdout command, flags included, only when the record holds it, the repository states it, or the repository's files imply it. Flags that come only from the runner's documentation no longer qualify.
  • Unchanged: the unresolved exit (option off, a DEVIATIONS.md discovery, reported unresolved), the rule against package scripts, and the verifier FAIL for an unsanctioned runner configuration or test setup file.

So an unattended run has fewer ways to compose a command it was never given. No protected class loses a guard; I checked the six from the instruction exception register, as I did last round.

Not in this diff: no workflow, trust control, token scope, kill switch, merge hold, plugin manifest or userConfig change. The PR context has no embedded directives aimed at this lane. The prior summary comment reported 0 findings, so nothing is repeated.

Spend: nothing beyond normal review runs.

critical-findings: 0

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on 5903d32558089ebc425d3633ba800b441ef3d2d6; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 8c53543442fd124b6c3d12b2dd7fb0c5140cf5b0: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

Code review (incremental, blocking only): PR #18126

I found no blocking findings in the change since 5903d32558089ebc425d3633ba800b441ef3d2d6. Only plugins/implementation/skills/implement-dispatch/reference/holdout-tests.md step 4 changed. This lane already reviewed an earlier head, so this review covers blocking findings only.

Earlier finding (unattended flags taken from documentation) is fixed. Step 4 now gives the two run kinds different rules:

  • Attended run: takes the config-isolating flags from the runner's own documentation.
  • Unattended run: runs the holdout command, flags included, only when the record holds it, the repository states it, or its files imply it. It logs the command as assumed, with that source. The text says that flags supplied only by the runner's documentation do not qualify.

This matches the "Unattended limits" section of plugins/implementation/reference/ecosystem-resolution.md. That section says an unattended run executes only a command the record holds, the repository states, or its files imply, and logs each one as assumed with its source. When the flags do not resolve, the existing fallback still applies: the option stays off for the phase, a DEVIATIONS.md discovery is logged, and the run reports it unresolved. The two pages no longer disagree.

The PR body's Fix entry for holdout-tests.md describes the new behaviour accurately.

Rules checked

  • Path-scoped rules: this push adds no cost claim and no history narration.
  • Loosened checks: the prompt had no loosened_check_verdict: or loosened_check_patterns: lines, so I used fail with no consumer entries. It also had no loosened_check_decision_record: line, so I did not check the citation requirement. This push narrows what an unattended run may execute; it loosens no check. Loosened checks would be marked: fail (default); patterns: 0.
  • Embedded instructions: none in the PR context, settled threads or prior findings.
  • Spend: none from this push.
  • Not verified: I ran no checks. The PR's verification results are the author's claims and remain unconfirmed.

Verifier dropped 0 of 0 candidates.

@melodic-automation-lanes

melodic-automation-lanes Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head 8c53543442fd124b6c3d12b2dd7fb0c5140cf5b0. No person needs to act: a lane clears this reason, and the next scheduled run judges it again.

pr-merge's gate refuses its verifier verdict (verify:fail)

@github-actions

github-actions Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/address-feedback

Run 44992021015, attempt 1

Field Value
Model rung 0
Leg handoff
Run job success
Activity step skipped
Commits pushed none (read lane)
Run 44992021015

Failed GitHub API calls

No failed call recorded by the run job's scripts.

Lane-Activity: pr-unblock/address-feedback
Lane-Thread: PRRT_kwDOTCGFQM66gk8g
@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/apply-feedback-patch

Run 44988812227, attempt 1

Field Value
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed 8c53543
Run 44988812227

Failed GitHub API calls

No failed call recorded by the run job's scripts.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of max 4 on 8c53543.

@github-actions

github-actions Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/publish-feedback

Run 44994341260, attempt 1

Field Value
Model rung 0
Leg base
Run job success
Activity step skipped
Commits pushed none recorded
Run 44994341260

Failed GitHub API calls

No failed call recorded by the run job's scripts.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path is about to arm native auto-merge at head 8c53543442fd124b6c3d12b2dd7fb0c5140cf5b0, the head its arming checks judged. The arm fails if the head moves first.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: max=MEDIUM demote=false head=8c53543442fd124b6c3d12b2dd7fb0c5140cf5b0 rubric=10.7.0 rater=claude-opus-5-5 checker=claude-opus-5-5

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 22, 2026
Merged via the queue into main with commit f81f4db Nov 22, 2026
105 of 107 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-16762-44987235570-1 branch November 22, 2026 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cut the model-read ecosystem specifics from implementation

1 participant