Part of Statusnone Skills
A repository documentation operating system for humans and agents.
Bounded repository memory. Evidence-backed documentation.
Your repository's documentation should help agents and humans find trustworthy context without loading the whole tree.
Diátaxis Docs is a repository documentation operating system. It builds a readable map/highway around the documentation a repository already owns, then gives humans and agents a small, evidence-backed retrieval path. Diátaxis is the organization compass—not the whole product. Doctor is the guided front door; direct commands remain available when you already know the treatment.
Public alpha: useful today and actively tested. Review proposed changes before approval and use the same Git safeguards you use for any coding agent.
Install the canonical skills/docs skill, restart your host if needed, and open a repository:
$docs doctor make this repository's documentation trustworthy, bounded, and easy for humans and agents to use
Doctor's first pass is read-only. It maps what exists, checks obvious documentation health, separates evidence from inference, proposes the minimum treatment, and stops for your approval.
- New here? Follow Getting started.
- Ready to install? Use the installation guide.
- Know what you need? Open the command reference.
- Bounded memory: a human-readable map and current-state route keep retrieval deliberate; measured bytes are provenance-tagged telemetry against a provisional optimization target, not a product limit or deletion rule.
- Evidence before claims: code, tests, configuration, and confirmed intent outrank stale prose.
- Quarantine instead of contamination: uncertain candidates remain non-canonical until corroborated.
- Cold history: generated adapters, archives, evaluation payloads, and Git history stay unloaded unless needed.
- Human documentation first: Diátaxis helps each page serve a real reader need—not an agent-only memory database.
- Safe treatment: structural work previews first; Doctor requires explicit treatment approval and prefers isolated branches or worktrees.
- Auditable continuity: committed
.diataxis/state, findings, hashes, events, and complete disposition manifests provide cross-session identity without an external database or daemon. - Truth-aware health: a scope-qualified structural score stays separate from Trust coverage, source-hash freshness, protected public surfaces, and local-only knowledge.
flowchart TD
A["Ask and scope"] --> B["Bounded map + check + diagnosis"]
B --> C["Evidence-backed treatment manifest"]
C --> D(["STOP — you select and approve treatments"])
D --> E["Isolated write / update / fix / migrate / cleanup"]
E --> F["Re-check, show the diff, and stop before commit"]
| Command | Purpose | First invocation |
|---|---|---|
doctor [goal] |
Guided diagnosis and treatment | Read-only |
map |
Show documentation topology and hot path | Read-only |
context <task> |
Recall only relevant repository memory | Read-only |
check |
Check structure, declared Trust coverage, freshness, and byte telemetry | Read-only |
audit [scope] |
Prioritized, evidence-backed findings | Read-only |
classify |
Identify the reader need and Diátaxis type | Read-only |
write <need> |
Create one verified, focused page | Writes authorized page |
update <change> |
Update only documentation affected by a verified change | Writes affected docs |
fix <IDs|scope> |
Revalidate and repair selected findings | Selected repairs only |
init, migrate, cleanup |
Propose structural work | Preview only; later approval required |
help [all] |
Show compact command help | No repository inspection |
Codex is the primary tested path. Its marketplace package exposes $docs-doctor, $docs-map, $docs-check, and the other focused commands as individual skills while preserving the $docs … umbrella. Claude exposes the same set through /diataxis-docs:docs-*. The core follows the Agent Skills structure; generated adapters also exist for Grok, Copilot, Cursor, Gemini, OpenCode, and generic web prompts.
Compatibility is evidence-tiered—not universal. Static adapter validation is not the same as a live harness test. See the dated compatibility matrix before relying on a preview adapter.
- Network-free, read-only checker built with Python's standard library.
- Repository confinement with symlink, junction, and reparse-point defenses.
- Explicit-only skill invocation and prompt-injection-resistant repository handling.
- Dirty-worktree preservation and approval gates before structural changes.
- Deterministic, engine-owned Init adoption: the installed entrypoint constructs the preview, manifest, and receipt; the model presents the verified result and never reconstructs it.
- 700+ deterministic tests across Windows and Linux CI.
- Canonical/generated parity checks and sanitized, reproducible evaluation fixtures.
Every finding has a content-derived DOC-* identity and full fingerprint. Line movement and timestamps do not retarget it; changed semantic identity does. Approved structural transformations carry exact ID/fingerprint pairs, protected-surface evidence, recovery boundaries, and a complete disposition manifest. Failed verification is a state conflict, never a successful closeout.
The generic web bundles use command-specific progressive disclosure. Measured UTF-8 prompt sizes range from 3,396 to 30,855 bytes; the 42,000-byte packaging guard is a documented regression check with 11,145 bytes of headroom, not a product or health threshold. The separate repository hot-path byte telemetry remains provisional and informational.
The broader 108-trajectory model matrix and complete cross-harness pilots have not run. That limitation is published rather than hidden. See Benchmark, Evaluation, and Security.
Diátaxis Docs is an actively developed public alpha. The current priorities are independent repository use, live Claude/Grok/Cline compatibility evidence, installation polish, and a measured beta gate. See the roadmap and changelog.
The project grew from a vanished documentation skill and the Diátaxis framework. Read the full origin note.
Statusnone conceived and directed the project; Codex collaborated on planning, implementation, adversarial testing, and review. This is an independent project and is not affiliated with or endorsed by the Diátaxis project, OpenAI, Anthropic, xAI, GitHub, or other harness vendors.
Feedback from real repositories is welcome. Please read Contributing, use the issue forms, and report security concerns through the private process in Security.