Agentic Development Governance (ADG)
ADG adds task context, action controls, audit history, and release evidence to a
Git-based development workflow. These records help teams coordinate work across
agents and sessions while keeping code review and integration in Git.
Latest release: v2.2.1. The modernisation changes
are implemented: native Git/Markdown setup, shared Claude instructions, safer
updates and retirement, and evaluation planning and reporting.
Fresh projects use npm run adg:init -- --target /path/to/repo to create missing
Markdown instructions. Choose --profile governed when the project needs ADG's
managed controls and SQL records. Existing governed installations retain their
controls and audit history until explicitly migrated. Claude reads the shared
AGENTS.md through a thin adapter.
ADG provides an additional coordination layer for multi-agent work: task claims,
scoped context, recorded decisions, and evidence for review. The current local
backlog does not synchronise separate machines or wake agents on other accounts.
Next minor version: v2.3.0. Work is focused on improved multi-agent
orchestration, including shared task ownership, handoffs across machines, and
independent review with different agent context. These are planned improvements;
see the v2.3.0 direction.
1. What ADG provides
- Executable action checks, scope controls, and tests for supported hook adapters.
- Evidence tiers and release checks for repositories that adopt them.
- An append-only audit log with a consistency hash chain. Its trust anchor remains
reviewed Git history; someone able to rewrite both the log and its sidecar can
forge a consistent history.
- Optional advanced planning infrastructure: SQL backlog, requirements lineage,
context packets, and derived reports.
- Hook, CLI, and SDK integrations over vendor runtimes. ADG is not a sandbox.
Native setup requires Node >= 20. SQL governance and context preservation also
require the sqlite3 CLI. Optional integrations have their own dependencies. Historical release notes describe changes, not proof
that ADG improves a current model's end-to-end performance.
2. Choosing a workflow
| Need | Starting point |
|---|
| Ordinary feature work and bug fixes | Git, a short AGENTS.md / CLAUDE.md, task notes only when useful, native permissions, focused CI |
| Long work spanning sessions | A concise Markdown handoff with goal, decisions, current state, next steps, and verification commands |
| Specific actions need deterministic denial | Native runtime controls first; add tested ADG controls where a documented gap remains |
| Queryable requirements lineage or structured evidence is required | Explicitly adopt the advanced SQL ADG profile and its maintenance obligations |
| Existing ADG installation | Inventory and preserve context before updating or removing managed components |
No task-quality comparison against this lightweight baseline has yet been completed.
Context packet byte savings against a generated SQL dump do not establish task
success, cost, or latency improvements over targeted search and Markdown.
3. Introduction to loops
ADG is built on a first-principles study of agent loops — the iterate cycle an agent
runs: gather context → act → observe → repeat. That study (the P1–P12 framework) lives
in loops-research.md, and the current state of the field — top labs,
figures, and repos — in
research/agentic-field-map-2026-06-20.md.
Model and harness capabilities interact. Re-evaluate scaffolding when the model or
vendor runtime changes, and retain it only for an observed gap or an explicit control requirement.
And the moment a loop acts autonomously, three things become structurally true — it must be
bounded, inspectable, and treat every observation as untrusted input.
ADG's distinctive move is that it enforces specific loop edges deterministically, outside
the model, rather than advising the model to behave:
| Loop edge | ADG mechanism (deterministic) |
|---|
| Action is gated by blast radius | PreToolUse guardrail (deny-by-default risk classes) |
| Termination is bounded + evidence-gated | loop governor (maxTurns ceiling + release gate) |
| Observation failures re-enter the loop | backpressure hook (failed check → next-iteration observation) |
| Context is curated, not dumped | context-inject / pin / rehydrate hooks + the broker |
| Fan-out is cost-bounded | subagent budget gate (maxConcurrent / maxTotal) |
| Model tier matches the work | model orchestrator (effort-first, abstract tiers) |