This file describes how docs are organized in this repository.
README.md- Main entry point for usersCHANGELOG.md- Release historyCONTRIBUTING.md- Contribution workflowSECURITY.md- Security reporting policyAGENTS.md- AI agent instructions for this codebase
docs/
├── _config.yml # docs site config
├── DOCUMENTATION.md # this repository documentation map
├── README.md # docs portal / navigation
├── index.md # documentation landing page
├── architecture.md # public architecture overview
├── getting-started.md # install + first-run guide
├── tools-and-cli.md # 24 codex-* tools + standalone CLI
├── configuration.md # full config reference
├── troubleshooting.md # operational debugging guide
├── faq.md # short common answers
├── privacy.md # data handling notes
├── OPENCODE_PR_PROPOSAL.md # upstream OpenCode proposal notes
└── development/
├── ARCHITECTURE.md # technical design and current module/docs layout
├── GITHUB_DISCOVERABILITY.md # repository description, topics, and search terms
├── CONFIG_FIELDS.md # config field semantics
├── CONFIG_FLOW.md # config resolution internals
├── TESTING.md # testing strategy and commands
└── TUI_PARITY_CHECKLIST.md # auth dashboard UI parity checks
config/opencode-modern.json- OpenCode v1.0.210+ variant-based template (12 bases / 53 variants)config/opencode-legacy.json- OpenCode v1.0.209 and below template (53 explicit entries)config/minimal-opencode.json- minimal debug templateconfig/README.md- template-selection guide and install modes
lib/AGENTS.md- runtime module maplib/tools/AGENTS.md- per-tool factory pattern for thecodex-*registrytest/AGENTS.md- test-suite conventions
dist/is build output and not a documentation source of truth.- For user-facing guidance, start with
README.md,docs/getting-started.md,docs/tools-and-cli.md, ordocs/architecture.md. - Documentation claims that mirror runtime behavior (tool counts, config keys,
model catalog sizes, storage paths, internal links) are pinned by
test/doc-parity.test.ts. Update the docs and that test together.