From pqa
Use when attacking branches to find what the verifier cannot catch.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pqa:adversarial-collisionThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
The collide step applies P-deepen to every live branch: refuse the surface answer and
The collide step applies P-deepen to every live branch: refuse the surface answer and find what tests, types, and lint cannot see. The adversary breaks; it never fixes — fixing your own findings is self-grading, the test-gaming failure mode.
decide mode — there is no adversary pass on a question; the judge weighs
idea digests directly.uv run ruff check . && uv run pyright) BEFORE dispatching any model. A
branch that fails static checks is recorded to the failure taxonomy
(death_reason: "failed static checks before collision") and excluded. The
adversary is the most expensive judgment pass; it only attacks branches that could
possibly win.fable Task per
live branch, each given .pqa/branches/bN/ (or its worktree) — the adversary Reads
the code and notes.md in its own context. Never inline branch code into dispatch
prompts.{branch_id, severity, category, title, detail, resolved: false} — detail names the trigger input/condition and why the
verifier misses it. resolved is always false from the adversary.conviction: high protects a branch
from early pruning — it buys attention, not leniency. "High-conviction branch
failed under attack" is the best calibration row the system records.return None? Do they assert
values or just shapes? Tests that would survive mutation are a critical finding —
they compromise the verifier signal itself.pqa.collision.score_all. A
critical unresolved finding is a deadly hit.| Severity | Meaning | Effect at collapse |
|---|---|---|
| critical | fails its purpose in a way the verifier misses (corruption, bypass, deadlock, silently wrong output) | unresolved = branch dies regardless of tests |
| high | real bug a competent reviewer blocks on | weighs against; not fatal |
| medium | suboptimal in a way that matters | tie-break material |
| low | style, naming | surface it; spend no budget |
Critical inflation destroys the gate: if everything is critical, the orchestrator learns to discount the adversary, and the one finding that matters drowns.
Branch b0, fixed-window rate limiter. Verifier: green, 91% coverage. The finding:
{"branch_id": "b0", "severity": "critical", "category": "correctness",
"title": "burst-at-boundary admits 2x the limit",
"detail": "Two windows sharing an edge each admit a full quota: 100 requests at
09:59:59.9 plus 100 at 10:00:00.1 — 200 admitted in 200ms against a 100/min limit.
No test exercises a window edge, so the verifier stays green.",
"resolved": false}
b0's defense pass cannot resolve it without changing topology (sliding window), so the finding stands and b0 dies despite passing verification. That is the gate working: green tests are necessary, never sufficient.
low in volume crowds out the one
critical that decides the run.Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
npx claudepluginhub aura-farming/pqa --plugin pqa