ouroboros/docs
Ouroboros 35b8151819 Split the two reference books into verbatim chapters
The books were one physical file each: ARCHITECTURE 2,386 lines and
DEVELOPMENT 3,886, with 13 and 14 `##` sections. `reference_books.py` had
shipped the chaptered reader — membership, authored introductions, exact
physical source views — with the migration still at zero, so every reader
took the legacy monolith branch and the validator had no production caller.

Each `##` section is now one chapter file under `docs/architecture/` or
`docs/development/`. The only new bytes per chapter are its prologue: the old
section title at H1 (numbering text kept, so every `ARCHITECTURE "8. Git
Branching, CI, and Build"` cross-reference still reads) and one authored
introductory paragraph saying what the chapter owns and why it exists.
Everything after that prologue is the old section body byte for byte, with
`###`/`####` levels untouched — so the residue rules keep reading the exact
subsection headings they exempt, and no section title was renamed.

The move is therefore INVERTIBLE, and `tests/test_reference_book_migration.py`
inverts it: drop each chapter's H1 line and its one introduction, re-prefix
`## `, concatenate in membership order, and require the recorded SHA-256 of
the old body — plus, whenever the base commit is reachable, byte equality with
`git show <base>:<path>`. `docs/reference-books-migration.md` is the operator
transfer table: every row a verbatim move, with its line range at the base, its
destination and an empty rename column. It lives directly under `docs/`, so it
is reviewable without becoming a book member.

`_preamble` now takes the FIRST paragraph under the H1 instead of demanding the
only one before the first H2. Most sections open with prose at the level they
already had, so the old rule could only be satisfied by promoting `###` to `##`
or inventing a sub-heading — either of which would rewrite what this migration
relocates verbatim. A source whose H1 is followed straight by a subsection
still has no introduction and is still refused, which is the property that
keeps an overview from quoting body prose as authored orientation.

`.gitattributes` pins `docs/**/*.md` to LF: chapter line ranges, byte spans and
SHA-256s are physical facts that a Windows checkout must not rewrite, and
`full-test` runs on windows-latest for every PR. The two ARCHITECTURE-derived
generated inventories are regenerated, because a chaptered section now carries
its physical provenance note.

Co-authored-by: Ouroboros <311266734+ouroboros-agent@users.noreply.github.com>
2026-09-15 19:20:44 +03:00
..
about docs: make installer downloads direct and self-syncing 2026-08-14 04:12:45 +03:00
architecture Split the two reference books into verbatim chapters 2026-09-15 19:20:44 +03:00
archive rc.11 delta review: api-pack rows sized as production filters them, the advisory preview slot on its resolved route, a checked one-change invariant in the measurer, W4-F4 notes mirror the register 2026-09-04 23:55:32 +00:00
assets docs: make installer downloads direct and self-syncing 2026-08-14 04:12:45 +03:00
benchmarks docs: make installer downloads direct and self-syncing 2026-08-14 04:12:45 +03:00
development Split the two reference books into verbatim chapters 2026-09-15 19:20:44 +03:00
examples/author_ui_kit merge: integrate reviewed Skills Widgets and author UI track 2026-09-09 22:04:29 +03:00
history/first-48-hours docs: expand public discovery and release proof 2026-08-02 06:13:01 +03:00
install Prepare v7.0.0 with verified synthesis follow-ups 2026-09-08 23:20:03 +03:00
paper docs: make installer downloads direct and self-syncing 2026-08-14 04:12:45 +03:00
v7next Split the two reference books into verbatim chapters 2026-09-15 19:20:44 +03:00
.nojekyll docs: sharpen Ouroboros repository presentation (#74) 2026-07-24 07:14:13 +03:00
404.html docs: make installer downloads direct and self-syncing 2026-08-14 04:12:45 +03:00
ARCHITECTURE.md Split the two reference books into verbatim chapters 2026-09-15 19:20:44 +03:00
CHECKLISTS.md Repair four review-rulebook items that had drifted from the code 2026-09-15 17:08:58 +03:00
CHECKLISTS_ARCHIVE.md Remove the semantic duplicate-task gate from subagent admission (#884) 2026-09-14 17:36:39 +03:00
CNAME docs: expand public discovery and release proof 2026-08-02 06:13:01 +03:00
CREATING_SKILLS.md Review round: advance the Telegram resync key, probe only field-bearing components 2026-09-14 17:49:04 +03:00
DELEGATED_ADMISSION.md Persistent stable-target registrations survive settlement (#362, #364) 2026-08-31 13:17:36 +00:00
DEPLOYMENT.md v5.8.3-rc.2: centralize state helpers 2026-05-08 02:12:09 +03:00
DESIGN.md Derive the chat block from record facts; delete the sticky card flags and the tool-name list 2026-09-15 17:24:38 +03:00
DEVELOPMENT.md Split the two reference books into verbatim chapters 2026-09-15 19:20:44 +03:00
DOMAIN_MAP.md Keep the acceptance observation append-only so OpenAI-family prompt caches extend 2026-09-15 01:44:58 +03:00
index.html docs: make installer downloads direct and self-syncing 2026-08-14 04:12:45 +03:00
install.json fix(packaging): harden AppImage runtime lifecycle 2026-08-11 04:21:16 +03:00
llms.txt docs: make installer downloads direct and self-syncing 2026-08-14 04:12:45 +03:00
PERSISTENCE.md Align composite docs and persistence audits 2026-09-13 11:39:40 +03:00
reference-books-migration.md Split the two reference books into verbatim chapters 2026-09-15 19:20:44 +03:00
robots.txt site: move Pages to ouroboros-agent.ai (#83) 2026-07-31 08:17:34 +03:00
sitemap.xml Add technical report page and citation metadata 2026-08-11 12:36:37 +03:00