distribution-vet
CommandMaintainer-only. Classifies every file that would newly ship to adopters against the written distribution-boundary categories,…
Fixes the tech-debt backlog, a single issue, a recommended related batch, or an optional batch of small unrelated issues, highest severity then oldest first, on a fresh isolated branch through the audit gate, closing the issue(s) on merge. With no argument it drains the top of
$ npx -y skills add gaia-harness/gaia --agent claude-code
name: gaia-debt description: Fixes the tech-debt backlog, a single issue, a recommended related batch, or an optional batch of small unrelated issues, highest severity then oldest first, on a fresh isolated branch through the audit gate, closing the issue(s) on merge. With no argument it drains the top of the backlog, and also offers a batch of small unrelated issues when two or more unrelated issues or groups fit at offer time; one issue number fixes that issue directly, and several issue numbers name the operator's own batch, budgeted. An optional trailing `[use] worktree|branch` picks the isolation mode. A named number that cannot be drained stops with a reason. Use when the user asks to drain, fix, or work the tech-debt backlog or a named tech-debt issue. argument-hint: "[<issue-number>...] [[use] worktree|branch]"
Run the GAIA **debt** workflow with these arguments: `$ARGUMENTS`
This command claims a backlog issue, cuts its own isolated branch, and drives that branch's pull request to merge. If invoked from a linked worktree, reject hard: `gaia_refuse_if_worktree` (`.gaia/scripts/main-only-lib.sh`) asks the shared resolver which tree this is and refuses out loud, naming the main checkout, when the answer is a worktree.
Detection (run this first, before anything else):
. .gaia/scripts/main-only-lib.sh gaia_refuse_if_worktree "/gaia-debt" || exit 1
. .gaia/scripts/main-only-lib.sh gaia_pull_gate "/gaia-debt"
On a non-zero exit, read `.claude/skills/update-gaia/references/pull-gate.md` and follow it with `/gaia-debt`, this run's original arguments and the exit code, before anything below creates a branch, worktree, claim or SPEC id.
Read `.claude/skills/gaia/references/debt.md` from the project root and follow it exactly, treating the arguments above as its input: zero or more issue numbers (one fixes that issue, several name your own batch) and an optional trailing isolation mode. The reference's argument parser owns the grammar, and an unrecognized argument stops the run with the accepted form; no argument runs the top-of-backlog flow.
`debt.md` routes each run to at most a few of these sub-references, all under `.claude/skills/gaia/references/debt/`. Read one only when a "Read ... now" line sends you there, and then read the whole file:
Claude is raw power. GAIA is order and focus. A serious harness for Claude Code. It keeps Claude-shipped code production-grade as your team scales. The React frontend is handled. You build the rest of your app on top.
Maintainer-only. Classifies every file that would newly ship to adopters against the written distribution-boundary categories,…
Cleanses memory and auto-loaded files (CLAUDE.md, rules) of duplication with the wiki, contradictions with the wiki, and stale…
Drafts a guard (deterministic check, skill, or path-scoped rule) for a recurring code-audit finding class, with approval. Reviews…
Lints this project's Claude integration (skills, commands, agents, rules, hooks, settings, CLAUDE.md files, wiki) with a…
Turns a GAIA workflow misfire into a redacted, classified, filing-ready bug report in one read-only pass. Self-diagnoses config…
Initializes a new project from the GAIA harness. Renames, strips GAIA branding, configures i18n, installs the React Doctor skill,…
Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.