Repository navigation
Description
Problem or Motivation
The rigid-rules decision Q12 of 2026-10-22 said to stop committing the generated reference docs. ADR 0012 decision 12 still names "the item that builds the reference pages at publish". The owner reversed this on 2026-11-11, word for word: "keep reference docs, but update design to accomodate project brain and keeps all content up to date".
ADR 0023 does not list documents as brain sources. It has no citation form for a document. It has no cap for document-drift issues apart from the 2 insight proposals a week. Without a record, the next agent can follow Q12 again.
Proposed Solution & Architectural Design
Add a new ADR at the next free number. It records these decisions:
- The 52 generated files (7 reference pages, 42
docs/commandspages, 3 instruction stubs; about 1,080,533 bytes) and the README command matrix stay committed. They are markedlinguist-generated, regenerated in the PR that changes their source, and gated by the docs row of Static Analysis. This cancels the build-at-publish item of ADR 0012 decision 12. - It amends ADR 0023. The brain reads documents from
mainby inventory class through the RAG docs collection. Each citation is{path, commit, lines, span_hash, doc_class, generated_from?, adr_status?, as_of}, andcommitis a first-parent commit ofmain. Document drift has its own lane: at most 3 batch issues a week, apart from the 2 insight proposals. - The precision rule: a check runs at PR time only when its run on
mainshows 0 false positives when it lands. Other checks run on the schedule. - ADR 0014 stays: the generator does not run in the pre-push hook.
ADR 0023 gets a one-line "Amended on by ADR " note at its top. Update CONTEXT.md: add the terms "Generated document" and "Citation", and change "Project brain". Add an OpenSpec spec delta for the project-brain capability (a new capability if no change has added it yet).
Target Subsystem
SDLC, Git & PR Governance (docs/adr/, CONTEXT.md, the OpenSpec project-brain capability).
Existing Tool Considered
The ADR form of docs/adr/. No tool applies: the item is a record and builds no code.
Acceptance Criteria
- The ADR file exists with a status paragraph that amends ADR 0023, and ADR 0023 has the amendment note.
uv run devops docs checkand the ADR tests pass.CONTEXT.mdhas the 2 new terms and the changed "Project brain" term.- A search of living documents finds no text that says the generated docs are built at publish.
- The ADR holds no hostname, private address or registry (AGENTS.md rule 10).
Dependencies
None.
Source: #4880
Activity
dan-petty commentedon Nov 12, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
docsprefix of the title gives the type.adr, and .github/labels.yml declares no scope/adr label. Add the label to the file to give the scope to this item.It records a decision reversal to stop agents from following the old Q12 rule again.It prevents repeated confusion and adds the citation form the project brain needs for documents.It requires a new ADR, an amendment note on ADR 0023, two new CONTEXT.md terms, and an OpenSpec delta.Both concern whether generated reference docs are committed or built at publish, but the candidate reverses #1103's decision to keep them in git.