Repository navigation
refactor(visualization): route check-deck's K2 refusal through its local-result helper - #12765
melodic-automation-lanes[bot] wants to merge 1 commit into
Conversation
…cal-result helper
|
claude-security-review reviewed Security review: PR #12765I found no security issues in this pull request. I read every hunk of both changed files. Neither file matches a trusted-path glob, and no plugin manifest is touched.
The PR context contains no embedded instructions. Prior findings: none (0 rounds; the round cap of 3 has not been reached). critical-findings: 0 |
|
claude-review reviewed Code review: no findings (I read every hunk of both changed files.) This is a structure-only tidy of
|
|
Unattended merge: native auto-merge leaves this pull request unarmed at head |
There was a problem hiding this comment.
The pr-verify verifier failed head 083802201d3d9d8fbbccadcba5ce7567482e856c. What it wrote, as data:
Summary: PR #12765 has no spec to judge against. spec.json and spec-text.json are both empty arrays:
the PR closes no issue, has no `Refs:` line, and spec-text.json holds no pull-request entry. The
rules require `fail` when there is no spec. The diff itself is a small, behavior-preserving tidy
of check-deck.mjs and shows no correctness or safety defect. The test-bash (0) job passed, and
test-bash is the lane that runs the wrapped present.test.mjs suite.
- pr-verify-data/spec-text.json: empty, so there is no trusted spec text. The PR body says "No
related issue: code-tidying upkeep sweep." and names no issue to close or reference. To fix, link
a trusted issue that asks for this tidy, with `Closes #<n>` or `Refs: #<n>`, or have a trusted
person or script write the PR title and body so they count as the spec.
- plugins/visualization/tests/present.test.mjs: CI runs this suite through its wrapper
present.test.sh, and that wrapper's lane, test-bash (0), concluded success on the judged head
(https://github.com/melodic-software/claude-code-plugins/actions/runs/41590663435/job/125818515830).
test-node was skipped, which is expected because the suite runs only through its wrapper.
- plugins/visualization/skills/present/scripts/check-deck.mjs:32: `local()` now takes an optional
`extra` argument that is spread after `reason`. The K2 refusal at line 43 still emits the keys
medium, class, reason, refused in the same order, so the output does not change.
- plugins/visualization/skills/present/scripts/check-deck.mjs:22: the header usage comment now lists
`hosted` among the `--argument` values. This edits a comment only.
There was a problem hiding this comment.
pr-unblock / address-feedback: UNCERTAIN, left open
Evidence: plugins/visualization/skills/present/scripts/check-deck.mjs:213
The verifier failed this head only because the pull request has no spec: it closes no issue, carries no Refs: line, and spec-text.json is empty. Its own notes find no correctness or safety defect in the diff. The K2 refusal at check-deck.mjs:213 still passes { refused } through local(), and the usage comment at check-deck.mjs:11 lists hosted, both behavior-preserving as the verifier says. The missing spec cannot be supplied by a file change in this thread's scope: it needs a trusted issue linked with Closes or Refs in the pull request body, or a trusted person writing the title and body. Leaving this open for a person to link a spec or accept the tidy without one.
There was a problem hiding this comment.
Answered in #12806, an owner-login replacement. Its title and body are trusted spec text, which this head lacked. It also changes the code: local() in check-deck.mjs takes the refusal list as a named argument instead of an open extra spread that could overwrite medium or class, and a new test in present.test.mjs pins the K2 refusal keys and order. Tests: 55/55 pass. This PR is held as superseded.
|
The pr-unblock lane stopped
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 gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=12765 -f activity=address-feedback |
|
pr-unblock / address-feedback finished round 1 of max 4 on 0838022. |
No related issue: code-tidying upkeep sweep.
Summary
Ad hoc tidy sweep of
plugins/visualization/**fromc8b364bcf(anchor: none, ad hoc). Structure-only edit toskills/present/scripts/check-deck.mjs.lib/*was skipped because those files are shared copies, andreference/*.htmlwas skipped because it is browser-rendered (SOFT).Fix
checkDeck'slocal()helper takes an optional extra-fields argument, and the K2 refusal is built through it instead of by hand. The emitted JSON keys (medium,class,reason,refused) and their order are unchanged.hostedamong the--argumentvalues, matching the parser, the printed usage line andpresent/SKILL.md..changes/visualization/patch fragment.Verification
bash plugins/visualization/tests/present.test.sh: 52/52 pass, before and after.scripts/check-affected.sh --base c8b364bcf --no-fetch: 10 passed, 5 skipped.Related