Research method¶
Repeatable loop for filling stubs and complete passes. Matches AGENTS.md and todo-coverage.md.
Loop¶
- Pick — next item from todo-coverage.md Remaining work or a release-checklist.md cadence trigger (not historical week lists; those are done).
- Research pack (before writing) — collect into notes (chat or scratch):
- 3–8 factual bullets (what / why / main behaviors)
- 1–3 canonical URLs from sources.md or manuals found via that list
- Optional: one real-world config link or a tiny invented example outline
- Write — fill or deepen existing headings (
Overview,Details,Examples,References). FolderREADME.mdfiles stay index-only. - Link — relative paths to cousin wiki pages; verify targets exist (see coverage Audit hook).
- Status — new leaves: frontmatter
status: draft; deepen passes keep or reaffirmcompleteonly after quality-checklist.md. - Verify — mentally or in a throwaway flake/REPL; version-stamp unstable flags; update coverage checkboxes.
- Meta — add new recurring canonical URLs to sources.md.
flowchart LR
pick[Pick remaining work]
pack[Research pack]
write[Write draft]
verify[Verify]
meta[Update coverage and sources]
pick --> pack --> write --> verify --> meta
Research pack template¶
Topic: path/to/page.md
Facts:
- …
Canonical:
- https://…
Optional example / config:
- …
Wiki links to add:
- ../02-concepts/….md
Source priority¶
- Nix / Nixpkgs / NixOS manuals and RFCs (sources.md)
- Project first-party docs (Home Manager, Lix, flake-parts, …)
- Code when docs lag (
nixpkgsmodules, Nix/nix.conffeature lists) - Public configs for patterns only (minimal snippets; strip secrets)
- Discourse / issues for FAQ angles — confirm behavior in (1)–(3) before stating as fact
Do not¶
- Paste upstream manuals wholesale
- Invent options, builtins, or CLI flags
- Mark
status: completefrom memory or blogs alone - Scatter half-finished drafts across unrelated domains in one session
Subagents¶
When parallelizing: one agent per leaf file; parent pastes the research pack into the prompt; child edits only that path and must include References + verified relative links.