Repository navigation
Closed
Description
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
- Remove the
docs/superpowers/tree entirely (specs/already emptied by docs: SandboxTransport remote-exec design (language-neutral gRPC) #78;plans/relocates todocs/plans/). - Point the writing-plans workflow at
docs/plans/instead ofdocs/superpowers/plans/.
Tasks
- Create
docs/adrs/with a short ADR template +docs/specs/README.mddocumenting 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 of2026-07-08-sandbox-transport-grpc-design.md). -
mkdir docs/plans; move any still-active plans there. - Add
docs/plans/to.gitignore;git rm --cachedall 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:
-
2026-06-16-m1-redis-session-backend(M1 complete) -
2026-06-17-m2-k8s-sandbox-client(M2 complete) -
2026-06-17-m3-persistent-channel(M3 complete) -
2026-06-17-m4-knative-serverless-wrapper(M4 complete) -
2026-06-23-m5-compaction-checkpoint(PR M5: Compaction-checkpoint fast path + budget voter #2 merged) -
2026-06-24-m6-experiments(PR feat(experiments): M6 — E2 reconstruction cost + E5 budget enforcement #3/fix(harness): clear error for unknown model id (dot-vs-dash guard) + M6 spec notes #4 merged) -
2026-06-26-mvp-leaf-session-contract(PR Gate 7: resumable leaf sessions (crash mid-run → resume → verdict) #11 merged) -
2026-06-27-async-leaf-completion(PR feat: async leaf completion (KEDA ScaledJob + Redis Streams work queue) #12 merged) -
2026-06-28-scheduled-leaf-dispatch(PR feat: scheduled leaf dispatch (Archetype C cron trigger on-ramp) #13 merged) -
2026-07-02-p0prime-ocp-fs-free-deployment(PR Deploy the FS-free harness on OpenShift with a durable sandbox (P0′) #51, live OCP) -
2026-07-02-p1-fs-free-harness(complete) -
2026-07-02-p2-shared-sandbox-pool(PR Feat: P2 shared sandbox pool with N:M lease-based routing #53 merged) -
2026-07-03-e6-workload-parameterization(PR P3.1: E6 workload-parameterized sandbox-load (#62) #63 merged) -
2026-07-03-p3-sandbox-sharing-ratio-experiments(PR P3: Sandbox sharing-ratio experiments — E6/E7 on runc + git-daemon substrate #58 + OCP run)
Verify before deleting (coded but maybe unmerged, or status unclear):
-
2026-06-25-m7-cluster-experiments— live-verified on Kind but branchfeat/m7-cluster-experimentsnot 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
Metadata
Metadata
Assignees
Labels
No labels
Activity
docs(adrs): reconstruct decision records from existing specs