Skip to content

docs: make the generated plugin-options "How to set these" block pointer-only - #10535

Merged
melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-7291-40587060559-1
Oct 27, 2026
Merged

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

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #7291

Summary

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

The "How to set these" template in scripts/sync-plugin-options-docs.py no longer states Claude Code CLI or settings behavior as fact. The removed claims are: -s defaults to user, a rerun prints already installed and still writes, uninstall drops pluginConfigs, the prompt on enable, option values read only from user/--settings/managed, and how hooks receive values. Each one is now a link to the docs section that owns it (/plugin in a session, plugin configure, What an uninstall deletes and keeps, pluginConfigs), and the repository's measured record is left to the plugin-reconfiguration convention. Per the owner's 2026-10-13 decision (pointer-only, regenerate now), the generated block is regenerated in all 51 plugin READMEs that declare userConfig. Python could not run in this lane, so the regeneration was applied by hand to match render() byte for byte. Each plugin also gets a patch changelog fragment.

Not verified

  • python3 scripts/sync-plugin-options-docs.py and --check were not executed. This lane allows no interpreter, and check-affected skips plugin-options-docs when the branch changes the generator. The READMEs were edited by hand to match render(), and a fresh-context review traced the output by hand.
  • markdownlint and lychee link checks over the touched READMEs were not run locally. They are left to the PR's CI (lychee-offline is listed as CI-only by check-affected).
  • Changelog fragments were written by hand, not with new-changelog-fragment, because HEAD is detached and the script refuses to name a fragment without a branch. The names follow <slug>-<8 hex>.md and check-changelog-fragments validates them.
  • Pre-existing, out of scope (the acceptance criteria keep the JSON example): in the sensitive-only branch (miro), route 3's JSON example still puts the sensitive token under pluginConfigs in settings.json. The settings reference says pluginConfigs stores only non-sensitive answers. Not changed here.
  • Out of scope (outside the How-to-set-these template): the generated Options reference intro ('Every option Claude Code will prompt for when the plugin is enabled') and the table's sensitive prefix ('stored in the OS keychain or protected credentials file') still state upstream behavior without a lin
  • review-venue.txt was absent, so the review ran locally in one fresh-context subagent, not in the CI code-review lane.

Fix

  • scripts/sync-plugin-options-docs.py: rewrote the How-to-set-these template to be pointer-only. Route 1 links /plugin in a session. The rerun paragraph links What an uninstall deletes and keeps and plugin configure, and cites the convention for what a rerun prints and writes. The sensitive-only a
  • plugins/{actionlint,ai-briefing,animation,autonomy,bash-format,biome-format,bugs,code-tidying,context-budget,context-guard,corrections,desktop-notification,discipline,discovery,disk-hygiene,display-redaction,docs-hygiene,domain-driven-design,education,eol-normalizer,evals,gaming,github,go-format,gua
  • .changes/<plugin>/issue-7291-plugin-options-pointers-7291a3c5.md (51 new files, one per plugin above): bump: patch fragment with a ### Changed entry describing the README change.

Verification

The runner ran each check from the base copy against 0431ba3:

  • scripts/check-changelog-fragments.sh --check: passed

The run reports:

  • read https: //code.claude.com/docs/en/plugins/cli-reference: plugin install documents -s defaulting to user and --config. plugin uninstall > What an uninstall deletes and keeps says an uninstall from the last scope deletes the stored options and secrets. plugin configure (v2.1.285+) p
  • read https: //code.claude.com/docs/en/settings-reference (offset 250000): the ### pluginConfigs entry has Scope 'User or managed' and says project and local settings are ignored, and the #pluginconfigs anchor exists
  • /home/runner/work/claude-code-plugins/claude-code-plugins/.lane/checks/bin/check-changelog-fragments: 'All 82 changelog fragment(s) under .changes/ are valid.' (run after the final edits)
  • /home/runner/work/claude-code-plugins/claude-code-plugins/.lane/checks/bin/check-affected: '11 passed, 7 skipped over 103 changed files'. plugin-options-docs was skipped because the branch changes the generator, so CI runs the branch's copy. (run after the final edits)
  • Grep over plugins/*/README.md: none of the old template phrases remain ('prompts for declared options', 'already installed**', 'Plugin option values are read from', 'defaults to user', 'The value is stored immediately', 'still reports the old one', 'Route 1 is the rotation path'). The new route-1,
  • Fresh-context review subagent (opus) over the whole diff: by tracing render() by hand, it confirmed the 51 blocks match the generator byte for byte (github/autonomy cite variant, miro sensitive-only branch, no CRLF or trailing whitespace), that all three new anchors exist, and that the fragments are
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/40587060559

Left out: the items under Not verified.

Related

#7291

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

github-actions Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed f95630b5f0b2a5ed60d98a0b48200c01cd08c03b: 0 finding(s), 0 as inline comments.

No security issues found in the incremental change (since 0431ba3).

I read the whole incremental diff and the PR context. It has two parts:

  • 50 plugin READMEs. Each has the same two edits in the generated "How to set these" block. The plugin configure sentence is reworded. The sentence about varying behavior per repository through enabledPlugins is removed.
  • scripts/sync-plugin-options-docs.py. The generator template changes in the same two places. It still only builds static markdown strings from fixed URLs and the cite value. The change adds no new input, no shell or file operations, and no network access.

Checks on the criteria:

  • Manifests: the diff touches no plugin.json or marketplace.json, so there is no manifest <field> item to report.
  • Trust controls and trusted paths: the only file under plugins/source-control/ is its README, which is documentation. No other trusted-path file changed in this increment.
  • Instruction surface: the removed README sentence was general documentation about per-repository enablement. It was not a guardrail, a hook allowlist or a standing rule, so removing it takes no control away.
  • PR context: it contains no embedded instructions aimed at the lane.

I did not look for a CRITICAL finding, since nothing in the diff reaches a trust boundary. No spend line is needed.

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 0431ba3c481167d4e52b4f373fd806f3019ad96e; the summary is in this lane's pull request comment.

claude-lane: claude-review

Comment thread scripts/sync-plugin-options-docs.py Resolved
@github-actions

github-actions Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed f95630b5f0b2a5ed60d98a0b48200c01cd08c03b: 0 finding(s), 0 as inline comments.

Incremental review of changes since 0431ba3: no findings.

The diff is the generator template tweak in scripts/sync-plugin-options-docs.py plus the matching regenerated block in 51 plugin READMEs.

  • Generator edits: Two edits to the "How to set these" template. The rerun paragraph is reworded to lead with the plugin configure link and to cite the plugin-reconfiguration convention for what a rerun prints and writes. The per-repository enabledPlugins sentence after the pluginConfigs link is dropped.
  • README match: I checked the README hunks against the generator edits by counts from searches over the incremental diff. 50 READMEs gain the reworded rerun paragraph and all 51 lose the enabledPlugins sentence. The one README without the rerun-paragraph change is miro, which takes the sensitive-only branch that this diff does not touch. The autonomy README keeps its docs/conventions/plugin-reconfiguration/README.md citation, as the generator's cite variant does.
  • Issue Regenerate the plugin-options README blocks with a pointer-only template after the open PRs touching them merge #7291: Nothing in this increment goes against the owner's pointer-only decision. The new text sends readers to the CLI reference and the pluginConfigs entry for upstream behavior.
  • Not run: I could not run sync-plugin-options-docs.py --check here (no interpreter), so whether the READMEs match render() exactly is left to the PR's CI.
  • Spend: Nothing in this change spends money or prepaid credits, so no hold applies.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 0431ba3c481167d4e52b4f373fd806f3019ad96e.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Oct 27, 2026
@melodic-automation-lanes
melodic-automation-lanes Bot removed this pull request from the merge queue due to a manual request Oct 27, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head f95630b5f0b2a5ed60d98a0b48200c01cd08c03b.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Oct 27, 2026
Merged via the queue into main with commit 975c9bb Oct 27, 2026
42 of 43 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-7291-40587060559-1 branch October 27, 2026 22:38
@github-actions

Copy link
Copy Markdown
Contributor

Post-merge mutation testing

Killed 0, survived 0, timeout 0, no coverage 0, invalid 0, not run 8.
Covered-code score n/a; mutation score n/a.

File Killed Survived Timeout No coverage Invalid Not run
.github/scripts/pr-merge/listing-carry.mjs 0 0 0 0 0 2
.github/scripts/pr-merge/merge-holds.mjs 0 0 0 0 0 1
plugins/source-control/skills/babysit-prs/scripts/babysit_verify_evidence.py 0 0 0 0 0 5

The run's summary has the full report.

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.

Regenerate the plugin-options README blocks with a pointer-only template after the open PRs touching them merge

0 participants