align-grid
Build editorial/magazine/report webpages on a GENUINE Müller-Brockmann modular grid (International Typographic Style) — not a…
Deterministic traceability quality gate — reads coverage matrix + blind-spot data, applies decision rules with oracle confidence downgrade, emits PASS/CONCERNS/FAIL/WAIVED verdict. Use before release-branch to gate merges on traceability.
$ npx -y skills add danielvm-git/bigpowers --skill gate-trace --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/gate-traceContext preview
The summary Claude sees to decide when to auto-load this skill.
Deterministic traceability quality gate — reads coverage matrix + blind-spot data, applies decision rules with oracle confidence downgrade, emits PASS/CONCERNS/FAIL/WAIVED verdict. Use before release-branch to gate merges on traceability.
# story: e80s01 # story: e45s05 name: gate-trace description: "Deterministic traceability quality gate — reads coverage matrix + blind-spot data, applies decision rules with oracle confidence downgrade, emits PASS/CONCERNS/FAIL/WAIVED verdict. Use before release-branch to gate merges on traceability." # story: e38s06 # story: e45s32 model: haiku effort: light
Deterministic quality gate that combines traceability coverage and blind-spot data into a single PASS/FAIL/CONCERNS/WAIVED decision before release.
| Rule | Condition | Verdict | |------|-----------|---------| | R1 | Any undone story with 0 code tags | FAIL | | R2 | Any story done but no verify evidence | CONCERNS | | R3 | P0 story (top WSJF quartile) with 0% coverage | FAIL | | R4 | Overall coverage < 60% | CONCERNS | | R6 | P0 story + eNN-TEST_PLAN_LATEST.md exists + zero SC-eNNsYY-P0-* in test files | CONCERNS | | R5 | Overall ≥ 80% + no critical gaps + all verify → PASS | PASS |
TEA-inspired: if trace links rely on heuristics rather than explicit tags, confidence drops.
| Heuristic Ratio | Downgrade | |-----------------|-----------| | > 50% links from heuristics (file-name or task-reference) | One level (PASS→CONCERNS, CONCERNS→FAIL) | | > 80% links from heuristics | Two levels (PASS→FAIL, CONCERNS→FAIL) |
1. **Pre-flight:** Ensure `scripts/trace-stories.sh --json` has been run (produces `specs/traceability-matrix.json`). If not present, run it. 2. Ensure `scripts/check-blind-spots.sh` has been run (produces `specs/blind-spots.json`). If not present, run it. 3. Read `specs/traceability-matrix.json` and `specs/blind-spots.json`. 4. Apply decision rules R1–R5 in order (first match wins). 5. Apply oracle confidence downgrade based on the heuristic link ratio from the matrix's `oracle_stats`. 6. **Drift check (e39s03):** If `specs/drift-report.json` exists and has suspect links, mark verdict as CONCERNS with note: "Drift detected — some implementing files are newer than their specs. Run scripts/check-spec-drift.sh for details." 7. Output verdict + rationale to stdout. 8. **Adversarial refute check (e45s32):** Before emitting PASS, attempt to **refute** the verdict — list at least one concrete traceability gap that would block merge if it were real. If the gap is real, downgrade the verdict. Rubber-stamping is prohibited; every PASS must survive one refutation attempt. 9. **Completeness critic (e45s05)** — Run adversarial gap-finding:
bash scripts/lib/completeness-critic.sh
Classify output as **BLOCKER / WARNING / FILLED**. **BLOCKER overrides any PASS verdict → FAIL.** Append critic summary to rationale. 10. Update `specs/execution-status.yaml` with gate-trace result.
| Verdict | Meaning | Action | |---------|---------|--------| | PASS | All gates satisfied | Proceed with merge | | CONCERNS | Non-critical issues found | Requires explicit human override in `state.yaml` | | FAIL | Critical traceability gap | Block merge — fix gap first | | WAIVED | Cannot evaluate (missing inputs) | Skip gate — data not available |
gate_trace: verdict: PASS|CONCERNS|FAIL|WAIVED generated_at: "<ISO 8601>" rationale: "<human-readable explanation>" heuristic_ratio: <0.0–1.0> downgrade_applied: <true|false>
blocks pipeline), which shares this skill's coverage data (`traceability-matrix.json`) but does not invoke a gate-trace PASS/CONCERNS/FAIL/WAIVED verdict directly.
Gate: READY → next: release-branch (final step before merge) Writes: state.yaml handoff.next_skill = release-branch
→ verify: `test -x scripts/run-gate-trace-verify.sh && bash scripts/run-gate-trace-verify.sh --self-test && echo OK`
Agent skills synthesizing 17 years of software engineering discipline — from Clean Code to AI-native architecture — into a single, prescriptive methodology for solo developers.
Build editorial/magazine/report webpages on a GENUINE Müller-Brockmann modular grid (International Typographic Style) — not a…
Analyze the blast radius of a proposed change before any code is written. Maps dependents, affected stories, and test coverage.…
Self-review checklist for the coding agent to run before dispatching a reviewer. Checks CONVENTIONS.md compliance, Boy Scout…
Evaluate an incoming project plan against bigpowers principles and conventions, surface gaps, and produce a READY/NOT READY…
Eight-step epic build cycle — reads state.yaml, execution-status.yaml, and one epic capsule; updates status via bp-yaml-set or…
Add a new requirement or reorder epics by WSJF against specs/release-plan.yaml and epic capsule directories. Modes Add and…