@punks/cli 3.1.2 → 3.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BASELINE_CHANGELOG.md +21 -0
- package/dist/CHANGELOG.md +46 -0
- package/dist/baseline/scaffold-baseline/baseline.json +4 -4
- package/dist/baseline/scaffold-baseline/data/catalog/packs.json +23 -3
- package/dist/baseline/scaffold-baseline/data/catalog/skills.json +26 -2
- package/dist/baseline/scaffold-baseline/data/hooks/format-edited-file.mjs +13 -0
- package/dist/baseline/scaffold-baseline/data/scripts/sync-subagents.mjs +862 -49
- package/dist/baseline/scaffold-baseline/data/scripts/sync-subagents.test.ts +1295 -38
- package/dist/baseline/scaffold-baseline/data/subagents/manifest.mjs +3 -1
- package/dist/baseline/scaffold-baseline/data/subagents/manifest.test.ts +20 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/docs-onboarding/SKILL.md +4 -3
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/docs-onboarding/agents/openai.yaml +1 -1
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/docs-onboarding/references/artifact-contract.md +3 -1
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/writing-for-agents/LICENSE +21 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/writing-for-agents/SKILL-MECHANICS.md +22 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/writing-for-agents/SKILL.md +81 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/writing-for-agents/UPSTREAM.md +9 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/SKILL.md +27 -15
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/references/backlog-sync.md +19 -32
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/references/plan-schema.md +14 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/references/planner-task-graph.md +5 -1
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/references/stop-conditions.md +2 -1
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/SKILL.md +51 -105
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/assets/SPEC-TEMPLATE.md +26 -57
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/references/folder-naming.md +6 -3
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/references/readiness.md +41 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/references/spec-quality-bar.md +15 -6
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/references/wiki-bookkeeping.md +3 -3
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/implement-spec/SKILL.md +21 -54
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/implement-spec/assets/IMPLEMENTATION-NOTES-TEMPLATE.md +0 -4
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/implement-spec/references/lifecycle.md +13 -15
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/implement-spec/references/parallel-orchestration.md +7 -4
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/implement-spec/references/parallel-worker-brief.md +4 -2
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/implement-spec/references/parallel.md +9 -35
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/wayfinder/SKILL.md +11 -8
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/requirements-grill/SKILL.md +3 -3
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/EXAMPLES.md +25 -73
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/REFERENCE.md +54 -305
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/SKILL.md +46 -55
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/concepts/backlog-model.md +33 -119
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/concepts/story-shape.md +24 -14
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/providers/azure-devops-create-payload.md +53 -11
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/providers/github-projects-create-payload.md +48 -26
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/providers/linear-create-payload.md +53 -12
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/providers/monday-create-payload.md +49 -33
- package/dist/baseline/scaffold-baseline/skills/agnostic/research/parallel-research/DURABLE-REPORT.md +20 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/research/parallel-research/SKILL.md +14 -2
- package/dist/baseline/scaffold-baseline/skills/agnostic/research/prototype/LICENSE +21 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/research/prototype/LOGIC.md +57 -21
- package/dist/baseline/scaffold-baseline/skills/agnostic/research/prototype/SKILL.md +17 -15
- package/dist/baseline/scaffold-baseline/skills/agnostic/research/prototype/UI.md +12 -5
- package/dist/baseline/scaffold-baseline/skills/agnostic/research/prototype/UPSTREAM.md +11 -0
- package/dist/baseline/scaffold-baseline/skills/frameworks/effect/effect/SKILL.md +5 -12
- package/dist/baseline/scaffold-baseline/skills/frameworks/effect/effect/references/CONFIG.md +10 -19
- package/dist/baseline/scaffold-baseline/skills/frameworks/effect/effect/references/SERVICES_LAYERS.md +3 -63
- package/dist/baseline/scaffold-baseline/skills/frameworks/effect/effect/references/TESTING.md +2 -72
- package/dist/baseline/scaffold-baseline/skills/frameworks/effect/effect-backend-structure/SKILL.md +12 -29
- package/dist/baseline/scaffold-baseline/skills/frameworks/effect/effect-backend-structure/agents/openai.yaml +1 -1
- package/dist/baseline/scaffold-baseline/skills/frameworks/effect/effect-backend-structure/references/layout.md +9 -9
- package/dist/baseline/scaffold-baseline/skills/frameworks/effect/effect-service-design/LICENSE +21 -0
- package/dist/baseline/scaffold-baseline/skills/frameworks/effect/effect-service-design/SKILL.md +124 -0
- package/dist/baseline/scaffold-baseline/skills/frameworks/effect/effect-service-design/references/AUDIT.md +98 -0
- package/dist/baseline/scaffold-baseline/skills/misc/wait-what/LICENSE +21 -0
- package/dist/baseline/scaffold-baseline/skills/misc/wait-what/SKILL.md +7 -0
- package/dist/baseline/scaffold-baseline/skills/misc/wait-what/UPSTREAM.md +9 -0
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/SKILL.md +4 -3
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/backlog.md +31 -0
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/implement.md +5 -4
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/plan.md +6 -4
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/router.md +16 -14
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/spec.md +9 -5
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/references/artifact-state.md +9 -2
- package/dist/baseline/scaffold-baseline/skills/phases/design-phase/phases/backlog.md +4 -4
- package/dist/baseline/scaffold-baseline/skills/phases/design-phase/phases/prototype.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/phases/docs-ingest-phase/phases/private-internal.md +3 -1
- package/dist/baseline/scaffold-baseline/skills/phases/docs-ingest-phase/references/learning-artifacts.md +8 -1
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/SKILL.md +24 -24
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/agents/openai.yaml +1 -1
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/references/convergence.md +39 -0
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/references/frontier-lifecycle.md +22 -16
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/references/root-routing.md +3 -2
- package/dist/baseline/scaffold-baseline/skills/phases/prototype-phase/SKILL.md +34 -0
- package/dist/baseline/scaffold-baseline/skills/phases/prototype-phase/VERDICT-TEMPLATE.md +16 -0
- package/dist/baseline/scaffold-baseline/skills/phases/prototype-phase/agents/openai.yaml +2 -0
- package/dist/baseline/scaffold-baseline/skills/phases/requirements-phase/SKILL.md +14 -57
- package/dist/baseline/scaffold-baseline.json +4 -4
- package/dist/baseline/scaffold-baseline.tgz +0 -0
- package/dist/data/hooks/format-edited-file.mjs +13 -0
- package/dist/data/scripts/sync-subagents.mjs +862 -49
- package/dist/data/subagents/manifest.mjs +3 -1
- package/dist/index.js +667 -194
- package/dist/skills/agnostic/docs/docs-onboarding/SKILL.md +4 -3
- package/dist/skills/agnostic/docs/docs-onboarding/agents/openai.yaml +1 -1
- package/dist/skills/agnostic/docs/docs-onboarding/references/artifact-contract.md +3 -1
- package/dist/skills/agnostic/docs/writing-for-agents/LICENSE +21 -0
- package/dist/skills/agnostic/docs/writing-for-agents/SKILL-MECHANICS.md +22 -0
- package/dist/skills/agnostic/docs/writing-for-agents/SKILL.md +81 -0
- package/dist/skills/agnostic/docs/writing-for-agents/UPSTREAM.md +9 -0
- package/dist/skills/agnostic/planning/create-plan/SKILL.md +27 -15
- package/dist/skills/agnostic/planning/create-plan/references/backlog-sync.md +19 -32
- package/dist/skills/agnostic/planning/create-plan/references/plan-schema.md +14 -0
- package/dist/skills/agnostic/planning/create-plan/references/planner-task-graph.md +5 -1
- package/dist/skills/agnostic/planning/create-plan/references/stop-conditions.md +2 -1
- package/dist/skills/agnostic/planning/create-spec/SKILL.md +51 -105
- package/dist/skills/agnostic/planning/create-spec/assets/SPEC-TEMPLATE.md +26 -57
- package/dist/skills/agnostic/planning/create-spec/references/folder-naming.md +6 -3
- package/dist/skills/agnostic/planning/create-spec/references/readiness.md +41 -0
- package/dist/skills/agnostic/planning/create-spec/references/spec-quality-bar.md +15 -6
- package/dist/skills/agnostic/planning/create-spec/references/wiki-bookkeeping.md +3 -3
- package/dist/skills/agnostic/planning/implement-spec/SKILL.md +21 -54
- package/dist/skills/agnostic/planning/implement-spec/assets/IMPLEMENTATION-NOTES-TEMPLATE.md +0 -4
- package/dist/skills/agnostic/planning/implement-spec/references/lifecycle.md +13 -15
- package/dist/skills/agnostic/planning/implement-spec/references/parallel-orchestration.md +7 -4
- package/dist/skills/agnostic/planning/implement-spec/references/parallel-worker-brief.md +4 -2
- package/dist/skills/agnostic/planning/implement-spec/references/parallel.md +9 -35
- package/dist/skills/agnostic/planning/wayfinder/SKILL.md +11 -8
- package/dist/skills/agnostic/requirements/requirements-grill/SKILL.md +3 -3
- package/dist/skills/agnostic/requirements/write-backlog/EXAMPLES.md +25 -73
- package/dist/skills/agnostic/requirements/write-backlog/REFERENCE.md +54 -305
- package/dist/skills/agnostic/requirements/write-backlog/SKILL.md +46 -55
- package/dist/skills/agnostic/requirements/write-backlog/assets/concepts/backlog-model.md +33 -119
- package/dist/skills/agnostic/requirements/write-backlog/assets/concepts/story-shape.md +24 -14
- package/dist/skills/agnostic/requirements/write-backlog/assets/providers/azure-devops-create-payload.md +53 -11
- package/dist/skills/agnostic/requirements/write-backlog/assets/providers/github-projects-create-payload.md +48 -26
- package/dist/skills/agnostic/requirements/write-backlog/assets/providers/linear-create-payload.md +53 -12
- package/dist/skills/agnostic/requirements/write-backlog/assets/providers/monday-create-payload.md +49 -33
- package/dist/skills/agnostic/research/parallel-research/DURABLE-REPORT.md +20 -0
- package/dist/skills/agnostic/research/parallel-research/SKILL.md +14 -2
- package/dist/skills/agnostic/research/prototype/LICENSE +21 -0
- package/dist/skills/agnostic/research/prototype/LOGIC.md +57 -21
- package/dist/skills/agnostic/research/prototype/SKILL.md +17 -15
- package/dist/skills/agnostic/research/prototype/UI.md +12 -5
- package/dist/skills/agnostic/research/prototype/UPSTREAM.md +11 -0
- package/dist/skills/frameworks/effect/effect/SKILL.md +5 -12
- package/dist/skills/frameworks/effect/effect/references/CONFIG.md +10 -19
- package/dist/skills/frameworks/effect/effect/references/SERVICES_LAYERS.md +3 -63
- package/dist/skills/frameworks/effect/effect/references/TESTING.md +2 -72
- package/dist/skills/frameworks/effect/effect-backend-structure/SKILL.md +12 -29
- package/dist/skills/frameworks/effect/effect-backend-structure/agents/openai.yaml +1 -1
- package/dist/skills/frameworks/effect/effect-backend-structure/references/layout.md +9 -9
- package/dist/skills/frameworks/effect/effect-service-design/LICENSE +21 -0
- package/dist/skills/frameworks/effect/effect-service-design/SKILL.md +124 -0
- package/dist/skills/frameworks/effect/effect-service-design/references/AUDIT.md +98 -0
- package/dist/skills/misc/wait-what/LICENSE +21 -0
- package/dist/skills/misc/wait-what/SKILL.md +7 -0
- package/dist/skills/misc/wait-what/UPSTREAM.md +9 -0
- package/dist/skills/phases/delivery-phase/SKILL.md +4 -3
- package/dist/skills/phases/delivery-phase/phases/backlog.md +31 -0
- package/dist/skills/phases/delivery-phase/phases/implement.md +5 -4
- package/dist/skills/phases/delivery-phase/phases/plan.md +6 -4
- package/dist/skills/phases/delivery-phase/phases/router.md +16 -14
- package/dist/skills/phases/delivery-phase/phases/spec.md +9 -5
- package/dist/skills/phases/delivery-phase/references/artifact-state.md +9 -2
- package/dist/skills/phases/design-phase/phases/backlog.md +4 -4
- package/dist/skills/phases/design-phase/phases/prototype.md +1 -1
- package/dist/skills/phases/docs-ingest-phase/phases/private-internal.md +3 -1
- package/dist/skills/phases/docs-ingest-phase/references/learning-artifacts.md +8 -1
- package/dist/skills/phases/finder-phase/SKILL.md +24 -24
- package/dist/skills/phases/finder-phase/agents/openai.yaml +1 -1
- package/dist/skills/phases/finder-phase/references/convergence.md +39 -0
- package/dist/skills/phases/finder-phase/references/frontier-lifecycle.md +22 -16
- package/dist/skills/phases/finder-phase/references/root-routing.md +3 -2
- package/dist/skills/phases/prototype-phase/SKILL.md +34 -0
- package/dist/skills/phases/prototype-phase/VERDICT-TEMPLATE.md +16 -0
- package/dist/skills/phases/prototype-phase/agents/openai.yaml +2 -0
- package/dist/skills/phases/requirements-phase/SKILL.md +14 -57
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/writing-great-skills/GLOSSARY.md +0 -69
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/writing-great-skills/SKILL.md +0 -61
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/references/backlog-sync.md +0 -49
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/references/discovery.md +0 -54
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/references/grill-phase.md +0 -42
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/references/questioning.md +0 -51
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/implement-spec/references/sequential.md +0 -48
- package/dist/skills/agnostic/docs/writing-great-skills/GLOSSARY.md +0 -69
- package/dist/skills/agnostic/docs/writing-great-skills/SKILL.md +0 -61
- package/dist/skills/agnostic/planning/create-spec/references/backlog-sync.md +0 -49
- package/dist/skills/agnostic/planning/create-spec/references/discovery.md +0 -54
- package/dist/skills/agnostic/planning/create-spec/references/grill-phase.md +0 -42
- package/dist/skills/agnostic/planning/create-spec/references/questioning.md +0 -51
- package/dist/skills/agnostic/planning/implement-spec/references/sequential.md +0 -48
|
@@ -1,109 +1,55 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: create-spec
|
|
3
|
-
description:
|
|
3
|
+
description: Compile confirmed product decisions into SPEC.md. Use when requirements are closed or explicitly parked and an agent-ready provider-neutral specification is needed before backlog or planning.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Spec
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
Resolve the
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
4.
|
|
29
|
-
5.
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
### Dependency readiness and stack intent
|
|
58
|
-
|
|
59
|
-
When backlog context exists, inspect backlog dependencies before drafting.
|
|
60
|
-
|
|
61
|
-
- A task-level `depends_on` inside one epic or plan is implementation ordering,
|
|
62
|
-
not PR stack topology.
|
|
63
|
-
- A backlog dependency between epics/stories is a dependency-readiness gate.
|
|
64
|
-
- If the dependency has an `IMPLEMENTATION-NOTES.md` or equivalent
|
|
65
|
-
implemented-status artifact, trust it as implemented. Record
|
|
66
|
-
`No Stack Required` unless another open PR dependency still applies.
|
|
67
|
-
- If no implemented-status artifact exists, use local code evidence or merged PR
|
|
68
|
-
evidence as fallback proof that the dependency landed.
|
|
69
|
-
- If the dependency is represented by an open parent PR, record
|
|
70
|
-
`Branch/Base Intent`.
|
|
71
|
-
- If the dependency is neither proven implemented nor represented by an open
|
|
72
|
-
parent PR, block spec creation and report the missing dependency evidence.
|
|
73
|
-
|
|
74
|
-
When backlog dependencies exist, add this section to `SPEC.md`:
|
|
75
|
-
|
|
76
|
-
```md
|
|
77
|
-
## Dependency Readiness
|
|
78
|
-
|
|
79
|
-
- Status: No Stack Required | Branch/Base Intent | Blocked
|
|
80
|
-
- Dependency: <epic/story/pr/link>
|
|
81
|
-
- Evidence: <implementation notes path | implemented-status artifact | merged PR | parent PR>
|
|
82
|
-
- Reason: <why this status was chosen>
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
Only for stack-dependent work, also add:
|
|
86
|
-
|
|
87
|
-
```md
|
|
88
|
-
## Branch/Base Intent
|
|
89
|
-
|
|
90
|
-
- Parent PR: #123
|
|
91
|
-
- Parent branch: team/name/parent
|
|
92
|
-
- Child branch: team/name/child
|
|
93
|
-
- PR base: team/name/parent
|
|
94
|
-
- Required gate: stack sync --dry-run after PR creation/update
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
`create-spec` records stack intent only. Do not create, switch, or push git
|
|
98
|
-
branches unless the user explicitly requests branch setup during the spec turn.
|
|
99
|
-
|
|
100
|
-
## Advanced features
|
|
101
|
-
|
|
102
|
-
- Discovery and repo orientation: see [references/discovery.md](references/discovery.md)
|
|
103
|
-
- Clarifying-question strategy: see [references/questioning.md](references/questioning.md)
|
|
104
|
-
- Requirements grill phase: see [references/grill-phase.md](references/grill-phase.md)
|
|
105
|
-
- Backlog sync after grilling: see [references/backlog-sync.md](references/backlog-sync.md)
|
|
106
|
-
- Domain and folder naming rules: see [references/folder-naming.md](references/folder-naming.md)
|
|
107
|
-
- Acceptance-criteria and quality bar: see [references/spec-quality-bar.md](references/spec-quality-bar.md)
|
|
108
|
-
- Planning surface index/log updates: see [references/wiki-bookkeeping.md](references/wiki-bookkeeping.md)
|
|
109
|
-
- Canonical backlog model: see [../write-backlog/assets/concepts/backlog-model.md](../write-backlog/assets/concepts/backlog-model.md)
|
|
6
|
+
# Create Spec
|
|
7
|
+
|
|
8
|
+
`create-spec` is a no-interview compiler of confirmed decisions. Upstream
|
|
9
|
+
Wayfinder, research, prototyping, and grilling own uncertainty. This skill asks
|
|
10
|
+
no questions, runs no local grill, and performs no backlog mutation.
|
|
11
|
+
|
|
12
|
+
## Inputs
|
|
13
|
+
|
|
14
|
+
Accept confirmed user decisions and their evidence: grill status/logs, research
|
|
15
|
+
reports, prototype verdicts, ADRs, glossary, axioms, constraints, system facts,
|
|
16
|
+
accepted implementation or testing decisions, dependency evidence, and accepted
|
|
17
|
+
parent/base constraints.
|
|
18
|
+
|
|
19
|
+
## Steps
|
|
20
|
+
|
|
21
|
+
1. Resolve the planning surface using [folder-naming.md](references/folder-naming.md).
|
|
22
|
+
2. Validate readiness using [readiness.md](references/readiness.md). If anything
|
|
23
|
+
required is missing, return one atomic `spec-not-ready` result and write no
|
|
24
|
+
partial `SPEC.md`.
|
|
25
|
+
3. Compile [SPEC-TEMPLATE.md](assets/SPEC-TEMPLATE.md). Preserve only confirmed
|
|
26
|
+
decisions; never invent closure. Serialize `Dependency Readiness` and
|
|
27
|
+
`Branch/Base Intent` using the readiness contract.
|
|
28
|
+
4. Apply [spec-quality-bar.md](references/spec-quality-bar.md).
|
|
29
|
+
5. Update existing planning-surface indexes through
|
|
30
|
+
[wiki-bookkeeping.md](references/wiki-bookkeeping.md).
|
|
31
|
+
6. Persist the completed spec and its bookkeeping in a dedicated git commit.
|
|
32
|
+
Never stage unrelated changes.
|
|
33
|
+
7. Push or explicitly retain the spec commit through a repository-approved
|
|
34
|
+
remote mechanism, verify the retained ref contains the spec commit, then
|
|
35
|
+
construct and verify a stable blob URL before `write-backlog` may consume it.
|
|
36
|
+
A local commit SHA plus path is insufficient.
|
|
37
|
+
8. Return `spec-written` with `readiness: agent-ready` and the verified stable
|
|
38
|
+
blob URL. If retention or URL verification fails, return one atomic
|
|
39
|
+
`spec-not-ready` result and do not invoke backlog projection.
|
|
40
|
+
|
|
41
|
+
## Boundaries
|
|
42
|
+
|
|
43
|
+
- `SPEC.md` is provider-neutral authority. `write-backlog` projects epics and
|
|
44
|
+
stories afterward; `create-plan` owns concrete files, commands, workers, and
|
|
45
|
+
execution order.
|
|
46
|
+
- A mutable path or local-only commit is not a backlog handoff. `write-backlog`
|
|
47
|
+
receives only the verified stable blob URL.
|
|
48
|
+
- Accepted technical and testing decisions belong in the spec. Detailed task
|
|
49
|
+
choreography does not.
|
|
50
|
+
- `Dependency Readiness` and `Branch/Base Intent` preserve accepted dependency
|
|
51
|
+
evidence and parent/base constraints for `create-plan`.
|
|
52
|
+
- `readiness: agent-ready` is sufficient downstream. Do not add a review or
|
|
53
|
+
approval stop; pause only for a user-requested HITL checkpoint.
|
|
54
|
+
- Compiler state is `compiled`. Human approval, when explicitly requested, is a
|
|
55
|
+
separate optional action and is never inferred or stamped by this compiler.
|
package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/assets/SPEC-TEMPLATE.md
CHANGED
|
@@ -2,91 +2,60 @@
|
|
|
2
2
|
title: "[Title]"
|
|
3
3
|
domain:
|
|
4
4
|
type: spec
|
|
5
|
-
status:
|
|
5
|
+
status: compiled
|
|
6
|
+
readiness: agent-ready
|
|
6
7
|
links: []
|
|
7
8
|
created: YYYY-MM-DD
|
|
8
9
|
updated: YYYY-MM-DD
|
|
9
|
-
id: # optional — ticket ID, remove if not applicable
|
|
10
10
|
---
|
|
11
11
|
|
|
12
12
|
# Spec: [Title]
|
|
13
13
|
|
|
14
|
-
<!--
|
|
15
|
-
INSTRUCTIONS FOR THE AGENT (remove this block before saving the final spec):
|
|
16
|
-
|
|
17
|
-
- Each spec covers one epic/capability boundary.
|
|
18
|
-
- If the epic contains multiple child stories, the spec must cover all of them.
|
|
19
|
-
- Preserve individual story requirements while unifying them into one coherent problem-space contract.
|
|
20
|
-
- The audience is engineers. Keep it tight. A spec that takes 10 minutes to read won't get reviewed. Aim for 2–3 minutes.
|
|
21
|
-
- This template is a starting point, not a rulebook:
|
|
22
|
-
- Remove sections that don't apply — don't leave them blank or write "N/A"
|
|
23
|
-
- Add sections if something important doesn't fit (e.g. "Data model", "API contract")
|
|
24
|
-
- Adjust depth to complexity — a simple task may only need Context + Acceptance Criteria
|
|
25
|
-
-->
|
|
26
|
-
|
|
27
|
-
---
|
|
28
|
-
|
|
29
|
-
## User input
|
|
30
|
-
|
|
31
|
-
_Verbatim copy of everything the user said that is relevant to this spec — across one or more messages if needed. Do not paraphrase or summarize. Preserve the original wording as closely as possible._
|
|
32
|
-
|
|
33
|
-
---
|
|
34
|
-
|
|
35
14
|
## Context
|
|
36
15
|
|
|
37
|
-
_What is this, why does it need to exist, and who is it for? Cover the problem and the purpose in a few sentences. Name the actual roles affected (admin, customer, developer — not just "user")._
|
|
38
|
-
|
|
39
|
-
---
|
|
40
|
-
|
|
41
16
|
## Non-Goals
|
|
42
17
|
|
|
43
|
-
|
|
18
|
+
## User Stories
|
|
44
19
|
|
|
45
|
-
-
|
|
46
|
-
-
|
|
47
|
-
|
|
48
|
-
---
|
|
20
|
+
### US-001: [Observable user outcome]
|
|
49
21
|
|
|
50
22
|
## Acceptance Criteria
|
|
51
23
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
-
|
|
55
|
-
-
|
|
56
|
-
-
|
|
57
|
-
|
|
58
|
-
---
|
|
24
|
+
- AC-001: [Binary observable criterion]
|
|
25
|
+
- Covers: US-001
|
|
59
26
|
|
|
60
27
|
## Constraints
|
|
61
28
|
|
|
62
|
-
|
|
29
|
+
## Dependency Readiness
|
|
63
30
|
|
|
64
|
-
|
|
31
|
+
_Write `No Stack Required` when no dependency exists. Otherwise write `Ready`
|
|
32
|
+
and list each dependency with immutable landing or branch/base evidence._
|
|
65
33
|
|
|
66
|
-
|
|
34
|
+
## Branch/Base Intent
|
|
67
35
|
|
|
68
|
-
|
|
36
|
+
_When accepted intent exists, record the intended parent and base, child branch
|
|
37
|
+
constraint, and supporting evidence. Otherwise write `Not applicable`._
|
|
69
38
|
|
|
70
|
-
|
|
39
|
+
## Accepted Technical Decisions
|
|
71
40
|
|
|
72
|
-
|
|
41
|
+
## Accepted Testing Decisions
|
|
73
42
|
|
|
74
|
-
|
|
43
|
+
## Verification Seams
|
|
75
44
|
|
|
76
|
-
|
|
45
|
+
_Name the public interface, event, state transition, command, or observable
|
|
46
|
+
boundary used to verify the behavior. If none applies, record the accepted
|
|
47
|
+
not-applicable rationale._
|
|
77
48
|
|
|
78
|
-
|
|
49
|
+
## Prototype Verdicts
|
|
79
50
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
| 1 | | | | Open |
|
|
51
|
+
_For each applicable verdict: outcome, immutable commit SHA, artifact path, and
|
|
52
|
+
accepted implications. Remove this section when no prototype exists._
|
|
83
53
|
|
|
84
|
-
|
|
54
|
+
## Parked Decisions
|
|
85
55
|
|
|
86
|
-
|
|
56
|
+
_Each item needs an owner and resume trigger. Remove when empty._
|
|
87
57
|
|
|
88
|
-
|
|
58
|
+
## Decision Log
|
|
89
59
|
|
|
90
|
-
| Decision | Rationale |
|
|
91
|
-
|
|
92
|
-
| | |
|
|
60
|
+
| Decision | Evidence | Rationale |
|
|
61
|
+
| --- | --- | --- |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Folder Naming
|
|
2
2
|
|
|
3
|
-
Use this reference after
|
|
3
|
+
Use this reference after input readiness passes and before writing the file.
|
|
4
4
|
|
|
5
5
|
## Domain resolution
|
|
6
6
|
|
|
@@ -28,6 +28,9 @@ Each spec folder must be unique within its domain.
|
|
|
28
28
|
|
|
29
29
|
If the folder already exists:
|
|
30
30
|
|
|
31
|
-
-
|
|
31
|
+
- update it only when its identity and capability boundary match the confirmed
|
|
32
|
+
inputs
|
|
33
|
+
- otherwise return `spec-not-ready` with the collision and required upstream
|
|
34
|
+
naming decision
|
|
32
35
|
|
|
33
|
-
Do not
|
|
36
|
+
Do not interview from this compiler.
|
package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/references/readiness.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Readiness
|
|
2
|
+
|
|
3
|
+
Compile only when the decision frontier is closed or every remaining item is
|
|
4
|
+
explicitly parked with owner and resume trigger.
|
|
5
|
+
|
|
6
|
+
Required inputs:
|
|
7
|
+
|
|
8
|
+
- actor, outcome, capability boundary, non-goals, and constraints
|
|
9
|
+
- accepted functional behavior and observable success
|
|
10
|
+
- accepted implementation and testing decisions, when any were made upstream
|
|
11
|
+
- every applicable prototype verdict by immutable commit SHA and path
|
|
12
|
+
- a verification-seam decision, or an explicit not-applicable rationale
|
|
13
|
+
- dependency readiness for every declared dependency: proven landed, or an
|
|
14
|
+
accepted branch/base intent with concrete evidence; blocked or unevidenced
|
|
15
|
+
dependencies fail compilation
|
|
16
|
+
|
|
17
|
+
## Dependency output contract
|
|
18
|
+
|
|
19
|
+
Serialize both sections in every compiled spec:
|
|
20
|
+
|
|
21
|
+
- `Dependency Readiness`: write `No Stack Required` when no dependency exists.
|
|
22
|
+
Otherwise write `Ready` and list every dependency with immutable landing or
|
|
23
|
+
branch/base evidence.
|
|
24
|
+
- `Branch/Base Intent`: when accepted intent exists, record the intended parent
|
|
25
|
+
or base, child branch constraint, and supporting evidence. Otherwise write
|
|
26
|
+
`Not applicable` explicitly.
|
|
27
|
+
|
|
28
|
+
Never emit `Blocked` with `readiness: agent-ready`; blocked or unevidenced
|
|
29
|
+
dependencies produce `spec-not-ready` instead.
|
|
30
|
+
|
|
31
|
+
Validate the compiled traceability graph before writing:
|
|
32
|
+
|
|
33
|
+
- every `US-###` has at least one `AC-###` whose `Covers` list names it
|
|
34
|
+
- every `Covers` reference resolves to an existing `US-###`; a reference to a
|
|
35
|
+
nonexistent `US-###` fails compilation
|
|
36
|
+
- identifiers are unique and coverage is one-way from acceptance criterion to
|
|
37
|
+
user story
|
|
38
|
+
|
|
39
|
+
On failure, return one `spec-not-ready` result listing every missing decision or
|
|
40
|
+
evidence item and its upstream route: `finder-phase`, `parallel-research`,
|
|
41
|
+
`prototype-phase`, or `requirements-grill`. Write no partial spec.
|
|
@@ -6,8 +6,11 @@ Use this reference while filling the template and before saving.
|
|
|
6
6
|
|
|
7
7
|
The spec lives in the problem space.
|
|
8
8
|
|
|
9
|
-
- include what, who, why, acceptance criteria, non-goals,
|
|
10
|
-
|
|
9
|
+
- include what, who, why, user stories, acceptance criteria, non-goals,
|
|
10
|
+
constraints, accepted technical/testing decisions, prototype verdicts, and
|
|
11
|
+
verification seams, `Dependency Readiness`, and `Branch/Base Intent`
|
|
12
|
+
- exclude unaccepted solution design and plan-owned files, commands, workers,
|
|
13
|
+
task graph, or execution order
|
|
11
14
|
- when the epic has child stories, include the concrete requirements of each child story instead of summarizing only the parent issue
|
|
12
15
|
|
|
13
16
|
## Acceptance-criteria bar
|
|
@@ -17,6 +20,7 @@ Every acceptance criterion should be:
|
|
|
17
20
|
- binary
|
|
18
21
|
- observable
|
|
19
22
|
- testable
|
|
23
|
+
- identified as `AC-###` with one or more one-way `Covers: US-###` links
|
|
20
24
|
|
|
21
25
|
Avoid:
|
|
22
26
|
|
|
@@ -24,23 +28,28 @@ Avoid:
|
|
|
24
28
|
- hidden implementation requirements disguised as product behavior
|
|
25
29
|
- mixed criteria that bundle several independent outcomes into one line
|
|
26
30
|
|
|
27
|
-
##
|
|
31
|
+
## Capability completeness bar
|
|
28
32
|
|
|
29
|
-
When
|
|
33
|
+
When compiling confirmed capability and story decisions:
|
|
30
34
|
|
|
31
|
-
- the spec
|
|
35
|
+
- the spec is the provider-neutral authority for the capability boundary
|
|
32
36
|
- each child story must contribute concrete requirements, constraints, or acceptance criteria
|
|
33
37
|
- cross-story interactions must be resolved in the spec rather than left implicit in backlog items
|
|
34
38
|
|
|
35
39
|
Avoid:
|
|
36
40
|
|
|
37
|
-
- a spec that
|
|
41
|
+
- a spec that omits confirmed requirements from one or more user stories
|
|
38
42
|
- a spec that treats child stories as links only, without incorporating their product details
|
|
39
43
|
- a spec that copies child stories separately without unifying overlaps and shared constraints
|
|
40
44
|
|
|
41
45
|
## Self-review before saving
|
|
42
46
|
|
|
43
47
|
- ensure frontmatter has a non-empty string `title`, especially for specs saved directly in routed Fumadocs trees
|
|
48
|
+
- ensure frontmatter contains `readiness: agent-ready`
|
|
49
|
+
- ensure `Dependency Readiness` records `No Stack Required` or `Ready` with
|
|
50
|
+
evidence
|
|
51
|
+
- ensure `Branch/Base Intent` records accepted parent/base constraints or
|
|
52
|
+
`Not applicable`
|
|
44
53
|
- remove all template scaffolding
|
|
45
54
|
- remove empty or irrelevant sections
|
|
46
55
|
- ensure the document reads cleanly with no ghost instructions
|
|
@@ -21,7 +21,7 @@ When using `apps/wiki/specs`:
|
|
|
21
21
|
1. Add a row to the **Specs** table in `apps/wiki/index.md`:
|
|
22
22
|
|
|
23
23
|
```md
|
|
24
|
-
| <domain> | [[specs/<domain>/<folder-name>/SPEC]] |
|
|
24
|
+
| <domain> | [[specs/<domain>/<folder-name>/SPEC]] | Compiled |
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
2. Create or update `apps/wiki/specs/<domain>/<domain>-specs.md` with:
|
|
@@ -33,7 +33,7 @@ When using `apps/wiki/specs`:
|
|
|
33
33
|
## [YYYY-MM-DD] spec | <spec title>
|
|
34
34
|
- Created spec: [[specs/<domain>/<folder-name>/SPEC]]
|
|
35
35
|
- Domain: <domain>
|
|
36
|
-
- Status:
|
|
36
|
+
- Status: Compiled
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
### Docs fallback
|
|
@@ -43,7 +43,7 @@ When using `docs/specs`:
|
|
|
43
43
|
1. Create or update `docs/specs/index.md` with:
|
|
44
44
|
- the domain
|
|
45
45
|
- the spec path
|
|
46
|
-
- status `
|
|
46
|
+
- status `Compiled`
|
|
47
47
|
2. Create or update `docs/specs/<domain>/<domain>-specs.md` with:
|
|
48
48
|
- the spec name
|
|
49
49
|
- a one-line summary
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: implement-spec
|
|
3
|
-
description: Implement an
|
|
3
|
+
description: Implement an agent-ready spec folder through plan-derived worker waves while keeping `IMPLEMENTATION-NOTES.md`, `PLAN.md`, and spec-linked tech debt in sync. Use when an agent-ready spec already has an execution-ready `PLAN.md`.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Implement Spec
|
|
@@ -9,10 +9,10 @@ description: Implement an approved spec folder while keeping `IMPLEMENTATION-NOT
|
|
|
9
9
|
|
|
10
10
|
- **Role:** higher-order execution orchestrator
|
|
11
11
|
- **Entrypoint type:** public entrypoint
|
|
12
|
-
- **Upstream:**
|
|
13
|
-
- **Delegates to:** `$tdd`, `$codebase-design`, `$simplify`, tiny `$requirements-phase` sessions for debt ambiguity, and internal worker orchestration
|
|
12
|
+
- **Upstream:** agent-ready spec folder with `SPEC.md` and `PLAN.md`
|
|
13
|
+
- **Delegates to:** `$tdd`, `$codebase-design`, `$simplify`, tiny `$requirements-phase` sessions for debt ambiguity, and internal worker-wave orchestration
|
|
14
14
|
- **Downstream:** `docs-ingest-phase` when the resulting spec folder should be ingested into domain knowledge
|
|
15
|
-
- **Entry conditions:** existing
|
|
15
|
+
- **Entry conditions:** existing agent-ready spec folder; stop and use `create-plan` if `PLAN.md` is missing
|
|
16
16
|
- **Stop conditions:** shared acceptance audit complete, final manual review checklist written, spec folder finalized, blocked work reported honestly
|
|
17
17
|
|
|
18
18
|
## Required Inner Skills
|
|
@@ -22,42 +22,27 @@ description: Implement an approved spec folder while keeping `IMPLEMENTATION-NOT
|
|
|
22
22
|
- MUST use `$simplify`
|
|
23
23
|
Use `$agent-browser` when any task `review_mode` is `browser` or `mixed`.
|
|
24
24
|
|
|
25
|
-
##
|
|
25
|
+
## Worker-wave responsibilities
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
Follow [references/parallel.md](references/parallel.md) as the execution contract.
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
## Parallel responsibilities
|
|
32
|
-
|
|
33
|
-
When `implement-spec` runs in `parallel` mode, it must follow [references/parallel.md](references/parallel.md) as the full orchestration contract.
|
|
34
|
-
|
|
35
|
-
That means `implement-spec` itself owns all of the following in parallel mode:
|
|
36
|
-
|
|
37
|
-
- parsing `PLAN.md`
|
|
38
|
-
- finding the currently unblocked tasks from `depends_on`
|
|
39
|
-
- launching workers in waves
|
|
40
|
-
- reviewing worker outputs
|
|
41
|
-
- validating each wave before advancing
|
|
42
|
-
- ensuring `PLAN.md` and `IMPLEMENTATION-NOTES.md` are updated after each completed wave
|
|
29
|
+
The parent owns wave orchestration and shared artifacts. Scoped workers own
|
|
30
|
+
implementation tasks.
|
|
43
31
|
|
|
44
32
|
## Quick start
|
|
45
33
|
|
|
46
34
|
1. Resolve the target spec folder by checking, in order: `apps/wiki/content/docs/project/specs/<domain>/<spec>/`, legacy `apps/wiki/specs/<domain>/<spec>/`, then `docs/specs/<domain>/<spec>/`.
|
|
47
35
|
2. Read `references/lifecycle.md` and follow the shared execution contract exactly.
|
|
48
|
-
3.
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
11. For UI implementation changes, follow [references/ui-screenshot-evidence.md](references/ui-screenshot-evidence.md) and use `repo-asset-management` for durable before/after asset links.
|
|
59
|
-
12. For tasks with `runtime_validation: required`, follow [references/runtime-product-validation.md](references/runtime-product-validation.md) and do not mark them complete without conclusive runtime evidence; an exact blocker keeps the task blocked.
|
|
60
|
-
13. Finish with the shared acceptance audit, manual review checklist, and spec finalization contract.
|
|
36
|
+
3. Read `references/parallel.md`, parse the plan graph, and build the first unblocked wave.
|
|
37
|
+
4. Launch scoped workers for the current wave using `references/parallel-worker-brief.md`.
|
|
38
|
+
5. After each validated wave, update `PLAN.md`, `IMPLEMENTATION-NOTES.md`, and spec-linked tech debt before advancing.
|
|
39
|
+
6. Use `$codebase-design` vocabulary while reviewing each worker change: interface, seam, adapter, depth, leverage, locality, and test surface.
|
|
40
|
+
7. Resolve implementation debt as soon as it appears. Do not leave "later" work, TODOs, temporary compromises, or vague follow-up debt.
|
|
41
|
+
8. If a debt item needs a product/scope decision outside the active goal, stop and run a very small `$requirements-phase` clarification before continuing.
|
|
42
|
+
9. If backlog sync is in scope, keep epic/story bodies product-facing and use native metadata or comments instead of execution handoff rewrites.
|
|
43
|
+
10. For UI implementation changes, follow [references/ui-screenshot-evidence.md](references/ui-screenshot-evidence.md) and use `repo-asset-management` for durable before/after asset links.
|
|
44
|
+
11. For tasks with `runtime_validation: required`, follow [references/runtime-product-validation.md](references/runtime-product-validation.md) and do not mark them complete without conclusive runtime evidence; an exact blocker keeps the task blocked.
|
|
45
|
+
12. Finish with the shared acceptance audit, manual review checklist, and spec finalization contract.
|
|
61
46
|
|
|
62
47
|
## Stack-aware branch gate
|
|
63
48
|
|
|
@@ -77,29 +62,11 @@ Before coding, inspect `PLAN.md` for `Branch/Base Intent`.
|
|
|
77
62
|
stack-dependent workflow. Missing `stack` does not block independent
|
|
78
63
|
trunk-based work.
|
|
79
64
|
|
|
80
|
-
## Mode selection
|
|
81
|
-
|
|
82
|
-
Choose `sequential` when:
|
|
83
|
-
|
|
84
|
-
- the user wants single-threaded execution
|
|
85
|
-
- tasks are tightly coupled
|
|
86
|
-
- parallel worker handoff cost would outweigh parallelism
|
|
87
|
-
- the user did not choose a mode
|
|
88
|
-
|
|
89
|
-
Choose `parallel` when:
|
|
90
|
-
|
|
91
|
-
- the user wants explicit parallel execution
|
|
92
|
-
- the plan contains independent waves
|
|
93
|
-
- disjoint write scopes make worker fan-out safe
|
|
94
|
-
|
|
95
|
-
If the user already chose a mode, honor it. If not, choose `sequential` and state that it spawns exactly one implementation worker plus parent validation.
|
|
96
|
-
|
|
97
65
|
## Advanced features
|
|
98
66
|
|
|
99
67
|
- Shared lifecycle, notes contract, tech-debt rules, acceptance audit, finalization: see [references/lifecycle.md](references/lifecycle.md)
|
|
100
68
|
- UI before/after screenshot evidence and PR handoff links: see [references/ui-screenshot-evidence.md](references/ui-screenshot-evidence.md)
|
|
101
69
|
- Supported-runtime proof and cleanup contract: see [references/runtime-product-validation.md](references/runtime-product-validation.md)
|
|
102
|
-
-
|
|
103
|
-
-
|
|
104
|
-
-
|
|
105
|
-
- Parallel worker brief contract: see [references/parallel-worker-brief.md](references/parallel-worker-brief.md)
|
|
70
|
+
- Worker-wave execution: see [references/parallel.md](references/parallel.md)
|
|
71
|
+
- Plan parsing and wave construction: see [references/parallel-orchestration.md](references/parallel-orchestration.md)
|
|
72
|
+
- Worker brief contract: see [references/parallel-worker-brief.md](references/parallel-worker-brief.md)
|
|
@@ -4,14 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
`implement-spec` is the only public execution entrypoint.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Execution follows plan-derived worker waves. Read [parallel.md](parallel.md) for
|
|
8
|
+
the wave loop and keep shared lifecycle rules here.
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
- `parallel` — wave-based execution with explicit worker orchestration
|
|
11
|
-
|
|
12
|
-
Do not recreate wrapper skills for these modes. Keep the routing here and load only the needed mode reference.
|
|
13
|
-
|
|
14
|
-
## 1. Require an existing reviewed spec folder
|
|
10
|
+
## 1. Require an existing agent-ready spec folder
|
|
15
11
|
|
|
16
12
|
Execution must stay grounded in the first matching spec folder:
|
|
17
13
|
|
|
@@ -26,6 +22,9 @@ Required files:
|
|
|
26
22
|
|
|
27
23
|
If `SPEC.md` is missing, stop and report the resolved path error.
|
|
28
24
|
|
|
25
|
+
Require `readiness: agent-ready`; no separate spec review or approval state is
|
|
26
|
+
needed.
|
|
27
|
+
|
|
29
28
|
If `PLAN.md` is missing, stop and use `create-plan`. Do not auto-generate plans from this skill.
|
|
30
29
|
|
|
31
30
|
## 2. Resolve the target folder
|
|
@@ -93,11 +92,11 @@ Do not create the file when nothing durable must survive the run.
|
|
|
93
92
|
|
|
94
93
|
## 6. Shared execution invariants
|
|
95
94
|
|
|
96
|
-
-
|
|
97
|
-
-
|
|
98
|
-
-
|
|
99
|
-
-
|
|
100
|
-
-
|
|
95
|
+
- Require every planned task to declare dependencies, owned paths, validation gates, and a wave boundary.
|
|
96
|
+
- Build each wave from tasks whose dependencies are complete and whose write scopes are disjoint.
|
|
97
|
+
- Workers own implementation changes. The parent coordinates, reviews, validates, updates shared artifacts, and finalizes.
|
|
98
|
+
- A wave may contain one worker when dependencies or owned paths leave one task unblocked.
|
|
99
|
+
- Worker routing must be available before implementation begins; otherwise repair it or report the blocker.
|
|
101
100
|
- Treat every `tdd_target` as required RED-first behavior, never optional guidance.
|
|
102
101
|
- Treat `tdd_status`, `red_command`, `expected_red_failure`, `green_command`, `reason_not_testable`, `red_evidence`, and `green_evidence` as the task completion contract.
|
|
103
102
|
- Treat `codebase_design_notes` as required design context for code-structure changes. Verify the implemented interface, seam, adapter strategy, and test surface match it, or update the notes with the real decision.
|
|
@@ -116,9 +115,9 @@ Do not create the file when nothing durable must survive the run.
|
|
|
116
115
|
- Execution-time backlog sync may use comments, links, native status, and native relations.
|
|
117
116
|
- Never rewrite epic or story bodies with task ids, TDD targets, validation commands, or file lists.
|
|
118
117
|
|
|
119
|
-
## 7. Shared upkeep after each completed
|
|
118
|
+
## 7. Shared upkeep after each completed wave
|
|
120
119
|
|
|
121
|
-
After each completed
|
|
120
|
+
After each completed wave:
|
|
122
121
|
|
|
123
122
|
- update `PLAN.md` status
|
|
124
123
|
- append a concise execution log in `PLAN.md`
|
|
@@ -194,7 +193,6 @@ Rules:
|
|
|
194
193
|
Before reporting back:
|
|
195
194
|
|
|
196
195
|
- remove empty sections from `IMPLEMENTATION-NOTES.md`
|
|
197
|
-
- ensure **Execution mode** reflects the mode actually used
|
|
198
196
|
- ensure **Sanity checks** lists only commands actually run
|
|
199
197
|
- ensure **UI Evidence Links** has durable before/after asset links for UI implementation changes, or an explicit reason no pair was possible
|
|
200
198
|
- ensure **Runtime Validation Evidence** contains conclusive proof for every required task, or an exact blocker with the task and acceptance criterion still marked blocked
|