Context and Problem Statement
The docs site historically served one blended track, making 1.x and 2.x behavior difficult to separate. Meanwhile, 2.x introduced doctrine/glossary architecture that lacked a clear documentation path.
For this release, documentation scope must remain local-first and must not add hosted-platform guidance.
Decision Drivers
- Present 1.x and 2.x behavior as distinct, navigable tracks.
- Document 2.x doctrine/glossary architecture accurately.
- Prevent accidental reintroduction of out-of-scope hosted-platform docs.
- Keep docs deployment straightforward through existing GitHub Pages flow.
Considered Options
- Keep a single unversioned documentation track.
- Create explicit
docs/1x/anddocs/2x/tracks with a versioned landing page (chosen). - Split docs into separate repositories.
Decision Outcome
Chosen option: Create explicit docs/1x/ and docs/2x/ tracks with a versioned landing page and docs guardrails.
Decision Details
- Documentation navigation is versioned at top level (
1.x,2.x). - 2.x track documents doctrine architecture, charter workflow, glossary system, mission/runtime loop, and ADR coverage.
- 1.x track remains local-first and excludes hosted-platform guidance in this docs path.
- Docs CI includes versioned-doc checks for link integrity and forbidden out-of-scope terms in versioned pages.
- GitHub Pages workflow deploys documentation updates from both
mainand2.xbranches.
Consequences
Positive
- Users can immediately choose the correct version track.
- 2.x architecture changes are documented where users expect them.
- Docs quality gates detect broken links and scope drift early.
Negative
- Documentation maintenance now spans two version tracks.
- Some legacy unversioned docs may require gradual migration into versioned pages.
Neutral
- Existing source docs can continue to exist while versioned tracks become canonical.
Confirmation
This decision is validated when:
- Versioned docs build and link checks pass.
- 1.x and 2.x top-level docs are both navigable in GitHub Pages.
- Doctrine/glossary 2.x architecture is documented and cross-referenced to ADRs/code.
- Versioned docs tests fail on banned out-of-scope hosted-platform terms.
More Information
Implementation references:
docs/index.mddocs/toc.ymldocs/1x/*.mddocs/2x/*.mddocs/docfx.json.github/workflows/docs-pages.ymltests/docs/test_versioned_docs_integrity.py