5 AI agents for documentation integrity. Each agent is a focused skill invoked by the Chronos orchestrator.
Chronos audits project documentation for:
| Agent | Role | Trigger |
|---|---|---|
| Chronos | Orchestrator — runs the full Pantheon | chronos --preset full |
| Censor | Fact-checker — duplicates + broken links | chronos --preset minimal |
| Dewey | Classifier — L1-L6 taxonomy + missing/orphans | chronos --preset standard |
| Veles | Statistician — staleness, metrics, trends | chronos --preset full |
| Canon | Truth-keeper — cross-ref validation against contracts | chronos --preset standard |
# Basic audit (duplicates + links only)
chronos --path .
# Standard: check + classify (Censor + Dewey + Canon)
chronos --path . --preset standard
# Full Pantheon: all 5 agents
chronos --path . --preset full
# JSON output for CI
chronos --path . --output json --output-file report.json
# Fail on critical findings
chronos --path . --fail-on critical
# Single agent
chronos --path . --agent censor
| Preset | Agents | Use case |
|---|---|---|
minimal |
Censor | Quick CI gate — duplicates + broken links |
standard |
Censor + Dewey + Canon | PR validation — check + classify + cross-ref |
full |
All 5 agents | Release audit — complete integrity + staleness |
L1: Contracts — Machine truth (OpenAPI, AsyncAPI, JSON Schema)
L2: Product Canon — Human truth (VISION, PRD, ROADMAP, FEATURES)
L3: Engineering Canon— Implementation truth (ARCHITECTURE, ADR, SAGA)
L4: Derived — Synthesized (REFERENCE, TEST_CASES, DEV_GUIDE)
L5: Artifacts — Generated (API docs, changelogs, diagrams)
L6: Auxiliary — Supporting (README, CONTRIBUTING, templates)
Each level has required files. Dewey enforces presence; Canon validates L1→L3 consistency.
# Docs Audit Report
**Project:** /path/to/project
**Total docs:** 24
**Preset:** standard
| Severity | Count |
|----------|-------|
| Critical | 1 |
| Warning | 3 |
| Info | 2 |
| **Total**| **6** |
### CRITICAL
**File:** docs/API.md:42
**Issue:** Endpoint GET /users documented as Deprecated, but contract shows Active.
**Fix:** Update docs/API.md to match OpenAPI contract.
### WARNING
**File:** docs/ARCHITECTURE.md
**Issue:** Orphan document — no inbound references from L2/L3.
**Fix:** Link from PRD or add to REFERENCE.md.
### INFO
**File:** docs/DEV_GUIDE.md
**Issue:** Last updated 2024-01-15 (stale >180 days).
**Fix:** Review and update or archive.
check documentation / docs audit / audit docsdocs integrity / documentation healthfind duplicates in docs / duplicate docsbroken links / broken referencesstale documentation / outdated docsclassify docs / document classificationorphan docs / unreferenced documentsvalidate docs / doc quality / docs lintchronospip install chronos
Or run directly:
python -m chronos --path .
skills/chronos/
├── SKILL.md # This file
├── src/chronos/ # Python package
│ ├── cli.py # CLI entry point
│ ├── agents/ # base, censor, dewey, veles, chronos, canon
│ └── core/ # document reader and report renderer
├── tests/ # pytest tests for agents and core
├── docs/ # package architecture, PRD, and vision
├── references/ # taxonomy, agent, and CLI contracts
└── pyproject.toml
Create .chronos.yml in project root:
path: "."
preset: "standard"
fail_on: "warning"
output: "markdown"
thresholds:
duplicate_similarity: 0.85
stale_days: 180
required_levels:
L1: ["contracts/openapi.yaml"]
L2: ["VISION.md", "PRD.md", "ROADMAP.md"]
L3: ["ARCHITECTURE.md", "ADR/"]
L4: ["REFERENCE.md"]
L6: ["README.md", "CONTRIBUTING.md"]
ignore:
- "node_modules/**"
- ".git/**"
- "dist/**"
# .github/workflows/docs-audit.yml
- name: Chronos Docs Audit
run: |
pip install chronos
chronos --path . --preset standard --fail-on warning --output json --output-file chronos-report.json
Every Chronos run must pass:
references/CLASSIFICATION.md — L1-L6 taxonomy detailsreferences/AGENTS.md — Agent prompt templatesreferences/CONFIG.md — Full config schemacensor, dewey, or veles is sufficient.