Style contract for all docs in this repository.
- Fast onboarding for first-time operators.
- Precise references for maintainers and automation users.
- Stable wording for commands, flags, paths, and version policy.
- Consistent structure across user and maintainer docs.
- High-confidence discoverability without keyword stuffing or unsupported ranking claims.
User-facing docs should generally follow:
- Title and one-line lead.
- Quick path commands.
- Core operational workflow.
- Troubleshooting or failure handling.
- Related links.
Use short sections and scan-friendly tables where they improve clarity.
- Prefer direct, actionable language.
- Use runnable command examples.
- Explain expected outcomes after critical commands.
- Keep terminology consistent with runtime names.
- Avoid speculative language when behavior is deterministic.
- Put the user problem in the first paragraph before implementation detail.
- Root README and docs landing pages should naturally include
Codex CLI,multi-account OAuth,account switching,health checks,runtime rotation,diagnostics, andrecoverywhen those topics are in scope. - Use descriptive page titles such as
codex-multi-auth Featuresinstead of generic titles on public docs. - Do not promise search rankings. Improve discoverability through accurate titles, first paragraphs, package metadata, internal links, and GitHub topics.
- Do not repeat keyword lists in every section. Search terms should appear only where they help a developer understand the page.
- Keep the repository description, package description, README lead, and
docs/development/GITHUB_DISCOVERABILITY.mdaligned.
- Canonical command family is
codex-multi-auth .... - Canonical runtime root is
~/.codex/multi-auth. - Runtime rotation must be described as default-on unless the release policy changes.
- Legacy command/path references belong only in migration contexts.
- Compatibility aliases (
codex multi auth,codex multi-auth,codex multiauth) belong only in command reference, troubleshooting, or migration contexts. - Keep command flags aligned with runtime usage text.
- Behavior changes must update docs and tests together.
- New flags/settings/paths must be reflected in
docs/reference/*. - Migration-impacting changes must update
docs/upgrade.md. - Governance-impacting changes must review
SECURITY.mdandCONTRIBUTING.md. - Keep PR/issue templates aligned with validation gates.
Avoid:
- non-runnable command snippets
- conflicting path guidance across docs
- legacy-first onboarding language
- undocumented behavior drift between runtime and docs