5 00 Documentation Map and Scope
Nimmo edited this page 2026-10-14 21:18:54 +01:00

Documentation Map and Scope

  • Type: Policy
  • Status: Current
  • Scope: Project documentation
  • Canonical sources: AGENTS.md (Durable memory, Project tracking); README.md; .agents/skills/update-wiki/SKILL.md; wiki rebuild issue #219
  • Last verified: Source commit 2fb8e9cba9ce0ca41b00f4c1c6e59c5336b3a023 (2026-10-14); memory surface and tracking exception reconciled with AGENTS.md
  • Review triggers: Changes to project tracking, agent memory, project-report publishing, README scope, or wiki governance

Each project surface owns a different kind of truth. Keeping those boundaries clear prevents the wiki from becoming a stale copy of the repository or a second issue tracker.

Ownership

Surface Owns Does not own
nixos-config repository Executable configuration, tests, scripts, and implementation-adjacent contracts Narrative operating history or active project plans
README.md Entry point, essential commands, concise repository map, and links onward A second comprehensive manual or service catalogue
Forgejo issues and milestones Proposed and active work, ordered checklists, decisions pending implementation, progress, and acceptance evidence Permanent operating instructions after work closes
Repository wiki Curated system reference, policy, decisions, runbooks, engineering guidance, and repository-oriented learning Live work state, raw logs, or copied configuration inventories
BookStack Project Logs Chronological generated reports and historical project activity Canonical current-state reference or execution tracking
KiwiFS Confirmed cross-session agent context, non-obvious discoveries, preferences, private security and network records, and concise outcomes; see ADR-007 Canonical documentation or the sole record of unfinished work
Git history Superseded wiki content and change provenance A convenient current navigation surface

Promotion lifecycle

  1. Plan and execute work in a Forgejo issue under an appropriate milestone.
  2. Record progress and validation in the issue while the work remains active.
  3. Implement authoritative behavior in the repository.
  4. Promote reusable knowledge into the appropriate wiki page.
  5. Preserve consequential rationale as an ADR when future maintainers need to understand the choice.
  6. Close the issue only after unfinished work remains tracked and durable knowledge has an appropriate home.

Raw session logs and one-off diagnostic output should normally be retired, not promoted. KiwiFS can preserve a confirmed non-obvious fact until it becomes important enough to document canonically.

Security findings, firewall weaknesses, router diagnostics, and detailed network or operational records are held in KiwiFS under scope: project:nixos-config rather than in public Forgejo. Public tracking carries only a generic, non-sensitive summary. This is an explicit exception to the Forgejo rule above and follows the preference recorded in AGENTS.md.

Cutover boundary

The former wiki combined an operating manual, repository reference, and NixOS course. Its reusable material now has separate current reference, runbook, handbook, decision, and learning owners. Superseded chapters are absent from current navigation and retained in wiki Git history. The Electra boot-trust rollout record remains visible only under Historical Material. Each current page identifies its own canonical sources, verification revision, and review triggers; the Home page does not assert wiki-wide source freshness.