Skip to content

docs: cut restated upstream behavior in mcp-tools, code-metrics, visualization, discipline and - #17118

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-16847-44278848052-1
Nov 18, 2026
Merged

melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-16847-44278848052-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #16847

Summary

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

Each passage this part of #15515 lists is now either cut to an anchored pointer or rewritten as the skill's own rule with its reason, under the upstream-drift contract's Required parts (docs/contracts/upstream-drift/README.md). The two mcp-tools source-conflict bullets now only name the pages that disagree and the topic. The audit-posture SDK-entries record stores no value, so it drops its stamp. The audit C4 length record holds the 2,048-character limit first copied from the mcp page (mcp-tools CHANGELOG), so it is a stored value: it keeps its As of date, under a trigger that no longer describes what the page says. In repo-hygiene setup, the option-scope sentence stays as the skill's own reporting rule, kept inline so setup can answer offline. The basis is the contract's clause that a rule which must fire without a live fetch keeps its firing rule in our own words, and the no-network eval setup-project-toggle-refused grades the reply on naming user, --settings and managed. No rewrite changes what an agent is told to do, apart from that setup sentence, which keeps the same facts the eval checks.

Not verified

  • Tidy skipped: the change touches 14 files and 5 areas (cutoffs 10 files, 1 area) and includes scripts/, a listed shared path
  • The two new pointers to https: //github.com/anthropics/claude-code/issues /79824 and /81410 were not fetched in this run; the PR's lychee-online-changed link check covers them
  • comment-hygiene, typos and the validate-plugins/changed-skills legs inside check-affected were skipped by the check itself (network fetch denied, typos not installed, or runs checked-tree code); left to the PR's CI
  • Eval suites (including repo-hygiene setup-project-toggle-refused and the discipline use-your-skills case) not run here; left to the PR's CI
  • Review nits left as is: decision-matrix.md:20-21 and the use-your-skills context line 23-25 still describe upstream behavior but are outside this issue's listed passages; the code-metrics pointer stays in its inline 'Pointer:' style; mcp-tools audit SKILL.md:22 still says 'dated pointer records',…
  • Changes left uncommitted in the working tree as the lane instructions require, not committed as ci-mode.md step 3 says

Fix

  • plugins/mcp-tools/skills/audit/reference/checklist.md: Source conflict bullet reduced to the pages-disagree-on-topic form; the C4 record's recheck trigger reworded so it no longer describes the mcp page's content (As of kept, since C4 stores a limit)
  • plugins/mcp-tools/skills/audit-posture/reference/checklist.md: Source conflict bullet reduced to the pages-disagree-on-topic form; As of and Recheck trigger dropped (pointer record, no stored value)
  • plugins/code-metrics/skills/principles/reference/measures.md: shellmetrics bullet rewritten as the rule 'compare figures on one machine only' with its reason, plus a when-fetch pointer to the README
  • plugins/visualization/skills/visualize/context/decision-matrix.md: terminal Markdown entry cut to the skill's rule plus pointers; Artifact rules entry points at the tool's in-session description instead of noting a missing docs section; public-sharing entry rewritten as the skill's rule plus…
  • plugins/discipline/skills/sweep-all/reference/batched-pass.md: wave-sizing paragraph rewritten as the rule (size against the concurrent subagent limit, count held subagents) with its reason, instead of stating what CLAUDE_CODE_MAX_TOOL_USE_CONCURRENCY caps
  • plugins/discipline/skills/use-your-skills/SKILL.md: manual-only passage rewritten as the corrector's scope rule; listing-overflow passage no longer states that descriptions are dropped
  • plugins/repo-hygiene/skills/clean/reference/invocation-forms.md: substitution sentence rewritten as the rule 'write body command and grant with the same token and path' plus a when-fetch pointer
  • plugins/repo-hygiene/skills/setup/SKILL.md: option-scope sentence reworded as the skill's own reporting rule, kept inline with its reason (answers without a fetch)
  • scripts/spoke-plugin-root-baseline.txt: invocation-forms.md count lowered from 3 to 2 as check-spoke-plugin-root required
  • .changes/mcp-tools/, .changes/code-metrics/, .changes/visualization/, .changes/discipline/, .changes/repo-hygiene/ (work-resolve-issue-issue-16847-*.md): one patch fragment per plugin

Verification

The runner ran each check from the base copy against 49832a1:

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

The run reports:

  • .lane/checks/bin/check-changelog-fragments: all 15 fragments valid (failed first for a missing ### section, fixed)
  • .lane/checks/bin/check-changed-skills: 8 skills checked, 0 failed (warnings only, pre-existing size warnings plus setup body 140 -> 141 lines)
  • .lane/checks/bin/check-affected: 14 passed, 8 skipped (failed first on changelog-fragments and spoke-plugin-root, both fixed)
  • Fresh-context review subagent over the full diff: found the C4 stored-value stamp, the setup eval dependency and several wording nits; all confirmed issues and nits applied, except the ones listed in not_done
  • Counted ${CLAUDE_SKILL_DIR}/${CLAUDE_PLUGIN_ROOT} occurrences in invocation-forms.md: 2, matching the new baseline
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/44278848052

Left out: the items under Not verified.

Related

#16847

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

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 49832a108022600f62e325f74b74a1732a5c5fd1: read 14 of 14 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #17118

No security issues found. I read all 14 changed files in full.

The change is documentation only. It rewrites skill reference prose that restated upstream behavior, so each passage now gives the skill's own rule plus a pointer to fetch live. It also adds five changelog fragments and lowers one count in scripts/spoke-plugin-root-baseline.txt from 3 to 2. The new count is stricter, so the check it feeds allows less than before.

Checks applied:

  • Trusted paths: none of the changed files match a trusted-path glob. No trust control, merge hold, token scope, kill switch or workflow is touched.
  • Plugin manifests: no plugin.json or marketplace.json changed, so there are no manifest lines.
  • Instruction-surface deletions:
    • use-your-skills/SKILL.md keeps its rule that the corrector audits only model-visible skills and does not fault the model for manual-only ones. Only the wording around the pointer changed.
    • repo-hygiene/setup/SKILL.md still reports the plugin option as user-scoped and treats a project .claude/settings.json value as inert.
    • sweep-all/batched-pass.md still sizes waves against the concurrent subagent limit, and now also counts the subagents the session already holds, which is stricter.
    • clean/invocation-forms.md keeps the paired body/allowed-tools grant rule: the body command and its rule must name the same token and path.
    • The mcp-tools checklist edits only reword source-conflict records and move or drop as-of stamps.
    • None of these removes or weakens a guardrail. I did not consult the instruction exception register file because no rule was removed.
  • New external links: the two GitHub issue links added in visualize/context/decision-matrix.md are pointers the model fetches to read. They run nothing and send no repository content off the machine.
  • Embedded text: the PR description holds no text directing this lane to pass the PR, skip a check or drop a finding.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed 49832a108022600f62e325f74b74a1732a5c5fd1: read 14 of 14 changed file(s); 0 finding(s), 0 as inline comments.

No blocking findings. This PR changes documentation only. It rewrites restated upstream behavior in five plugins as each skill's own rule plus a live pointer, as #16847 asks. I read every hunk of all 14 changed files in .claude-lane/pr.diff.

Closing issue #16847. Each Done-when item is met by the passages the diff changes:

  • mcp-tools:
    • Both Source-conflict bullets now only name the pages and the topic that disagree.
    • The audit-posture SDK record is pointer-only. It no longer carries As of or Recheck trigger, which matches the upstream-drift contract's "A pointer carries no as-of date and no recheck trigger".
    • C4 keeps its stamp as a stored value, and its trigger no longer describes the page's content.
  • code-metrics: the shellmetrics bullet becomes a rule (compare figures from one machine only) plus a when-to-fetch pointer.
  • visualization: the terminal Markdown, Artifact rules and public-sharing entries are rewritten as rules plus pointers.
  • discipline: the batched-pass wave sizing and the use-your-skills manual-only and listing-budget passages are rewritten as rules.
  • repo-hygiene:
    • The invocation-forms pairing sentence becomes a rule plus a pointer.
    • The setup option-scope sentence is kept inline as a reporting rule. The PR's stated basis is the contract clause at docs/contracts/upstream-drift/README.md#L160-L161, and that clause exists.

These Done-when items are judgment criteria about prose, so no test is expected to guard them.

Checks I made myself (read-only):

  • plugins/repo-hygiene/skills/clean/reference/invocation-forms.md holds exactly 2 ${CLAUDE_SKILL_DIR} tokens, at lines 10–11. That matches the lowered count in scripts/spoke-plugin-root-baseline.txt, and a lower allowlist count is stricter.
  • The setup-project-toggle-refused eval graders I read check that no settings file is written or edited and that enabledPlugins is named. The reworded setup sentence still names enabledPlugins. I did not run the evals.
  • The PR's other verification claims (CI checks, fragment validation) are the author's and I did not verify them.

Criteria applied: .claude/rules/skill-bodies-state-current-rules.md and .claude/rules/cost-claims.md match the changed skill files; the changes comply with both. No paved-path row was found. No plugin manifests changed: the five .changes/ fragments are bump: patch, which fits a docs-only change.

Spend and embedded text: nothing here can cause a real charge or spends anything. No instruction-like text was embedded in the PR context or prior-findings files. This is the first review of the PR, so it is not blocking-only.

Loosened-check verdict: fail (default; the wrapper supplied no verdict or patterns lines); patterns: 0. The diff loosens no check.

Verifier dropped 0 of 0 candidates.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 49832a108022600f62e325f74b74a1732a5c5fd1, the head its arming checks judged.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Verification evidence for 49832a1

The 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-17118-49832a108022600f62e325f74b74a1732a5c5fd1, expires on 2026-12-18.

One comment per pull request, updated in place for each new head.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: max=MEDIUM demote=false head=49832a108022600f62e325f74b74a1732a5c5fd1 rubric=10.3.2 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 18, 2026
Merged via the queue into main with commit c366d15 Nov 18, 2026
49 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-16847-44278848052-1 branch November 18, 2026 11:07
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit c366d150b90ee7bb6743a00cdbde9b8880e4113f; later checks count it verified from this comment.

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.

docs: cut restated upstream behavior left by the stamp sweep (batch 7) - part 4 of 8

0 participants