Skip to content

fix(markdown-format): print the configure command first and fix the scope-rule eval case - #16065

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-16011-43531439076-1
Nov 14, 2026
Merged

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

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #16011

Summary

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

The plugin-reconfiguration contract's routes section now opens by saying a reply prints the preferred claude plugin configure command in full first and the fallback after it, whatever the working directory. Its short-form section says setup replies do that, and its scope caveat says configure has no scope flag and finds only an install visible from the working directory. The 31 generated copies are regenerated. The ordering clause went into The routes as well as the short-form section because setup skills, markdown-format's included, tell the agent to read only The routes and Caveats, so a clause only in the short-form section would never reach the agent. That is why markdown-format's SKILL.md is unchanged. The su-apply-ci-toggle-off-keeps-options scope-rule criterion now asks only for what can be said from the home directory, and its samples have a pass sample that meets it and a fail sample that drops the rerun's reason.

Not verified

  • /evals:validate on the case and LLM grading of the scope-rule samples could not run in this lane (validate-cases.py is listed as CI only, and the LLM graders need a model run); left to the PR's eval-cases CI check.
  • check-evals-quality wrapper does not accept a case.yaml (it expects an evals.json set), so it was not run on this case; CI's evals-quality step covers eval sets.
  • Tidy skipped: the change touches 65 files across many plugin areas, over the 10-file, 300-line and 1-area cutoffs, and edits under docs/contracts/ plus 31 plugins.
  • Build/test step skipped: the change is docs, YAML and JSON only, with no build or test target for them in this lane; check-affected ran the lints that apply.
  • Host check after merge (8 claude plugin eval runs on the case, target 1.00 in at least 7 of 8) is a person's check, not run here.
  • Other setup skills' eval cases that grade 'run claude plugin configure from the project the plugin is installed in' were not changed (out of scope per the issue); The routes still carries that wording, so they still match.
  • git status shows untracked home-directory dotfiles at the checkout root (.bashrc, .bash_profile, .gitconfig, .idea, .mcp.json, .profile, .ripgreprc, .vscode, .zprofile, .zshrc). This run did not create them, likely the sandbox did; they were left untouched and should not go into the patch.

Fix

  • docs/contracts/plugin-reconfiguration/README.md: The routes opens with the ordering clause (configure command in full first, fallback after, whatever the working directory); Caveat 2 says configure has no scope flag and finds only an install visible from the working directory; the short-form…
  • plugins/*/reference/plugin-reconfiguration.md (31 plugins): regenerated from the contract with scripts/sync-shared-copies.sh.
  • plugins/markdown-format/evals/su-apply-ci-toggle-off-keeps-options/case.yaml: scope-rule criterion rewritten to: configure has no scope flag and finds only an install visible from the working directory; the install --config rerun takes the scope claude plugin list reports, because a rerun at…
  • plugins/markdown-format/evals/su-apply-ci-toggle-off-keeps-options/samples/scope-rule.json: the pass sample now meets the new criterion; new fail sample that drops the rerun's reason; the two earlier fail samples kept.
  • .changes/<plugin>/work-resolve-issue-issue-16011-*.md (31 plugins): patch fragments for the regenerated copy; markdown-format's also records the eval fix under Fixed.

Verification

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

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

The run reports:

  • sync-shared-copies --check: All 847 registered copies match their canonical sources (exit 0).
  • check-changelog-fragments: All 38 changelog fragments under .changes/ are valid.
  • check-changed-skills: no changed skills under plugins/*/skills/ (the SKILL.md edit was reverted); before the revert, setup passed with 0 errors.
  • check-affected: 14 passed, 7 skipped over 65 changed files.
  • Fresh-context subagent review of the diff: confirmed that the pass sample meets the new criterion and the new fail sample fails it, and found no em dashes. It raised four findings, all fixed: the ordering clause did not reach the skills (now in The routes); Caveat 2 conflicted with the criterion…
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/43531439076

Left out: the items under Not verified.

Related

#16011

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 handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 43533605444

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 b1c1c0e3c9f897211de3604f5569fcfaed83b4c3: read 65 of 65 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #16065

I found no security issues.

What I read: every hunk of the 6 files in the to-read list:

  • the actionlint changelog fragment, which stands for the 30 identical .changes/* copies
  • the markdown-format changelog fragment
  • docs/contracts/plugin-reconfiguration/README.md
  • plugins/actionlint/reference/plugin-reconfiguration.md, which stands for the 30 identical plugins/*/reference/plugin-reconfiguration.md copies
  • the su-apply-ci-toggle-off-keeps-options eval case.yaml and its samples/scope-rule.json

What the change does:

  • It adds a paragraph to the reconfiguration contract saying a reply prints the claude plugin configure command first and the --config fallback after it.
  • It rewords Caveat 2 (Scope) so it says configure has no scope flag and finds only an install visible from the working directory.
  • It rewrites one LLM grader's criteria string and its pass and fail samples.

Why there is nothing to report:

  • Copies: each copied file sits at an ordinary .changes/<plugin>/ fragment path or plugins/<plugin>/reference/ doc path. None of those paths makes the content act as a hook, workflow, settings file or manifest.
  • Removed guidance: the diff removes no guardrail. The old Caveat 2 told the agent to run configure from the project the plugin is installed in. The new text keeps that ("run it from the project a project or local install lives in") and still requires the scope claude plugin list reports for the --config rerun. Nothing it used to forbid is now allowed.
  • Trusted paths: none of the changed files matches a trusted-path glob.
  • Manifests and trust controls: the diff changes no plugin manifest, workflow, script, trust control, merge hold, token scope or kill switch.

PR context text: it holds no embedded directives aimed at this lane.

Spend: the changed eval case uses an LLM grader, which spends prepaid model usage when CI runs it. That is not a hold and is not counted as a finding.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

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

Code review: no findings

I read the whole change for all 6 files on the read list, plus the head versions of the contract, case.yaml, samples/scope-rule.json, and the toggle-off section of the markdown-format setup skill.

  • Ordering clause: The clause that prints the configure command in full first and the fallback after it opens The routes.
    • The markdown-format setup skill tells the agent to read The routes and the Caveats section and print what they give (SKILL.md:203-209). So the clause reaches the agent without editing SKILL.md, as the PR says.
    • The short-form section restates the rule and points back to The routes. The two do not conflict.
  • Caveat 2 (scope): It now says claude plugin configure has no scope flag and finds only an install visible from the working directory. That matches the verified-version record at README.md:66-68.
  • Generated copies: The 30 other plugins/*/reference/plugin-reconfiguration.md files are byte-identical to the actionlint copy (listed in identical.txt). I read the actionlint copy, and its hunks match the contract's hunks line for line.
  • Eval case: The new scope-rule criterion matches the issue's desired behavior. It drops the "run from the project" requirement, which conflicted with the case's home-directory prompt, and keeps the reason for the rerun's scope.
    • The pass sample meets every clause of the criterion.
    • The new fail sample differs from it only by leaving out the reason, so it exercises exactly that clause.
    • The two earlier fail samples are kept.
    • The existing fallback-after-configure regex grader is a test that would catch a break in the ordering clause.
  • Changelog fragments: All 31 fragments use bump: patch, which fits a docs-only change to a shipped reference file. markdown-format's fragment also records the eval fix under Fixed.

Closing issue #16011 acceptance criteria:

  • /evals:validate passes, and the samples grade as intended: I did not verify this. The PR says it was left to the eval-cases CI check, and LLM grading needs a model run. The samples look like they would grade as intended.
  • scripts/sync-shared-copies.sh --check passes: the author says so; I did not verify it. The diffs of the copies I read are consistent with it.
  • ci-status green: I can't check that from this lane.

No manifest, paved-path or path-scoped-rule items apply to this change (no plugin.json or marketplace.json is touched). I found no embedded instructions in the PR context.

Spend: none beyond this review run.

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

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Verification evidence for b1c1c0e

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-16065-b1c1c0e3c9f897211de3604f5569fcfaed83b4c3, expires on 2026-12-14.

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=b1c1c0e3c9f897211de3604f5569fcfaed83b4c3 rubric=8.6.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 14, 2026
Merged via the queue into main with commit fb5025b Nov 14, 2026
53 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-16011-43531439076-1 branch November 14, 2026 00:59
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

Print the configure command first in the markdown-format setup skill and fix its scope-rule eval case

0 participants