# Documentation Organized by [DiΓ‘taxis](https://diataxis.fr/) β€” by what you are trying to do. ## πŸŽ“ Tutorials β€” learning-oriented _Lessons that take a newcomer by the hand through a first success._ - [Tutorial: ](tutorials/_TEMPLATE.md) β€” Goal: the reader succeeds at something for the FIRST TIME. - [Tutorial: From Idea to a Shipped Feature](tutorials/first-shipped-feature.md) β€” Goal: the reader succeeds at something for the FIRST TIME. - [Tutorial: Your First ContextDevKit Session](tutorials/getting-started.md) β€” Goal: the reader succeeds at something for the FIRST TIME. ## πŸ”§ How-to β€” task-oriented _Recipes that solve a specific real-world problem for someone who already knows the basics._ - [Customizing ContextDevKit](CUSTOMIZING.md) β€” The kit works out of the box, but a few tweaks make it fit your project well. - [How to ](how-to/_TEMPLATE.md) β€” Goal: reader completes a specific, real-world task they already know they need. - [How to audit and test](how-to/audit-and-test.md) β€” Goal: reader runs a health audit, creates a test plan, scaffolds tests, - [How to choose the right documentation altitude](how-to/authoring-docs.md) β€” You are adding or updating documentation and need to decide which folder to put - [How to record a decision](how-to/record-a-decision.md) β€” Goal: reader writes a well-formed Architecture Decision Record before implementing. - [How to reduce token cost](how-to/reduce-token-cost.md) β€” Goal: reader uses the economy runtime features to lower token spend per session. - [How to run a parallel swarm](how-to/run-a-parallel-swarm.md) β€” Goal: reader plans and runs a swarm of parallel workstreams, then reviews the results. - [How to run a workflow](how-to/run-a-workflow.md) β€” Goal: reader drives a large feature from intake through conclusion using the - [How to start a focused session](how-to/start-a-focused-session.md) β€” Goal: reader starts a scoped session that blocks opportunistic drift. - [How to tune autonomy and level](how-to/tune-autonomy-and-level.md) β€” Goal: reader adjusts how much the AI may do without asking (grade) and which - [How to use the pipeline board](how-to/use-the-pipeline-board.md) β€” Goal: reader creates, moves, and closes pipeline cards. - [File Catalog Guide](workflow-engine/file-catalog-guide.md) β€” Every workflow artifact, its purpose, who authors it, its single source of - [Migration Guide](workflow-engine/migration-guide.md) β€” Migrating a legacy workflow onto the wave engine is **opt-in and - [Profile Guide](workflow-engine/profile-guide.md) β€” A profile is the complexity dial. Values below are read directly from - [Workflow Guide](workflow-engine/workflow-guide.md) β€” How to use the wave engine end-to-end. See the [README](./README.md) for ## πŸ“š Reference β€” information-oriented _Dry, accurate technical descriptions β€” formats, options, APIs. Consulted, not read._ - [agent-forge β€” the factory squad](SQUADS/agent-forge.md) β€” Add `agent-forge` when a project's purpose includes shipping production AI - [Squad β€” design-team](SQUADS/design-team.md) β€” The kit's "make it usable, make it beautiful, make it findable" squad. Five - [Reference: ](reference/_TEMPLATE.md) β€” Goal: complete, accurate lookup β€” describe the machinery exactly as it is. - [Reference: Agents](reference/agents.md) β€” The specialized agents available to route work to. Generated from the agent registry. - [Reference: Slash commands](reference/commands.md) β€” Every slash command the platform ships, grouped by domain. Generated from the command registry. - [Reference: Native hosts](reference/hosts.md) β€” The editor/agent hosts the platform runs on natively. Generated from the shipped host set. - [CLI Reference](workflow-engine/cli-reference.md) β€” Every `workflow` command, its flags, one example, and whether it **writes ## πŸ’‘ Explanation β€” understanding-oriented _Background and rationale β€” the why behind the decisions._ - [Agent Package Format (APF) v1](AGENT-PACKAGE-FORMAT.md) β€” agent-packages/ - [Antigravity Integration β€” Architecture & Specification](ANTIGRAVITY.md) β€” How ContextDevKit runs natively in **Google Antigravity** alongside Claude Code β€” - [Architecture](ARCHITECTURE.md) β€” How ContextDevKit works internally β€” for anyone extending the engine. - [Codex Integration β€” Architecture & Specification](CODEX.md) β€” How ContextDevKit runs natively in **OpenAI Codex** alongside Claude Code and Google Antigravity: same engine, same m… - [Levels](LEVELS.md) β€” ContextDevKit activates progressively. The active level lives in - [Squad Pipeline Format v1](SQUAD-PIPELINE-FORMAT.md) β€” templates/contextkit/squads//pipeline.yaml - [architecture β€” system-shape and design](architecture/README.md) β€” How ContextDevKit is structured β€” the decisions behind the engine's shape, the - [Explanation: ](explanation/_TEMPLATE.md) β€” Goal: build a mental model β€” the WHY, the history, the trade-offs. - [Active agent squads](explanation/active-squads.md) β€” _Why ContextDevKit turned its declared agent squads into an actively-routed, governed orchestration layer β€” determini… - [Business-driven development: connecting intent to execution](explanation/business-driven-development.md) β€” _Why ContextDevKit anchors engineering work in an explicit business case rather than a queue of tickets β€” and how the… - [Eight generic-engineering features: posture, safety, and reach](explanation/contextkit-parity.md) β€” _Why ContextDevKit added eight generic-engineering capabilities β€” real-time - [The deliberation council](explanation/deliberation-council.md) β€” _Why ContextDevKit convenes a relevant, cheaply-briefed panel of experts before a high-stakes choice β€” automatically,… - [Governance and enforcement: why the harness, not the prompt](explanation/governance-and-enforcement.md) β€” _Why ContextDevKit enforces its rules through Claude Code hooks and CI gates rather than trusting the AI to follow in… - [Model-tier routing study β€” expensive models think, cheap models execute](explanation/model-tier-routing-study.md) β€” the kit, wired together, give ~80% of the value with zero new engine code: - [Swarm feasibility study β€” a coordinated agent swarm on the autonomy substrate](explanation/swarm-feasibility-study.md) β€” Can ContextDevKit host a **strong agent swarm** β€” one coordinator pulling several - [The three economies: token, cost, and autonomy](explanation/the-three-economies.md) β€” _Why a development platform that runs AI agents needs to track three distinct resource dimensions β€” and how they rela… - [Why ContextDevKit: the engineering case](explanation/value-and-impact.md) β€” _The rationale behind treating AI-assisted development as engineering β€” who this is - [Workflow governance: enforcing the journey, not suggesting it](explanation/workflow-governance.md) β€” _Why ContextDevKit makes the `/workflow` lifecycle an engine-enforced gate instead of a checklist the AI is trusted t… - [Token-Economy & Agility Plan](token-economy-plan.md) β€” In this kit, **tokens are spent when the AI (Claude) reads files and reasons over - [Universal Wave-Based Workflow Engine](workflow-engine/README.md) β€” One wave-based execution model for every workflow size β€” from a one-wave Basic ## πŸ—‚οΈ Planning & meta - [Architecture & Roadmap](ROADMAP.md) β€” An architect's view of where ContextDevKit is, what it learned from the production ## ❓ Unclassified _Add these to `docs/.diataxis.json` so they land in a DiΓ‘taxis mode:_ - [Architecture: ](architecture/_TEMPLATE.md) β€” Goal: describe components, boundaries, data flow, and the decisions that