Learn
Decisions and directives
The directive records what you decided, what remains open, and what the coding agent should build and report.
One source, several useful files
The compiler creates .agentdirective/agent-directive.json first. The Markdown instructions, prompts, status templates, and manifest come from the same file, so they stay in sync.
Matching and editing happen in your browser. When you choose to create the files, your description, traits, answers, and any optional context or prior directive are sent to the Cloudflare-hosted compiler for that request. The service does not store those inputs or generated files. Compilation is deterministic; it does not call an AI model.
A requirement carries its decision state
A confirmed parameter can be implemented. An unresolved parameter remains visible in unresolved_decisions and must not be silently filled by the agent.
Stable IDs link controls, decisions, tests, observability, evidence, and later status reports.
{
"directive_id": "AD-7Q2K8M4P",
"directive_version": "1.0.0",
"methodology_version": "0.1.0",
"controls": [{
"control_id": "AUT-001",
"pack_version": "1.0.0",
"requirements": [{
"requirement_id": "AUT-001-R1",
"decision_status": "confirmed",
"parameters": { "value": "500", "unit": "USD" },
"verification_required": true
}]
}]
}What the bundle contains
Each file has one job. Use the descriptions below to choose the files your agent needs.
.agentdirective/agent-directive.jsonThe structured source of truth for requirements and the decisions behind them..agentdirective/control-status.jsonWhat the agent reported for each requirement: implemented, partial, unresolved, or another status..agentdirective/control-events.jsonlA running record of important changes and later reassessments..agentdirective/IMPLEMENTATION_PROMPT.mdInstructions derived from the same build rules, written for an agent hand-off.manifest.jsonA list of included files and fingerprints used to detect accidental changes.Completed, draft, and no-match are different results
DirectiveAt least one pack matched and every surfaced decision has a confirmed value.Implementation contractDraft directiveAt least one pack matched and one or more surfaced decisions remain open.Contract with explicit questionsNo-match assessmentNo current Control Pack matched the confirmed characteristics.Assessment and next steps; no directiveRequirement drift
If a later request conflicts with a confirmed requirement, the coding agent should stop and surface the conflict. Weakening, removing, or rejecting a safeguard is a new decision and a new event—not a silent edit.