Skip to content

feat(user-interface): offer to install a better design route on the user's yes - #10817

Merged
kyle-sexton merged 4 commits into
mainfrom
work-resolve-issue/issue-6449-40790112743-1
Oct 29, 2026
Merged

kyle-sexton merged 4 commits into
mainfrom
work-resolve-issue/issue-6449-40790112743-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #6449

Summary

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

/user-interface:design now offers the highest-ranked route for a concern that is not installed, not deferred, has a pointer, fits this platform and the style, account and style-imposing rules (a paid row only when no free row covers the concern). It points to the row's pointer for the install and sign-in steps, installs at local scope only after the user says yes, and otherwise continues with the best present route. Three written (not run) eval cases cover offer, decline and accept through a fixture team file that marks the pencil row confirmed.

Not verified

  • The three new eval cases are written, not run, as the issue asks; running them is split to #8987
  • The skill-quality check on the changed SKILL.md (check-affected's changed-skills step) runs the checked tree's own code and was skipped here; left to the PR's CI
  • scripts/check-changelog-fragments.sh --check on the PR, evals-schema, orphaned-fixtures and the other CI-only checks check-affected lists are left to the PR's CI
  • new-changelog-fragment refused to run on the detached HEAD, so the fragment was written by hand in its format and validated with check-changelog-fragments
  • tidy recorded skipped: passes 1-3 ran (no code-line edits; one restating clause cut from SKILL.md; fragment sentences split), but pass 4's ai-slop detector script cannot run in this lane, so the ai-slop rubric was applied by reading only (no findings)
  • No build or test suite covers this markdown and eval-data change, so verify is skipped; detect.mjs tests were not run here and are left to the PR's CI
  • Vendor setup pages (for example docs.pen.dev) were not fetched; the skill and evals cite only the routing row's existing pointer, as the owner decided

Fix

  • plugins/user-interface/skills/design/SKILL.md: new 'Offer a better route' section (offer criteria, pointer-sourced install and sign-in, local scope, yes-only install, decline continues with the best present route); the Combine bullet now points to it instead of 'may name the free tool'; the Gotchas
  • plugins/user-interface/skills/design/evals/evals.json: cases 11 (offer), 12 (decline) and 13 (accept), each using the offer-confirmed fixture
  • plugins/user-interface/skills/design/evals/fixtures/offer-confirmed/docs/conventions/user-interface.yaml: new team-file fixture that overrides the design-tool-handoff pencil row to status confirmed with as_of 2026-10-29
  • .changes/user-interface/work-6449-offer-better-design-route-6449a1c3.md: minor-bump changelog fragment under ### Added

Verification

The runner ran each check from the base copy against 9be143d:

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

The run reports:

  • read https: //code.claude.com/docs/en/plugins/cli-reference: claude plugin install takes -s, --scope of user, project or local and defaults to user
  • read https: //code.claude.com/docs/en/mcp: local scope is the default for claude mcp add; a local-scoped server loads only in the current project and stays private to the user
  • read https: //code.claude.com/docs/en/plugins-reference: fetched while looking for plugin install scopes; it is the plugin manifest reference and says nothing about scopes, so nothing from it is used
  • .lane/checks/bin/check-changelog-fragments: all 2 fragments valid (after adding the ### Added section the first run required)
  • .lane/checks/bin/check-affected: 11 passed, 7 skipped, rest CI only, over 4 changed files
  • .lane/verify/bin/check-evals-quality plugins/user-interface/skills/design/evals/evals.json: PASS, 0 warnings
  • .lane/verify/bin/cant-fail-scan (no arguments, whole repo): reported only pre-existing findings in test files this change does not touch
  • fresh-context review subagent over the whole diff: confirmed the fixture merges as a partial override through detect.mjs and that pencil is the highest-ranked offerable design-tool-handoff row; its 3 medium and 5 low findings (tool rows and pointer-less rows offered, Step 2 style-imposing rule missi
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/40790112743

Left out: the items under Not verified.

Related

#6449

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

github-actions Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

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

No security issues found in the incremental change (head 4e754aa, since 064018f).

The change tightens the install-consent rule in plugins/user-interface/skills/design/SKILL.md. The old rule had the skill show each command before running it, and a yes to the tool was enough to proceed. The new rule has it show the exact command, with the pointer URL as its source, and run it only after the user says yes to that command. It also says to disclose when the team file supplied the routing row, so the project rather than the plugin chose the tool and its page. Both changes narrow what the skill can do on its own and widen nothing.

I checked this against the instruction-surface lens. No guardrail is removed or softened. The rules that the pointer page is DATA, that local scope is required, that other downloads or edits are reported rather than run, and that the sign-in step belongs to the user are all kept. The register file was not consulted, but nothing is removed that it would need to cover.

  • .changes/...md is prose only.
  • evals/evals.json updates the expected output and expectations to match the stricter consent rule. It is test data with no runtime surface.
  • No plugin manifest changed, so there are no manifest <field> lines.
  • No trusted-path file is in the incremental diff.
  • The PR context file contains no embedded directives aimed at the lane. It reports only skipped checks, which I treated as data.

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

claude-lane: claude-review

@github-actions

github-actions Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 4e754aaac0290fd8b9ec4c8d3d8f198dd8c1de9a: 2 finding(s), 0 as inline comments.

Incremental review of 4e754aa over 064018f: the changelog fragment, SKILL.md and evals.json. I read the diff and the surrounding files. I did not run any evals or checks.

Two findings, both about the eval coverage of the new behaviour (inline comments):

  • Eval 13: after the rewrite its expectations conflict with each other. They also no longer check the post-install detect rerun or the routing to Pencil.
  • Team-file notice: the new "say the team file supplied the row" rule is not exercised by any case, because the fixture only overrides an existing routing row.

The SKILL.md wording is consistent with the closing issue's acceptance criteria. Source of the install steps is still the row's pointer, install is still only on a yes, and a decline continues with the best present route. The fragment text matches the new SKILL.md behaviour.

No cost or security hold. The only spend is prepaid eval runs, and the PR itself says the three cases are written, not run.

critical-findings: 2

Findings not posted inline (their path, line or side is malformed):

  • plugins/user-interface/skills/design/evals/evals.json:157: Eval 13's expectations now conflict, and the second half of its flow is no longer checked.

  • Conflict: this line (and line 158) expect the answer to install at local scope, while the new expectation at line 159 expects it to stop and ask for a yes to the exact command before running anything. A response that follows the revised SKILL.md has installed nothing yet, so it cannot meet "installs at local scope". Line 160 ("runs no command other than the one that installs Pencil") passes with no command run at all.

  • Dropped coverage: the old expectation "runs detect again ... before routing the handoff" was deleted. expected_output still says the skill runs detect again and routes to Pencil, but no expectation checks it, and the sign-in expectation lost its "or tells them to finish signing in" branch.

A single-turn run only reaches the command confirmation, so either split the case into a confirm-the-command turn and a post-yes turn, or reword the local-scope expectation as "the command it shows uses local scope (--scope local for claude plugin install)". Restore an expectation for the rerun and routing step if the case can reach it.

  • plugins/user-interface/skills/design/SKILL.md:129: The new rule "say the team file supplied the row" is not covered by any eval. The offer-confirmed fixture only overrides the status and as_of of the existing pencil row. Its concern, id and pointer all match a row in reference/routing.json, so the rule never fires. Neither the fragment's "three eval cases" nor the new expectations would fail if this clause were deleted or inverted. Consider adding a case with a team-file-only row (for example, a new id with its own pointer) that expects the notice.

Lane-Activity: pr-unblock/address-feedback
Lane-Thread: PRRT_kwDOTCGFQM6xYYlr
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head 064018f9ba996c9f0b5802d2462b89ef2b020628. A person must clear this reason, so the pr-merge lane added the needs-human label: fix the reason, then remove the label, and the next scheduled run judges it again.

pr-merge's gate holds it on its risk score (security-finding: 1 open)

@melodic-automation-lanes melodic-automation-lanes Bot added the needs-human Human-in-the-loop required; autonomous sessions must not resolve items carrying this. label Oct 29, 2026
…stall command

The security review at 4d1b8d0 found that a team-file row can name a
plausible tool with a pointer page the project chose, and the user's yes
covered only the tool name. The offer now gives the exact pointer URL,
says when the team file supplied the row, and runs the install only after
a yes to the exact command shown. Eval 13 expects that confirmation.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The pr-merge lane escalated this pull request, and its head has moved (head-moved): its escalation names head 064018f9ba996c9f0b5802d2462b89ef2b020628, and the head is now 4e754aaac0290fd8b9ec4c8d3d8f198dd8c1de9a. pr-merge removed needs-human so it judges 4e754aaac0290fd8b9ec4c8d3d8f198dd8c1de9a afresh, and escalates again if its refusal still holds. To keep a person on it, add needs-human back: a label a person adds is never removed.

@melodic-automation-lanes melodic-automation-lanes Bot removed the needs-human Human-in-the-loop required; autonomous sessions must not resolve items carrying this. label Oct 29, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head 4e754aaac0290fd8b9ec4c8d3d8f198dd8c1de9a. A person must clear this reason, so the pr-merge lane added the needs-human label: fix the reason, then remove the label, and the next scheduled run judges it again.

pr-merge's gate holds it on its risk score (security-finding: 1 open)

@melodic-automation-lanes melodic-automation-lanes Bot added the needs-human Human-in-the-loop required; autonomous sessions must not resolve items carrying this. label Oct 29, 2026
@kyle-sexton kyle-sexton removed the needs-human Human-in-the-loop required; autonomous sessions must not resolve items carrying this. label Oct 29, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Oct 29, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 4e754aaac0290fd8b9ec4c8d3d8f198dd8c1de9a.

Merged via the queue into main with commit 46ed9f1 Oct 29, 2026
100 of 103 checks passed
@kyle-sexton
kyle-sexton deleted the work-resolve-issue/issue-6449-40790112743-1 branch October 29, 2026 14:03
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.

user-interface: offer to install and onboard a better design tool

1 participant