AI Development System
What is it?
The AI development system is the set of files that tells Claude Code how to work in this repository: the doctrine, the skills, the harness hooks, the reviewer contract and the boundary on autonomous agents. It exists so that AI-assisted work follows one written rulebook with one owner per rule, instead of overlapping instructions that contradict each other. Claude Code is the only implementation tool; Codex is used only as a read-only reviewer. The detailed ownership map is AI Development System reference.
How does it work?
Each kind of rule lives in exactly one place, and a fixed authority order decides conflicts.
flowchart TD doctrine[CLAUDE.md: doctrine] --> skills[.claude/skills: workflows] doctrine --> settings[.claude/settings.json: hooks and permissions] skills --> codex[Codex review mode: findings only] doctrine --> agents[AGENTS.md: pointer for other tools] settings --> pack[scripts/test-ai-system.sh: regression pack] skills --> pack
- Doctrine.
CLAUDE.mdholds the project rules and wins any conflict with a skill, a hook or a tool-local file. - Workflows. Skills under
.claude/skills/each own one workflow (implement a section, review it, validate a roadmap file). New skills start fromTEMPLATE.mdand are listed in the skill catalog. There are no parallel skill trees for other tools. - Harness policy.
.claude/settings.jsonwires the hooks that remind or block at tool-call time, plus the shared permission list. Personal overrides go in the gitignored.claude/settings.local.json. - Reviewer contract. Codex reviews diffs and returns findings; it never edits the tree. Every finding is verified at
file:lineand classified Fix, Reject or Accept before anything changes. - Cross-tool pointer.
AGENTS.mdfollows the AGENTS.md convention and points other tools atCLAUDE.mdwithout restating any rule. - Regression pack.
scripts/test-ai-system.shchecks that the catalog, the authority order, the commit policy and the agent boundary still match the doctrine.
Git hooks in .githooks/ are a separate layer owned by the developer tooling stack.
What are its interfaces?
| File or command | Purpose |
|---|---|
CLAUDE.md |
Project doctrine and mandatory skill triggers |
.claude/skills/README.md |
Catalog of every live skill |
.claude/settings.json |
Hook wiring and shared permissions |
.claude/hooks/MANIFEST.md |
One row per harness hook |
.claude/agents/ |
Read-only specialist agents the skills delegate to |
scripts/codex-dispatch.sh |
The single-argument Codex review dispatch wrapper |
make test-ai-system |
Runs the AI workflow regression pack |
How do I use it?
Run the regression pack after changing a skill, a hook or the doctrine:
bash scripts/test-ai-system.sh
# ==== AI WORKFLOW REGRESSION PASS ====
# 79 checks passed, 0 failed
That result was measured on 2026-09-28. To add or retire a skill, follow the Skill Authoring Lifecycle: a new skill needs a row in both the CLAUDE.md table and the catalog, or the pack fails. To request a review, dispatch through the wrapper with the review kind as a literal first token:
bash scripts/codex-dispatch.sh '[review-kind: adversarial] <todo-path> section <N> <prompt>'
Commits carry no AI-attribution trailer; the reasoning is in the AI-Assisted Commit Policy in CONTRIBUTING.md.
What is not implemented yet?
Nothing is open in this roadmap file: all nine sections have shipped. Later hook and automation work (new hook codes, the Codex invocation guard, skill-step telemetry) is owned by Automation Hardening.
How does it compare with Windows 11 and Linux?
Windows projects on GitHub use .github/copilot-instructions.md and chat modes for repo instructions; the Linux kernel added an Assisted-by: commit trailer in December 2025, and AGENTS.md is an emerging cross-tool convention. Neither ecosystem commonly defines a reviewer contract, a formal boundary on autonomous agents or a regression suite for the AI workflow itself. This repository has all three, and deliberately uses a zero-trailer commit policy instead of the kernel's trailer.
See also
- AI Development System roadmap
- AI Development System reference: authority hierarchy, hook routing matrix, reviewer contract, agent boundary
- Skill Authoring Lifecycle
- Automation Hardening