Concepts
Governance blocks
A governance block is a reusable policy rule applied to a loop. Blocks compile into the final prompt the agent receives.
How blocks work
After intent analysis, recommended blocks light up. You can toggle them, author custom blocks, and persist a set per project. Blocks are composable — a global block, a workspace block, and a per-turn block can stack; the strictest setting wins.
What blocks govern
- Mandatory inspection before planning or editing.
- Anti-duplication — reuse before adding.
- Root-cause discipline — no patches that mask the cause.
- Security guardrails — changes to CSP, env masking, allowlist, or secrets are reported explicitly.
- Validation gates — typecheck, lint, test, build:renderer, smoke.
- Token mode — Save, Normal, Spend.
- Scope guards — do not touch unrelated areas.
Full list: Governance block reference.