Skip to content

fix(skill-quality): keep frozen probe competitors within their plugin - #12111

Merged
kyle-sexton merged 4 commits into
mainfrom
r17/pr-12033-probes
Nov 1, 2026
Merged

kyle-sexton merged 4 commits into
mainfrom
r17/pr-12033-probes

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Closes #11937

Summary

Replaces #12033, opened by the work-resolve-issue lane, with the same change: this branch is origin/main plus a merge of #12033's head edd3bb28124aaecc5c877c3b9cd08f37ad4a8741. The full change description, fix list and lane verification are on #12033.

#12033's review lanes failed in the 2026-11-01 17:49-18:22Z ci-workflows outage (failure-class=no-outcome). The merge gate does not count a re-run of that failure class as review evidence (plugins/source-control/skills/babysit-prs/scripts/babysit_review_evidence.py, rerun_binds), so #12033 could not arm at its head. A new head gets fresh first-attempt review runs.

Fix

No content change from #12033: one merge commit of its head plus a merge of origin/main.

Verification

Related

#12033, #11937

🤖 Generated with Claude Code

@kyle-sexton
kyle-sexton marked this pull request as ready for review November 1, 2026 21:09
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-01T21:11:25.416433Z 27185c1 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

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

Security review: no issues found

I read all 9 changed files. None of them matches a trusted path. None changes a trust control, a merge hold, a plugin manifest, or a standing instruction.

What changed:

  • Probe files. Four probe JSON files now list only same-plugin skills as competitors: event-storming/probes/{methodology,simulation}.json and github/probes/{audit,advise}.json. Each file's ranking_note was rewritten to match. These are data files for measuring how often a skill triggers. They grant nothing and run nothing.
  • Change notes. Three .changes/ files were added. They are release metadata only.
  • measure-invocation.sh validate. It now prints a WARN for each competitor that is not from the probe file's own plugin. This is security-neutral:
    • The plugin value goes to jq through --arg and is compared with startswith, so no file content is used as a filter or as code.
    • The competitor names are read line by line with read -r and only printed through warn. Nothing evaluates or executes them.
    • The check can only add a WARN. It never changes the exit status, so it cannot weaken or bypass the validate gate.
  • measure-invocation.test.sh. Two test cases were added that run against a temp fixture.

Checks I made:

  • Embedded text: none. The PR context and the issue comment describe the change and give no instructions to the review lanes.
  • Throughput holds: none removed.
  • Prior findings: none (0 earlier rounds, cap 3, not past the cap).

critical-findings: 0

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

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

Code review: no findings

I read every hunk of all 9 changed files. None of them matches a trusted-path glob, and none matches a .claude/rules/ path glob. The diff touches no plugin.json or marketplace.json, so no manifest lines apply.

Closing issue #11937, checked against its acceptance criteria:

  • event-storming methodology.json and simulation.json: each file's competitors is now just the other event-storming skill, and ranking_note names only that skill. The diff leaves the queries hunks alone. A grep of both probe directories found no ids from other plugins left anywhere in these files.
  • github audit.json and advise.json: each file's competitors is now the two other github skills, ranking_note names only those, and queries is unchanged.
  • Cross-plugin WARN in validate: the new check (measure-invocation.sh L205-L211) prints a WARN, not a FAIL, for each competitor that doesn't start with <plugin>:. The message names the file and the competitor. Non-string entries and a missing competitors key are handled safely ([]? and tostring). Because it calls warn, not err, the exit code doesn't change.
  • Tests: measure-invocation.test.sh L136-L152 adds both cases the issue asks for. A same-plugin file gets no WARN. A file with a competitor from another plugin gets the WARN and still exits 0 with no FAIL. Either regression in the guard would make one of these tests fail.
  • Validate runs on the two probe directories (exit 0, no WARN): going by the file contents, both directories should pass with no cross-plugin WARN. I couldn't run the commands (no shell in this lane). The PR's statements that the hooks and CI passed come from the author and I haven't verified them.

Changelog fragments: both probe-only plugins get bump: none, which fits since no shipped skill text changes. skill-quality gets bump: patch for a validator change that only adds a WARN.

Spend: none beyond the normal CI and review-lane runs on this new head.

No embedded instructions found in the PR context or the prior-findings file. This is the lane's first round on this PR: no prior findings, and the round cap (3) doesn't apply.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 1, 2026
Merged via the queue into main with commit f440034 Nov 1, 2026
67 checks passed
@kyle-sexton
kyle-sexton deleted the r17/pr-12033-probes branch November 1, 2026 21:20
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.

fix(skill-quality): keep frozen probe competitors within their plugin

1 participant