@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
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Convergence
|
|
2
|
+
|
|
3
|
+
## Resume Input
|
|
4
|
+
|
|
5
|
+
Resume from the backlog root, destination, current mode, claimed ticket, native
|
|
6
|
+
dependencies, and immutable child-flow resolution pointers. Re-read provider
|
|
7
|
+
state; a prose handoff is evidence, not authoritative map state.
|
|
8
|
+
|
|
9
|
+
## Child Dispatch
|
|
10
|
+
|
|
11
|
+
- `grilling` -> `requirements-grill`; only the human closes product decisions.
|
|
12
|
+
- `research` -> `parallel-research` in durable-report mode; require the retained
|
|
13
|
+
report's immutable commit SHA and path. Facts may close, product direction may
|
|
14
|
+
not.
|
|
15
|
+
- `prototype` -> `prototype-phase`; wait for a human verdict.
|
|
16
|
+
- closed or explicitly parked frontier -> `create-spec`.
|
|
17
|
+
|
|
18
|
+
Dispatch one bounded child flow per work session.
|
|
19
|
+
|
|
20
|
+
## Provider Mutation Boundary
|
|
21
|
+
|
|
22
|
+
A claim is a semantic output of Finder: ticket, claimant, and intended native
|
|
23
|
+
assignment/state change. When provider mutation is in scope, delegate that
|
|
24
|
+
physical write to `write-backlog` and confirm it before child dispatch.
|
|
25
|
+
|
|
26
|
+
A resolution is a semantic output of Finder: ticket, result, immutable evidence
|
|
27
|
+
pointer, and intended native state change. Delegate the physical resolution
|
|
28
|
+
write to `write-backlog` and confirm it before recomputing the frontier.
|
|
29
|
+
|
|
30
|
+
## Reconciliation
|
|
31
|
+
|
|
32
|
+
1. Verify the child result and immutable evidence pointer.
|
|
33
|
+
2. Produce the semantic resolution and route its provider-native write through
|
|
34
|
+
`write-backlog`.
|
|
35
|
+
3. Repair claims, dependencies, or scope invalidated by the result.
|
|
36
|
+
4. Move newly discovered out-of-scope work to the appropriate backlog root or
|
|
37
|
+
explicitly park it; never smuggle it into the active destination.
|
|
38
|
+
5. Graduate newly precise fog and recompute open, unblocked, unclaimed tickets.
|
|
39
|
+
6. Return the next ticket, a chart-mode repair, or a closed frontier.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Purpose
|
|
4
4
|
|
|
5
|
-
The frontier is the
|
|
5
|
+
The frontier is the set of open, unblocked, and unclaimed decision tickets.
|
|
6
6
|
|
|
7
7
|
The backlog root is the living map. Docs, specs, grill logs, and notes are evidence for updating that map.
|
|
8
8
|
|
|
@@ -11,35 +11,37 @@ The backlog root is the living map. Docs, specs, grill logs, and notes are evide
|
|
|
11
11
|
### Fog
|
|
12
12
|
|
|
13
13
|
- Root-level only.
|
|
14
|
-
- Tracks a real but not-yet-sharp area
|
|
15
|
-
-
|
|
14
|
+
- Tracks a real but not-yet-sharp area through a frontier or uncertainty description.
|
|
15
|
+
- Graduates when Finder can derive a precise question for `grilling`, `research`,
|
|
16
|
+
or `prototype`; the fog item itself does not require that question.
|
|
16
17
|
- Is not delivery-eligible.
|
|
17
18
|
- Is not a `SPEC.md` anchor.
|
|
18
19
|
- Does not own child tickets by default.
|
|
19
20
|
|
|
20
21
|
### Grilling
|
|
21
22
|
|
|
22
|
-
-
|
|
23
|
+
- Capability-module-scoped.
|
|
23
24
|
- Used when a human decision must close ambiguity.
|
|
24
25
|
- Closes with an accepted decision note before implementation scope changes.
|
|
25
26
|
|
|
26
27
|
### Research
|
|
27
28
|
|
|
28
|
-
-
|
|
29
|
+
- Capability-module-scoped.
|
|
29
30
|
- Used when readonly investigation can answer the unknown.
|
|
30
|
-
- Closes with answer
|
|
31
|
+
- Closes with answer and immutable evidence. Wayfinder, not research, selects
|
|
32
|
+
any product direction.
|
|
31
33
|
|
|
32
34
|
### Prototype
|
|
33
35
|
|
|
34
|
-
-
|
|
36
|
+
- Capability-module-scoped.
|
|
35
37
|
- Used when learning needs an artifact, experiment, or throwaway proof.
|
|
36
|
-
- Closes with
|
|
38
|
+
- Closes with a human verdict and immutable artifact/verdict evidence.
|
|
37
39
|
|
|
38
40
|
### Epic
|
|
39
41
|
|
|
40
|
-
-
|
|
42
|
+
- Capability-module-scoped.
|
|
41
43
|
- Accepted implementation capability.
|
|
42
|
-
-
|
|
44
|
+
- Is a post-spec delivery projection.
|
|
43
45
|
|
|
44
46
|
### Story
|
|
45
47
|
|
|
@@ -49,13 +51,17 @@ The backlog root is the living map. Docs, specs, grill logs, and notes are evide
|
|
|
49
51
|
|
|
50
52
|
## Transition Rules
|
|
51
53
|
|
|
52
|
-
- Sharpening `fog`
|
|
54
|
+
- Sharpening `fog` derives a precise question, chooses or creates a
|
|
55
|
+
capability module, then creates a concrete `grilling`, `research`, or
|
|
56
|
+
`prototype` item there.
|
|
57
|
+
- Execution milestones are separately blocker-derived chronology; they do not
|
|
58
|
+
determine capability placement.
|
|
53
59
|
- `grilling`, `research`, and `prototype` do not become implementation scope silently.
|
|
54
|
-
-
|
|
60
|
+
- Resolution records for `grilling`, `research`, and `prototype` include:
|
|
55
61
|
- answer
|
|
56
|
-
-
|
|
57
|
-
|
|
58
|
-
|
|
62
|
+
- artifacts or evidence by immutable commit SHA and path
|
|
63
|
+
- Use provider-native blocker relations. Claim a ticket through native
|
|
64
|
+
assignment/state before working it.
|
|
59
65
|
- Epic/story semantics stay strict even beside learning and uncertainty items.
|
|
60
66
|
|
|
61
67
|
## Handoff Shape
|
|
@@ -63,7 +69,7 @@ The backlog root is the living map. Docs, specs, grill logs, and notes are evide
|
|
|
63
69
|
Return:
|
|
64
70
|
|
|
65
71
|
- current frontier
|
|
66
|
-
- selected next
|
|
72
|
+
- selected next concept
|
|
67
73
|
- chosen or proposed placement
|
|
68
74
|
- evidence used
|
|
69
75
|
- open blockers
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
Route to `finder-phase` before `requirements-phase` when a loose idea is too large for one agent session and still wrapped in fog.
|
|
6
6
|
|
|
7
|
-
Use this route when the first question is not "which requirement is unclear?"
|
|
7
|
+
Use this route when the first question is not "which requirement is unclear?"
|
|
8
|
+
but "which concept and child flow can close this frontier?"
|
|
8
9
|
|
|
9
10
|
## Placement In Root Guidance
|
|
10
11
|
|
|
@@ -23,7 +24,7 @@ Keep root prompt guidance short:
|
|
|
23
24
|
|
|
24
25
|
- `requirements-phase` for human decision closure inside a known topic.
|
|
25
26
|
- `parallel-research` for split-friendly readonly investigation.
|
|
26
|
-
- `prototype` for artifact-driven learning.
|
|
27
|
+
- `prototype-phase` for human-evaluated artifact-driven learning.
|
|
27
28
|
- `create-spec`, `create-plan`, or `delivery-phase` after implementation scope is accepted.
|
|
28
29
|
|
|
29
30
|
It chooses the route and updates the frontier handoff.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: prototype-phase
|
|
3
|
+
description: Run a standalone human-evaluated prototype when Wayfinder routes an uncertain product or technical claim to experimentation.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Prototype Phase
|
|
8
|
+
|
|
9
|
+
Own one claim from construction through a human verdict, then return evidence
|
|
10
|
+
to Wayfinder. Use the `prototype` skill to build the throwaway artifact.
|
|
11
|
+
|
|
12
|
+
## Steps
|
|
13
|
+
|
|
14
|
+
1. Claim one precise question. Record the expected learning and source ticket.
|
|
15
|
+
2. Use the `prototype` skill on `prototype/<slug>`. Do not merge prototype code
|
|
16
|
+
into production.
|
|
17
|
+
3. Give the user the run command and wait for a natural-language verdict:
|
|
18
|
+
accept, iterate, or reject.
|
|
19
|
+
4. On iterate, update `PROTOTYPE-VERDICT.md` with the observed evidence,
|
|
20
|
+
rejected alternatives, risks, and requested change; commit it, keep this
|
|
21
|
+
phase active, and rebuild only what the feedback tests.
|
|
22
|
+
5. On accept or reject, finalize `PROTOTYPE-VERDICT.md` beside the artifact using
|
|
23
|
+
[VERDICT-TEMPLATE.md](VERDICT-TEMPLATE.md), commit it, and establish remote retention by pushing the throwaway branch or using an explicit durable retention mechanism. Verify the remote ref contains the evidence commit before returning the immutable commit SHA and path to `finder-phase`.
|
|
24
|
+
6. On reject, record the rejection rationale and leave the original question
|
|
25
|
+
unresolved for `finder-phase`; rejection closes this artifact, not the
|
|
26
|
+
decision frontier.
|
|
27
|
+
|
|
28
|
+
## Completion
|
|
29
|
+
|
|
30
|
+
- Accept and reject return to `finder-phase`; iterate updates the verdict and
|
|
31
|
+
remains here.
|
|
32
|
+
- Wayfinder recomputes the frontier. It may route next to grilling, research,
|
|
33
|
+
another prototype, or `create-spec`; no route is mandatory.
|
|
34
|
+
- The verdict is evidence, not production authorization.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Prototype Verdict
|
|
2
|
+
|
|
3
|
+
- Question:
|
|
4
|
+
- Source ticket:
|
|
5
|
+
- Verdict: accept | iterate | reject
|
|
6
|
+
- Run command:
|
|
7
|
+
- Inspection instructions:
|
|
8
|
+
- Evidence observed:
|
|
9
|
+
- Rejected alternatives:
|
|
10
|
+
- Rejection rationale:
|
|
11
|
+
- Unresolved risks:
|
|
12
|
+
- Implications:
|
|
13
|
+
- Open decisions:
|
|
14
|
+
- Decision-rich snippet (optional):
|
|
15
|
+
- Artifact commit:
|
|
16
|
+
- Artifact path:
|
|
@@ -1,69 +1,26 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: requirements-phase
|
|
3
|
-
description:
|
|
3
|
+
description: Close bounded product decisions through requirements-grill, then compile confirmed outcomes into an agent-ready spec.
|
|
4
4
|
disable-model-invocation: true
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Requirements Phase
|
|
8
8
|
|
|
9
|
-
Human-centric
|
|
10
|
-
|
|
11
|
-
Normally do not create or update a formal agent goal. This phase is an interview and decision-closure loop, not execution delivery.
|
|
12
|
-
|
|
13
|
-
## Use when
|
|
14
|
-
|
|
15
|
-
- The user asks for a requirements phase, requirements discovery, or backlog readiness.
|
|
16
|
-
- Ambiguity needs to become grill branches, glossary, axioms, parked scope, and closure decisions.
|
|
17
|
-
- Existing `*-grill-status.md` / `*-grill-log.md` artifacts need to drive backlog/module/epic/story shape.
|
|
18
|
-
- The user wants to know whether to keep grilling, park scope, or write/sync backlog.
|
|
19
|
-
|
|
20
|
-
## Do not use when
|
|
21
|
-
|
|
22
|
-
- The user asks to write `SPEC.md`, `PLAN.md`, implementation notes, code, tests, PRs, or delivery execution.
|
|
23
|
-
- The next step is already an approved spec/plan/implementation task. Use delivery-phase or the specific delivery skill instead.
|
|
24
|
-
- The user wants only a tactical backlog formatting pass from already-closed requirements. Use `write-backlog` directly.
|
|
9
|
+
Human-centric decision closure: `requirements-grill -> create-spec`.
|
|
25
10
|
|
|
26
11
|
## Workflow
|
|
27
12
|
|
|
28
|
-
1.
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
2. Route to `requirements-grill` while decisions are open.
|
|
36
|
-
- Let `requirements-grill` own HITL interviewing.
|
|
37
|
-
- Turn ambiguity into named branches, branch percentages, accepted decisions, rejected/superseded decisions, glossary entries, axioms, and parked scope.
|
|
38
|
-
|
|
39
|
-
3. Decide backlog readiness.
|
|
40
|
-
- After `$requirements-grill` completes, backlog-ready means active requirements are shaped enough for module/epic/story work and any non-blocking or follow-up scope is recorded.
|
|
41
|
-
- If not ready, report the exact backlog-shaping blockers.
|
|
42
|
-
- If ready, hand off to `write-backlog`.
|
|
43
|
-
|
|
44
|
-
4. Run `write-backlog` only after readiness.
|
|
45
|
-
- Derive modules first, then epics/capabilities, then stories.
|
|
46
|
-
- If subagents are available, use `backlog-shaper` for draft module/epic/story shape before parent review.
|
|
47
|
-
- Use accepted decisions and locked direction only.
|
|
48
|
-
- Preserve parked scope and unresolved items as deferred notes, not silent backlog content.
|
|
49
|
-
- Sync or draft provider payloads only when the user requested backlog write/sync.
|
|
50
|
-
|
|
51
|
-
5. Stop at the requirements boundary.
|
|
52
|
-
- Do not create specs, plans, implementation tasks, or code changes from this phase.
|
|
53
|
-
- Recommend delivery-phase only after backlog state is clear.
|
|
54
|
-
|
|
55
|
-
## Output contract
|
|
56
|
-
|
|
57
|
-
End with one of these states:
|
|
58
|
-
|
|
59
|
-
- `backlog-ready`: branches closed or parked enough; backlog can be written next.
|
|
60
|
-
- `backlog-written`: backlog hierarchy/payloads were produced or synced.
|
|
61
|
-
- `parked`: requirements are intentionally unresolved; parked scope and resume trigger are explicit.
|
|
62
|
-
- `blocked`: named branches still need human decisions before backlog writing.
|
|
13
|
+
1. Read existing grill status before its log. Summarize accepted, rejected,
|
|
14
|
+
superseded, parked, and unresolved branches.
|
|
15
|
+
2. While material decisions remain open, use `requirements-grill` for the HITL
|
|
16
|
+
interview. Research and recommendations are evidence, not decisions.
|
|
17
|
+
3. When the user confirms shared understanding and remaining branches are
|
|
18
|
+
closed or explicitly parked, invoke `create-spec` immediately.
|
|
19
|
+
4. Require `create-spec` to push or explicitly retain the spec commit, verify the retained ref contains the spec commit, and construct and verify a stable blob URL before `write-backlog` can run. A local SHA plus path is insufficient; otherwise return the compiler's atomic `spec-not-ready` result.
|
|
63
20
|
|
|
64
|
-
|
|
21
|
+
## Boundary
|
|
65
22
|
|
|
66
|
-
|
|
67
|
-
-
|
|
68
|
-
|
|
69
|
-
-
|
|
23
|
+
This phase does not create delivery backlog or implementation plans. After
|
|
24
|
+
`spec-written`, its verified stable blob URL must exist before `write-backlog`
|
|
25
|
+
may project the provider-neutral spec, followed by `delivery-phase` /
|
|
26
|
+
`create-plan`.
|