Impossible OS Docs

AI Development System

What is it?

The AI development system is the set of files that tells Claude Code (claude) and Antigravity CLI (agy) how to work as interchangeable writers in this repository: the doctrine, the shared skills, the harness hooks, the Astra 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. Commits come only from the lanes the operator starts and the one attended repair session, under one gate set (CLAUDE.md); Codex reviews read-only (pinned to Astra in .conclave/reviewers.toml); its one write route is an attended rescue whose diff the operator reviews and commits (CLAUDE.md). 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 + .agents/hooks.json via scripts/agy-hook-bridge.py]
  skills --> codex[Codex Astra review mode: findings only]
  doctrine --> agents[AGENTS.md + GEMINI.md: tool pointers]
  settings --> pack[scripts/test-ai-system.sh: regression pack]
  skills --> pack
  • Doctrine. CLAUDE.md holds 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), and Antigravity CLI loads that same directory via .agents/skills.json. New skills start from TEMPLATE.md and are listed in the skill catalog. There are no parallel skill trees for other tools.
  • Harness policy. .claude/settings.json and .agents/hooks.json (via scripts/agy-hook-bridge.py) execute the same .claude/hooks/ gates and reminders at tool-call time, alongside the shared permission list. Personal overrides go in the gitignored .claude/settings.local.json.
  • Reviewer contract. Codex (astra in .conclave/reviewers.toml, routed identically for claude and agy) reviews diffs and returns findings; it never edits the tree. Every finding is verified at file:line and classified Fix, Reject or Accept before anything changes.
  • Cross-tool pointers. AGENTS.md and GEMINI.md point other tools at CLAUDE.md without restating any rule.
  • Regression pack. scripts/test-ai-system.sh checks that the catalog, the authority order, the commit policy, Antigravity workspace parity 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 (loaded by both claude and agy)
.claude/settings.json Claude Code hook wiring and shared permissions
.agents/hooks.json + scripts/agy-hook-bridge.py Antigravity CLI bridge onto the same .claude/hooks/ scripts
.conclave/reviewers.toml Shared Astra reviewer pin and [routes] for claude and agy
.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

Impossible OS is free software under the GPL-3.0-only license. Last updated Privacy Edit this page on GitHub