Skip to content

LBA REQ 103

github-actions[bot] edited this page Nov 20, 2026 · 3 revisions

LBA-REQ-103: Obsidian-ready wiki generated from docs

Status

Proven

Area

Information for users / configuration management (ISO/IEC/IEEE 26514 delivery; ADR-0090)

Statement

The system shall publish the repository wiki as an Obsidian vault generated from docs/ by the shared repo-standards-review generator, in which every requirement page links its test.

Rationale

The operator could not open the wiki in Obsidian (#64). Deriving the wiki from docs/, the governed source, keeps it current by construction, and the one shared generator gives the wiki the ecosystem standard's governed pages for the registry export.

Acceptance Criteria

  • .repo-standards-review/wiki_generate.py, vendored byte for byte from repo-standards-review and configured by .wiki-generator.json, builds the wiki from docs/ only: Home, the specification pages, one page per requirement (requirements/LBA-REQ-NNN), test-plan item (tests/T-NNN) and ADR (architecture/ADR-NNNN), every other docs/ page, the documentation images, the .obsidian/app.json vault setting, and .wiki-profile.json.
  • Every requirement page lists its RTM TestID as a wikilink to its test page. Home explains how to open the wiki as an Obsidian vault.
  • Links are alias-free [[Page]] wikilinks that Obsidian and the GitHub wiki read the same way; the wiki-vault gate fails on an aliased [[a|b]] wikilink in the generated wiki outside code. Links to other repository files and explicit owner/repo#N issue references become GitHub URLs. A bare #N stays text.
  • The generator fails closed on a wikilink that names no page, a page that is not indexed, a page over the size budget, and a requirement label outside the configured sections; a second run is byte-identical to the first.
  • --out writes only into an absent or empty directory, a previous output or a git clone, and refuses (exit 2, nothing written) the member root, its parents and an unrelated non-empty directory.
  • The wiki-publish workflow publishes every develop change to docs/ and verifies the published wiki with --check against a fresh clone.
  • A relative link to a missing file, a missing image and a missing anchor in docs/ are caught at the source by the Docs Link Check workflow (lychee with --include-fragments) on every pull request. Every wiki page must be indexed (the generator fails on one that is not); reachability by links is not checked.
  • Known reductions from the previous generator (ADR-0090): the vault plugin list (core-plugins.json) and graph colour groups (graph.json) are not written; a requirement page does not list its architecture view or decisions.

Verification

The wiki-vault gate (node experiments/verify-local-gates.mjs, T-103) and the wiki-publish drift check.

Historical statement (no longer implemented)

Supersession

Change Guidance

TestID

T-103

CodeRef

.repo-standards-review/wiki_generate.py; .wiki-generator.json; .github/workflows/wiki-publish.yml; experiments/verify-local-gates.mjs; docs/architecture/adr/ADR-0090-generate-the-wiki-with-the-shared-generator.md

RTM Status

Proven

Clone this wiki locally