PulsePlate Gates
When to use
- •Before push or PR creation.
- •After code edits that may affect quality gates.
- •When CI reports failures and local reproduction is needed.
Inputs required
- •Changed files list.
- •Base branch (default
origin/main). - •Whether this is full validation or quick sanity check.
Procedure (commands)
- •
Mandatory pre-commit gate:
bashpre-commit run --all-files
- •
Full project gate:
bashmake verify
- •
If
make verifyfails, run split triage:bashmake lint make typecheck make test-fast make diff-cov
- •
For policy sanity in docs/scripts-only changes:
bashpytest -q tests/test_repo_policy_guards.py
Output format
- •
Gate status: pass/fail per command. - •
Failure excerpt: raw failing lines copied verbatim. - •
Pointers:file:line:error. - •
Fix plan: smallest actionable sequence. - •
Rerun commands: exact commands to verify fix.
Guardrails
- •Never mark task ready without command evidence.
- •Never hide failures with
|| trueor skip tricks. - •Never state "all checks pass" if any gate was not run.
- •If hooks modify files, report affected files explicitly.
SoT links
- •
AGENTS.md - •
RUNBOOK_AGENT.md - •
tests/AGENTS.md - •
scripts/AGENTS.md - •
Makefile - •
.pre-commit-config.yaml