While editing
Return bounded advisory context in the agent loop without blocking the current change.
AI coding agent guardrails
Hooks and CI are necessary, but they arrive after an agent has built on top of early drift. Assura adds bounded project signals during the working loop and reserves hard failure for configured merge policy.
$ assura review
Project status: fail
Compared with origin/main
Branch 1 file | +3/-0 lines | 1 commit
Worktree 1 modified | 1 untracked | +2/-0
Needs attention
! apps/web/src/ file naming 1 violation
Next assura check --format agent . Return bounded advisory context in the agent loop without blocking the current change.
Show branch, worktree, structure, and changed-path findings while the repair is still focused.
Use the authoritative Check gate for serious configured policy that should not land.
When a commit is already blocked, the shortest path to green can become a broad refactor that breaks context and leaves technical debt.
Agent-facing output prioritizes a small number of repairable findings and points to deeper commands instead of dumping every observation.
Review separates committed branch changes from dirty worktree state so agents can see what this task introduced.
Onboarding reports inactive capabilities and unresolved project choices instead of pretending unchecked behavior passed.
Continue