Skip to content

docs: rework AGENTS.md and split the docs by purpose - #82

Merged
robo-monk merged 1 commit into
mainfrom
docs/agents-and-docs-model
Nov 5, 2026
Merged

robo-monk merged 1 commit into
mainfrom
docs/agents-and-docs-model

Conversation

@robo-monk

Copy link
Copy Markdown
Contributor

Summary

The docs repeated what the code already says and had drifted from it, and AGENTS.md didn't say what the docs are for. Now the code states each rule first, docs hold only what it can't say, and each page has one job.

 AGENTS.md                  # decisions a change must not undo, working rules, the doc model
 docs/
-├── ARCHITECTURE.md        # 1,317 lines
-├── DEPLOYMENT.md          # 762 lines
-├── BOTS.md
+├── internals/             # 748 lines: decisions, cross-component constraints, traps
+├── operations/            # deployment, development, release
+├── user/                  # bots, guide
 └── releases/
  • Cut: the phased build plan, repo layout, and field and route lists. The per-variable table and the Compose file now link to the site, which stays the published step-by-step path.
  • ARCHITECTURE.md §N citations in about 80 files now name the new pages, and bare (§N) citations are gone.
  • Stale claims are corrected against the code. For example, revoked_sessions exists, administrators can record and download, and a removed guest can rejoin through the lobby.

In code, only comments and strings change, including types.gen.ts regenerated from those comments and four variable descriptions in site/src/lib/config.ts.

Evidence

  • Before: docs/ARCHITECTURE.md claimed "No session table", while revoked_sessions exists.
    After: docs/internals/auth.md matches the code.
  • On this commit: make check, npm run check and npm run lint in site/ (34 TIDE_* variables documented), and scripts/check-release-pins.sh 0.1.2 all pass.
  • make media and make moil-e2e were not run, because no behaviour changes.
  • server/internal/transcripts/bundle/ and server/third_party/moil have no diff, so machine owners approve nothing again.

Merge Danger

Door: two-way. Revert the commit.

Blast Radius: links

Published images carry a documentation label pointing at blob/main/docs/DEPLOYMENT.md, which will 404 after this merge. release.yml is fixed for future releases. External links to docs/ARCHITECTURE.md and docs/BOTS.md break the same way.

This also adopts conventional commits in AGENTS.md, which differs from the plain sentences in the history so far.


Model: Claude Opus 5.5. Harness: Claude Code.

🤖 Generated with Claude Code

The docs repeated what the code already says, and had drifted from it.

AGENTS.md now states the decisions a change must not undo, the working
rules, and what the docs are for: the code states each rule first, and
docs hold only what it can't say.

ARCHITECTURE.md splits into docs/internals, DEPLOYMENT.md and new
development and release pages go in docs/operations, and BOTS.md and a
new guide go in docs/user. File catalogs, field lists and the phased
build plan are gone, and stale claims are corrected against the code.

Code comments cite the new pages. Only comments and strings change in
code, and the transcribe bundle is untouched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@robo-monk
robo-monk merged commit 42204bd into main Nov 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant