SuperAPI AI Directory

nuke-release

General & other

View repository

Updated 10-15 17:23

About this skill

Nuke Release

Review's sibling, pointed at the shipping surface instead of a diff (map: references/family-map.md). What breaks a release is rarely deep code — it is the README's install command that no longer works, the version that says 3.2 in one manifest and 3.4 in another, the count in the docs that drifted from the artifact, the debug flag left on. Every one of those is mechanically checkable, so the protocol checks them mechanically and reports SHIP or DON'T SHIP with blockers. Never edits anything.

Arguments

[mode] — light (default) | full | plan (preflight, print, STOP). [scope] — a subpath (one package of a monorepo) | default: the whole repo. --ask — pause at the preflight plan for confirmation; default is no gate — the plan prints and the run starts (references/preflight.md). --spec — always write the mini fix-spec.

Modes

Tier vocabulary and platform mechanics: references/model-tiers.md.

light (default) full
Checkers (4 charters below) worker worker
Truth charter depth install/quickstart/usage claims — the paths a new user walks every testable doc claim, nuke-docs style
Packaging charter depth artifact contents listed and judged + clean-environment install simulated (fresh temp dir, the exact documented commands)
Batched skeptic session top
Wave ceiling one checker wave + one skeptic pass same — release checks converge or they don't; no loops

Mandates

  1. Read-only everywhere. Writes only under .nuke/ and the temp dirs a clean-install simulation uses. No git add / git commit / git stash; no version bumps, no fixes — a release check that edits the release invalidates itself.
  2. Execute or trace, never eyeball — a claim is verified the nuke-docs way: run it, test -f it, grep it; destructive/publishing commands (deploy, publish, tag) are traced, never executed.
  3. Every blocker carries evidence — the failing command output, the mismatched pair of quoted lines, the missing path — verbatim.
  4. The verdict is binary. SHIP or DON'T SHIP — <n> blockers; "mostly ready" is not a verdict. Non-blocking findings are listed separately and never soften the verdict line.

Artifacts

run_dir = .nuke/<YYYY-MM-DD>-<HHmmss>-release-<slug>/ — fresh per run; on collision append -2, -3, ….

File Role
plan.md Shipping surface inventory, charters, wave, tiers
checks.md Every check with verdict + evidence
release.md Verdict-first report
fix-spec.md Only with --spec or >5 blockers

Pipeline

Phase 0 preflight (plan → apply) → Phase 1 checker wave (4 × worker, parallel) → Phase 2 skeptic (1, batched) → Phase 3 verdict (STOP)

Phase 0 — Preflight

Read references/preflight.md and follow its plan-then-apply gate. Release specifics: resolve the shipping surface — what a user actually receives and reads: the published artifact's file set (package manifest / plugin manifest / build output), the user-facing docs (README, install/quickstart guides), the declared install paths, the version-bearing files. Resolve the gates table per references/stack-adapters.md. Print the plan block and apply it (gate only with --ask).

Phase 1 — Checker wave (worker, parallel)

Four charters, each returning candidate findings in the family schema (severity + file:line + quoted evidence + trace + proposed fix + refutation attempt), tagged blocker or note:

  1. Truth — every claim on the new-user path verified by execution or trace (Mandate 2): install commands, quickstart steps, usage examples, requirement statements. Depth per mode.
  2. Consistency — versions agree across every version-bearing file; counts, names, and lists in docs match the artifact (enumerate both sides, diff them); internal links and cross-references resolve; changelog (if present) mentions the version being shipped.
  3. Build — the build runs clean from the current checkout AND leaves generated artifacts in sync (build, then git status --porcelain on generated paths — drift means the commit ships stale artifacts); the declared gates pass; CI config runs the same steps the docs claim.
  4. Packaging & trust — the artifact contains what the docs promise and nothing embarrassing: missing entries in the manifest's file list, dev leftovers (debug flags, local absolute paths, TODO/FIXME on user-facing surfaces), secrets (grep per the security checklist's vocabulary), license present and matching the docs' claim.

blocker = a new user hits it or trust is damaged (broken install, lying quickstart, version mismatch, secret, missing license). note = worth fixing, survivable (stale badge, tone nit).

Phase 2 — Skeptic (batched)

One batched skeptic per references/skeptic-protocol.md verdicts every candidate separately — re-runs the failing command, re-reads both sides of a mismatch — and may reclassify blocker ↔ note with a written reason. Uncertain after full research → note, never blocker: a release gate must not cry wolf.

Phase 3 — Verdict (STOP)

release.md, first line: SHIP — 0 blockers · <n> notes or DON'T SHIP — <n> blockers. Then blockers (each: evidence + the one-line fix), notes, checks passed count, run stats. --spec or >5 blockers → mini fix-spec per references/fix-spec-template.md (single phase, mechanical Accepts), with the handoff line to nuke-exec. Append the calibration line to .nuke/calibration.log (format in references/preflight.md). STOP — never start fixing.