Tasks: Docs Site IA & Onboarding Overhaul

Input: spec.md, plan.md, research.md, data-model.md, contracts/, quickstart.md Branch: feat/docs-ia-onboarding-overhaul (planning base = merge target)

Subtask Index

IDDescriptionWPParallel
T001Audit docs/guides/ (72 files) + docs/development/ (7 files); produce docs-audit.md disposition tableWP01
T002Verify each candidate contributor-only file against live content before movingWP01
T003Move confirmed contributor files from docs/guides/ to docs/development/ (git mv)WP01
T004Build merged occurrence_map.yaml, regenerate redirect_map.yamlWP01
T005Verify redirect coverage (check-map)WP01
T006Design the two-zone NavigationGroup structure (≤6 top-level per zone)WP02
T007Rebuild docs/toc.yml with nested items: under two zonesWP02
T008Update child toc.yml files referencing relocated pathsWP02
T009Validate toc.yml YAML structure; verify the C-005 cross-zone-leakage invariant (no end-user-zone page links into contributor-only content) by walking the nested tree from each end-user top-level groupWP02
T010Rewrite docs/index.md above-the-fold contentWP03
T011Rename your-first-feature.mdyour-first-mission.md, reword proseWP03
T012Update all inbound references to the old filename/titleWP03
T013Wire the Get Started entry chain (index → getting-started → your-first-mission)WP03
T014Verify NFR-001 (≤2 clicks) by tracing the link chain; verify NFR-002 (≤30 min) via quickstart.md section 1's timed walkthroughWP03
T015Research the real spec-kitty dispatch / Op mechanism in codeWP04[D]
T016Author docs/context/ops-vs-missions.mdWP04[D]
T017Read each of the 4 mission.yaml files for accurate purpose/phasesWP04[D]
T018Author docs/context/mission-types.mdWP04[D]
T019Read all four existing charter pages in fullWP05[D]
T020Decide consolidated home; write the single charter how-toWP05[D]
T021Rework the other three pages to link in, not duplicateWP05[D]
T022Verify no troubleshooting content was lostWP05[D]
T023Source the 8-kind doctrine vocabulary from the charter moduleWP06[D]
T024Check the abandoned charter-end-user-docs-828 mission for reusable material (non-authoritative)WP06[D]
T025Author docs/doctrine/doctrine-kinds.md (all 8 kinds)WP06[D]
T026Author docs/doctrine/create-a-doctrine-artifact.mdWP06[D]
T027Cross-link from existing doctrine/index.md/README.md/spdd-reasons.mdWP06[D]
T028Audit docs/api/ for accuracy against live CLI behaviorWP07[D]
T029Audit docs/adr/, docs/migrations/, docs/operations/ for accuracyWP07[D]
T030Audit docs/archive/ nav placementWP07[D]
T031Fix confirmed inaccuracies found in T028-T030WP07[D]
T032Record all findings (fixed and not-applicable) in docs-audit.mdWP07[D]
T033Add anchor_id generation to glossary_page()WP08[D]
T034Implement the anchor collision-suffix ruleWP08[D]
T035Build glossary_linker.py skeleton (load glossary seed, walk HTML)WP08[D]
T036Implement longest-match-first, skip-code-blocks, first-mention-only linkingWP08[D]
T037Document the pipeline integration point (mirrors seo_postprocess.py)WP08[D]
T038Write test_glossary_canonical_terms.py sourcing the 104-term glossaryWP09[D]
T039Run the new check against the current docs/ tree; record findingsWP09[D]
T040Run test_no_legacy_terminology.py + the new WP09 check across all mission-touched pagesWP10
T041Fix any flagged occurrences from T040WP10
T042File the C-003 follow-up GitHub issue (full alias/banned-synonym governance)WP10
T043Final terminology/consistency summary reportWP10
T044Verify NFR-005 (100% Divio type: frontmatter coverage) across all mission-touched pages; add/fix missing or invalid frontmatterWP10

Work Packages

WP01 — Guides Audit & Contributor Content Relocation

Goal: Establish ground truth on every file in docs/guides/ and docs/development/, relocate confirmed contributor-only content, and regenerate redirects non-destructively. Priority: P1 (foundational — everything else depends on final file locations). Independent test: docs-audit.md exists with a disposition for every guides/development file; every moved file resolves at its new path; redirect_stub_generator.py check-map passes with zero uncovered baseline URLs. Subtasks: T001-T005 (5) Dependencies: none Estimated prompt size: ~450 lines

WP02 — Two-Zone Hierarchical Navigation Rebuild

Goal: Rebuild docs/toc.yml into two clearly segregated, nested-navigation zones with ≤6 unexpanded top-level entries each. Priority: P1 (blocks WP03-WP07's nav placement). Independent test: docs/toc.yml parses as valid YAML; exactly two top-level zone groups exist; each has ≤6 immediate children; every page WP01 relocated is referenced at its new path. Subtasks: T006-T009 (4) Dependencies: WP01 Estimated prompt size: ~350 lines

WP03 — Homepage & Get Started Path

Goal: A first-time visitor reaches a working first mission from the homepage. Priority: P1 (User Story 1, the funnel's only entry point). Independent test: docs/index.md's first screen states who Spec Kitty is for before any governance term; homepage → tutorial start is ≤2 clicks; your-first-mission.md replaces your-first-feature.md with zero dangling references. Subtasks: T010-T014 (5) Dependencies: WP02 Estimated prompt size: ~400 lines

WP04 — Core Concepts: Ops vs. Missions & Mission Types

Goal: Author the two missing explanation pages for User Story 2. Priority: P2. Independent test: ops-vs-missions.md states a concrete decision rule; mission-types.md lists exactly the 4 real mission types with accurate purpose/phases. Subtasks: T015-T018 (4) Dependencies: WP02 Estimated prompt size: ~350 lines

WP05 — Charter How-To Consolidation

Goal: One authoritative charter interview-to-generation how-to, replacing four scattered pages. Priority: P2. Independent test: A user can create a charter following one page only; the other three pages link in rather than duplicate; no troubleshooting content is lost. Subtasks: T019-T022 (4) Dependencies: WP02 Estimated prompt size: ~350 lines

WP06 — Doctrine Documentation

Goal: Full explanation of all 8 doctrine artifact kinds plus a working "create your own" how-to, for User Story 3. Priority: P2. Independent test: doctrine-kinds.md covers all 8 kinds with purpose + example; create-a-doctrine-artifact.md's steps work end to end. Subtasks: T023-T027 (5) Dependencies: WP02 Estimated prompt size: ~400 lines

WP07 — Reference Section Accuracy & Nav Audit

Goal: Narrow, evidence-based corrections to reference-heavy sections; no wholesale rewrites. Priority: P3. Independent test: Every confirmed inaccuracy from the audit is fixed; findings (including non-fixes) are recorded. Subtasks: T028-T032 (5) Dependencies: WP02 Estimated prompt size: ~400 lines

WP08 — Glossary Activation: Anchors + Linker

Goal: Every glossary term individually addressable; first-mention auto-linking with tooltips, independent of the content/nav work. Priority: P2 (independent — can start immediately). Independent test: Every one of the 104 glossary terms has a unique, stable anchor; the linker links first mention only, skips code blocks, and applies longest-match-first. Subtasks: T033-T037 (5) Dependencies: none Estimated prompt size: ~450 lines

WP09 — Canonical Glossary Term Check

Goal: A standing architectural test that flags non-canonical glossary-term usage. Priority: P2 (independent — can start immediately). Independent test: pytest tests/architectural/test_glossary_canonical_terms.py runs and reports flagged occurrences (if any) with file:line references. Subtasks: T038-T039 (2) Dependencies: none Estimated prompt size: ~250 lines

WP10 — Terminology Canon Sweep & Follow-Up Issue

Goal: Final terminology correctness pass over the whole mission's output, full Divio frontmatter coverage verification, plus the C-003 follow-up issue. Priority: P1 (must run last — gates mission completion). Independent test: Both terminology tests pass clean; every mission-touched page carries valid Divio type: frontmatter (NFR-005); the GitHub issue for full alias/banned-synonym governance exists and is linked from spec.md's C-003. Subtasks: T040-T044 (5) Dependencies: WP01, WP02, WP03, WP04, WP05, WP06, WP07, WP08, WP09 Estimated prompt size: ~340 lines

Parallel Opportunities

WP01.

disjoint file sets (see each WP's owned_files).

  • WP08 and WP09 (glossary tooling) have no dependencies and can start immediately alongside
  • Once WP02 lands, WP03, WP04, WP05, WP06, and WP07 can all run in parallel — they touch
  • WP10 is the only hard serialization point: it must wait for every other WP.

MVP Scope

WP01 + WP02 + WP03 alone deliver User Story 1 (the P1 discovery→install→first-mission path) — the smallest slice that is independently shippable and testable via quickstart.md section 1.