Skip to main content

Development docs hygiene Implementation Plan

For agentic workers: REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (- [ ]) syntax for tracking.

Goal: Stop wrong development pages looking current in the Developers nav; keep publishing new notes; require agents to update docs with the change.

Architecture: git mv clearly wrong pages into development/archive/; replace the flat development autogenerated dump with curated Guides + Archive; add Docs with the change to AGENTS.md. Archive criterion is wrong/misleading — not “shipped.”

Tech Stack: Docusaurus sidebars, Markdown under web_docs/docs/, AGENTS.md.

Spec / issue: development-docs-hygiene-design · #721

Global Constraints​

  • Archive = wrong or misleading only; do not mass-archive shipped plans.
  • Keep publishing new *-design.md / *-plan.md.
  • Docs under web_docs/docs/; kebab-case; frontmatter on new pages.
  • Branch docs/721-development-docs-hygiene; Conventional Commits; Closes #721.
  • Repo process: PR → green CI → squash-merge (no finish-menu detour).

Wave 1 archive set (wrong-path / superseded snapshots)​

git mv these into web_docs/docs/development/archive/:

  • docs-migration.md, readme-migration.md
  • react-refactoring.md, dashboard-redesign.md
  • integration-status.md, openstates-integration.md
  • homepage-redesign.md, homepage-redesign-summary.md, homepage-quick-start.md
  • database-driven-homepage.md, quickstart-database-causes.md
  • trending-causes-implementation.md, real-time-statistics.md
  • schema-migration-summary.md, search-update-summary.md, county-data-status.md
  • changelog.md, enhancements.md, new-capabilities.md, refactoring-summary.md
  • intel-arc-quickstart.md, intel-optimization.md
  • migration-v2.md (legacy v2 product narrative in handbook Explanation)

Do not move living guides (cleanup-roadmap, code-walkthrough, dataops-walkthrough, Jev/AI hubs, accurate designs/plans).


Task 1: Plan + AGENTS.md Docs with the change​

  • Commit this plan file
  • Insert Docs with the change into AGENTS.md after “Log what you find”
  • Commit

Task 2: Archive directory + moves​

  • mkdir + _category_.json for Archive
  • git mv wave 1 set
  • Fix sidebar ids that pointed at old paths (handbookSidebar Explanation)
  • Commit

Task 3: Sidebar — Guides & Archive​

  • In developersSidebar (and mirrored docsSidebar): replace Development { autogenerated, dirName: 'development' } with Guides & decisions (curated evergreen) + Archive (autogenerated development/archive)
  • Leave AI and LLMs curated block (working notes stay published; plans not archived solely for shipping)
  • Commit

Task 4: PR + merge​

  • Push, gh pr create with Closes #721, merge when required checks green