Skip to content

fix: skills: cut restated upstream text to pointers (held form-only rows, group 5: thirty plugins) - #17142

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

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

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #16874

Summary

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

Rows from group 5 of #15529, part 4:

  • context-budget-6: cut. The unmeasured claim that the built-in tool pools are typically the largest part of the startup payload is gone from audit/SKILL.md and the README. The README's reason for targeting the pools is now our own: /context reports them only as totals.
  • context-budget-7: stated as our own rule with its reason. The stdin gotcha no longer restates what the headless binary prints. It tells a hand capture to redirect stdin or expect a leading line, and points at the parse traps under engine.md "Degradation ladder" for why. No probe record was added, because none was run.
  • context-guard-4 (now context-usage): skipped. On main, setup/SKILL.md already says "the README's Configuration section points at when a changed option reloads it", and that README section carries the Pointer record. The remaining clause, "reads its options when it loads, and only then", describes our own module: register.tsx calls parseConfig(options) once, in register.
  • context7-6: cut. The literal Invalid library ID error string is dropped, and the prose now says the CLI rejects the rewritten path as an invalid library ID.
  • context7-7: cut. No benchmark probe is recorded, so the ~1.8x content ratio, the ~2.1s latency and their 2026-04 observation line are dropped from mcp.md. MCP stays the default route, for the reasons the table still lists. The review then found pointers to the removed ratio in cli.md and lookup.md, plus 'more content per call' claims in SKILL.md, cli.md and lookup.md, which leaned on the same figure. Those were cut as well. The README's ~1.8x mention went in the same pass. The 'prefer MCP when configured' routing is unchanged.

Not verified

  • context-guard-4 (context-usage setup/SKILL.md option-reload clause) skipped: main already points at the README Configuration Pointer record, and the remaining clause describes our module's own load-time read, not upstream behavior
  • verify step skipped: the change is markdown only, so there is no build, and no test suite covers this prose; the PR's CI runs the eval and link checks
  • tidy skipped: the change spans 2 areas (plugins/context-budget and plugins/context7) against the 1-area tidy cutoff
  • comment-hygiene in check-affected could not run (fetching its ci-workflows action was network-denied); the diff changes no code comments. typos is not installed here; CI runs both
  • two review nits left as is: cli.md still describes the rejection as 'an invalid library ID', which is the description row context7-6 asks for, and mcp.md's table column keeps its 'Result' header
  • untracked files in the checkout that this run did not create (.bash_profile, .bashrc, .gitconfig, .idea, .mcp.json, .profile, .ripgreprc, .vscode, .zprofile, .zshrc) belong to the runner environment and are not part of this change

Fix

  • plugins/context-budget/skills/audit/SKILL.md: dropped the 'largest single contributor' claim from Purpose; rewrote the stdin gotcha as our rule plus a pointer to engine.md's parse traps
  • plugins/context-budget/README.md: replaced the 'largest single contributor' reason with 'because /context reports them only as totals'
  • plugins/context7/skills/lookup/context/cli.md: dropped the literal invalid-library-ID error block; turned 'for more content per call, prefer MCP' into 'when configured, prefer MCP for conversational lookups' and removed the dangling 'measured ratio' pointer; dropped 'returns more content' from the…
  • plugins/context7/skills/lookup/context/mcp.md: removed the 2026-04 observation line and the ~1.8x content and ~2.1s latency rows; kept the MCP-by-default decision and its remaining reasons
  • plugins/context7/skills/lookup/context/lookup.md: removed the 'MCP returns more content per call' sentence and its ratio pointer; kept the re-run-via-MCP fallback
  • plugins/context7/skills/lookup/SKILL.md: removed 'returns more per call (measured ratio...)' from the MCP preference reasons; Gotchas bullet now says 'when the MCP server is configured, prefer it for conversational lookups'
  • plugins/context7/README.md: removed '~1.8x more content per call'
  • .changes/context-budget/work-resolve-issue-issue-16874-44294882527-1-552053f2.md: patch fragment for the context-budget edits
  • .changes/context7/work-resolve-issue-issue-16874-44294882527-1-269823a9.md: patch fragment for the context7 edits

Verification

The runner ran each check from the base copy against a86822d:

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

The run reports:

  • check-changelog-fragments: all 40 fragments valid (run before and after the review fixes)
  • check-changed-skills: context-budget audit and context7 lookup both PASS, 0 errors; the warnings (description length, body size, no ## Next on lookup) predate this change
  • check-affected: 14 passed, 8 skipped over 9 changed files; comment-hygiene could not fetch its action (network denied), typos is not installed, and the rest are CI-only
  • grep of plugins/context7 and plugins/context-budget for '1.8', '2.1s', 'Invalid library ID', 'largest single', 'more content', 'measured ratio' and 'more per call': no matches left outside the CHANGELOGs
  • fresh-context review subagent over the whole diff: one bug (two dangling 'measured ratio' pointers) and one should-fix ('more content' claims) fixed; nits fixed: stdin condition restored in the gotcha, README lines rewrapped; confirmed the engine.md 'Degradation ladder' pointer resolves…
  • read plugins/context-usage/hooks/register.tsx:811-812: register calls parseConfig(options) once, which backs the context-guard-4 skip
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/44294882527

Left out: the items under Not verified.

Related

#16874

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

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-refine/fix-docs
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed none (read lane)
Run 44299479131

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@github-actions

Copy link
Copy Markdown
Contributor

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

Security review: no security issues found

I read the whole diff (9 files). The change touches only markdown: two changelog fragments, and prose edits to two plugin READMEs and to the context-budget:audit and context7:lookup skill bodies and their reference files. It changes no code, workflow, manifest, hook, permission or trust control, and none of the 9 files matches a trusted-path glob.

Instruction-surface lens. The diff narrows or rewrites some standing skill instructions, so I checked each one by what it controls:

  • The context-budget:audit stdin gotcha is reworded from a statement about what the headless binary prints into our own rule: redirect stdin or expect the leading line, with a pointer to the parse traps in engine.md. The guidance is the same.
  • The context7:lookup advice "for more content per call, use MCP" now reads "when the MCP server is configured, prefer it for conversational lookups". This only changes which documentation route is preferred. It does not touch credentials, external writes or destructive actions.
  • The unmeasured ~1.8× content and ~2.1s latency figures and the literal Invalid library ID error text are removed. These are descriptive claims, not rules.
  • The rules that matter for security are unchanged in SKILL.md: never put credentials in a Context7 query, and never run ctx7 setup or ctx7 skills install.

No removed rule matches a protected class. I judged this by consequence: the exception register file was not consulted.

PR context. The description matches the diff and contains no embedded instructions aimed at the review lane.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

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

Code review: no findings

This PR changes only markdown, in two plugins. It removes restated upstream text and claims nobody measured: the "largest single contributor" claim, the ~1.8× content ratio, the ~2.1s latency figure and the literal Invalid library ID error string. It also adds two patch changelog fragments.

Closing issue #16874: each done-when item is met

  • context-budget-6: the claim is cut from audit/SKILL.md and the README. The README now gives this repo's own reason: /context reports the pools only as totals.
  • context-budget-7: the gotcha is now this repo's own rule, with a pointer for the reason. The pointer resolves: reference/engine.md has ## Degradation ladder (line 8), and its "Known parse traps handled" line (line 34) names the unredirected-stdin warning line.
  • context-guard-4: listed as skipped, with a reason, in the PR body. The done-when allows that.
  • context7-6: the literal error string is dropped from cli.md.
  • context7-7: the ratio, latency and observation lines are dropped from mcp.md. The pointers that relied on them are gone too, in cli.md, lookup.md, SKILL.md and the README.

These are prose-only criteria, so no test could fail if one broke.

What I checked myself

  • A grep of plugins/context7/** and plugins/context-budget/** for 1\.8, more content, measured ratio, 2\.1s and largest single finds only an unrelated CHANGELOG version heading. No references dangle.
  • The PR's verification commands (check-changelog-fragments, check-changed-skills) are the author's claims; I did not run them.
  • The fragments' bump: patch fits a docs-only wording change.
  • No plugin manifest changed, so there are no manifest lines.

Loosened checks: no change touches a test, lint rule, threshold, suppression or CI setting.

Loosened-check verdict: fail (default; the prompt gave no loosened_check_verdict: line); patterns: 0 (no loosened_check_patterns: line, so no consumer entries)

The PR context contains no embedded instructions aimed at the lane.

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 a86822d294ecf6160a7875da2a29991f74ccb83f, the head its arming checks judged.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Verification evidence for a86822d

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-17142-a86822d294ecf6160a7875da2a29991f74ccb83f, 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=LOW demote=false head=a86822d294ecf6160a7875da2a29991f74ccb83f rubric=10.3.3 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 832899e Nov 18, 2026
50 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-16874-44294882527-1 branch November 18, 2026 14:10
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit 832899e8af7e4004eb7dae449fb1872f1872a0d8; 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.

skills: cut restated upstream text to pointers (held form-only rows, group 5: thirty plugins) - part 4 of 9

0 participants