Skip to content

test(debugging): add frozen trigger probes for debug - #11849

Merged
kyle-sexton merged 6 commits into
mainfrom
host-run/6603-debugging-concise
Nov 1, 2026
Merged

kyle-sexton merged 6 commits into
mainfrom
host-run/6603-debugging-concise

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

Refs: #6603
Refs: #6476

Summary

Adds the missing frozen trigger probe file for the debugging plugin's debug skill. No skill text changes. The concise body rewrite this pull request first carried is deferred: #6603 stays open for it, and it waits on #11618 and #11628.

Fix

  • plugins/debugging/probes/debug.json: 20 frozen trigger probes (10 positive, 10 negative), written blind from the current description. They are the baseline for a later description rewrite. analyze-profile.json was already on main.
  • Changelog fragment at bump: none (no skill behavior changes).
  • The body rewrite (commit 352a71b) is restored to main's text in a030b13. It came with measured passes: with-plugin mean 0.83 → 0.87 over 11 cases, every result VALID, and no case dropped. It was still not shipped, for two reasons. The passes ran on Opus only, and the rewrite protocol measures "per model the skill targets" and ships on non-inferiority within a 5-point margin (plugins/playbooks/skills/skill-authoring/reference/skill-criteria.md:212-222). And the read-only group's noise interval reached the 0.05 margin (+0.06 [-0.05, +0.16]), so non-inferiority was not shown. The per-case numbers are recorded on Concise skills rollout: debugging (1 skills, 1 model-invoked) #6603 for the rewrite.

Verification

  • measure-invocation.sh validate plugins/debugging/probes: PASS, 2 probe files (from the original run of this branch; the probe file is unchanged).
  • gitleaks git over the branch range: no leaks.
  • CI's ci-status runs the affected checks on this head.

Related

🤖 Generated with Claude Code

melodic-automation-lanes Bot and others added 5 commits November 1, 2026 00:43
Lane-Activity: work-resolve-issue/resolve-issue
Tighten the debug SKILL.md body (5292 to 5091 words) without dropping a
directive; the description and analyze-profile are unchanged.

Refs: #6603

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…write

The rewrite's measured passes ran on Opus only, and the read-only group
was not shown non-inferior, so it does not meet the both-models validity
rule yet. The rewrite waits on #11618 and #11628; its evidence stays in
commit 352a71b and the #6603 thread.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton kyle-sexton changed the title refactor(debugging): concise debug skill body, measured no loss test(debugging): add frozen trigger probes for debug Nov 1, 2026
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 1, 2026 15:42
@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-01T15:43:55.273625Z 0b9ebd6 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 0b9ebd607fa84f1ebb71e574caa92ba3138105ac: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #11849, test(debugging): add frozen trigger probes for debug

I found no security issues.

I read both changed files in full in .claude-lane/pr.diff:

  • .changes/debugging/test-6603-debugging-probe-set-7d2a4c91.md: a new changelog fragment set to bump: none. It is prose only.
  • plugins/debugging/probes/debug.json: a new data file with 20 frozen trigger probes for debugging:debug. Each probe is a short, harmless sample request (debugging, refactoring and test scenarios). The file also has metadata fields: skill, plugin, skill_dir and competitor_dirs, which point at in-repo skill paths, and a ranking_note.

Checked and ruled out:

  • Executable surface: none. There is no script, workflow, hook, MCP or plugin manifest (plugin.json / marketplace.json) change, and no new userConfig key.
  • Trusted paths: neither file matches a listed glob.
  • Trust controls: unchanged. That covers trusted actors, the token broker and lane token, the kill switch, merge holds and the actions under .github/actions/.
  • Instruction surface: no standing instruction (CLAUDE.md, AGENTS.md, a skill or agent body, or a hook list) is deleted, narrowed or softened. Per the PR description, the earlier skill-body rewrite was reverted to main's text, and the diff confirms no skill text changes.
  • Embedded text: the probe requests are plain evaluation prompts. None tells a lane to pass the PR, skip a check, drop a finding or post elsewhere. The PR context has no such directive either.
  • Secrets and spend: no credentials or tokens appear. Nothing here can create a charge or spend prepaid credit.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

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

Code review: no findings

I read every hunk of both changed files. Neither file is on a trusted path.

What changed

  • plugins/debugging/probes/debug.json adds a new set of frozen trigger probes for debugging:debug.
  • .changes/debugging/test-6603-debugging-probe-set-7d2a4c91.md adds a changelog fragment at bump: none.

Checks

  • Schema. The top-level fields are skill, plugin, skill_dir, ranking_note, competitors and competitor_dirs, and each query has id, split, expect_trigger and request. These match the documented schema in plugins/skill-quality/reference/invocation-probes.md, which lists competitor_dirs as an optional override. The sibling file analyze-profile.json uses the same fields, minus the optional competitor_dirs.
  • Counts. The PR body says 10 positive and 10 negative. The file matches: 6 positive and 6 negative in train, 4 positive and 4 negative in validation.
  • Labels against the current debug description.
    • The positives are observed failures with no reproduction yet: a 500 error, timezone drift, a performance regression, a flaky CI run, a screenshot and production logs.
    • The near-miss negatives follow the description's two "Skip when" clauses. neg-train-01, neg-train-02 and neg-val-01 each hand over a captured profile, trace or snapshot of a failure that does not reproduce, which belongs to /debugging:analyze-profile. neg-train-03 and neg-val-02 are deterministic failing tests with no reproduction gap.
    • The ranking_note describes this correctly.
  • Changelog. The fragment's path follows the repository's .changes/<plugin>/<slug>.md convention. bump: none fits, because no skill text or behaviour changes.
  • Closing issues. None. The PR only references Concise skills rollout: debugging (1 skills, 1 model-invoked) #6603 and Concise skills: one skill-creation standard, evals, and a fleet-wide rollout #6476 (Refs:) and closes nothing, so there are no acceptance criteria to check.
  • Path-scoped rules. No rule under .claude/rules/ has a paths: glob that matches plugins/*/probes/** or .changes/**.
  • Manifests. No plugin manifest changed.

Not verified by me. The PR says measure-invocation.sh validate plugins/debugging/probes passed and that gitleaks found no leaks. Both are the author's claims. I had no shell in this run and could not re-run them.

Embedded text. The PR context contains no instructions aimed at this review.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 1, 2026
Merged via the queue into main with commit 543eb6c Nov 1, 2026
56 of 68 checks passed
@kyle-sexton
kyle-sexton deleted the host-run/6603-debugging-concise branch November 1, 2026 15:51
@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Post-merge mutation testing

Killed 3, survived 2, timeout 0, no coverage 0, invalid 0, not run 2.
Covered-code score 60%; mutation score 60%.

File Killed Survived Timeout No coverage Invalid Not run
lib/setup-apply.mjs 3 2 0 0 0 0
scripts/lib/changelog-fragments.sh 0 0 0 0 0 1
scripts/validate-plugin-contracts.mjs 0 0 0 0 0 1

Surviving mutants

Location Operator Disposition Cause
lib/setup-apply.mjs:276 LCR productive input-gap
lib/setup-apply.mjs:910 ROR productive input-gap

The run's summary has the full report.

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.

1 participant