Skip to content

refactor(overengineering): resolve the view medium through the shared resolver - #13063

Merged
kyle-sexton merged 1 commit into
mainfrom
work-resolve-issue/issue-12679-41759063069-1
Nov 4, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
work-resolve-issue/issue-12679-41759063069-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #12679

Summary

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

/overengineering:audit's rendered-view offer (report-template.md Layer 3) now runs the shared resolver lib/view-settings.mjs resolve --lane overengineering:audit --option "". It prints the resolver's report line and notices, and decides the offer from the JSON's page and medium fields, so the skill no longer lists medium values or reads the retired rendered-views files itself. Design choice: I pass an empty --option rather than adding a medium userConfig option, because the plugin documents a deliberate no-userConfig decision (README.md:116, reference/consumer-config.md:15), and config-cascade.mjs:226 treats an empty value as unset. Eval case 15 now asserts the resolver's retired-file output, and a new case 16 covers a --medium argument passed through to visualization:visualize.

Not verified

  • The shared resolver's retired-file notice (lib/view-settings.mjs:218, a generated copy of lib/view-settings.mjs) tells users 'the overengineering plugin's medium option also works', but this plugin has no medium option. Eval 15 quotes that output as it stands. Fixing it needs a change to the shared…
  • The review noted that codebase-health skips the view offer in a session with no one reading, while overengineering's --unattended mode still runs the resolver and the offer. That matches the previous behavior; I left it unchanged as outside this issue's done-when. A CI run still falls back to page…
  • Tidy partial: the ai-slop deterministic detector (detect.sh) could not run, because this lane's Bash runs only the named wrappers. I applied the rubric by reading the listed lines instead and found no findings. Simplify, comment and residue passes on evals.json had nothing to act on.…
  • No model evals were run, per the issue. The evals-schema and evals-quality CI jobs, markdownlint (skipped by check-changed-skills) and typos (not installed) are left to the PR's CI.
  • The untracked runner dotfiles in the checkout root (.bashrc, .gitconfig, .mcp.json, .idea, .vscode, and others) are not part of this change.

Fix

  • plugins/overengineering/skills/audit/context/report-template.md: Layer 3 replaces the hand-read rendered-views layers and the enumerated medium list with the resolver CLI call, exit-2 handling, and an offer table keyed on the JSON's page/medium; the not-installed line is suppressed when page is…
  • plugins/overengineering/skills/audit/evals/evals.json: case 15 is rewritten as retired-file-local-value-drops-rendered-view-offer with the resolver's exact report line and notice; new case 16 is medium-argument-passed-to-visualize
  • .changes/overengineering/work-resolve-issue-issue-12679-41759063069-1-25e994c2.md: new minor changelog fragment (overengineering is listed in scripts/fragment-plugins.txt, so no version bump)

Verification

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

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

The run reports:

  • check-changelog-fragments: all 8 fragments valid (run before and after tidy and review fixes)
  • check-changed-skills: plugins/overengineering/skills/audit PASS, 0 errors, 1 pre-existing warning (SKILL.md body 247 lines over the Pocock max of 160)
  • check-affected: 12 passed, 7 skipped, the rest CI-only, over 3 changed files
  • check-evals-quality over all four overengineering evals.json files: PASS, 0 warnings
  • Grep for an enumerated medium list (two medium names joined by a comma) under plugins/overengineering/skills and plugins/overengineering/evals: no matches
  • Fresh-context review subagent: confirmed --option "" is accepted and treated as unset, and that the quoted report lines and notice text in eval cases 15 and 16 match view-settings.mjs output exactly; no high-severity findings; its fragment-precision finding was fixed
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41759063069

Left out: the items under Not verified.

Related

#12679

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

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

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

Security review: PR #13063 (no findings)

critical-findings: 0

I read all hunks of the 3 changed files: the changelog fragment, plugins/overengineering/skills/audit/context/report-template.md and plugins/overengineering/skills/audit/evals/evals.json. None of them matches a trusted-path glob. No plugin manifest changes.

What I checked

  • Instruction-surface lens. The diff deletes the skill's own rules for reading the rendered-views layers, including the guard that counted .claude/rendered-views.local.md only when it is untracked and gitignored. Something else still enforces that guard: the shared resolver the skill now calls. plugins/overengineering/lib/view-settings.mjs warns about and ignores an overlay that isn't gitignored (L109). It never lets a team file publish (L282-L283). It ignores publishing values in retired files (L210-L214). So a committed (team-controlled) file has less influence than before, not more: the old text let a team layer's hosted/artifact value fall through to visualization:visualize.
  • Passing a publishing medium as an explicit argument. When page is true, the new offer table passes the resolver's medium to visualization:visualize as its argument. The resolver only picks a publishing medium from the --medium argument, userConfig (always empty here) or a gitignored personal override. Those are the same sources its own gateExplicit (L234) already treats as explicit consent, so no untrusted source can trigger a publish.
  • Command construction. --argument <the --medium value> puts the invoking user's own argument into a local node call. No outside author controls that value, so it isn't an injection path.
  • Evals and changelog. These are test fixtures and prose with no security surface.

I didn't consult the protected-class list in docs/contracts/instruction-exception-register/README.md. The guard that was removed is still enforced in code, so judging it by consequence was enough.

PR context: no instructions embedded in the PR text. The note that the closing issue's title and body were omitted came from the wrapper and needed no action.

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

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

claude-review reviewed a60cdbb3b6cc2035ecabb805a48f90aede29d197: read 3 of 3 changed file(s); 1 finding(s), 1 as inline comments.

Code review: PR #13063, overengineering:audit resolves its medium through the shared resolver

I read all 3 changed files in full: the changelog fragment, report-template.md and evals.json. To check the new Layer 3 instructions, I also read the plugin's synced lib/view-settings.mjs and lib/view-registry.mjs.

What checks out (read against the code; I ran nothing):

  • overengineering:audit is a registered lane (view-registry.mjs#L62). Its default is null and it is not hosted-capable. So when page is true, medium can only be file or artifact, and an artifact there comes only from the argument or a trusted personal override. Both of those already count as explicit for the publish gate, so passing that value on to visualization:visualize as its argument grants nothing new.
  • The offer table matches what the CLI prints. When no medium resolves, the JSON has no page key, so the medium is null row is the one that applies. The exit-2 handling matches main(), which returns 2 for a usage error or an unknown --argument value.
  • The report line and notice quoted in eval 15 match what retiredNotices/reportLines build for a ~/.claude/rendered-views.md that sets medium: terminal (decidedBy retired ~/.claude/rendered-views.md, status "is retired but still keeps the view local"). Eval 16's view: file (argument) also matches.
  • The changelog's precedence claim matches resolveMedium: the argument decides first, then a current scope's local value, then the retired file's local value; a publishing value from a retired file is ignored.
  • bump: minor fits the change.

Closing issue #12679, done-when (AC4/AC7/AC15): the new Layer 3 prose and table name no medium values, and the eval prompts each name a single fixture value, never a list. I checked this by reading the files. The grep and the "overengineering evals validate with no FAIL" result are the author's claims and I have not verified them. I found no CI check under scripts/ that would fail if an enumerated medium list came back; the grep is a one-time check.

Path-scoped rules: I checked skill-bodies-state-current-rules.md and eval-case-transcripts.md against the changed files and found no violation.

Finding (1, advisory, inline): because of the empty --option design, the audit now shows users a resolver notice that points them at a medium option this plugin does not have, and eval 15 fixes that wrong text as the expected output. The PR body's "Not verified" section mentions it, but the change ships it as it is.

No hold applies, and nothing in this change spends prepaid credit or billing.

@melodic-automation-lanes

melodic-automation-lanes Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head a60cdbb3b6cc2035ecabb805a48f90aede29d197. The lanes clear this reason on their own; the next scheduled run judges it again.

a pr-unblock lane stopped its head (pr-unblock/address-feedback is failure), which clears when the
  lane runs again

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

@melodic-automation-lanes melodic-automation-lanes Bot added the needs-session A pr-unblock stop a session builder takes: a change the lane cannot make. Not an owner stop. label Nov 4, 2026
@melodic-automation-lanes

melodic-automation-lanes Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor Author

The pr-unblock lane stopped address-feedback on this pull request: a disputed review finding on a thread a person opened or directed, or a disputed CRITICAL code-review finding, is one no lane decides, so a session builder takes it. The lane labels it needs-session for a session builder, who makes the change this lane cannot, and the run ends in a failing pr-unblock/address-feedback status on the head the lane gated.

When a retry on this head can change the outcome, the lane runs one on its own, up to its per-head cap, and edits this comment if it stops again; a run that does not stop clears the status. When no retry can (a review thread the lane does not take or settle, or a failing check after the retries are spent), a person resolves the threads or gets the checks green, then dispatches the workflow below: that run finds the cause gone and clears the status. On a pull request the lanes App opened, the dispatchers start that run once per stop; on any other, a person does. A new commit to the branch starts clean.

To run it again on this head now, dispatch the pr-unblock workflow:

gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=13063 -f activity=address-feedback

@kyle-sexton kyle-sexton removed the needs-session A pr-unblock stop a session builder takes: a change the lane cannot make. Not an owner stop. label Nov 4, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 2 of max 4 on a60cdbb.

@melodic-automation-lanes melodic-automation-lanes Bot added the needs-session A pr-unblock stop a session builder takes: a change the lane cannot make. Not an owner stop. label Nov 4, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 4, 2026
Merged via the queue into main with commit cdfd00e Nov 4, 2026
107 of 109 checks passed
@kyle-sexton
kyle-sexton deleted the work-resolve-issue/issue-12679-41759063069-1 branch November 4, 2026 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-session A pr-unblock stop a session builder takes: a change the lane cannot make. Not an owner stop.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor(overengineering): resolve the view medium through the shared resolver

1 participant