Skip to content

Developer Safety

github-actions[bot] edited this page Jun 25, 2026 · 6 revisions

Developer Safety

Operator control + safety: hooks that let you halt, redirect, and recover an agent session, plus two standing commit conventions.

Full primitive detail: developer-safety design.

Driving the control trio

The three hooks are driven by trigger files under .harness/ (all per-repo):

File Who writes it Lifecycle
.harness/STOP you touch to halt; rm to resume
.harness/STEER.md you the hook renames it to STEER.consumed-<ts>.md after reading
auto-save/<ts> (branch) commit-on-stop recover with cherry-pick, then git branch -D auto-save/<ts>

To halt and redirect, write STEER.md first, then touch .harness/STOP. kill-switch is declared before steer, so the halt always wins; remove STOP, and steer injects the redirect on the next call.

On Antigravity the hooks run observe-only (no veto/inject). Approximate with an always-on rule that checks .harness/STOP and .harness/STEER.md before each step.

See Hooks for the full hook catalog and per-host effectiveness.

How it composes

  • Standalone — depends on nothing.
  • Enhances developer-workflows — hooks engage across the phase loop when both are installed.
  • Hosts — both; Claude-effective, observe-only on Antigravity (Compatibility).

Related

Architecture · Plugins · Home

Clone this wiki locally