Skip to content

docs: adopt spec/ADR/plan lifecycle + directory conventions; prune coded plans #79

Closed

Description

@pdettori

Summary

Adopt an explicit documentation lifecycle + directory convention for the harness, and clean up the plan files that are already implemented. Three artifact types, three lifecycles:

Artifact Answers Retention Home
Spec (design doc) what & why, alternatives, trade-offs, deferred keep in git, point-in-time; mark Superseded by … instead of deleting docs/specs/
ADR one significant decision + context + consequences permanent, immutable, supersession-aware docs/adrs/
Plan (impl steps) how, in what order ephemeral — delete once coded; do not commit docs/plans/ (gitignored)

Rationale: code becomes the source of truth for how; the durable value of docs is the why (decisions + rejected alternatives). Plans go stale the moment code merges, so they are local-only work artifacts. ADRs are the permanent spine; specs are the dated deep-dives ADRs link to.

Proposed directory structure

docs/
  specs/     # committed. dated design docs. never retro-edited; superseded specs get a Status header, not deletion
  adrs/      # committed. permanent, immutable decision records (Context / Decision / Consequences / Status)
  plans/     # GITIGNORED. local-only implementation plans; deleted once the work is coded

Tasks

  • Create docs/adrs/ with a short ADR template + docs/specs/README.md documenting the lifecycle above.
  • Add a Status: convention to specs (Proposed → Accepted → Implemented → Superseded by <link>); backfill superseded ones (e.g. the removed Redis transport spec → note it in the gRPC spec, already done in §12 of 2026-07-08-sandbox-transport-grpc-design.md).
  • mkdir docs/plans; move any still-active plans there.
  • Add docs/plans/ to .gitignore; git rm --cached all currently-tracked plans.
  • Delete plans whose work is already coded/merged (audit below).
  • Remove the now-empty docs/superpowers/ directory.
  • Update the writing-plans destination convention so new plans land in docs/plans/ (local, gitignored).

Plan audit — 17 tracked plans in docs/superpowers/plans/

Status below is from working knowledge; confirm against merged history before deleting.

Coded/merged → delete:

Verify before deleting (coded but maybe unmerged, or status unclear):

  • 2026-06-25-m7-cluster-experiments — live-verified on Kind but branch feat/m7-cluster-experiments not merged; keep until merged.
  • 2026-06-28-human-gate — confirm implementation status.
  • 2026-06-28-registry-hardening-hygiene — confirm implementation status.

Notes

  • Each plan has a matching spec in docs/specs/ — deleting the plan loses nothing the spec + code don't already carry.
  • This is a convention/cleanup issue; no runtime code changes.

Assisted-By: Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions