Use this index to find technical documentation. The current source and tests are authoritative.
| Document | Subject |
|---|---|
| cli.md | Sessions, MCP tools, goals, harness serve, and the editor |
| configuration.md | Subscription logins, the default model, endpoints, context windows, and web |
| embedding.md | Embedding the runtime in Go and in JavaScript, and the examples |
| plugins.md | Write a plugin as a process and in the process |
| Document | Subject |
|---|---|
| plugins-and-protocols.md | Plugin lifecycle and external protocol boundaries |
| fleet-and-serve.md | Fleet state, lineage, exhaustion, and diagnostics |
The plugin wire contract is in internal/plugin/PROTOCOL.md.
design/ contains architectural designs and durable decisions. Keep current
behavior in the runtime documents above. Keep implementation history and
superseded chronology in the commit body and the pull request body, not in
a standalone document.
| Design | Subject |
|---|---|
| architecture.md | Architecture, wire contract, and the rules that bind changes |
| context-compaction.md | Automatic and manual context compaction |
| codex-websocket-chaining.md | Codex response chaining and startup prewarm |
| fleet-model.md | Task lineage, fleet state, and provider exhaustion |
| go-plugins.md | Go plugins in-process and as processes, deny-on-failure hooks, and the plugin config merge |
| git-changes.md | GET /git/changes: constant-cost diff computation without touching the index |
| managed-processes.md | Box-scoped managed process lifecycle |
| mcp-lazy-tools.md | Deferred MCP schema design |
| nested-instruction-loading.md | Project instruction discovery and truncation |
| slash-commands.md | Human-invoked control and prompt commands in one registry |