@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,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Worker-Wave Orchestration
|
|
2
2
|
|
|
3
3
|
Use this reference to run the full parallel orchestration loop inside `implement-spec`.
|
|
4
4
|
|
|
@@ -22,6 +22,8 @@ For each task, extract:
|
|
|
22
22
|
|
|
23
23
|
- task id and task name
|
|
24
24
|
- `depends_on`
|
|
25
|
+
- owned paths
|
|
26
|
+
- wave boundary
|
|
25
27
|
- full content needed for execution:
|
|
26
28
|
- location
|
|
27
29
|
- description
|
|
@@ -47,11 +49,12 @@ If a task subset was requested:
|
|
|
47
49
|
|
|
48
50
|
A task is unblocked only when all ids in its `depends_on` list are complete.
|
|
49
51
|
|
|
50
|
-
For the current wave:
|
|
52
|
+
For the current recorded wave boundary:
|
|
51
53
|
|
|
52
54
|
- collect every unblocked task
|
|
53
55
|
- exclude already-complete tasks
|
|
54
56
|
- exclude tasks blocked by failed prerequisites
|
|
57
|
+
- verify worker write scopes are disjoint
|
|
55
58
|
|
|
56
59
|
Launch all unblocked tasks in parallel.
|
|
57
60
|
|
|
@@ -61,8 +64,8 @@ For each unblocked task:
|
|
|
61
64
|
|
|
62
65
|
- choose the worker template from `.agents/subagents/manifest.mjs`
|
|
63
66
|
- use the worker-brief contract from [parallel-worker-brief.md](parallel-worker-brief.md)
|
|
64
|
-
-
|
|
65
|
-
-
|
|
67
|
+
- assign the task's owned paths
|
|
68
|
+
- assign its validation gates
|
|
66
69
|
|
|
67
70
|
## Step 5: Review and validate the wave
|
|
68
71
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Wave Worker Brief
|
|
2
2
|
|
|
3
3
|
Use this reference when spawning a worker for one task in a parallel wave.
|
|
4
4
|
|
|
@@ -10,11 +10,13 @@ Every worker brief should include:
|
|
|
10
10
|
- relevant goals or overview from the plan
|
|
11
11
|
- task id and task name
|
|
12
12
|
- task dependencies
|
|
13
|
+
- wave boundary
|
|
14
|
+
- owned paths
|
|
13
15
|
- related tasks when they matter
|
|
14
16
|
- file locations
|
|
15
17
|
- full description
|
|
16
18
|
- acceptance criteria
|
|
17
|
-
- validation
|
|
19
|
+
- validation gates
|
|
18
20
|
- `tdd_target`
|
|
19
21
|
- `tdd_status`
|
|
20
22
|
- `codebase_design_notes`
|
|
@@ -1,45 +1,19 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Worker-Wave Execution
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Every `implement-spec` run executes through plan-derived worker waves.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Contract
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
- **Mode:** `parallel`
|
|
10
|
-
- **Worker policy:** spawn multiple workers only for currently unblocked independent work
|
|
7
|
+
- **Worker policy:** spawn multiple workers only for currently unblocked independent work with disjoint write scopes
|
|
11
8
|
- **Execution board:** completed, in progress, unblocked next, blocked, current wave
|
|
9
|
+
- **Parent policy:** parse, dispatch, review, validate, update shared artifacts, and advance the graph
|
|
12
10
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
In `parallel` mode, `implement-spec` must do all of the orchestration work itself.
|
|
16
|
-
|
|
17
|
-
That includes:
|
|
18
|
-
|
|
19
|
-
1. parsing `PLAN.md`
|
|
20
|
-
2. extracting task ids, names, `depends_on`, locations, descriptions, acceptance criteria, validations, and related metadata
|
|
21
|
-
3. building the current wave from the unblocked tasks
|
|
22
|
-
4. spawning workers for that wave
|
|
23
|
-
5. reviewing worker results for correctness and completeness
|
|
24
|
-
6. updating plan logs and execution notes
|
|
25
|
-
7. repeating until all reachable tasks are complete or a real blocker remains
|
|
26
|
-
|
|
27
|
-
Do not treat worker spawning as the whole job. Parallel mode adds multi-worker wave orchestration on top of the default parent validation responsibilities.
|
|
28
|
-
|
|
29
|
-
## Quick start
|
|
30
|
-
|
|
31
|
-
1. Load the shared lifecycle from `lifecycle.md`.
|
|
32
|
-
2. Record `parallel` under **Execution mode** in `IMPLEMENTATION-NOTES.md`.
|
|
33
|
-
3. Read `.agents/subagents/manifest.mjs` before the first spawn and choose explicit worker templates per task.
|
|
34
|
-
4. Read [parallel-orchestration.md](parallel-orchestration.md) and parse `PLAN.md` into a task graph.
|
|
35
|
-
5. Build the current wave from the unblocked tasks only.
|
|
36
|
-
6. Read [parallel-worker-brief.md](parallel-worker-brief.md) and use that contract when spawning workers.
|
|
37
|
-
7. Validate each wave before moving on. Fix failures before the next wave.
|
|
38
|
-
8. Update the plan, notes, and tech debt after every wave.
|
|
11
|
+
A wave may contain one worker when dependencies or owned paths leave one task
|
|
12
|
+
unblocked. Keep the wave boundary and parent validation.
|
|
39
13
|
|
|
40
14
|
## Required evidence
|
|
41
15
|
|
|
42
|
-
- plan-derived wave selection
|
|
16
|
+
- plan-derived wave selection from dependencies, owned paths, validation gates, and wave boundaries
|
|
43
17
|
- explicit worker briefs per task
|
|
44
18
|
- post-wave review of worker outputs
|
|
45
19
|
- acceptance-criteria coverage plus RED -> GREEN evidence, or explicit non-testable verification
|
|
@@ -53,4 +27,4 @@ Keep iterating wave by wave until:
|
|
|
53
27
|
- all reachable tasks are complete, validated, and logged
|
|
54
28
|
- or a real blocker remains and is reported honestly
|
|
55
29
|
|
|
56
|
-
|
|
30
|
+
Retry failed work or report the exact blocker before advancing.
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: wayfinder
|
|
3
|
-
description: Route a foggy frontier
|
|
3
|
+
description: Route a foggy decision frontier. Use when work is too unclear for requirements, too broad for one delivery session, or needs classification as fog, grilling, research, prototype, epic, or story.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Wayfinder
|
|
7
7
|
|
|
8
8
|
Lean route-selection primitive for unclear work.
|
|
9
9
|
|
|
10
|
-
`wayfinder`
|
|
10
|
+
`wayfinder` selects the next concept and route. It does not write provider
|
|
11
|
+
payloads, create specs, plan implementation, or own backlog schema.
|
|
11
12
|
|
|
12
13
|
## Route Selection
|
|
13
14
|
|
|
@@ -18,25 +19,27 @@ Lean route-selection primitive for unclear work.
|
|
|
18
19
|
- Prefer provider backlog state when available.
|
|
19
20
|
- Treat docs, specs, grill logs, and notes as evidence, not the living map.
|
|
20
21
|
|
|
21
|
-
3. Classify the next item
|
|
22
|
-
- `fog`: root-level uncertainty; no module or execution shape is clear yet.
|
|
22
|
+
3. Classify the next item.
|
|
23
|
+
- `fog`: root-level uncertainty; no capability module or execution shape is clear yet.
|
|
23
24
|
- `grilling`: a human decision must close ambiguity.
|
|
24
25
|
- `research`: readonly investigation can answer the unknown.
|
|
25
26
|
- `prototype`: learning requires an artifact or experiment.
|
|
26
|
-
- `epic`:
|
|
27
|
+
- `epic`: post-spec capability projection.
|
|
27
28
|
- `story`: accepted product-facing slice belongs under an epic.
|
|
28
29
|
|
|
29
30
|
4. Choose placement.
|
|
30
31
|
- Keep `fog` at the backlog root.
|
|
31
|
-
- For every non-fog
|
|
32
|
+
- For every non-fog item, choose or propose a capability module first.
|
|
32
33
|
- Keep stories under epics.
|
|
34
|
+
- Execution milestones are separately blocker-derived chronology; they do
|
|
35
|
+
not determine capability placement.
|
|
33
36
|
|
|
34
37
|
5. Return a route.
|
|
35
|
-
- State the selected
|
|
38
|
+
- State the selected concept, placement, evidence, unresolved questions, and recommended next skill.
|
|
36
39
|
|
|
37
40
|
## Completion Criteria
|
|
38
41
|
|
|
39
42
|
- One route is selected.
|
|
40
|
-
- The selected
|
|
43
|
+
- The selected concept is one of `fog`, `grilling`, `research`, `prototype`, `epic`, or `story`.
|
|
41
44
|
- Provider materialization is explicitly delegated to `write-backlog` when backlog writes are needed.
|
|
42
45
|
- The handoff says whether the next move is requirements, research, prototype, backlog writing, spec creation, or delivery.
|
package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/requirements-grill/SKILL.md
CHANGED
|
@@ -5,7 +5,7 @@ description: Requirements grilling with durable branch artifacts, glossary/axiom
|
|
|
5
5
|
|
|
6
6
|
# Requirements Grill
|
|
7
7
|
|
|
8
|
-
Use this skill to turn uncertain product, architecture, or implementation ideas into pinned requirements, canonical glossary, and domain axioms that can
|
|
8
|
+
Use this skill to turn uncertain product, architecture, or implementation ideas into pinned requirements, canonical glossary, and domain axioms that `create-spec` can compile after closure.
|
|
9
9
|
|
|
10
10
|
This skill blends the shared `$grilling` primitive with durable artifacts. Use `$grilling` for live interview behavior; use `requirements-grill` when the result must survive as routed grill log/status/wiki knowledge.
|
|
11
11
|
|
|
@@ -25,7 +25,7 @@ Both workflows can happen in one long session, but keep the responsibilities dis
|
|
|
25
25
|
|
|
26
26
|
- `<wiki-root>/content/docs/project/grilling/<topic>-grill-log.md` and `<topic>-grill-status.md` are the detailed requirements and glossary record
|
|
27
27
|
- other routed `<wiki-root>/content/docs/project/` pages are the synthesized project knowledge surface
|
|
28
|
-
-
|
|
28
|
+
- closed shared understanding routes to `create-spec`; backlog projection is later and outside this skill's scope
|
|
29
29
|
|
|
30
30
|
## Core Behavior
|
|
31
31
|
|
|
@@ -41,4 +41,4 @@ Both workflows can happen in one long session, but keep the responsibilities dis
|
|
|
41
41
|
|
|
42
42
|
At the end, report branch percentages, parked branches, remaining non-design validation work, and the recommended next planning direction.
|
|
43
43
|
|
|
44
|
-
After `$grilling` completes,
|
|
44
|
+
After `$grilling` completes with shared understanding and all branches closed or explicitly parked, hand the durable grill artifacts to `create-spec`. If the frontier remains open, return to Wayfinder instead of implying backlog readiness.
|
package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/EXAMPLES.md
CHANGED
|
@@ -1,89 +1,41 @@
|
|
|
1
1
|
# Write Backlog Examples
|
|
2
2
|
|
|
3
|
-
##
|
|
4
|
-
|
|
5
|
-
Input route:
|
|
6
|
-
|
|
7
|
-
> Loose idea: partner onboarding is important, but the module boundary and first implementation capability are still foggy.
|
|
8
|
-
|
|
9
|
-
Output shape:
|
|
10
|
-
|
|
11
|
-
- Root item: `fog` — `Clarify partner onboarding frontier`
|
|
12
|
-
- Later module / milestone: `Partner onboarding`
|
|
13
|
-
- Learning items:
|
|
14
|
-
- `grilling` — `Choose partner invitation authority model`
|
|
15
|
-
- `research` — `Inspect existing auth and access control seams`
|
|
16
|
-
- `prototype` — `Validate invitation review screen shape`
|
|
17
|
-
- Accepted implementation item:
|
|
18
|
-
- `epic` — `Partner invitation lifecycle`
|
|
19
|
-
- `story` — `Operator invites a partner contact`
|
|
20
|
-
|
|
21
|
-
Closure rule:
|
|
22
|
-
|
|
23
|
-
- Close `grilling`, `research`, and `prototype` with answer, accepted direction, artifacts or evidence, and created or updated epics/stories before delivery starts.
|
|
24
|
-
|
|
25
|
-
## From discussion to backlog
|
|
3
|
+
## Agent-ready spec projection
|
|
26
4
|
|
|
27
5
|
Input:
|
|
28
6
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
- Module / milestone: `Intake and review`
|
|
34
|
-
- Epic: `Submission lifecycle management`
|
|
35
|
-
- Stories:
|
|
36
|
-
- Coordinator creates a new submission from external intake
|
|
37
|
-
- Reviewer updates notes and attached evidence
|
|
38
|
-
- Reviewer views the full submission timeline
|
|
39
|
-
- Lead reassigns ownership to another reviewer
|
|
40
|
-
- Lead manages unassigned submissions
|
|
41
|
-
- Lead imports historical submissions
|
|
42
|
-
- System marks submissions unassigned when a reviewer is deactivated
|
|
43
|
-
|
|
44
|
-
Native order:
|
|
45
|
-
|
|
46
|
-
- `Lead manages unassigned submissions` is blocked by:
|
|
47
|
-
- `Lead reassigns ownership to another reviewer`
|
|
48
|
-
- `Lead imports historical submissions`
|
|
49
|
-
- `System marks submissions unassigned when a reviewer is deactivated`
|
|
50
|
-
|
|
51
|
-
## From `requirements-grill` artifacts to backlog
|
|
52
|
-
|
|
53
|
-
Input artifacts:
|
|
54
|
-
|
|
55
|
-
- `docs/submission-lifecycle-grill-status.md`
|
|
56
|
-
- `docs/submission-lifecycle-grill-log.md`
|
|
7
|
+
```yaml
|
|
8
|
+
readiness: agent-ready
|
|
9
|
+
```
|
|
57
10
|
|
|
58
|
-
|
|
11
|
+
- immutable spec link: `<repository-url>/blob/<commit>/SPEC.md`
|
|
12
|
+
- `US-001`: Team lead restores ownership of an unassigned submission.
|
|
13
|
+
- `AC-001` — `Covers: US-001`: Reassignment preserves notes and evidence.
|
|
14
|
+
- `AC-002` — `Covers: US-001`: The new owner sees the submission in their queue.
|
|
59
15
|
|
|
60
|
-
|
|
61
|
-
- branch `unassigned-queue` = `100%`
|
|
62
|
-
- branch `historical-import` = `100%`
|
|
63
|
-
- branch `deactivation-handling` = `100%`
|
|
64
|
-
- recommended next direction = backlog/user-story creation
|
|
16
|
+
Output:
|
|
65
17
|
|
|
66
|
-
|
|
18
|
+
- capability module: `Intake and review`
|
|
19
|
+
- epic: `Submission lifecycle management`, linked to the immutable spec
|
|
20
|
+
- story: `Lead restores ownership of an unassigned submission`
|
|
21
|
+
- source: `US-001`
|
|
22
|
+
- covers: `AC-001`, `AC-002`
|
|
23
|
+
- demonstration: reassign one unassigned submission and observe preserved evidence plus the new owner's queue
|
|
67
24
|
|
|
68
|
-
|
|
69
|
-
- superseded decisions are ignored in favor of the latest locked answer
|
|
25
|
+
This is a vertical tracer bullet: one agent can deliver and demonstrate the product outcome without splitting database, API, UI, and tests into separate backlog stories.
|
|
70
26
|
|
|
71
|
-
|
|
27
|
+
## Blocker graph
|
|
72
28
|
|
|
73
|
-
-
|
|
74
|
-
-
|
|
75
|
-
-
|
|
76
|
-
- Lead reassigns ownership to another reviewer
|
|
77
|
-
- Lead manages unassigned submissions
|
|
78
|
-
- Lead imports historical submissions
|
|
79
|
-
- System marks submissions unassigned when a reviewer is deactivated
|
|
29
|
+
- `US-002 / Lead manages the unassigned queue` is blocked by `US-001 / Lead restores ownership`.
|
|
30
|
+
- Both targets exist and the graph is acyclic.
|
|
31
|
+
- `US-001` is assigned `M1`; `US-002` is assigned `M2`.
|
|
80
32
|
|
|
81
|
-
|
|
33
|
+
If a blocker target is missing or the graph cycles, write nothing.
|
|
82
34
|
|
|
83
|
-
|
|
35
|
+
## Pre-spec intake resolution
|
|
84
36
|
|
|
85
|
-
`
|
|
37
|
+
An earlier `prototype` item established the review-screen direction. Resolve that intake item with its verdict plus the immutable spec link. Create a separate epic projection. Do not relabel or silently promote the prototype item into the epic.
|
|
86
38
|
|
|
87
|
-
|
|
39
|
+
## Invalid input
|
|
88
40
|
|
|
89
|
-
`
|
|
41
|
+
If readiness is absent, `AC-001` lacks `Covers: US-###`, a story is not demonstrable, or provider hierarchy cannot represent the required projection, return every gap before any mutation.
|