An educational, markdown-only repository demonstrating spec-driven AI-assisted coding and agent control boundaries for production workflows.
This project focuses on one core idea: the model should execute only what a versioned specification allows.
Most AI coding failures in production come from implicit decisions made during execution.
This repository demonstrates a controlled alternative:
- Define intent, scope, and constraints in a spec first
- Break work into deterministic tasks
- Separate planning from execution
- Enforce human approval gates for boundary crossings
- Keep agent authority explicit and narrow
Everything in this project is designed to be source-of-truth documentation that can be used directly in real coding workflows.
SPEC.mdas an execution contract, not narrative documentationTASKS.mdas deterministic, verifiable execution unitsAGENTS.mdas behavior constraints for coding agents- Example templates for production reuse under
examples/ - Human-in-the-loop control via explicit execution gates
This is a markdown-only control-plane project.
- No application code
- No framework dependency
- No orchestration runtime requirement
The artifacts are intended to be copied into real repositories and used during AI-assisted implementation.
- Read
SPEC.mdfor global rules. - Read
TASKS.mdand pick one task. - Read
AGENTS.mdto enforce execution behavior. - Use
examples/templates to scale the workflow. - Execute one task at a time and validate against spec constraints.
.
+-- AGENTS.md
+-- README.md
+-- SPEC.md
+-- TASKS.md
+-- examples/
| +-- AGENTS.example.md
| +-- EXECUTION_GATE.example.md
| +-- SPEC.example.md
| +-- TASKS.example.md
Defines context, scope, and non-negotiable constraints.
Defines deterministic units of work and verification criteria.
Defines execution behavior for agents (one task at a time, ask when uncertain).
A production-grade spec template including scope boundaries, escalation conditions, and change-control flow.
Deterministic task templates with file lists, concrete requirements, and verifiable checks.
Scoped multi-agent role definitions (Builder, Reviewer, Test) with shared control rules.
A human approval checklist for scope, constraints, verification, and traceability.
- Update the spec before implementation.
- Approve boundaries and escalation conditions.
- Execute exactly one task.
- Validate output against task verification and spec constraints.
- If requirements change, modify spec first, then continue.
- Keep specs short and explicit to reduce ambiguity.
- Treat anything not written in spec or tasks as out of scope.
- Use examples as templates, not fixed policy.
See the LICENSE file for details.
Contributions are welcome. Good extensions include:
- More domain-specific spec templates
- Additional deterministic task patterns
- Reviewer checklists for common risk categories
- Practical migration guides from prompt-first to spec-driven workflows