Skip to content

README.md and the 17,320-line implementation spec have no table of contents despite heavy internal cross-linking

Id: TD-PPagop-26082415 · Status: resolved · Filed: 2026-08-24 · Resolved: 2026-09-12 · Ref: #1399 · Review: reviews/project-review-2026-08-23 R-12 F-DOC-01

Severity: Medium

README.md has 89 headings across 2,381 lines and already relies on internal jump-navigation (linking to its own anchors throughout), and docs/IMPLEMENTATION-PIPELINE-SPEC.md is 17,320 lines — yet neither, nor any other document under docs/, has a table of contents. This repository already has a precedent for a generated, CI-checked documentation region (scripts/render-config-table.sh, checked via .github/workflows/config-table.yml) that a ToC generator should follow rather than a hand-written one that will drift.

Both documents grew heading-by-heading over 42 days of fast iteration; nothing ever prompted a dedicated pass to add navigation aids once they crossed a size where one would help.

Ongoing cost: a reader has no way to see either document’s shape without scrolling or grepping, despite the documents’ own extensive internal cross-referencing being evidence the authors already know precisely which sections matter enough to jump to.

Suggested fix: write a small script, in the spirit of scripts/render-config-table.sh, that extracts ##/### headings and renders a ToC block between markers in both documents, checked in CI the same way the config tables already are.

Migrated to https://github.com/Poetic-Poems/agent-ops/issues/971.