@punks/cli 2.3.3 → 2.4.0

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.
@@ -1,5 +1,15 @@
1
1
  # Baseline Changelog
2
2
 
3
+ ## baseline/stable/2026.07.06-finder-phase-wayfinder - 2026-07-06
4
+
5
+ ### Changed
6
+
7
+ - Sync shared skills from `wearedevpunks/skills@583be0c`.
8
+ - Add `finder-phase` and `wayfinder` to the planning baseline so loose oversized work routes through a visible decision frontier before ordinary phase selection.
9
+ - Update `write-backlog` to materialize first-class backlog kinds for `fog`, `grilling`, `research`, `prototype`, `epic`, and `story`.
10
+ - Refresh root workflow routing, planning pack catalog wiring, content tests, scaffold docs, and Harness public Finder Phase docs.
11
+ - Include the latest `goalify` activation clarification in the scaffold baseline.
12
+
3
13
  ## baseline/stable/2026.07.03-expo-skills-pack - 2026-07-03
4
14
 
5
15
  ### Changed
package/dist/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.4.0 - 2026-07-06
4
+
5
+ Pending npm publish: `@punks/cli@2.4.0`.
6
+
7
+ ### Added
8
+
9
+ - Bundle `finder-phase` and `wayfinder` as scaffolded planning skills.
10
+ - Add `finder-phase` to global phase routing so loose oversized work reaches the decision frontier before ordinary requirements, research, prototype, design, or delivery phases.
11
+
12
+ ### Changed
13
+
14
+ - Include the `finder-phase` and `wayfinder` planning-pack catalog wiring in the npm CLI.
15
+ - Expand bundled `write-backlog` guidance around first-class backlog kinds: `fog`, `grilling`, `research`, `prototype`, `epic`, and `story`.
16
+ - Ship Finder Phase wiki docs, scaffold routing docs, and the latest shared-skills sync from `wearedevpunks/skills@583be0c`.
17
+
18
+ ## baseline/stable/2026.07.06-finder-phase-wayfinder - 2026-07-06
19
+
20
+ ### Changed
21
+
22
+ - Release scaffold baseline `finder-phase` and `wayfinder` routing for oversized foggy work before bounded requirements, research, prototype, design, or delivery phases.
23
+ - Add `finder-phase` and `wayfinder` to the planning pack, root workflow routing, catalog tests, and generated prompt guidance.
24
+ - Expand `write-backlog` around first-class backlog kinds: `fog`, `grilling`, `research`, `prototype`, `epic`, and `story`.
25
+ - Include the Finder Phase public entrypoint docs and the latest `goalify` activation clarification.
26
+
3
27
  ## baseline/stable/2026.06.30-review-skill-phase - 2026-06-30
4
28
 
5
29
  ### Changed
package/dist/index.js CHANGED
@@ -51355,7 +51355,7 @@ var embeddedAssets = [];
51355
51355
 
51356
51356
  // package.json
51357
51357
  var name = "@punks/cli";
51358
- var version = "2.3.3";
51358
+ var version = "2.4.0";
51359
51359
  // src/content/data.ts
51360
51360
  var findFirst8 = (candidates) => candidates.find((candidate) => existsSync(candidate));
51361
51361
  var executableSignature = () => {
@@ -51868,6 +51868,8 @@ var packCatalog = [
51868
51868
  triggerPackages: [],
51869
51869
  description: "Default planning pack: delivery phase, specs, plans, implementation, and debt resolution.",
51870
51870
  skills: [
51871
+ "finder-phase",
51872
+ "wayfinder",
51871
51873
  "delivery-phase",
51872
51874
  "design-phase",
51873
51875
  "goalify",
@@ -52402,6 +52404,14 @@ var skillCatalog = [
52402
52404
  framework: null,
52403
52405
  requiresTools: []
52404
52406
  },
52407
+ {
52408
+ id: "finder-phase",
52409
+ sourceDirectory: "skills/phases/finder-phase",
52410
+ tier: "agnostic",
52411
+ language: null,
52412
+ framework: null,
52413
+ requiresTools: []
52414
+ },
52405
52415
  {
52406
52416
  id: "goalify",
52407
52417
  sourceDirectory: "skills/phases/goalify",
@@ -52458,6 +52468,14 @@ var skillCatalog = [
52458
52468
  framework: null,
52459
52469
  requiresTools: ["stack"]
52460
52470
  },
52471
+ {
52472
+ id: "wayfinder",
52473
+ sourceDirectory: "skills/agnostic/planning/wayfinder",
52474
+ tier: "agnostic",
52475
+ language: null,
52476
+ framework: null,
52477
+ requiresTools: []
52478
+ },
52461
52479
  {
52462
52480
  id: "next-best-practices",
52463
52481
  sourceDirectory: "skills/frameworks/nextjs/next-best-practices",
@@ -56475,6 +56493,7 @@ var phaseSkillIds = [
56475
56493
  "debugging-phase",
56476
56494
  "delivery-phase",
56477
56495
  "docs-ingest-phase",
56496
+ "finder-phase",
56478
56497
  "requirements-phase",
56479
56498
  "resolve-debt-phase",
56480
56499
  "review-phase"
@@ -56655,6 +56674,7 @@ var rootPromptConcepts = [
56655
56674
  name: "Workflow Routing",
56656
56675
  purpose: "Tell the agent which lifecycle entrypoint applies.",
56657
56676
  invariants: [
56677
+ "Foggy oversized work routes to `finder-phase` before `requirements-phase`.",
56658
56678
  "Unclear requirements or product decisions route to `requirements-phase`.",
56659
56679
  "Scoped implementation from an accepted spec, issue, or plan routes to `delivery-phase`.",
56660
56680
  "Runtime failures, crashes, broken local flows, and production-like symptoms route to `debugging-phase`.",
@@ -56728,6 +56748,7 @@ var rootPromptSpecSections = (spec) => [
56728
56748
  "",
56729
56749
  "## Available workflow entrypoints",
56730
56750
  "",
56751
+ "- `finder-phase`",
56731
56752
  "- `requirements-phase`",
56732
56753
  "- `delivery-phase`",
56733
56754
  "- `debugging-phase`",
@@ -56740,7 +56761,7 @@ var scopedPromptSpecSections = (spec) => [
56740
56761
  "",
56741
56762
  "- Start with one `## <Scope> Guidance` heading.",
56742
56763
  "- Put one `Primary skills here: ...` line near the top.",
56743
- "- Never put phase skills in scoped `AGENTS.md` primary-skill lines. Keep `requirements-phase`, `delivery-phase`, `debugging-phase`, `review-phase`, `resolve-debt-phase`, and `docs-ingest-phase` as global orchestration entrypoints only.",
56764
+ "- Never put phase skills in scoped `AGENTS.md` primary-skill lines. Keep `finder-phase`, `requirements-phase`, `delivery-phase`, `debugging-phase`, `review-phase`, `resolve-debt-phase`, and `docs-ingest-phase` as global orchestration entrypoints only.",
56744
56765
  "- Follow with one short paragraph defining the scope boundary: what belongs here vs elsewhere.",
56745
56766
  "- Treat every authored `AGENTS.md` file as the neutral source of truth and create a sibling `CLAUDE.md` symlink mirror that points to it.",
56746
56767
  "- Add `opensrc` / source-inspection guidance only when this scope actually needs it.",
@@ -0,0 +1,42 @@
1
+ ---
2
+ name: wayfinder
3
+ description: Route a foggy frontier into the next planning kind. 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 before backlog writing.
4
+ ---
5
+
6
+ # Wayfinder
7
+
8
+ Lean route-selection primitive for unclear work.
9
+
10
+ `wayfinder` decides the next work kind. It does not write provider payloads, create specs, plan implementation, or own backlog schema. Use `write-backlog` when the route must become provider items.
11
+
12
+ ## Route Selection
13
+
14
+ 1. Name the frontier.
15
+ - Capture the loose idea, current evidence, and why it is too foggy or broad for immediate delivery.
16
+
17
+ 2. Inspect the current operating surface.
18
+ - Prefer provider backlog state when available.
19
+ - Treat docs, specs, grill logs, and notes as evidence, not the living map.
20
+
21
+ 3. Classify the next item kind.
22
+ - `fog`: root-level uncertainty; no module or execution shape is clear yet.
23
+ - `grilling`: a human decision must close ambiguity.
24
+ - `research`: readonly investigation can answer the unknown.
25
+ - `prototype`: learning requires an artifact or experiment.
26
+ - `epic`: accepted implementation capability can anchor one future `SPEC.md`.
27
+ - `story`: accepted product-facing slice belongs under an epic.
28
+
29
+ 4. Choose placement.
30
+ - Keep `fog` at the backlog root.
31
+ - For every non-fog kind, choose or propose a module/milestone first.
32
+ - Keep stories under epics.
33
+
34
+ 5. Return a route.
35
+ - State the selected kind, placement, evidence, unresolved questions, and recommended next skill.
36
+
37
+ ## Completion Criteria
38
+
39
+ - One route is selected.
40
+ - The selected kind is one of `fog`, `grilling`, `research`, `prototype`, `epic`, or `story`.
41
+ - Provider materialization is explicitly delegated to `write-backlog` when backlog writes are needed.
42
+ - The handoff says whether the next move is requirements, research, prototype, backlog writing, spec creation, or delivery.
@@ -1,5 +1,27 @@
1
1
  # Write Backlog Examples
2
2
 
3
+ ## From wayfinder route to backlog
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
+
3
25
  ## From discussion to backlog
4
26
 
5
27
  Input:
@@ -4,17 +4,24 @@
4
4
 
5
5
  `write-backlog` is the canonical backlog-authoring skill for this repo.
6
6
 
7
- It turns a large requirements discussion into:
7
+ It turns wayfinder routes, requirements discussions, grill artifacts, and accepted decisions into first-class backlog items.
8
8
 
9
- - modules
10
- - epics
11
- - stories
12
- - native ordering relations
9
+ Supported `kind` values:
10
+
11
+ - `fog`
12
+ - `grilling`
13
+ - `research`
14
+ - `prototype`
15
+ - `epic`
16
+ - `story`
13
17
 
14
18
  It does not write specs, plans, or execution handoffs.
15
19
 
16
20
  Downstream contract:
17
21
 
22
+ - every supported `kind` is visible, assignable, searchable, linkable, and closeable in the target provider
23
+ - `fog` is root-level only
24
+ - concrete `grilling`, `research`, `prototype`, `epic`, and `story` items live under a module/milestone
18
25
  - one epic maps to one future `SPEC.md`
19
26
  - child stories remain the product-facing slices beneath that epic
20
27
  - `PLAN.md` later decomposes execution without replacing the backlog model
@@ -26,6 +33,8 @@ Downstream contract:
26
33
  - a raw requirements discussion
27
34
  - an existing messy backlog
28
35
  - `requirements-grill` artifacts from `/Users/stefan/Desktop/repos/weareDevpunks-multiplai/.agents/skills/requirements-grill`
36
+ - `wayfinder` or `finder-phase` route decisions
37
+ - accepted research, prototype, or grilling closure notes
29
38
 
30
39
  When grill artifacts exist, treat them as the highest-signal structured source for backlog derivation.
31
40
 
@@ -76,36 +85,81 @@ If the grill is still materially open:
76
85
 
77
86
  ## Canonical model
78
87
 
79
- Use this hierarchy:
88
+ Use this model:
80
89
 
81
- - module
82
- - epic
83
- - story
90
+ ```text
91
+ Backlog root
92
+ fog
93
+ module/milestone
94
+ grilling
95
+ research
96
+ prototype
97
+ epic
98
+ story
99
+ ```
84
100
 
85
101
  Provider mapping:
86
102
 
103
+ - kind -> provider-native single-value kind storage where available
104
+ - fog -> root-level issue/work item/item
87
105
  - module -> milestone or provider-equivalent grouping
88
- - epic -> parent issue/work item/capability record
89
- - story -> child issue/sub-issue/work item
106
+ - grilling/research/prototype -> module/milestone-scoped issue/work item/item
107
+ - epic -> module/milestone-scoped parent issue/work item/capability record
108
+ - story -> child issue/sub-issue/work item under an epic
90
109
 
91
110
  monday.com mapping:
92
111
 
112
+ - fog -> root/backlog group item or root planning group item
93
113
  - module/milestone -> board group
114
+ - grilling/research/prototype -> parent item in a module group
94
115
  - epic/capability -> parent item
95
116
  - story -> subitem
96
117
  - story ordering -> dependency column when present
97
118
 
98
119
  Rules:
99
120
 
100
- - every story must be independently understandable
101
- - every story must describe product behavior, not implementation chores
121
+ - every supported kind must be a first-class backlog item
122
+ - `kind` is separate from workflow state, module grouping, and parent/child hierarchy
123
+ - `fog` must not have child tickets by default
124
+ - concrete non-fog items must first choose or create a module/milestone
125
+ - `grilling`, `research`, and `prototype` must close into accepted decisions before they create or update implementation epics/stories
126
+ - every story must be independently understandable and product-facing
102
127
  - one epic may contain multiple stories
103
128
  - one epic maps to one future `SPEC.md`
104
129
  - one story does not imply one future `SPEC.md`
105
130
 
106
131
  ## Body ownership
107
132
 
108
- Backlog bodies stay product-facing.
133
+ Backlog bodies stay product-facing and kind-appropriate.
134
+
135
+ Fog bodies may include:
136
+
137
+ - unclear frontier
138
+ - why it is not yet module-scoped
139
+ - suspected modules or outcomes
140
+ - next route candidates
141
+
142
+ Grilling bodies may include:
143
+
144
+ - decision question
145
+ - context
146
+ - options
147
+ - branch/artifact links
148
+ - closure note with accepted answer and downstream items
149
+
150
+ Research bodies may include:
151
+
152
+ - research question
153
+ - evidence sources
154
+ - answer criteria
155
+ - closure note with evidence and downstream items
156
+
157
+ Prototype bodies may include:
158
+
159
+ - learning goal
160
+ - artifact expectations
161
+ - acceptance signal for the prototype result
162
+ - closure note with artifact links and downstream items
109
163
 
110
164
  Epic bodies may include:
111
165
 
@@ -122,7 +176,7 @@ Story bodies may include:
122
176
  - links
123
177
  - approved artifact links or durable visual asset links when they are acceptance context
124
178
 
125
- Do not put these in epic or story bodies:
179
+ Do not put these in backlog bodies:
126
180
 
127
181
  - plan task ids
128
182
  - TDD targets
@@ -145,13 +199,24 @@ Avoid:
145
199
  - fake ordering labels when native blockers exist
146
200
  - using plan tasks as backlog children
147
201
 
148
- ## Derivation workflow
202
+ ## Kind selection workflow
203
+
204
+ ### 1. Decide whether the frontier is still fog
205
+
206
+ Use `fog` when the work is real but not yet sharp enough to choose a module/milestone or concrete learning/implementation ticket.
149
207
 
150
- ### 1. Derive modules
208
+ Do not use `fog` as:
151
209
 
152
- Split the requirements discussion into durable capability groups that would still make sense if implementation order changed.
210
+ - a parent for research or grilling tickets
211
+ - delivery scope
212
+ - a `SPEC.md` anchor
213
+ - an execution container
153
214
 
154
- Good module:
215
+ ### 2. Derive modules
216
+
217
+ For concrete non-fog work, split the discussion into durable capability groups that would still make sense if implementation order changed.
218
+
219
+ Good module/milestone:
155
220
 
156
221
  - intake and review
157
222
  - account lifecycle
@@ -162,7 +227,17 @@ Bad module:
162
227
  - backend foundation
163
228
  - frontend polish
164
229
 
165
- ### 2. Derive epics
230
+ ### 3. Derive learning items
231
+
232
+ Use these before implementation scope is accepted:
233
+
234
+ - `grilling`: the blocker is a human decision.
235
+ - `research`: readonly investigation can answer it.
236
+ - `prototype`: artifact-driven learning is needed.
237
+
238
+ Each item must live under a module/milestone and close with an accepted decision note before changing epics/stories.
239
+
240
+ ### 4. Derive epics
166
241
 
167
242
  Within each module, create epics/capabilities that will later justify one coherent spec.
168
243
 
@@ -176,7 +251,7 @@ Bad epic:
176
251
  - database schema
177
252
  - API routes
178
253
 
179
- ### 3. Derive stories
254
+ ### 5. Derive stories
180
255
 
181
256
  Break each epic into stories only when the slice is product-facing and independently observable.
182
257
 
@@ -190,7 +265,7 @@ Bad story:
190
265
  - add column and router
191
266
  - create mutation and form hook
192
267
 
193
- ### 4. Add native order
268
+ ### 6. Add native order
194
269
 
195
270
  Only add blockers when one story truly depends on another story outcome.
196
271
 
@@ -223,6 +298,17 @@ Do not:
223
298
  - treat partially closed branches as committed epic scope by default
224
299
  - ignore canonical terminology captured in the grill log
225
300
 
301
+ ## Closure and handoff
302
+
303
+ For `grilling`, `research`, and `prototype`, closure notes must include:
304
+
305
+ - answer
306
+ - accepted direction
307
+ - artifacts or evidence
308
+ - created or updated epics/stories
309
+
310
+ Do not create or update implementation `epic` or `story` items from unresolved learning work.
311
+
226
312
  ## Handoff to `create-spec`
227
313
 
228
314
  When `create-spec` is given a backlog-backed epic:
@@ -234,13 +320,14 @@ When `create-spec` is given a backlog-backed epic:
234
320
 
235
321
  ## Provider policy
236
322
 
237
- This skill documents raw provider create/setup payloads only.
323
+ This skill documents raw provider create/setup payloads and provider-native kind storage.
238
324
 
239
325
  In scope:
240
326
 
241
327
  - create issue/work item payload shapes
242
328
  - create provider containers needed for the canonical hierarchy
243
329
  - required vs optional fields
330
+ - how `kind` appears at creation time
244
331
  - how module/epic/story intent appears at creation time
245
332
 
246
333
  Out of scope:
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: write-backlog
3
- description: Turns a large requirements discussion into a canonical backlog hierarchy of module/milestone -> epic/capability -> story and documents provider-specific backlog creation payloads. Use when structuring backlog from discovery, breaking requirements into milestones/epics/stories, consuming `requirements-grill` artifacts like `*-grill-log.md` and `*-grill-status.md`, or preparing Linear, GitHub Projects/Issues, Azure DevOps, or monday.com creation payloads.
3
+ description: Materialize canonical backlog kinds into provider-native items. Use when structuring fog, grilling, research, prototype, epic, or story items from discovery, wayfinder routes, requirements-grill artifacts, accepted decisions, or Linear, GitHub Projects V2, Azure DevOps, or monday.com payload needs.
4
4
  ---
5
5
 
6
6
  # Write Backlog
@@ -11,28 +11,44 @@ description: Turns a large requirements discussion into a canonical backlog hier
11
11
  2. If `requirements-grill` artifacts exist, read `*-grill-status.md` first and `*-grill-log.md` second.
12
12
  3. If subagents are available and the source material is large, use `requirements-synthesizer` to compress accepted, rejected, superseded, parked, and unresolved decisions.
13
13
  4. If subagents are available, use `backlog-shaper` for a draft module/epic/story hierarchy; keep final backlog judgment in the parent thread.
14
- 5. Derive modules first, then epics, then stories.
15
- 6. Apply the item-count rule before finalizing the hierarchy.
16
- 7. Make story ordering explicit with native dependency primitives when the provider supports them.
17
- 8. Keep epic and story bodies product-facing.
18
- 9. When approved design/prototype artifacts are source material, preserve approved artifact context and durable links in the relevant backlog items.
19
- 10. For visual assets, use `repo-asset-management`: prefer backlog attachments first, then repo-provider fallback links when attachments are unavailable or unsuitable.
20
- 11. Read the matching provider payload asset before generating or syncing create payloads.
21
- 12. Stop after the backlog structure and create payload guidance are complete.
14
+ 5. Derive the item kind first: `fog`, `grilling`, `research`, `prototype`, `epic`, or `story`.
15
+ 6. Place `fog` at the backlog root; place concrete `grilling`, `research`, `prototype`, `epic`, and `story` items under a module/milestone.
16
+ 7. Preserve delivery semantics: epics anchor future `SPEC.md`; stories remain product-facing children of epics.
17
+ 8. Apply the item-count rule before finalizing implementation epics/stories.
18
+ 9. Make story ordering explicit with native dependency primitives when the provider supports them.
19
+ 10. Keep all item bodies product-facing and appropriate to their kind.
20
+ 11. When approved design/prototype artifacts are source material, preserve approved artifact context and durable links in the relevant backlog items.
21
+ 12. For visual assets, use `repo-asset-management`: prefer backlog attachments first, then repo-provider fallback links when attachments are unavailable or unsuitable.
22
+ 13. Read the matching provider payload asset before generating or syncing create payloads.
23
+ 14. Stop after the backlog structure and create payload guidance are complete.
22
24
 
23
25
  ## Item-count rule
24
26
 
25
27
  Within durable modules, produce the fewest epics and stories that preserve all accepted requirements. Split only when merging would lose a distinct product outcome, acceptance signal, dependency, provider boundary, or future `SPEC.md` boundary; otherwise fold requirements into the existing item body as scope, constraints, or acceptance signals.
26
28
 
29
+ ## Kind taxonomy
30
+
31
+ Every supported kind is a first-class provider backlog item that is visible, assignable, searchable, linkable, and closeable.
32
+
33
+ - `fog`: root-level uncertainty; not delivery-eligible, not a `SPEC.md` anchor, and not an execution container.
34
+ - `grilling`: module/milestone-scoped human decision work.
35
+ - `research`: module/milestone-scoped readonly fact-finding.
36
+ - `prototype`: module/milestone-scoped artifact or experiment learning.
37
+ - `epic`: module/milestone-scoped accepted implementation capability; anchors one future `SPEC.md`.
38
+ - `story`: product-facing accepted implementation slice under one epic.
39
+
40
+ `grilling`, `research`, and `prototype` close with an accepted decision note naming the answer, accepted direction, artifacts or evidence, and created or updated epics/stories.
41
+
27
42
  ## Workflows
28
43
 
29
44
  ### From a large requirements discussion
30
45
 
31
46
  1. Normalize the input into durable modules.
32
47
  2. Turn each module into a milestone or provider-equivalent container.
33
- 3. Create epic/capability items that each map to one future `SPEC.md`.
34
- 4. Break each epic into independently observable child stories.
35
- 5. Add native blockers between stories when order matters.
48
+ 3. Create learning or uncertainty items when scope is not yet accepted.
49
+ 4. Create epic/capability items only when implementation scope is accepted enough to map to one future `SPEC.md`.
50
+ 5. Break each epic into independently observable child stories.
51
+ 6. Add native blockers between stories when order matters.
36
52
 
37
53
  ### From `requirements-grill` artifacts
38
54
 
@@ -56,8 +72,8 @@ Within durable modules, produce the fewest epics and stories that preserve all a
56
72
 
57
73
  1. Read the current hierarchy and item bodies first.
58
74
  2. Collapse technical chores back into product-facing stories when possible.
59
- 3. Rebuild module -> epic -> story structure.
60
- 4. Keep execution detail out of epic and story bodies.
75
+ 3. Rebuild root fog plus module/milestone -> concrete item structure.
76
+ 4. Keep execution detail out of backlog bodies.
61
77
 
62
78
  ### Provider payload selection
63
79
 
@@ -1,16 +1,82 @@
1
1
  # Backlog Model
2
2
 
3
- ## Canonical hierarchy
4
-
5
- - module
6
- - epic
7
- - story
3
+ ## Canonical model
4
+
5
+ ```text
6
+ Backlog root
7
+ fog
8
+ module/milestone
9
+ grilling
10
+ research
11
+ prototype
12
+ epic
13
+ story
14
+ ```
8
15
 
9
16
  Provider mapping:
10
17
 
18
+ - kind -> provider-native single-value kind storage where available
19
+ - fog -> root-level first-class backlog item
11
20
  - module -> milestone or equivalent grouping
12
- - epic -> parent issue / capability item
13
- - story -> child issue / sub-issue / child work item
21
+ - grilling -> module/milestone-scoped first-class decision item
22
+ - research -> module/milestone-scoped first-class investigation item
23
+ - prototype -> module/milestone-scoped first-class learning item
24
+ - epic -> module/milestone-scoped parent issue / capability item
25
+ - story -> child issue / sub-issue / child work item under an epic
26
+
27
+ Every supported kind must be visible, assignable, searchable, linkable, and closeable in the target provider.
28
+
29
+ ## Kind contract
30
+
31
+ `kind` values:
32
+
33
+ - `fog`
34
+ - `grilling`
35
+ - `research`
36
+ - `prototype`
37
+ - `epic`
38
+ - `story`
39
+
40
+ `kind` is separate from:
41
+
42
+ - workflow state
43
+ - module/milestone grouping
44
+ - parent/child hierarchy
45
+ - provider issue type, unless the provider requires that type for structure
46
+
47
+ Labels and tags may mirror `kind`, but they are not canonical when a provider-native field exists.
48
+
49
+ ## Fog contract
50
+
51
+ One fog item:
52
+
53
+ - lives at the backlog root
54
+ - tracks a real but not-yet-sharp area of uncertainty
55
+ - anticipates future modules, tickets, epics, and stories
56
+
57
+ One fog item must not:
58
+
59
+ - be delivery-eligible
60
+ - be a `SPEC.md` anchor
61
+ - become an execution container
62
+ - own child tickets by default
63
+
64
+ Sharpening fog first chooses or creates a module/milestone, then creates concrete non-fog items there.
65
+
66
+ ## Learning item contract
67
+
68
+ `grilling`, `research`, and `prototype` items:
69
+
70
+ - live under a module/milestone
71
+ - represent decision, investigation, or artifact-learning work
72
+ - close before implementation scope changes
73
+
74
+ Closure notes include:
75
+
76
+ - answer
77
+ - accepted direction
78
+ - artifacts or evidence
79
+ - created or updated epics/stories
14
80
 
15
81
  ## Ownership boundaries
16
82
 
@@ -31,6 +97,7 @@ One epic must not:
31
97
  - become an execution board
32
98
  - duplicate the whole future `PLAN.md`
33
99
  - be reduced to a pure label/container with no capability meaning
100
+ - absorb unresolved grilling, research, or prototype work as if it were accepted scope
34
101
 
35
102
  ## Story contract
36
103
 
@@ -1,4 +1,110 @@
1
- # Epic And Story Shape
1
+ # Backlog Item Body Shape
2
+
3
+ ## Shared rules
4
+
5
+ Keep every backlog item body product-facing and kind-appropriate.
6
+
7
+ All bodies may include durable source links, accepted evidence, and closure notes. Do not include execution plans, file-level implementation notes, or validation commands.
8
+
9
+ ## Fog body
10
+
11
+ Use a short root-level body.
12
+
13
+ Recommended sections:
14
+
15
+ ```md
16
+ ## Frontier
17
+
18
+ [What is real but still unclear]
19
+
20
+ ## Why This Is Fog
21
+
22
+ - ...
23
+
24
+ ## Suspected Directions
25
+
26
+ - ...
27
+
28
+ ## Next Route
29
+
30
+ - `grilling` | `research` | `prototype` | `epic`
31
+ ```
32
+
33
+ Fog bodies must not define child tickets or delivery scope.
34
+
35
+ ## Grilling body
36
+
37
+ Recommended sections:
38
+
39
+ ```md
40
+ ## Decision
41
+
42
+ [The human decision to close]
43
+
44
+ ## Context
45
+
46
+ - ...
47
+
48
+ ## Options
49
+
50
+ - ...
51
+
52
+ ## Closure
53
+
54
+ Answer:
55
+ Accepted direction:
56
+ Artifacts:
57
+ Created or updated implementation items:
58
+ ```
59
+
60
+ ## Research body
61
+
62
+ Recommended sections:
63
+
64
+ ```md
65
+ ## Question
66
+
67
+ [The fact to establish]
68
+
69
+ ## Evidence Sources
70
+
71
+ - ...
72
+
73
+ ## Answer Criteria
74
+
75
+ - ...
76
+
77
+ ## Closure
78
+
79
+ Answer:
80
+ Evidence:
81
+ Accepted direction:
82
+ Created or updated implementation items:
83
+ ```
84
+
85
+ ## Prototype body
86
+
87
+ Recommended sections:
88
+
89
+ ```md
90
+ ## Learning Goal
91
+
92
+ [What the artifact must teach]
93
+
94
+ ## Artifact Expectations
95
+
96
+ - ...
97
+
98
+ ## Result Signal
99
+
100
+ - ...
101
+
102
+ ## Closure
103
+
104
+ Artifacts:
105
+ Accepted direction:
106
+ Created or updated implementation items:
107
+ ```
2
108
 
3
109
  ## Epic body
4
110
 
@@ -54,7 +160,7 @@ Recommended sections:
54
160
 
55
161
  ## Body anti-patterns
56
162
 
57
- Do not put these in epic or story bodies:
163
+ Do not put these in backlog bodies:
58
164
 
59
165
  - `Plan task: T123`
60
166
  - `TDD target`
@@ -30,7 +30,12 @@ Azure DevOps creates work items with a JSON Patch document.
30
30
  {
31
31
  "op": "add",
32
32
  "path": "/fields/System.Tags",
33
- "value": "workflow;review"
33
+ "value": "workflow;review;kind:story"
34
+ },
35
+ {
36
+ "op": "add",
37
+ "path": "/fields/Custom.DevpunksKind",
38
+ "value": "story"
34
39
  }
35
40
  ]
36
41
  ```
@@ -49,15 +54,36 @@ Azure DevOps creates work items with a JSON Patch document.
49
54
  - `/fields/System.Tags`
50
55
  - `/fields/System.AreaPath`
51
56
  - `/fields/System.IterationPath`
57
+ - `/fields/Custom.DevpunksKind`
58
+
59
+ ## Kind storage
60
+
61
+ Canonical `kind` storage is a custom picklist field such as `Custom.DevpunksKind`.
62
+
63
+ Allowed values:
64
+
65
+ - `fog`
66
+ - `grilling`
67
+ - `research`
68
+ - `prototype`
69
+ - `epic`
70
+ - `story`
71
+
72
+ Use Work Item Type for provider structure, not canonical Harness kind. Tags may mirror kind for search compatibility, but `Custom.DevpunksKind` is the source when it exists.
52
73
 
53
74
  ## Repo mapping
54
75
 
76
+ - fog -> root-level work item with `Custom.DevpunksKind = fog`
55
77
  - module -> area/iteration or team-specific planning container
56
- - epic -> work item type chosen by your process, often `Epic` or `Feature`
57
- - story -> work item type chosen by your process, often `User Story`, `Product Backlog Item`, or `Task`
78
+ - grilling -> module/milestone-scoped work item with `Custom.DevpunksKind = grilling`
79
+ - research -> module/milestone-scoped work item with `Custom.DevpunksKind = research`
80
+ - prototype -> module/milestone-scoped work item with `Custom.DevpunksKind = prototype`
81
+ - epic -> work item type chosen by your process, often `Epic` or `Feature`, with `Custom.DevpunksKind = epic`
82
+ - story -> child work item chosen by your process, often `User Story`, `Product Backlog Item`, or `Task`, with `Custom.DevpunksKind = story`
58
83
 
59
84
  ## Notes
60
85
 
61
86
  - Azure DevOps create requests are process-dependent. The exact work item type names available in `{type}` depend on the project template and process.
62
87
  - This asset documents the raw create payload shape, not a universal field catalog for every process.
88
+ - If `Custom.DevpunksKind` does not exist, create a project/process custom picklist field before backlog sync or record the provider setup blocker.
63
89
  - Parent/child and dependency relations may require additional relation operations or follow-up requests depending on your process conventions. Keep those separate from the minimal create-only contract documented here.
@@ -48,12 +48,27 @@ mutation CreateBacklogProject($ownerId: ID!, $repositoryId: ID!, $title: String!
48
48
 
49
49
  Expected Project fields:
50
50
 
51
- - `Level`: single-select values `Epic`, `Story`
51
+ - `Kind`: Project custom single-select field named `Kind` with values `fog`, `grilling`, `research`, `prototype`, `epic`, `story`
52
52
  - `Module/Milestone`: text or single-select
53
53
  - `Epic`: text, storing the epic issue number/title for story rows
54
54
 
55
55
  Create missing fields with `createProjectV2Field`; set values with `updateProjectV2ItemFieldValue`.
56
56
 
57
+ ## Kind storage
58
+
59
+ Canonical `kind` storage is the Project custom single-select field named `Kind`.
60
+
61
+ Allowed values:
62
+
63
+ - `fog`
64
+ - `grilling`
65
+ - `research`
66
+ - `prototype`
67
+ - `epic`
68
+ - `story`
69
+
70
+ Avoid GitHub Issue Type as the default kind storage. Issue types are organization-level and better for broad org taxonomy. Labels may mirror kind for compatibility, but `Kind` is canonical when the Project field exists.
71
+
57
72
  ## Create missing milestones
58
73
 
59
74
  Use repository milestones for the module/milestone container.
@@ -86,6 +101,26 @@ Required field:
86
101
  For GraphQL issue creation, use the returned milestone node ID as `milestoneId`.
87
102
  For REST issue creation, use the returned milestone number as `milestone`.
88
103
 
104
+ ## Create a fog issue
105
+
106
+ Use a root-level issue for fog. Add it to the Project V2 at creation time. Do not assign it to an epic parent.
107
+
108
+ After creation, set Project fields:
109
+
110
+ - `Kind = fog`
111
+ - `Module/Milestone` empty or root/backlog value
112
+
113
+ ## Create grilling, research, or prototype issues
114
+
115
+ Use first-class issues in the matching module/milestone. These are not child stories unless the provider explicitly needs a parent for visibility.
116
+
117
+ After creation, set Project fields:
118
+
119
+ - `Kind = grilling`, `Kind = research`, or `Kind = prototype`
120
+ - `Module/Milestone = <module title>`
121
+
122
+ Closure notes for these issues must name the answer, accepted direction, artifacts or evidence, and created or updated epics/stories.
123
+
89
124
  ## Create an epic issue
90
125
 
91
126
  Use a parent issue for each epic/capability. Add it to the Project V2 at creation time.
@@ -125,7 +160,7 @@ Epic body ownership:
125
160
 
126
161
  After creation, set Project fields:
127
162
 
128
- - `Level = Epic`
163
+ - `Kind = epic`
129
164
  - `Module/Milestone = <module title>`
130
165
 
131
166
  ## Create story issues
@@ -171,7 +206,7 @@ Story body ownership:
171
206
 
172
207
  After creation, set Project fields:
173
208
 
174
- - `Level = Story`
209
+ - `Kind = story`
175
210
  - `Module/Milestone = <module title>`
176
211
  - `Epic = <epic issue number/title>`
177
212
 
@@ -212,10 +247,11 @@ mutation AddBlockedBy($issueId: ID!, $blockingIssueId: ID!) {
212
247
  2. Resolve Project V2 by title; create it if absent.
213
248
  3. Resolve or create Project fields.
214
249
  4. Resolve or create repository milestones for modules.
215
- 5. Create epic parent issues with `projectV2Ids` and `milestoneId`.
216
- 6. Create story child issues with `parentIssueId`, `projectV2Ids`, and `milestoneId`.
217
- 7. Set Project field values for level/module/epic grouping.
218
- 8. Add native issue dependencies for real story blockers.
250
+ 5. Create root fog issues when the route remains root-level.
251
+ 6. Create grilling, research, prototype, or epic issues with `projectV2Ids` and `milestoneId`.
252
+ 7. Create story child issues with `parentIssueId`, `projectV2Ids`, and `milestoneId`.
253
+ 8. Set Project field values for kind/module/epic grouping.
254
+ 9. Add native issue dependencies for real story blockers.
219
255
 
220
256
  ## Notes
221
257
 
@@ -39,7 +39,7 @@ mutation IssueCreate($input: IssueCreateInput!) {
39
39
  "projectId": "PROJECT_UUID",
40
40
  "parentId": "EPIC_UUID",
41
41
  "priority": 2,
42
- "labelIds": ["LABEL_UUID"],
42
+ "labelIds": ["KIND_STORY_LABEL_UUID"],
43
43
  "stateId": "STATE_UUID",
44
44
  "dueDate": "2026-05-01"
45
45
  }
@@ -62,15 +62,37 @@ mutation IssueCreate($input: IssueCreateInput!) {
62
62
  - `stateId`
63
63
  - `dueDate`
64
64
 
65
+ ## Kind storage
66
+
67
+ Canonical `kind` storage is a single-select Linear label group.
68
+
69
+ Use one label from the `Kind` group:
70
+
71
+ - `Kind/fog`
72
+ - `Kind/grilling`
73
+ - `Kind/research`
74
+ - `Kind/prototype`
75
+ - `Kind/epic`
76
+ - `Kind/story`
77
+
78
+ Linear label groups allow only one label from the group per issue. Do not use workflow state as kind. Other labels may mirror domain or module metadata, but the `Kind/...` label is canonical.
79
+
65
80
  ## Repo mapping
66
81
 
82
+ - fog -> root-level issue with `Kind/fog`; no parent, no module milestone required until sharpened
67
83
  - module -> Linear project milestone
68
- - epic -> top-level issue
69
- - story -> child issue created with `parentId`
84
+ - grilling -> module/milestone-scoped issue with `Kind/grilling`
85
+ - research -> module/milestone-scoped issue with `Kind/research`
86
+ - prototype -> module/milestone-scoped issue with `Kind/prototype`
87
+ - epic -> top-level issue with `Kind/epic`
88
+ - story -> child issue created with `parentId` and `Kind/story`
89
+
90
+ `grilling`, `research`, and `prototype` closure notes must name the answer, accepted direction, artifacts or evidence, and created or updated epics/stories.
70
91
 
71
92
  ## Notes
72
93
 
73
94
  - Linear issues belong to a single team.
74
95
  - If `stateId` is omitted, Linear assigns the team’s default backlog or triage state.
96
+ - If the `Kind` label group is absent, create or request it before backlog sync.
75
97
  - Linear’s GraphQL schema is introspectable. If you need a workspace-specific or newly-added create field, inspect `IssueCreateInput` before hardcoding it.
76
98
  - Project milestone assignment is part of project-backed issue creation in Linear. Treat the current schema or SDK types as the source of truth for the exact milestone input field name in your workspace version.
@@ -10,7 +10,9 @@ Use monday.com boards, groups, items, subitems, and dependency columns together.
10
10
 
11
11
  Canonical mapping:
12
12
 
13
+ - fog -> first-class root/backlog item
13
14
  - module/milestone -> board group
15
+ - grilling/research/prototype -> parent item in a module group
14
16
  - epic/capability -> parent item
15
17
  - story -> subitem under the epic item
16
18
  - story ordering -> dependency column when present
@@ -25,15 +27,59 @@ Before creating or updating items on a board, inspect board metadata with the co
25
27
 
26
28
  Expected board shape:
27
29
 
30
+ - dedicated Status or Dropdown column named `Kind`
31
+ - `Kind` labels/options: `fog`, `grilling`, `research`, `prototype`, `epic`, `story`
28
32
  - one group per module/milestone
29
33
  - parent items for epics/capabilities
30
34
  - subitems for stories
31
- - optional `Level` status or dropdown values `Epic` and `Story`
32
35
  - optional `Module/Milestone` text/dropdown when groups alone are not enough
33
36
  - optional dependency column for story blockers
34
37
 
35
38
  If the target group for a module is missing, create it before creating epic items.
36
39
 
40
+ ## Kind storage
41
+
42
+ Canonical `kind` storage is a dedicated Status or Dropdown column named `Kind`.
43
+
44
+ Allowed values:
45
+
46
+ - `fog`
47
+ - `grilling`
48
+ - `research`
49
+ - `prototype`
50
+ - `epic`
51
+ - `story`
52
+
53
+ Keep workflow state in a separate Status column. Do not overload status labels such as `Working` or `Done` as kind.
54
+
55
+ ## Create a fog item
56
+
57
+ Create fog as a first-class backlog item at the root/backlog group. Do not create child tickets under fog.
58
+
59
+ Tool:
60
+
61
+ ```json
62
+ {
63
+ "tool": "@monday-com.create_item",
64
+ "arguments": {
65
+ "boardId": 123456789,
66
+ "groupId": "backlog",
67
+ "name": "Clarify partner onboarding surface",
68
+ "columnValues": "{\"long_text\":\"Frontier: ...\\n\\nWhy this is fog: ...\",\"kind\":{\"label\":\"fog\"}}"
69
+ }
70
+ }
71
+ ```
72
+
73
+ Use the actual `Kind` column ID from board metadata in place of `kind`.
74
+
75
+ ## Create grilling, research, or prototype items
76
+
77
+ Create each learning item as a first-class parent item in the matching module group.
78
+
79
+ Set the `Kind` column to `grilling`, `research`, or `prototype`.
80
+
81
+ Closure notes must name the answer, accepted direction, artifacts or evidence, and created or updated epics/stories.
82
+
37
83
  ## Create a module group
38
84
 
39
85
  Tool:
@@ -65,10 +111,10 @@ Tool:
65
111
  {
66
112
  "tool": "@monday-com.create_item",
67
113
  "arguments": {
68
- "boardId": 123456789,
69
- "groupId": "topics",
70
- "name": "Submission lifecycle management",
71
- "columnValues": "{\"long_text\":\"Outcome: ...\\n\\nScope: ...\\n\\nCross-story constraints: ...\",\"status\":{\"label\":\"Epic\"}}"
114
+ "boardId": 123456789,
115
+ "groupId": "topics",
116
+ "name": "Submission lifecycle management",
117
+ "columnValues": "{\"long_text\":\"Outcome: ...\\n\\nScope: ...\\n\\nCross-story constraints: ...\",\"kind\":{\"label\":\"epic\"}}"
72
118
  }
73
119
  }
74
120
  ```
@@ -93,10 +139,10 @@ Tool:
93
139
  {
94
140
  "tool": "@monday-com.create_item",
95
141
  "arguments": {
96
- "boardId": 123456789,
97
- "parentItemId": 987654321,
98
- "name": "Lead reassigns ownership to another reviewer",
99
- "columnValues": "{\"long_text\":\"Outcome: ...\\n\\nAcceptance signals: ...\\n\\nNon-goals: ...\",\"status\":{\"label\":\"Story\"}}"
142
+ "boardId": 123456789,
143
+ "parentItemId": 987654321,
144
+ "name": "Lead reassigns ownership to another reviewer",
145
+ "columnValues": "{\"long_text\":\"Outcome: ...\\n\\nAcceptance signals: ...\\n\\nNon-goals: ...\",\"kind\":{\"label\":\"story\"}}"
100
146
  }
101
147
  }
102
148
  ```
@@ -133,14 +179,17 @@ Tool:
133
179
 
134
180
  1. Resolve board ID.
135
181
  2. Inspect board metadata.
136
- 3. Resolve or create groups for modules/milestones.
137
- 4. Create epic parent items in the matching groups.
138
- 5. Create story subitems with `parentItemId`.
139
- 6. Set known board columns for level/module/epic metadata when available.
140
- 7. Add dependency-column values for real story blockers.
182
+ 3. Resolve or create the `Kind` Status or Dropdown column and allowed values.
183
+ 4. Resolve or create groups for modules/milestones.
184
+ 5. Create root fog items when needed.
185
+ 6. Create grilling, research, prototype, or epic parent items in the matching groups.
186
+ 7. Create story subitems with `parentItemId`.
187
+ 8. Set known board columns for kind/module/epic metadata when available.
188
+ 9. Add dependency-column values for real story blockers.
141
189
 
142
190
  ## Notes
143
191
 
144
192
  - monday.com column IDs and label names are board-specific. Always inspect the board before emitting final create payloads.
145
193
  - Groups are the primary milestone/module container. Use extra module columns only when the board already needs cross-group reporting.
194
+ - The `Kind` column is canonical for fog, grilling, research, prototype, epic, and story. Labels or other columns may mirror it, but workflow state remains separate.
146
195
  - Keep product backlog content in item/subitem bodies. Do not put plan tasks, file paths, validation commands, or implementation handoffs in monday.com backlog records.
@@ -0,0 +1,52 @@
1
+ ---
2
+ name: finder-phase
3
+ description: Route loose oversized foggy work before requirements or delivery. Use when an idea is too large for one agent session, wrapped in fog, or needs backlog-native frontier shaping before requirements-phase.
4
+ ---
5
+
6
+ # Finder Phase
7
+
8
+ Harness phase wrapper for backlog-native frontier routing.
9
+
10
+ Use this before `requirements-phase` when the work is too big and too foggy to grill directly. Compose the lean `wayfinder` primitive, then delegate backlog materialization to `write-backlog`.
11
+
12
+ ## Core Loop
13
+
14
+ 1. Establish the frontier.
15
+ - Name the loose idea, known evidence, backlog root, and any current fog or learning tickets.
16
+ - If the living backlog is unavailable, say so and use docs only as temporary evidence.
17
+
18
+ 2. Run route selection.
19
+ - Use `wayfinder` to classify the next kind: `fog`, `grilling`, `research`, `prototype`, `epic`, or `story`.
20
+ - Keep provider payload rules out of this phase.
21
+
22
+ 3. Place the route.
23
+ - Keep `fog` at the backlog root.
24
+ - For concrete non-fog work, choose or propose a module/milestone before backlog writing.
25
+ - Preserve epic/story delivery semantics.
26
+
27
+ 4. Materialize only when asked or already in scope.
28
+ - Use `write-backlog` for backlog taxonomy and provider payloads.
29
+ - Do not create provider tickets when the user asked only for routing.
30
+
31
+ 5. Close the frontier pass.
32
+ - Produce the updated frontier, selected route, evidence, open questions, and concise handoff.
33
+
34
+ ## Always-Needed Rules
35
+
36
+ - The backlog root is the living map; wiki and grill artifacts are evidence.
37
+ - `fog` is not delivery-eligible and is not a `SPEC.md` anchor.
38
+ - `grilling`, `research`, and `prototype` must close into accepted decisions before they create or update implementation epics or stories.
39
+ - `finder-phase` owns frontier lifecycle and root routing; `write-backlog` owns provider materialization.
40
+
41
+ ## References
42
+
43
+ - Frontier lifecycle: [references/frontier-lifecycle.md](references/frontier-lifecycle.md)
44
+ - Root routing: [references/root-routing.md](references/root-routing.md)
45
+ - Backlog taxonomy and provider materialization: use the `write-backlog` skill.
46
+
47
+ ## Completion Criteria
48
+
49
+ - The frontier is represented as backlog-root state or as a temporary evidence-backed handoff when provider state is unavailable.
50
+ - The next route is selected and placed.
51
+ - Any backlog writes were delegated to `write-backlog`.
52
+ - The final handoff names the next skill or phase and any unresolved blocker.
@@ -0,0 +1,70 @@
1
+ # Frontier Lifecycle
2
+
3
+ ## Purpose
4
+
5
+ The frontier is the visible set of unresolved uncertainty that must be routed before delivery scope is accepted.
6
+
7
+ The backlog root is the living map. Docs, specs, grill logs, and notes are evidence for updating that map.
8
+
9
+ ## States
10
+
11
+ ### Fog
12
+
13
+ - Root-level only.
14
+ - Tracks a real but not-yet-sharp area of uncertainty.
15
+ - Anticipates future modules, tickets, epics, and stories.
16
+ - Is not delivery-eligible.
17
+ - Is not a `SPEC.md` anchor.
18
+ - Does not own child tickets by default.
19
+
20
+ ### Grilling
21
+
22
+ - Module/milestone-scoped.
23
+ - Used when a human decision must close ambiguity.
24
+ - Closes with an accepted decision note before implementation scope changes.
25
+
26
+ ### Research
27
+
28
+ - Module/milestone-scoped.
29
+ - Used when readonly investigation can answer the unknown.
30
+ - Closes with answer, evidence, accepted direction, and created or updated implementation items when applicable.
31
+
32
+ ### Prototype
33
+
34
+ - Module/milestone-scoped.
35
+ - Used when learning needs an artifact, experiment, or throwaway proof.
36
+ - Closes with produced artifacts, accepted direction, and created or updated implementation items when applicable.
37
+
38
+ ### Epic
39
+
40
+ - Module/milestone-scoped.
41
+ - Accepted implementation capability.
42
+ - Anchors one future `SPEC.md`.
43
+
44
+ ### Story
45
+
46
+ - Child of one epic.
47
+ - Accepted product-facing implementation slice.
48
+ - Must not become a plan task or file chore.
49
+
50
+ ## Transition Rules
51
+
52
+ - Sharpening `fog` first chooses or creates a module/milestone, then creates concrete non-fog items there.
53
+ - `grilling`, `research`, and `prototype` do not become implementation scope silently.
54
+ - Closure notes for `grilling`, `research`, and `prototype` must include:
55
+ - answer
56
+ - accepted direction
57
+ - artifacts or evidence
58
+ - created or updated epics/stories
59
+ - Epic/story semantics stay strict even beside learning and uncertainty items.
60
+
61
+ ## Handoff Shape
62
+
63
+ Return:
64
+
65
+ - current frontier
66
+ - selected next kind
67
+ - chosen or proposed placement
68
+ - evidence used
69
+ - open blockers
70
+ - next skill or phase
@@ -0,0 +1,29 @@
1
+ # Root Routing
2
+
3
+ ## Trigger
4
+
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
+
7
+ Use this route when the first question is not "which requirement is unclear?" but "what kind of work is this frontier?"
8
+
9
+ ## Placement In Root Guidance
10
+
11
+ Keep root prompt guidance short:
12
+
13
+ - Foggy oversized work routes to `finder-phase` first.
14
+ - Unclear requirements inside a bounded topic route to `requirements-phase`.
15
+ - Accepted specs, issues, or plans route to `delivery-phase`.
16
+ - Runtime failures route to `debugging-phase`.
17
+ - Reviews route to `review-phase`.
18
+ - Docs learning after proven changes routes to `docs-ingest-phase`.
19
+
20
+ ## Boundary
21
+
22
+ `finder-phase` should not replace:
23
+
24
+ - `requirements-phase` for human decision closure inside a known topic.
25
+ - `parallel-research` for split-friendly readonly investigation.
26
+ - `prototype` for artifact-driven learning.
27
+ - `create-spec`, `create-plan`, or `delivery-phase` after implementation scope is accepted.
28
+
29
+ It chooses the route and updates the frontier handoff.
@@ -1,13 +1,16 @@
1
1
  ---
2
2
  name: goalify
3
- description: Goalify messy intent into a very lean `/goal` contract, activate it immediately, and continue execution under that goal.
3
+ description: Goalify messy intent by writing a very lean `/goal`, activating it immediately with the available goal tool, and continuing the user's task under that active goal.
4
4
  ---
5
5
 
6
6
  # Goalify
7
7
 
8
8
  `goalify` writes the smallest operating contract a goal-running Codex can adopt,
9
- then activates it immediately. It is a compiler, not a spec, handoff, or plan
10
- dump.
9
+ activates it immediately, then keeps working. It is a compiler, not a spec,
10
+ handoff, or plan dump.
11
+
12
+ Invocation is permission to activate now. Do not stop at printing a `/goal`
13
+ prompt or reporting the contract when a goal tool is available.
11
14
 
12
15
  Be very lean. Target the shortest contract that can run without re-asking.
13
16
  Hard limit: text after `/goal` must be non-empty and <= 4,000 characters. If
@@ -15,8 +18,8 @@ detail will not fit, point at a file instead of pasting overflow.
15
18
 
16
19
  ## Activation
17
20
 
18
- - Always activate spot on: write the goal, activate it with the available goal
19
- tool, then continue execution under that active goal.
21
+ - Always activate spot on: write the goal, call the available goal activation
22
+ tool immediately, then continue the user's task under that active goal.
20
23
  - If the task is tiny, unresolved, or lacks one objective, proof signal, and
21
24
  stop condition, ask one clarifying question.
22
25
  - If activation is unavailable, return the ready `/goal ...` prompt and name
@@ -46,8 +49,8 @@ paths, commands, ids, URLs, artifacts, and invariants.
46
49
  only if structure is needed.
47
50
  4. Check: one objective, explicit proof, stop/blocker conditions, no secrets, no
48
51
  vague "make it work", <= 4,000 characters.
49
- 5. Activate immediately. Report objective, proof surface, assumptions, and
50
- missing inputs, then execute.
52
+ 5. Activate immediately. After activation succeeds, continue execution; report
53
+ only what helps the active task move forward.
51
54
 
52
55
  ## Fallback Output
53
56
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@punks/cli",
3
- "version": "2.3.3",
3
+ "version": "2.4.0",
4
4
  "description": "Harness Intelligence scaffolding CLI",
5
5
  "bin": {
6
6
  "devpunks": "dist/index.js",