Skip to content

feat(docs): track current content and brain-fed reference docs #4880

Open
4 of 15 issues completed
Open

Description

@dan-petty

Problem or Motivation

The owner decided on 2026-11-11, word for word: "keep reference docs, but update design to accomodate project brain and keeps all content up to date".

This decision ends a conflict between two records. The rigid-rules decision Q12 of 2026-10-22 said to stop committing the generated reference docs. The conflict study of 2026-11-11 said that the owner wants them visible on GitHub. The generated reference docs stay committed in git.

The project brain (ADR 0023, #4624) will read the reference docs, the ADRs, the standards documents, the skills and the knowledge base. A stale document gives the brain a stale fact. Today these documents drift, and only some drift has a check:

  • The content census at cd6fb76 (2026-11-11) read 138 documents in scope (115 hand-written, 23 ADRs). It found 22 living high findings, 32 living low findings, 44 findings in history sections and 184 findings in ADRs (48 in ADRs in force, 136 in superseded ADRs).
  • The 22 living high findings are 6 paths, 4 bare file names, 4 closed items named as open, 3 unknown flags, 2 variables, 2 identifiers and 1 copied number. All 22 are still on main at 9208717 (checked 2026-11-12).
  • The census checked 1,942 command references, 624 relative links and 61 anchors with 0 defects. A link check can start green.
  • The standards pass of 2026-11-11 (docs(sdlc): state the decided ways of working in the standards #4772, docs(sdlc): fix the three review findings that #4772 merged with #4800) is the baseline: 98 workflow changes, 5 stale and 9 partial statements, 22 moved test paths fixed by hand, and duplicated rules (the coverage rule is in CONTRIBUTING.md and docs/TESTING.md).
  • 52 generated files (7 reference pages, 42 docs/commands pages, 3 instruction stubs; about 1.08 MB) and the README command matrix are committed. Only 2 of the 49 generator pages say that they are generated. .gitattributes has only eol and binary lines. The model-review skip names 2 of the 11 generated globs. docs/index.md links 3 of 7 reference pages and 0 command pages.
  • In the week to 2026-11-11, 121 commits on main touched generated files. GitHub ignores merge drivers, and a user-owned repository has no merge queue. 2 conflict pushes had only a generated file in conflict (feat(roadmap): implement falls back to medium-effort items #3614, feat(roadmap): extend a step budget when the run makes progress #4464).

Goal

The generated reference docs stay committed, marked as generated, and correct at each merge. A PR that makes a document wrong fails a check and fixes the document in the same PR (AGENTS.md rule 8). A scheduled command finds the drift that no PR check can find, and a bounded lane files it with evidence. The brain reads documents from main by class and cites each fact at a main SHA. One source holds each fact: a document or the code. Brain entries are derived and cite that source.

Decisions

  • Base design: PR gates first. Two judges ranked it first (31 and 29 of 40). Drift that a PR check stops gets its fix in the same PR at no extra cost. A scheduled finding costs an intake, an implement run (about 0.33 USD) and a PR (about 90 runner-minutes).
  • Keep the reference docs. The 52 generated files and the README matrix stay committed. This cancels the build-at-publish item of ADR 0012 decision 12. No child deletes, moves or restructures a reference page.
  • Mark and regenerate. GitHub Linguist attributes mark the generated files. The PR that changes a source regenerates its pages. The docs row of Static Analysis stays the gate. No merge driver, no bot commit and no new pre-push hook.
  • Precision rule. A check runs at PR time only when its run on main shows 0 false positives when it lands. Other rules run in devops docs drift.
  • One link checker: rumdl (MD051 and MD057). It replaces the custom _broken_links helper.
  • No cogapp. The generator already has a marker-block function (render_synced_readme). One generalized function writes the README matrix, the docs/index.md list and the quality limits.
  • The knowledge base stays a source. refactor(ai): drop the knowledge base copies of project docs #3917 is rescoped: only articles that copy a generated page or a standards document go. Front matter becomes required. One copy goes into Qdrant.
  • Brain sources by class. Generated pages with their source module, hand-written standards documents, skills from .agents/skills, the knowledge base tree and ADRs with their status. OpenSpec changes, docs/agent/archive and test fixtures stay out of brain search by default.
  • One citation module (feat(roadmap): re-anchor a stale citation that matches one line #4479) serves the stage gate, the question resolver, brain add and brain repair.
  • Resolvers first. Name questions get an answer from the code at HEAD (feat(ai): generate the project digest from code at run time #3904). ripgrep over the checkout is the local fallback.
  • Own lane for document drift. At most 3 batch issues a week, at most 20 findings each, apart from the 2 insight proposals of ADR 0023. The lane is plan-only for its first 2 runs. It has a declined state and a 28-day alert.
  • ADRs are records. Nobody edits an ADR. A finding in an ADR in force asks for a superseding ADR or a status change.
  • One owner for the conflict step: CONTRIBUTING.md. The devops-pr-ci skill line of refactor(pr): devops pr update acts only on a failed check #4674 links to it.
  • Design form: docs/DESIGN.md of feat(design): track the project design spec #4735 owns the form of generated pages and of the source line. This plan owns their content and freshness.
  • No new store, key family or schedule. The brain runs of feat(roadmap): run brain repair, consolidate and evaluate daily #4687 and feat(roadmap): the brain files project insights through intake #4693 run the scheduled rules. Until they run, a routine in docs/ROUTINE_TASKS.md runs devops docs drift by hand. No second scheduler in GitHub Actions, because ADR 0023 keeps the brain runs in the cluster.

Ordered child list

Each line gives the issue, its title, its child number in the order and the issues to merge first. "Start now" marks an item with no unmet dependency.

Conditional, held, deferred and dropped items (not filed)

Item State Condition or reason
A docs check in the pre-push hook conditional 497 of 622 first-parent commits since 2026-11-04 touch openspec/changes/, so the hook would run on about 80% of pushes at 3 to 20 s each. File it when more than 3 docs-row failures a week come from stale pages. Then cache the check by its input tree through #4776.
Split docs/CONFIGURATION.md into one page for each settings section conditional File it when conflicts with only a generated file pass 3 a week for 2 weeks in the next conflict census.
Move the README matrix, turn docs/CLI_REFERENCE.md into an index and delete --sync-readme held It changes a reference page that the owner kept, 115 living files name --sync-readme, and it touches the lines that #4781 changes. It needs an owner yes first.
A brain-doc reverse-index key and a brain-drift key deferred One git diff for each repair run covers up to 300 entries. Add a key when the entry count passes 10,000.
A push-triggered ingest scope on #3950 dropped After #4566, the rag-ingest CronWorkflow runs every 3 minutes. The payload change (child 13) is the needed part.
A new RagIngestBehind alert item dropped The #4566 comment of 2026-11-11 asks for the absent() term and a rule test.
cogapp, a merge driver, the custom _broken_links helper and a custom link rule dropped See the decisions.

Related open items

#4624 is the parent of this tracker. ADR 0023 (#4625, closed) records the brain. #4566 fixes the rag-ingest CronWorkflow, which has never run; child 13 waits for it to reindex on a schedule. #4808 (question resolver) uses the citation module of child 14. #4735 owns the design form of generated pages, and #4745 builds the site theme. #4605 and child 21 of #4771 use rumdl; child 6 shares their pin and config. #4674 links to the conflict step of child 2. #4827 can remove the compose task that child 4 touches. #3902 keeps the gold set for retrieval scores. #3908 owns the research sweep schedule.

Owner questions

  1. Decided 2026-11-11: keep the generated reference docs committed, accommodate the project brain and keep all content up to date (the quote above).
  2. Held, not asked yet: the restructure in the held row of the table above. Nobody files it without an owner yes.

Measure of the whole

Measure Today Target
Living high findings on main 22 0
Findings in history sections of living documents 44 0
Generator pages that name their source 2 of 49 49 of 49
Generated files marked linguist-generated 0 of 52 52 of 52
Generated files that model review skips the files of 2 of 11 globs all 52
Reference pages linked from docs/index.md 3 of 7 7 of 7, and docs/commands/
Documents with a link and anchor check about 10 all hand-written, prompt and generated documents, skills and the knowledge base
Drift kinds that a PR check stops links in about 10 documents, commands, generated pages also anchors, paths, settings, variables, flags and the delivered issue named as open
Knowledge base copies in Qdrant 2 1
CI wall time added to Static Analysis none +0 s (the docs row stays under 45 s)
Document-drift issues a week none (no lane) at most 3, each with at most 20 findings

Target Subsystem

SDLC, Git & PR Governance (devops docs, the generated reference docs, the standards documents and ADRs), with the RAG index and the project brain.

Existing Tool Considered

rumdl (MIT) for links and anchors, with remark-validate-links as the fallback. GitHub Linguist attributes for generated files. git (ls-files, diff --name-status -M, show) for paths, moves and span hashes with 0 GitHub requests. lychee (pinned image) for external URLs. The existing Qdrant collection for duplicated rules. The pydantic-settings model, the Typer tree and ast for names. diff-cover reads its floor from pyproject.toml. The adr-tools generate toc practice for the ADR index. ripgrep for the local fallback. Rejected: cogapp (it runs Python from documents), merge drivers (GitHub ignores them), a GitHub Actions scheduler (ADR 0023 keeps the brain runs in the cluster).

Custom code is only for rules that no tool covers. Each child states its cost. Cost of the plan: about 710k tokens and about 15.5 hours of agent time, plus reviews.

Findings outside this plan

Acceptance Criteria

  • Each child is merged, or closed with evidence.
  • devops docs drift on main shows 0 living high findings and 0 findings in history sections.
  • Each of the 52 generated files names its source and is marked linguist-generated.
  • Brain search answers a name question with a citation at a main SHA, and it answers from the checkout when Valkey and Qdrant are down.
  • The docs row of Static Analysis stays under 45 s on the runner.

Dependencies

None for the tracker. The children carry their own.

Alternatives check of 2026-11-24: in-use.
The item already names this tool.
Tool: rvben/rumdl (https://github.com/rvben/rumdl), NOASSERTION, last activity 2026-11-24, maintained.
Reason: Searches returned nothing better than the linter the issue already names: rumdl, a maintained markdownlint-compatible binary that covers link and anchor rules but only that one part of the drift, generated-marking and brain-citation need.

Covers:

  • Link fragments and anchors that do not resolve (MD051)
  • Relative link targets that do not exist (MD057)
  • One native binary with markdownlint config compatibility for CI

Lacks:

  • Stale paths, settings, variables, flags and delivered issues named as open
  • Generated-page source lines and linguist-generated marking
  • Scheduled drift lane and brain citations at a main SHA

Proposed design

Problem statement

The generated reference documents, standards documents, skills and ADRs drift from the code and from each other, and the project brain then reads stale facts. The owner decided on 2026-11-11 to keep the generated reference docs committed, mark them as generated and keep all content up to date, and ADR 0025 records that decision and amends ADR 0012 and ADR 0023. This tracker coordinates the child issues that add the PR checks, the scheduled drift lane, the generated-page source lines and the brain citations. The owner also approved the held CLI-reference restructure on 2026-11-12, and #5163 delivered it: docs/CLI_REFERENCE.md is now a generated index of the command group pages, the command matrix moved into it, and --sync-readme is deleted.

Acceptance criteria

Requirement: Each child is delivered

The tracker SHALL record each child issue as merged or closed with evidence before the tracker closes.

Scenario: A child issue is delivered

  • WHEN a child pull request merges or a child issue closes with evidence
  • THEN the tracker marks that child as merged or closed with a link to its evidence.

Requirement: No living drift findings

devops docs drift on main SHALL report 0 living high findings and 0 findings in history sections.

Scenario: The drift command runs on main

  • WHEN a test runs devops docs drift on a clean checkout of main
  • THEN the command reports 0 living high findings and 0 findings in history sections.

Requirement: Generated files are marked and name their source

Each of the 52 generated files SHALL name its source and match a linguist-generated pattern in .gitattributes.

Scenario: A generated file is checked

  • WHEN a test reads .gitattributes and the header of each generated file
  • THEN each of the 52 generated files matches a linguist-generated pattern and names its source module.

Requirement: Brain search cites a main SHA

Brain search SHALL answer a name question with a citation at a main SHA, and it SHALL answer from the checkout when Valkey and Qdrant are down.

Scenario: A name question is answered

  • WHEN a test asks a name question with Valkey and Qdrant unavailable
  • THEN the answer comes from the checkout and carries a citation with a main commit.

Requirement: The docs row stays under 45 s

The docs row of Static Analysis SHALL stay under 45 s on the runner.

Scenario: The docs row runs

  • WHEN the Static Analysis job runs the docs row on a pull request
  • THEN the row reports a duration under 45 s.

Existing Tool Considered

rumdl (https://github.com/rvben/rumdl) is the one open, maintained link and anchor checker (MD051 and MD057); the alternatives check of 2026-11-14 records it as maintained, last activity 2026-11-14, with the license GitHub reports as NOASSERTION, so the MIT label in the issue has no source. It replaces the custom _broken_links helper in tests/invariants/test_agents_md.py:421. It lacks every other rule this tracker needs: stale paths, settings, variables and flags, delivered issues named as open, generated-page source lines, linguist-generated marking, the ADR index, the scheduled drift lane and brain citations. The ADR index needs no adr-tools: it is already a marker block that devops docs generate writes from ADR front matter (src/devops_cli/docs/adr_records.py:9). For the remaining rules the plan builds custom code; the written cost is about 710k tokens and about 15.5 hours of agent time, plus reviews. Other open tools: GitHub Linguist attributes for generated files, git (ls-files, diff --name-status -M, show) for paths and moves, lychee (pinned image) for external URLs, the existing Qdrant collection for duplicated rules, pydantic-settings, Typer and ast for names, diff-cover for the coverage floor, and ripgrep for the local fallback.

Key questions

  • Do the generated reference docs stay committed in git?: Yes. The owner decided on 2026-11-11 to keep the reference docs, accommodate the project brain and keep all content up to date. ADR 0025 records the decision, amends ADR 0012 and ADR 0023, and rejects Q12, so the build-at-publish item of ADR 0012 decision 12 does not come. The 52 generated files stay in git, the pull request that changes a source regenerates them, and the docs row of Static Analysis refuses a stale page. docs(cli): turn CLI_REFERENCE into an index of the command group pages #5163 later moved the command matrix into docs/CLI_REFERENCE.md and deleted --sync-readme. (best practice) [sources: docs/adr/0025-generated-documents-stay-in-git-and-the-project-brain-cites-them.md:12, docs/adr/0025-generated-documents-stay-in-git-and-the-project-brain-cites-them.md:27, CONTEXT.md:244, docs/adr/0025-generated-documents-stay-in-git-and-the-project-brain-cites-them.md:95]
    • Chosen: Keep the generated docs committed. The owner decided this on 2026-11-11, and ADR 0025 records it and defines a generated document as one that stays in git (CONTEXT.md:244).
    • Rejected: Stop committing the generated docs. The rigid-rules decision Q12 of 2026-10-22 said to stop, but the owner reversed it on 2026-11-11 and ADR 0025 rejects that option.
  • Which tool checks links and anchors?: rumdl (https://github.com/rvben/rumdl) with rules MD051 and MD057. It replaces the custom _broken_links helper in tests/invariants/test_agents_md.py:421. remark-validate-links is the fallback. The alternatives check of 2026-11-14 records rumdl as maintained, and the project page fetched on 2026-11-15 shows commits through 2026-11-14. (best practice) [sources: https://github.com/rvben/rumdl, tests/invariants/test_agents_md.py:421]
    • Chosen: rumdl. It is open, maintained and covers link fragments and relative links; the alternatives check records it as in use and it reads the existing markdownlint configuration.
    • Rejected: remark-validate-links. It is the fallback, but rumdl covers the same rules with one native binary and shares the pin and config with fix(docs): a check finds a code span that nested backticks break #4605 and feat(ci): track the agent hooks plan #4771.
    • Rejected: Keep the custom _broken_links helper. The project prefers an open tool over custom code, and rumdl covers the need.
  • How are the generated files marked and regenerated?: GitHub Linguist attributes mark the generated files. Today .gitattributes marks only docs/CLI_REFERENCE.md and docs/commands/*.md, so child chore(docs): mark the generated documents as generated #4888 adds the other 6 reference pages and the 3 instruction stubs. The pull request that changes a source regenerates its pages with devops docs generate (the --sync-readme option is deleted), and the docs row of Static Analysis runs devops docs check as the gate. No merge driver, bot commit or new pre-push hook is added. (best practice) [sources: docs/adr/0025-generated-documents-stay-in-git-and-the-project-brain-cites-them.md:29, CONTEXT.md:244, docs/adr/0025-generated-documents-stay-in-git-and-the-project-brain-cites-them.md:95]
    • Chosen: Mark with linguist-generated and regenerate in the source PR. It keeps the generated files in git and makes the docs row the gate, with no merge driver or bot commit.
    • Rejected: Use a merge driver. GitHub ignores merge drivers, so a conflict in a generated file would still reach the author.
    • Rejected: Use a bot commit. It adds a second writer and a commit that only updates generated files.
    • Rejected: Add a pre-push hook that runs the generator. ADR 0025 section 5 rejects it: most pushes change openspec/changes/, so the hook would run on about 80 percent of pushes.
  • Which command finds the drift that no PR check finds?: devops docs drift, which child feat(docs): devops docs drift reports the drift that no PR check finds #4920 builds. ADR 0025 section 3 defines it: it reports moved paths, removed commands, flags and settings, closed issues named as open, dead links and stale numbers, each at path:line with evidence, files at most 3 batch issues a week with at most 20 findings each, and its first 2 runs only plan. It is not in the command tree yet: docs/commands/docs.md lists only generate, check and site. The brain runs of feat(roadmap): run brain repair, consolidate and evaluate daily #4687 and feat(roadmap): the brain files project insights through intake #4693 run it on a schedule, feat(k8s): schedule the docs and Pages steps for each Service repo #5159 adds one CronWorkflow roadmap-docs, and until those runs exist docs/ROUTINE_TASKS.md runs it by hand. (best practice) [sources: docs/adr/0025-generated-documents-stay-in-git-and-the-project-brain-cites-them.md:64, docs/commands/docs.md:7, docs/adr/0021-the-roadmap-service-is-a-webhook-router-cluster-pods-run-the-roadmap-jobs-and-valkey-holds-their-shared-state.md:67, docs/ROUTINE_TASKS.md:14]
    • Chosen: devops docs drift in the brain runs and one CronWorkflow. It uses the existing cluster schedule and the brain runs, adds no second scheduler, and ADR 0025 section 3 sets its lane limits.
    • Rejected: A GitHub Actions schedule. ADR 0023 and ADR 0021 keep the roadmap jobs in the cluster, and feat(k8s): schedule the docs and Pages steps for each Service repo #5159 adds the CronWorkflow instead.
    • Rejected: A second link checker for the scheduled lane. rumdl is the one link checker; the scheduled lane adds the rules that no lint tool covers.
  • Which documents does the project brain read?: The brain reads documents from main by their class in the docs inventory: each generated file with its source, each hand-written file (the standards documents, the other pages of docs/, k8s/README.md, the knowledge base and .agents/skills only of the three skill copies), and each ADR with its status. tool-owned, tool-generated and prompt documents are not read by default, and OpenSpec changes, docs/agent/archive and test fixtures stay out of brain search. (best practice) [sources: docs/adr/0025-generated-documents-stay-in-git-and-the-project-brain-cites-them.md:40, CONTEXT.md:177]
    • Chosen: Read the durable document classes. These documents hold the facts that the brain cites, and ADR 0025 names their classes and extra citation fields.
    • Rejected: Read every document. OpenSpec changes, the archive and test fixtures are not durable facts and add noise.
  • Does the plan add a new store, key family or schedule?: No new store and no new key family. The brain runs of feat(roadmap): run brain repair, consolidate and evaluate daily #4687 and feat(roadmap): the brain files project insights through intake #4693 run the scheduled rules, and feat(k8s): schedule the docs and Pages steps for each Service repo #5159 adds one CronWorkflow roadmap-docs because the owner asked for docs and GitHub Pages jobs in every Service repository and ADR 0021 runs jobs in the cluster. It adds no GitHub Actions schedule. A key is added only when the entry count passes 10,000. (best practice) [sources: docs/adr/0025-generated-documents-stay-in-git-and-the-project-brain-cites-them.md:89, docs/adr/0021-the-roadmap-service-is-a-webhook-router-cluster-pods-run-the-roadmap-jobs-and-valkey-holds-their-shared-state.md:67, docs/adr/0023-the-project-brain-is-a-derived-index-in-two-cache-tiers-and-two-scheduled-runs-keep-it.md:81]
    • Chosen: One CronWorkflow roadmap-docs and no GitHub Actions schedule. The owner asked for jobs in every Service repository, and ADR 0021 runs jobs in the cluster.
    • Rejected: A GitHub Actions schedule. ADR 0023 keeps the brain runs in the cluster.
    • Rejected: A new store or key family. One git diff for each repair run covers the need; ADR 0025 adds no key for document drift.
  • Does the held CLI-reference restructure proceed?: Yes, and it is delivered. The owner decided on 2026-11-12: 'yes, proceed as recommended'. ADR 0025's Status History records that the command matrix moved from README.md into docs/CLI_REFERENCE.md, which is now a short generated index of the command group pages, that README.md holds no generated block, and that --sync-readme is deleted. The change is archived as openspec/changes/archive/2026-11-12-5163-turn-cli-reference-into-an-index/, and docs/commands/docs.md shows devops docs generate with no --sync-readme option. (best practice) [sources: docs/adr/0025-generated-documents-stay-in-git-and-the-project-brain-cites-them.md:95, openspec/changes/archive/2026-11-12-5163-turn-cli-reference-into-an-index/proposal.md:9, docs/commands/docs.md:19]

Fit

Needs splitting into 20 items:

  1. docs(adr): keep reference docs in git as cited brain sources #4884 docs(adr): keep reference docs in git as cited brain sources (child 1, delivered: ADR 0025)
  2. chore(docs): mark the generated documents as generated #4888 chore(docs): mark the generated documents as generated (child 2, start now; also child 18 of feat(ci): track the agent hooks plan #4771; depends on none)
  3. feat(docs): generated pages name their source and stay complete #4889 feat(docs): generated pages name their source and stay complete (child 3; depends on child 2)
  4. docs: fix the stale statements that the content census found #4894 docs: fix the stale statements that the content census found (child 4, start now; depends on none)
  5. refactor(ai): drop the knowledge base copies of project docs #3917 refactor(ai): drop the knowledge base copies of project docs (child 5, start now; new scope in a comment; depends on none)
  6. feat(docs): check links and anchors of all documents with rumdl #4899 feat(docs): check links and anchors of all documents with rumdl (child 6, start now; depends on none)
  7. feat(docs): docs check refuses paths that do not exist #4904 feat(docs): docs check refuses paths that do not exist (child 7; depends on child 4)
  8. feat(docs): docs check refuses unknown settings, variables and flags #4910 feat(docs): docs check refuses unknown settings, variables and flags (child 8; depends on child 4, child 5, child 7)
  9. feat(docs): docs check finds the delivered issue named as open #4912 feat(docs): docs check finds the delivered issue named as open (child 9, start now; depends on none)
  10. feat(docs): one generated block holds the quality limits #4915 feat(docs): one generated block holds the quality limits (child 10; depends on child 3)
  11. feat(docs): generate the ADR index with the status of each ADR #4918 feat(docs): generate the ADR index with the status of each ADR (child 11; the ADR index already exists as a marker block in src/devops_cli/docs/adr_records.py:9, so this child checks or extends it)
  12. feat(docs): devops docs drift reports the drift that no PR check finds #4920 feat(docs): devops docs drift reports the drift that no PR check finds (child 12; depends on child 7, child 8)
  13. feat(ai): RAG points carry the commit and the document class #4921 feat(ai): RAG points carry the commit and the document class (child 13; depends on child 1, child 3, child 5)
  14. feat(roadmap): re-anchor a stale citation that matches one line #4479 feat(roadmap): re-anchor a stale citation that matches one line (child 14, start now; new scope in a comment; depends on none)
  15. feat(ai): generate the project digest from code at run time #3904 feat(ai): generate the project digest from code at run time (child 15; new scope in a comment; depends on child 3)
  16. feat(ai): give every agent brain tools through MCP, CLI and skill #4671 feat(ai): give every agent brain tools through MCP, CLI and skill (child 16; new scope in a comment; child of feat(roadmap): track the project brain #4624; depends on child 13, child 14, child 15)
  17. feat(roadmap): run brain repair, consolidate and evaluate daily #4687 feat(roadmap): run brain repair, consolidate and evaluate daily (child 17; new scope in a comment; child of feat(roadmap): track the project brain #4624; depends on child 12, child 14, child 15)
  18. feat(roadmap): the brain files project insights through intake #4693 feat(roadmap): the brain files project insights through intake (child 18; new scope in a comment; child of feat(roadmap): track the project brain #4624; depends on child 17)
  19. feat(monitoring): a project brain dashboard and alerts #4699 feat(monitoring): a project brain dashboard and alerts (child 19; new scope in a comment; child of feat(roadmap): track the project brain #4624; depends on child 18)
  20. docs(cli): turn CLI_REFERENCE into an index of the command group pages #5163 docs(cli): turn the CLI reference into an index and drop the README sync (child 20, delivered: openspec/changes/archive/2026-11-12-5163-turn-cli-reference-into-an-index)

Suspected block

None.

Dependencies

None.

Sub-issues

Sub-issues

4 of 15 Issues completed
Loading 15 sub-issues

Activity

  1. added
    source/agent
    type/feature
    scope/docs
    status/new
    value/medium
    effort/high
    on Nov 12, 2026
  2. dan-petty commented on Nov 12, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/feature. The feat prefix of the title gives the type.
    • Scope: scope/docs. The (docs) scope of the title gives the scope.
    • Priority: P2-Medium. It keeps committed docs correct for the brain but is not a blocking defect or security issue.
    • Value: Medium. Correct docs feed the brain and prevent stale facts, but the benefit is indirect for end users.
    • Effort: High. It spans PR gates, scheduled checks, file marking, a link-checker swap, a generalized renderer, and a knowledge-base rescope.
    • Related: refactor(docs): no documentation-only pull requests: release artifacts are made as the release merges, and every kept doc changes with its code or is deleted #1103, which asks for a different change. Both concern committed reference docs, but #1103 stops committing them while this candidate reverses that and adds drift gates and brain-fed tracking.
  3. devops-cli-service commented on Nov 12, 2026

    @devops-cli-service
    Contributor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

  4. added
    priority/p2-medium
    on Nov 12, 2026
  5. dan-petty commented on Nov 12, 2026

    @dan-petty
    OwnerAuthor

    Scope note from tracker #5151 (2026-11-12).

    The owner asked on 2026-11-12, word for word: "Use this workflow to generate a docs and github pages jobs that manage github issues for common documentation issues and missing functionailty/implementation". Tracker #5151 adds these jobs for every Service repository. They reuse this plan and do not duplicate it:

  6. dan-petty commented on Nov 12, 2026

    @dan-petty
    OwnerAuthor

    Owner decision, 2026-11-12: "yes, proceed as recommended". This approves the held row of the table above: move the README matrix, turn docs/CLI_REFERENCE.md into an index of the 42 command group pages, and delete --sync-readme. It is filed as #5163. It builds after #5152 (the Zensical docs site, tracker #5151), because both change src/devops_cli/docs/generator.py.

  7. devops-cli-service commented on Nov 14, 2026

    @devops-cli-service
    Contributor

    Alternatives check: in-use

    Reason: The searches surfaced rumdl, a fast Rust Markdown linter/formatter with markdownlint-compatible rules, which the issue itself picks as its single link checker for anchors (MD051) and relative links (MD057). It covers only that one slice of the tracker: the rest of the need (generated-page source lines and linguist-generated marking, stale paths/settings/flags/closed-issue checks, the ADR index, the scheduled devops docs drift lane and brain citations) is not something any lint tool provides.

    The item already names this tool.

    Tool: rvben/rumdl (https://github.com/rvben/rumdl)

    • License: NOASSERTION
    • Last activity: 2026-11-14
    • Maintained: yes

    Covers:

    • Markdown linting and formatting in one native binary, with 90 lint rules and CI-friendly non-zero exit codes
    • Link and anchor rules the issue names (MD051 link fragments, MD057 relative link exists), so one checker replaces the custom _broken_links helper
    • Reads existing markdownlint/markdownlint-cli2 configuration, so the pin and config can be shared with fix(docs): a check finds a code span that nested backticks break #4605 and feat(ci): track the agent hooks plan #4771
    • Result caching and fast runs, which fits the issue's precision rule and its 45 s docs-row budget

    Lacks:

    • No check that a documented path, setting, variable, flag or identifier still exists in the code
    • No detection of a delivered issue described as open, of copied numbers, or of stale prose statements
    • No source line or linguist-generated marking for generated pages, and no marker-block renderer for the README matrix, docs/index.md list or quality limits
    • No ADR index generation with per-ADR status
    • No scheduled drift command, batch-issue lane or brain/RAG citation at a main SHA

    Tools considered:

    Searches run:

    • tool detect stale documentation drift references code CI check, results: 5
    • rumdl markdown linter MD051 MD057 link anchor check, results: 5
    • rumdl markdown linter Rust, results: 5
    • lychee link checker markdown anchors fragment check, results: 5
    • remark-validate-links github relative links anchors, results: 5
    • markdownlint MD051 link fragments relative link validation tool, results: 5
    • "MD051" link fragments markdownlint rule anchor, results: 5
    • rumdl MD057 rule relative link exists, results: 5
    • rumdl.dev rules list markdown lint, results: 5

    Sources:

    Checked on 2026-11-14. A person decides what this means for the item. The check changes no label and closes no issue.

  8. devops-cli-service commented on Nov 15, 2026

    @devops-cli-service
    Contributor

    The proposal at ca62d6a needs splitting into 20 items. A person splits the item into the items below, or replies in a comment or edits the body to keep one item, and the next refine round looks at the item again.

    1. docs(adr): keep reference docs in git as cited brain sources #4884 docs(adr): keep reference docs in git as cited brain sources (child 1, delivered: ADR 0025)
    2. chore(docs): mark the generated documents as generated #4888 chore(docs): mark the generated documents as generated (child 2, start now; also child 18 of feat(ci): track the agent hooks plan #4771; depends on none)
    3. feat(docs): generated pages name their source and stay complete #4889 feat(docs): generated pages name their source and stay complete (child 3; depends on child 2)
    4. docs: fix the stale statements that the content census found #4894 docs: fix the stale statements that the content census found (child 4, start now; depends on none)
    5. refactor(ai): drop the knowledge base copies of project docs #3917 refactor(ai): drop the knowledge base copies of project docs (child 5, start now; new scope in a comment; depends on none)
    6. feat(docs): check links and anchors of all documents with rumdl #4899 feat(docs): check links and anchors of all documents with rumdl (child 6, start now; depends on none)
    7. feat(docs): docs check refuses paths that do not exist #4904 feat(docs): docs check refuses paths that do not exist (child 7; depends on child 4)
    8. feat(docs): docs check refuses unknown settings, variables and flags #4910 feat(docs): docs check refuses unknown settings, variables and flags (child 8; depends on child 4, child 5, child 7)
    9. feat(docs): docs check finds the delivered issue named as open #4912 feat(docs): docs check finds the delivered issue named as open (child 9, start now; depends on none)
    10. feat(docs): one generated block holds the quality limits #4915 feat(docs): one generated block holds the quality limits (child 10; depends on child 3)
    11. feat(docs): generate the ADR index with the status of each ADR #4918 feat(docs): generate the ADR index with the status of each ADR (child 11; the ADR index already exists as a marker block in src/devops_cli/docs/adr_records.py:9, so this child checks or extends it)
    12. feat(docs): devops docs drift reports the drift that no PR check finds #4920 feat(docs): devops docs drift reports the drift that no PR check finds (child 12; depends on child 7, child 8)
    13. feat(ai): RAG points carry the commit and the document class #4921 feat(ai): RAG points carry the commit and the document class (child 13; depends on child 1, child 3, child 5)
    14. feat(roadmap): re-anchor a stale citation that matches one line #4479 feat(roadmap): re-anchor a stale citation that matches one line (child 14, start now; new scope in a comment; depends on none)
    15. feat(ai): generate the project digest from code at run time #3904 feat(ai): generate the project digest from code at run time (child 15; new scope in a comment; depends on child 3)
    16. feat(ai): give every agent brain tools through MCP, CLI and skill #4671 feat(ai): give every agent brain tools through MCP, CLI and skill (child 16; new scope in a comment; child of feat(roadmap): track the project brain #4624; depends on child 13, child 14, child 15)
    17. feat(roadmap): run brain repair, consolidate and evaluate daily #4687 feat(roadmap): run brain repair, consolidate and evaluate daily (child 17; new scope in a comment; child of feat(roadmap): track the project brain #4624; depends on child 12, child 14, child 15)
    18. feat(roadmap): the brain files project insights through intake #4693 feat(roadmap): the brain files project insights through intake (child 18; new scope in a comment; child of feat(roadmap): track the project brain #4624; depends on child 17)
    19. feat(monitoring): a project brain dashboard and alerts #4699 feat(monitoring): a project brain dashboard and alerts (child 19; new scope in a comment; child of feat(roadmap): track the project brain #4624; depends on child 18)
    20. docs(cli): turn CLI_REFERENCE into an index of the command group pages #5163 docs(cli): turn the CLI reference into an index and drop the README sync (child 20, delivered: openspec/changes/archive/2026-11-12-5163-turn-cli-reference-into-an-index)
  9. dan-petty commented on Nov 21, 2026

    @dan-petty
    OwnerAuthor

    No split is necessary. Each of the 20 items in the refine comment of 2026-11-15 is an issue already:

    This item is a tracker. Refine does not read a tracker (#5963), so this comment does not change the record. The split line in the inbox comes from the record of 2026-11-15. #6446 removes that line. Do not file new items.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/highpriority/p2-mediumscope/docssource/agentstatus/newtype/featurevalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions