Skip to content

Commit bacf178

Browse files
BrettNyeclaude
andauthored
docs: correct 12 stale spec statuses and 2 shipped plans, and record the rule (#159)
A `status:` line is written once, at authoring time, and nothing updates it when the work lands. Measured across docs/superpowers on 2026-08-03: 12 of 47 specs claimed draft / "design (plan pending)" / "DESIGNED — ready for a plan" for work already on main — including staged-context verification, which said "ready for a plan" the day after it merged in #152. 2 plans still carried `status: pending` on every task for code shipped in May, under a header instructing agents to execute them. Following that header would have meant re-implementing the live DispatchExecutor and orchestrator. Every correction cites the marker verified on main (`context-check.ts`, `executors/dispatch.ts`, `secret-store/`, `audit/audit-log.ts`, `mailbox/local-dir.ts`, `buildGitEnv`, `terminationSignal`, and so on), and keeps the original text under **Originally:**. Only specs with positive code evidence were touched: cron-trigger, the three callback specs, mneme integration and worker-env-block-exposure were left alone, because their statuses are accurate — that work genuinely is not built. The two shipped plans get a HISTORICAL header rather than flipped task markers. Flipping them would fake a per-task verification nobody performed; the markers describe the plan at authoring time, and that is worth preserving. Added docs/superpowers/README.md stating the rule — update the status in the PR that lands the work — and explaining why there is deliberately no status index: it would need the same maintenance these lines already fail to get, and would become a second stale source disagreeing with the first. Same class as the KNOWN-ISSUES backfill (#156): a marker that is not maintained is worse than none, because it is believed. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent ee8e4e3 commit bacf178

15 files changed

Lines changed: 68 additions & 12 deletions

docs/superpowers/README.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# `docs/superpowers/`
2+
3+
`specs/` holds design documents. `plans/` holds the DAG plans that execute them.
4+
5+
## The one rule: a status marker is a claim, not a fact
6+
7+
**Verify a `status:` line against the code before believing it.** These markers
8+
are written once, when the document is authored, and there is no mechanism that
9+
updates them when the work lands. They rot silently, and they rot in the
10+
direction that wastes the most time — a shipped thing still advertising itself as
11+
unbuilt.
12+
13+
Measured on 2026-08-03: **12 of 47 specs** claimed `draft` / `design (plan
14+
pending)` / `DESIGNED — ready for a plan` for work that was already on `main`,
15+
including one marked "ready for a plan" the day after it merged. Two plans in
16+
`plans/` still carried `status: pending` on every task for code that shipped in
17+
May, under a header instructing agents to execute them — which would have meant
18+
re-implementing live code.
19+
20+
That is the failure mode to guard against. It is not a filing inconvenience: an
21+
agent or a consumer scanning for work takes these lines literally.
22+
23+
## When you touch a spec or plan
24+
25+
- Landing the work? **Update the status in the same PR.** It is one line, and it
26+
is the only moment anyone reliably knows the truth.
27+
- Correcting a stale marker? Say what you verified (`Verified on main: <path>`)
28+
and keep the original text under **Originally:**. What was believed, and when
29+
it stopped being true, is part of the record.
30+
- A plan that shipped is **historical**. Mark it so at the top, and do not
31+
silently flip its per-task markers — those describe the plan at authoring time,
32+
and rewriting them fakes a verification nobody performed.
33+
34+
## Why there is no status index here
35+
36+
An index would need the same maintenance the `status:` lines already fail to get,
37+
and would then be a second stale source disagreeing with the first. The rule
38+
above is the durable version. If you want current state, read the code.

docs/superpowers/plans/2026-05-29-agora-dispatch-executor-dag.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@ title: agora dispatch-executor (PR3)
33
created: 2026-05-29
44
---
55

6+
> **HISTORICAL — this plan shipped. Do NOT execute it.** (Added 2026-08-03.)
7+
> The per-task `status: pending` markers below were never updated when the work
8+
> landed; verified on main: `packages/pangolin-orchestrator/src/executors/dispatch.ts`
9+
> exists and is the live `DispatchExecutor`. The markers are kept as authored so
10+
> the plan still reads as the record of how the work was decomposed — but they
11+
> describe the plan's state at authoring time, **not** the state of the codebase.
12+
> An agent reading the line below and executing this plan would re-implement
13+
> shipped code.
14+
615
> **For agentic workers:** REQUIRED SUB-SKILL: Use parallel-dag-execution:executing-dag-plans to execute this plan. Per-task `status` frontmatter is the source of truth.
716
817
```mermaid

docs/superpowers/plans/2026-05-29-agora-orchestrator-skeleton-dag.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@ title: agora-orchestrator skeleton (PR2)
33
created: 2026-05-29
44
---
55

6+
> **HISTORICAL — this plan shipped. Do NOT execute it.** (Added 2026-08-03.)
7+
> The per-task `status: pending` markers below were never updated when the work
8+
> landed; verified on main: `packages/pangolin-orchestrator/src/engine/tick.ts`
9+
> and the surrounding orchestrator are live and have been extended many times
10+
> since. The markers are kept as authored so the plan still reads as the record
11+
> of how the work was decomposed — but they describe the plan's state at
12+
> authoring time, **not** the state of the codebase. An agent reading the line
13+
> below and executing this plan would re-implement shipped code.
14+
615
> **For agentic workers:** REQUIRED SUB-SKILL: Use parallel-dag-execution:executing-dag-plans to execute this plan with continuous parallel subagent dispatch. Per-task `status` frontmatter is the source of truth; the mermaid block is regenerated on every save.
716
817
```mermaid

docs/superpowers/specs/2026-05-21-agora-mvp-design.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ type: spec
55
created: 2026-05-21
66
updated: 2026-05-21
77
wiki: _meta
8-
status: draft
8+
status: **SHIPPED — status corrected 2026-08-03.** Verified on main: `packages/pangolin-{core,client,worker}`. This line previously read "draft", which was stale: the work landed and the marker was never updated. **Originally:** draft
99
summary: "Caller-side SDK that lets integrators register versioned subagents, capabilities, and env bundles, then dispatch a containerized Claude Code sub-agent to a compute target by reference. Worker fetches registered artifacts at boot, overlays capabilities as filesystem layers, invokes the sub-agent, returns the result. Pluggable interfaces for compute, credentials, storage, channels, result sinks, and telemetry. Strict orthogonality: agora knows nothing about Stoa, Bedrock, RaState, or any other Quarry Systems library."
1010
author: agent:claude-code
1111
---

docs/superpowers/specs/2026-05-29-agora-dispatch-executor-design.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Agora dispatch-executor (PR3) — design
33
date: 2026-05-29
4-
status: design (approved; plan pending)
4+
status: **SHIPPED — status corrected 2026-08-03.** Verified on main: `pangolin-orchestrator/src/executors/dispatch.ts`. This line previously read "design (approved; plan pending)", which was stale: the work landed and the marker was never updated. **Originally:** design (approved; plan pending)
55
authors: [human:Brett, agent:claude-opus-4-8]
66
relates_to: docs/superpowers/specs/2026-05-28-agora-orchestrator-design.md (§4 Executor, §6 D6)
77
---

docs/superpowers/specs/2026-05-29-secretstore-unification-design.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: SecretStore unification — every secret through one adapter seam
33
created: 2026-05-29
4-
status: draft
4+
status: **SHIPPED — status corrected 2026-08-03.** Verified on main: `packages/pangolin-secret-store/`. This line previously read "draft", which was stale: the work landed and the marker was never updated. **Originally:** draft
55
---
66

77
# SecretStore unification

docs/superpowers/specs/2026-05-31-agora-offload-audit-design.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Agora Offload — offload-audit wave design (tamper-evident audit log)
33
date: 2026-05-31
4-
status: design (approved direction; implementation plan pending)
4+
status: **SHIPPED — status corrected 2026-08-03.** Verified on main: `pangolin-orchestrator/src/audit/audit-log.ts`. This line previously read "design (approved direction; implementation plan pending)", which was stale: the work landed and the marker was never updated. **Originally:** design (approved direction; implementation plan pending)
55
branch: feat/offload-audit
66
authors: [human:Brett, agent:claude-opus-4-8]
77
builds_on: "[[docs/superpowers/specs/2026-05-29-agora-offload-v1-design.md]]"

docs/superpowers/specs/2026-05-31-agora-offload-mailbox-design.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Agora Offload — Mailbox Seam (real submission backend)
33
date: 2026-05-31
4-
status: design (approved direction; implementation plan pending)
4+
status: **SHIPPED — status corrected 2026-08-03.** Verified on main: `pangolin-orchestrator/src/mailbox/local-dir.ts`. This line previously read "design (approved direction; implementation plan pending)", which was stale: the work landed and the marker was never updated. **Originally:** design (approved direction; implementation plan pending)
55
branch: docs/agora-offload-v1-spec
66
authors: [human:Brett, agent:claude-opus-4-8]
77
builds_on: "[[docs/superpowers/specs/2026-05-29-agora-offload-v1-design.md]]"

docs/superpowers/specs/2026-05-31-agora-offload-surface-design.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Agora Offload — offload-surface wave design (operator surface)
33
date: 2026-05-31
4-
status: design (approved direction; DAG plan pending)
4+
status: **SHIPPED — status corrected 2026-08-03.** Verified on main: `packages/pangolin-cli + packages/pangolin-mcp`. This line previously read "design (approved direction; DAG plan pending)", which was stale: the work landed and the marker was never updated. **Originally:** design (approved direction; DAG plan pending)
55
branch: offload-surface
66
authors: [human:Brett, agent:claude-opus-4-8]
77
builds_on:

docs/superpowers/specs/2026-06-01-agora-docs-site-design.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Agora Documentation Site — Architecture & Structure Spec
33
date: 2026-06-01
4-
status: draft
4+
status: **SHIPPED — status corrected 2026-08-03.** Verified on main: `docs-site/ (deployed by the Deploy docs site workflow)`. This line previously read "draft", which was stale: the work landed and the marker was never updated. **Originally:** draft
55
branch: docs/agora-docs-site-spec
66
authors: [human:Brett, agent:claude-opus-4-8]
77
builds_on: "[[docs/superpowers/specs/2026-05-29-agora-offload-v1-design.md]]"

0 commit comments

Comments
 (0)