Gate status and checks
Gates: L0-understand, L1-size, L2-decide, L3-contracts, L4-boundaries, L5-freeze, L6-skeleton, L7-build, L8-integrate,
L9-promote, L10-lessons. A gate is passed only with a valid evidence file from an agent that did not build the result.
- Show where the feature stands:
python "${CLAUDE_PLUGIN_ROOT}/scripts/batuta.py" gate status FEATURE
- Enforce the rules (order, evidence, approvals, waivers, readiness at the release gate):
python "${CLAUDE_PLUGIN_ROOT}/scripts/batuta.py" gate check FEATURE
- Lint one evidence file (
specs/<feature>/evidence/<gate>.md):
python "${CLAUDE_PLUGIN_ROOT}/scripts/batuta.py" gate evidence-lint specs/FEATURE/evidence/GATE.md
- The deterministic gate commands per phase:
size lint (L1), adr lint and tech lint (L2), contract lint (L3),
provider lint (L4), spec lint (L5), skeleton check (L6), tdd check (L7), provider check (L8):
python "${CLAUDE_PLUGIN_ROOT}/scripts/batuta.py" provider lint
python "${CLAUDE_PLUGIN_ROOT}/scripts/batuta.py" skeleton check
- Thresholds only ratchet upward:
python "${CLAUDE_PLUGIN_ROOT}/scripts/batuta.py" gate thresholds --check
- Set a gate to passed only after the
verify skill produced PASS evidence (it is a dry run until you add --apply, which writes the status):
python "${CLAUDE_PLUGIN_ROOT}/scripts/batuta.py" gate status FEATURE --set L7-build=passed
- A waiver is a dated line a human writes in the status file; you never write one and never set
waived.
On a non-zero exit: exit 1 is a failed rule (a gate passed out of order, evidence missing, invalid or older than the change
it certifies, a void approval): fix the cause and run the check again, never edit the status file to pass. Exit 2 is a warning
or an honest partial (for example evidence for a commit older than the head): say it in your report; it is not a pass.
1---2name: gate3description: "Use when asking whether a lifecycle gate is passed or what blocks the next one: status, evidence files and the deterministic checks for L0 to L10."4allowed-tools: Bash(python *scripts/batuta.py* *) Bash(py *scripts/batuta.py* *) Read Grep Glob5argument-hint: <feature id>6metadata:7 source: https://skillmd.com/skills/fsantibanezleal/gate8---910# Gate status and checks1112Gates: L0-understand, L1-size, L2-decide, L3-contracts, L4-boundaries, L5-freeze, L6-skeleton, L7-build, L8-integrate,13L9-promote, L10-lessons. A gate is passed only with a valid evidence file from an agent that did not build the result.14151. Show where the feature stands: `python "${CLAUDE_PLUGIN_ROOT}/scripts/batuta.py" gate status FEATURE`162. Enforce the rules (order, evidence, approvals, waivers, readiness at the release gate):17 `python "${CLAUDE_PLUGIN_ROOT}/scripts/batuta.py" gate check FEATURE`183. Lint one evidence file (`specs/<feature>/evidence/<gate>.md`):19 `python "${CLAUDE_PLUGIN_ROOT}/scripts/batuta.py" gate evidence-lint specs/FEATURE/evidence/GATE.md`204. The deterministic gate commands per phase: `size lint` (L1), `adr lint` and `tech lint` (L2), `contract lint` (L3),21 `provider lint` (L4), `spec lint` (L5), `skeleton check` (L6), `tdd check` (L7), `provider check` (L8):22 `python "${CLAUDE_PLUGIN_ROOT}/scripts/batuta.py" provider lint`23 `python "${CLAUDE_PLUGIN_ROOT}/scripts/batuta.py" skeleton check`245. Thresholds only ratchet upward:25 `python "${CLAUDE_PLUGIN_ROOT}/scripts/batuta.py" gate thresholds --check`266. Set a gate to passed only after the `verify` skill produced PASS evidence (it is a dry run until you add `--apply`, which writes the status):27 `python "${CLAUDE_PLUGIN_ROOT}/scripts/batuta.py" gate status FEATURE --set L7-build=passed`287. A waiver is a dated line a human writes in the status file; you never write one and never set `waived`.2930On a non-zero exit: exit 1 is a failed rule (a gate passed out of order, evidence missing, invalid or older than the change31it certifies, a void approval): fix the cause and run the check again, never edit the status file to pass. Exit 2 is a warning32or an honest partial (for example evidence for a commit older than the head): say it in your report; it is not a pass.