Skip to content

docs(conventions): prefer claude plugin configure --values-stdin for headless reconfiguration - #10609

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-6761-40630574201-1
Oct 28, 2026
Merged

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

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Refs: #6761

Summary

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

The plugin-reconfiguration convention now names claude plugin configure <id> --values-stdin (Claude Code 2.1.285+) as the preferred headless route, run from the project the plugin is installed in, with the install --config rerun kept as the fallback for older versions and bundled MCP server settings. A new verified-version record holds the 2.1.312 host probe (issue comment 6460407570) answering open questions 1 to 3, and the scope, uninstall and failure-signal caveats now cover both routes. The README and setup-skill sweep (criterion 3) is left for a follow-up.

Remaining work

  • Sweep the plugin READMEs' generated 'How to set these' section (scripts/sync-plugin-options-docs.py, then regenerate) and every setup skill's reconfiguration short form (plus their evals) to name claude plugin configure --values-stdin as the preferred headless route, following docs/conventions/plugi

Not verified

  • Criterion 3 sweep not done: about 50 plugin READMEs (generated by scripts/sync-plugin-options-docs.py) and about 30 setup SKILL.md files (plus evals) still print the --config rerun as the headless route. That is well over this lane's 10-file and 300-line limits, and this lane cannot run the generato
  • Tidy skipped: the change touches docs/conventions/, a listed shared path, and spans two areas (docs/conventions, docs).
  • The changes were left uncommitted in the working tree, as the runner's instructions require; the runner turns them into a patch.
  • typos check skipped by check-affected (typos not installed); the CI-only checks it lists (lychee-offline, purged-em-dashes, editorconfig and others) are left to the PR's CI.
  • Open in the probe record and the convention's not-covered list: sensitive storage on a host with an OS keychain, whether "" clears an option, and number/directory/file/multiple option types.

Fix

  • docs/conventions/plugin-reconfiguration/README.md: 'The two routes' became 'The routes' with configure --values-stdin as the preferred headless route and its limits, the --config rerun as fallback; added a 2.1.312 configure verified-version record (scope, working-directory resolution, no install sid
  • docs/extensibility-contract-smoke-tests.md: repointed the link from #the-two-routes to #the-routes and updated its as-of note to say the convention now prefers configure --values-stdin.

Verification

The runner ran each check from the base copy against 23b8fab:

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

The run reports:

  • read https: //code.claude.com/docs/en/plugins/cli-reference: plugin configure requires v2.1.285+, takes only namemarketplace, --values-stdin reads a JSON object of single-line strings and keeps omitted keys, a bad key or value saves nothing and exits 1, --json carries schema/choices/inputs/configure
  • read https: //code.claude.com/docs/en/plugins/manifest-reference: non-sensitive userConfig values are saved under pluginConfigs in user settings.json; sensitive values go to the platform's secure credential store
  • read the recorded probe, issue comment https: //github.com/melodic-software/claude-code-plugins/issues /6761#issuecomment-6460407570 (Claude Code 2.1.312, 2026-10-28): the source of every 2.1.312 record claim
  • grep for #the-two-routes and plugin-reconfiguration anchors: the one inbound link to the renamed heading was updated; #verified-version-record and #caveats-every-setup-skills-short-form-carries still resolve
  • check-changelog-fragments: all 2 fragments valid (run before and after the review fixes)
  • check-affected: 10 passed, 5 skipped over 2 changed files (run before and after the review fixes)
  • fresh-context review subagent over the diff against the probe and both docs pages: 7 findings (3 medium, 4 low) plus one line-wrap issue, all confirmed and fixed (sensitive vs non-sensitive wording, MCP <server>.<key> fallback needing 2.1.285, --json description, probe-measured limits sp
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/40630574201

Left out: the items under Not verified.

Related

#6761

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

Copy link
Copy Markdown
Contributor

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

No findings. The pull request changes two documentation files, docs/conventions/plugin-reconfiguration/README.md and docs/extensibility-contract-smoke-tests.md. I read the full diff and the PR context.

  • Closing issues: The PR context has no closing-issue section. It only says "Refs: feat(conventions): adopt claude plugin configure --values-stdin for plugin reconfiguration #6761", so there were no acceptance criteria to check. The 2.1.312 probe comment the new verified-version record cites is author-reported. I did not independently verify it.
  • Internal consistency: The heading rename from "The two routes" to "The routes" matches the updated anchor #the-routes in the smoke-tests doc. The caveats (uninstall, scope, next-session observation, per-route failure signal) now describe both routes consistently. The 2.1.283 record's "Not covered" list keeps the --config sensitive-option gap. It drops only the uninstall item, which the new 2.1.312 record covers.
  • Manifests and paved paths: The diff touches no plugin.json or marketplace.json, so there are no manifest lines to report. I found no paved-path or rule-file conflicts in the changed docs.
  • Cost: The change adds no billed resources and starts no charge.
  • Follow-up: The PR body says the README and setup-skill sweep (about 50 READMEs and 30 setup skills) is left for a follow-up. The setup skills keep printing the --config rerun as their headless route until that lands. The convention doc now states "preferred headless route first" for what setups print, so the two disagree in the meantime. That is a scoped, disclosed gap, not a defect in this diff.

@github-actions

Copy link
Copy Markdown
Contributor

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

No security issues found.

critical-findings: 0

Scope: the diff touches two documentation files, docs/conventions/plugin-reconfiguration/README.md and docs/extensibility-contract-smoke-tests.md. Neither matches a TRUSTED PATHS glob, and the diff has no workflow, action, script, manifest or userConfig change. I read both changes in full and under the instruction-surface lens. I did not consult docs/conventions/instruction-exception-register/README.md, so I judged by consequence alone.

  • Instruction-surface lens: No standing rule is removed or weakened.
    • "Never uninstall to reconfigure" stays, and the uninstall note now also covers stored sensitive values.
    • Caveat 4 ("Read the output, not the exit code") is narrowed to the --config rerun route. The diff gives the reason: claude plugin configure --values-stdin exits 1 on a bad value and saves nothing. The --config rerun still prints a warning and exits 0, so its guidance is unchanged where it applies.
    • The scope caveat is extended to both routes.
  • Secret handling: The new preferred route passes values on stdin from a file (--values-stdin < values.json), not on argv. That is no worse than the --config KEY=VALUE fallback, which puts values on the command line. The doc records that a sensitive value goes to ~/.claude/.credentials.json and that --json does not echo it. It lists keychain hosts as not covered by the probe, so it makes no unmeasured security claim.
  • PR context: I found no embedded directives in it. The 2.1.312 claims come from a linked issue comment that the PR cites as its source. This lane did not verify them.
  • Link rename: The anchor changed from #the-two-routes to #the-routes, and the one inbound link in the smoke-tests doc was updated.
  • Spend: None. This is a docs-only change.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 23b8fabb384df33bee7ff4e6d375dc73b6b01c67.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Oct 28, 2026
Merged via the queue into main with commit d37ed20 Oct 28, 2026
43 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-6761-40630574201-1 branch October 28, 2026 05:51
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.

0 participants