Experimental documentation — Needs review
This page completed the primary audit but requires Zach's review. Current documentation version: experimental.
Repository fracture execution plan
This is the concise operating plan for starting the Sagan repository split. The canonical fracture roadmap remains the authority when this checklist omits detail.
Destination repositories
Operate seven coordinated repositories under Sagan-Shoulak, transferring the
existing sagan repository and creating the other six only afterward:
sagan— language, compiler, CLI, LSP, DAP, packages, math, and units.sagan-vscode— VS Code client, grammars, VSIX, and editor tests.sagan-physics— physics packages, numerical models, and headless tests.sagan-render— rendering API, native backends, and graphical tests.sagan-workspace— bootstrap, exact ecosystem lock, integrated demos, and cross-repository tests.sagan-docs— one holistic official documentation site assembled from version-locked component documentation.sagan-space-game— the Sagan application, assets, tests, releases, and owner-reviewedSPACE_GAME_DESIGN.md.
The existing language repository moves into the organization first, after the transfer start gate passes and before any new split repository is created. Physics never depends on rendering, rendering never depends on physics, and the extension never owns language semantics.
Mandatory root contract
Before a repository is considered extracted, its root must contain:
README.mdfor users and contributors;TECHNOLOGY.mdfor the conceptual architecture and how the moving parts fit;MAINTAINERS.mdfor exact Bash commands, branching, testing, releasing, deployment, diagnosis, recovery, manifests, locks, CI, and an impact-based test-selection matrix;- a one-time
CODEX_START.mdfor initial read-only onboarding, then durableAGENTS.md,TECHNOLOGY.md, andMAINTAINERS.mdfor teaching-first behavior, ecosystem chat routing, and repository-specific canonical sources; - machine-readable manifests, compatibility declarations, and exact locks; and
- independently runnable focused tests, complete tests, documentation checks, CI, and release procedures.
Any documentation edit resets its page to status: review-needed, sets
publication_ready: false, and clears all previous verification metadata until
a human audits it again.
Workflow for every Codex change request
- Read the repository instructions, technology overview, maintainer guide, roadmap, manifests, locks, Git status, and relevant history without editing.
- Confirm repository ownership. If another specialized chat owns the work, recommend it and provide a ready-to-paste, context-complete handoff prompt.
- Start from current
devand create one short-livedcodex/<request>branch. - Implement only the authorized scope and preserve unrelated or concurrent work.
- Test only what the request changed first. Diagnose, refine, and repeat until the changed component works and every focused test passes.
- Commit only the intended paths and merge the completed request branch into
dev. - Rerun the relevant tests selected by the repository's impact matrix on the
resulting
dev. Documentation-only edits that do not affect executable examples run structural checks without testing every example; changed examples or supporting behavior run the relevant example tests. Resolve failures before declaring the request complete. - Leave
mainuntouched until reviewed publication promotion fromdev. Promotion and release require the complete repository suite to pass.
Every repository's one-time CODEX_START.md must repeat this impact-based test
rule, then its durable AGENTS.md and MAINTAINERS.md retain it after prompt
deletion. Repository-specific prompts may strengthen this shared
branch-test-refine-merge-verify clause, but none may omit or weaken it.
Start gate
Do not move code until all of the following are true:
- repository names, visibility, ownership boundaries, and dependency direction are approved;
- the current monorepo baseline is backed up, recorded by commit, and green;
- schemas exist for component manifests, workspace locks, documentation
exports,
TECHNOLOGY.md,MAINTAINERS.md, andCODEX_START.md; - organization teams, branch protection, CI credentials, runners, and transfer permissions are understood;
- the existing
sagantransfer has an approved backup, redirect, remote-update, permission, integration, and rollback procedure; - canonical source, history-preservation, redirects, rollback, and partial-failure recovery are documented; and
- the owner can bootstrap, test, and recover the baseline using checked-in instructions rather than chat history.
Extraction order
- Record contracts and inventory every source, test, document, workflow, release artifact, secret, runner, mirror, and deployment by destination.
- Transfer the intact primary
saganrepository toSagan-Shoulak, preserve GitHub redirects, update all remotes and organization-scoped integrations, and pass its focused, CI, documentation, and owner-recovery checks there. Do not create any split repository before this transfer is verified. - Make each future component independently buildable and testable in the monorepo.
- Establish
sagan-workspacewith bootstrap, status, lock, restore, focused test, and complete integration commands. - Establish
sagan-docsand prove version-locked aggregate previews without changing the public site. - Extract
sagan-vscode; verify it against installed and pinned compiler/LSP artifacts and restore its official-docs section. - Extract
sagan-physics; publish and consume a real package artifact, run headless numerical tests, and restore its docs. - Extract
sagan-render; first define native-package metadata, then verify graphical evidence and installer consumption on supported platforms. - Extract
sagan-space-game; use onlySPACE_GAME_DESIGN.mdfor canonical game context and verify both released-toolchain and workspace-override builds. - Move cross-component demonstrations to
sagan-workspace, leaving component-owned examples with their owners. - Establish independent releases and holistic documentation publication, then promote a tested ecosystem lock.
Repeatable extraction gate
For each repository, repeat this loop before removing the original copy:
- Preserve relevant history and copy only owned material.
- Pass focused build, test, documentation, packaging, and platform checks.
- Pass independently against released dependencies.
- Add the exact commit to the workspace lock and pass ecosystem integration.
- Restore the component's official documentation section through aggregation.
- Pass a clean-chat onboarding drill and an owner-survivability drill.
- Verify artifacts, links, redirects, recovery, and parity with the source.
- Remove the old copy only after every gate passes and rollback is proven.
Completion gate
The fracture is complete only when all seven repositories are independently maintainable and releasable, the exact workspace lock recreates a known-good ecosystem, one official site publishes all approved component documentation, Space Game builds from an installed Sagan toolchain, every onboarding and survivability drill passes, and no required operation depends on chat history.