bokata 3.0.0-beta.6 → 3.0.0-beta.8

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.
Files changed (38) hide show
  1. package/.agents/skills/bokata-acceptance-criteria/SKILL.md +6 -6
  2. package/.agents/skills/bokata-feature-map/SKILL.md +4 -4
  3. package/.agents/skills/bokata-feature-map/resources/features-template.md +5 -5
  4. package/.agents/skills/bokata-feature-mapper/SKILL.md +1 -1
  5. package/.agents/skills/bokata-feature-slicer/SKILL.md +18 -13
  6. package/.agents/skills/bokata-feature-slicer/resources/breakdown-strategies.md +15 -7
  7. package/.agents/skills/bokata-feature-slicer/resources/output-template-bites.md +3 -3
  8. package/.agents/skills/bokata-feature-slicer/resources/{phase-2-increments.md → phase-2-options.md} +1 -1
  9. package/.agents/skills/bokata-feature-slicer/resources/phase-3-skeleton.md +7 -6
  10. package/.agents/skills/bokata-feature-slicer/resources/phase-4-bites.md +7 -7
  11. package/.agents/skills/bokata-plan/SKILL.md +30 -30
  12. package/.agents/skills/bokata-plan/resources/plan-template.md +13 -13
  13. package/.agents/skills/bokata-render/SKILL.md +20 -20
  14. package/.agents/skills/bokata-render/assets/story-map.html +86 -86
  15. package/.agents/skills/bokata-render/scripts/render.mjs +208 -178
  16. package/.agents/skills/bokata-shape/SKILL.md +2 -2
  17. package/.agents/skills/bokata-slice/SKILL.md +198 -120
  18. package/.agents/skills/bokata-slice/resources/appetite-template.md +71 -0
  19. package/.agents/skills/bokata-slice/resources/proposed-slices.md +50 -0
  20. package/.agents/skills/bokata-spec/SKILL.md +256 -0
  21. package/.agents/skills/bokata-spec/resources/slice-template.md +49 -0
  22. package/.agents/skills/bokata-status/SKILL.md +29 -29
  23. package/.agents/skills/bokata-tdd/SKILL.md +12 -12
  24. package/README.md +475 -320
  25. package/agents/bokata-product-designer.md +7 -7
  26. package/agents/bokata-product-engineer.md +10 -10
  27. package/agents/bokata-product-manager.md +8 -8
  28. package/agents/code-executor.md +25 -21
  29. package/agents/feature-slicer.md +1 -1
  30. package/bin/bokata.js +1 -1
  31. package/package.json +1 -1
  32. package/src/config.js +1 -1
  33. package/src/install.js +11 -4
  34. package/.agents/skills/bokata-inc/SKILL.md +0 -244
  35. package/.agents/skills/bokata-inc/resources/inc-template.md +0 -36
  36. package/.agents/skills/bokata-slice/resources/proposed-increments.md +0 -42
  37. package/.agents/skills/bokata-slice/resources/slice-template.md +0 -70
  38. /package/.agents/skills/bokata-feature-slicer/resources/{output-template-increments.md → output-template-options.md} +0 -0
@@ -11,7 +11,7 @@ The **Acceptance Criteria Generator** transforms User Tasks and requirements int
11
11
 
12
12
  This skill is flexible and methodology-agnostic regarding timing. It can generate criteria from a Feature Backbone, detailed Step Analysis, or raw User Stories.
13
13
 
14
- > **Where it fits:** `bokata-feature-map` calls it with `--functional` (a few Requirements per User Task, written into `features.md`) and `bokata-inc` calls it with `--concrete` for **one increment** at a time. Standalone, use it whenever you need **thorough coverage**: full edge cases, permission scenarios, boundary conditions, error states and concurrency rules.
14
+ > **Where it fits:** `bokata-feature-map` calls it with `--functional` (a few Requirements per User Task, written into `features.md`) and `bokata-spec` calls it with `--concrete` for **one slice** at a time. Standalone, use it whenever you need **thorough coverage**: full edge cases, permission scenarios, boundary conditions, error states and concurrency rules.
15
15
 
16
16
  ## Prerequisites
17
17
 
@@ -24,9 +24,9 @@ This skill is flexible and methodology-agnostic regarding timing. It can generat
24
24
 
25
25
  This skill supports two depth modes, selected via an argument flag:
26
26
 
27
- - **`--functional`** (used when generating ACs directly from a Features Backbone, before slicing exists): Produces **Requirement + Scenario** style output matching openspec spec conventions — a SHALL-statement Requirement per Rule, with one or more WHEN/THEN Scenarios covering the primary rule and its most important variant. Optimized for business-rule clarity and traceability, not exhaustive edge-case coverage. Never scoped to an increment (slicing has not happened yet at this stage). Use [Functional Output Template](resources/output-template-functional.md).
27
+ - **`--functional`** (used when generating ACs directly from a Features Backbone, before slicing exists): Produces **Requirement + Scenario** style output matching openspec spec conventions — a SHALL-statement Requirement per Rule, with one or more WHEN/THEN Scenarios covering the primary rule and its most important variant. Optimized for business-rule clarity and traceability, not exhaustive edge-case coverage. Never scoped to a slice (slicing has not happened yet at this stage). Use [Functional Output Template](resources/output-template-functional.md).
28
28
 
29
- - **`--concrete`** (used by `bokata-inc`, after a Feature has been sliced, for one increment): Produces full Gherkin Given/When/Then coverage — happy path, edge cases, boundary conditions, error states, concurrency rules, and negative permission scenarios — for the increment named in the input (`bokata-inc` passes one: its option IDs, their descriptions and its User Task tags). Write scenarios only for what that increment's options promise: an option marked fake, hardcoded or manual gets scenarios for what the user sees, not for the real thing. Group scenarios by User Task. Use [Concrete Output Template](resources/output-template.md).
29
+ - **`--concrete`** (used by `bokata-spec`, after a Feature has been sliced, for one slice): Produces full Gherkin Given/When/Then coverage — happy path, edge cases, boundary conditions, error states, concurrency rules, and negative permission scenarios — for the slice named in the input (`bokata-spec` passes one: its option IDs, their descriptions and its User Task tags). Write scenarios only for what that slice's options promise: an option marked fake, hardcoded or manual gets scenarios for what the user sees, not for the real thing. Group scenarios by User Task. Use [Concrete Output Template](resources/output-template.md).
30
30
 
31
31
  If no flag is provided, default to `--concrete` behavior (preserves current behavior for direct/standalone invocations).
32
32
 
@@ -187,12 +187,12 @@ For EACH User Task:
187
187
  - Is the data concrete and meaningful?
188
188
  - Did I avoid UI implementation details?
189
189
  - Are Feature and Task IDs cross-linked from the backbone?
190
- - **If `--concrete` with Walking Skeleton input**: Are scenarios grouped by skeleton item/increment, not just by User Task?
190
+ - **If `--concrete` with Walking Skeleton input**: Are scenarios grouped by skeleton item/slice, not just by User Task?
191
191
 
192
192
  ### ▶️ Execute:
193
193
  Generate markdown output via:
194
194
  - **If `--functional`**: [Functional Output Template](resources/output-template-functional.md) (Requirement + WHEN/THEN Scenarios, whole-Feature scope)
195
- - **If `--concrete`**: [Concrete Output Template](resources/output-template.md) (full Gherkin, per-skeleton-item/increment grouping if applicable)
195
+ - **If `--concrete`**: [Concrete Output Template](resources/output-template.md) (full Gherkin, per-skeleton-item/slice grouping if applicable)
196
196
 
197
197
  ---
198
198
 
@@ -231,4 +231,4 @@ Before finishing, verify your output:
231
231
 
232
232
  **Depth Mode Specific:**
233
233
  - [ ] **If `--functional`**: Output uses `### Requirement:` + `#### Scenario:` headers (not strict Given/When/Then); coverage is breadth (primary rule + key variants) not exhaustive edge cases
234
- - [ ] **If `--concrete`**: Output uses strict `Given/When/Then` Gherkin; coverage is exhaustive (edge cases, boundary, concurrency, permissions); if Walking Skeleton input is present, scenarios are grouped by skeleton item / increment ID
234
+ - [ ] **If `--concrete`**: Output uses strict `Given/When/Then` Gherkin; coverage is exhaustive (edge cases, boundary, concurrency, permissions); if Walking Skeleton input is present, scenarios are grouped by skeleton item / slice ID
@@ -212,9 +212,9 @@ The paths and formats in `.bokata.json` win over the domain skill's own.
212
212
 
213
213
  ## Step 5: Write features.md & Render the Story Map
214
214
 
215
- One file holds the backbone and its functional ACs, so a slice can be chosen from a single place:
215
+ One file holds the backbone and its functional ACs, so an appetite can be chosen from a single place:
216
216
 
217
- 1. **Write** `<docs>/<initiative-slug>/features.md` from the features template: the final reconciled backbone, the functional ACs of each User Task placed **under that User Task** and re-levelled to the template's shape (each `### Requirement:` becomes `###### Requirement:`, each `#### Scenario:` + its WHEN/THEN bullets becomes one line `- **Scenario: <name>** — **WHEN** … **THEN** …`), a `**Slice:** not sliced yet` line per Feature (filled later by `bokata-slice`; the slicing itself lives in the slice files, never here), and `## Trio Reconciliation Notes`.
217
+ 1. **Write** `<docs>/<initiative-slug>/features.md` from the features template: the final reconciled backbone, the functional ACs of each User Task placed **under that User Task** and re-levelled to the template's shape (each `### Requirement:` becomes `###### Requirement:`, each `#### Scenario:` + its WHEN/THEN bullets becomes one line `- **Scenario: <name>** — **WHEN** … **THEN** …`), a `**Appetite:** not sliced yet` line per Feature (filled later by `bokata-slice`; the slicing itself lives in the appetite files, never here), and `## Trio Reconciliation Notes`.
218
218
 
219
219
  2. **Render the story map** (if `story_map` is true): once `features.md` is final, run the `bokata-render` script, in the foreground:
220
220
  ```bash
@@ -228,7 +228,7 @@ One file holds the backbone and its functional ACs, so a slice can be chosen fro
228
228
 
229
229
  This step is a **checklist verification** only — no rendering work happens here:
230
230
 
231
- - [ ] `<docs>/<initiative-slug>/features.md` exists and is final (backbone + functional ACs + a `**Slice:**` line per Feature)
231
+ - [ ] `<docs>/<initiative-slug>/features.md` exists and is final (backbone + functional ACs + a `**Appetite:**` line per Feature)
232
232
  - [ ] The `bokata-render` script ran for `story-map.html` (if `story_map`)
233
233
 
234
234
  ---
@@ -251,7 +251,7 @@ Print to user:
251
251
 
252
252
  ---
253
253
 
254
- **Next step:** Run `bokata-slice {{INITIATIVE_SLUG}}` and pick 1–4 Features that make sense together. Suggested first slice: [the thinnest group of Features that makes the journey usable end to end].
254
+ **Next step:** Run `bokata-slice {{INITIATIVE_SLUG}}` and say what you want for now, or pick the Features (usually 1–4) that make sense together. Suggested first appetite: [the thinnest group of Features that makes the journey usable end to end].
255
255
  ```
256
256
 
257
257
  ---
@@ -4,10 +4,10 @@
4
4
 
5
5
  <!-- The backbone uses bokata-feature-mapper's output format unchanged; each User Task carries
6
6
  its functional ACs (bokata-acceptance-criteria --functional) right below it, and each
7
- Feature ends with a one-line `**Slice:**` summary that bokata-slice fills (and bokata-inc keeps current). This file is the
8
- summary: the slicing (Steps, options, increments, backlog) lives in slices/<nn>-<name>.md.
7
+ Feature ends with a one-line `**Appetite:**` summary that bokata-slice fills (and bokata-spec keeps current). This file is the
8
+ summary: the slicing (Steps, options, slices, backlog) lives in appetites/<nn>-<name>.md.
9
9
  Single mode (bokata-slice from a pitch) writes `<!-- Mode: single -->` and keeps only the
10
- one Feature's header, Purpose, User Task names and Slice line. -->
10
+ one Feature's header, Purpose, User Task names and Appetite line. -->
11
11
 
12
12
  ## Features Backbone
13
13
 
@@ -51,8 +51,8 @@ The system [description of what it executes and what it produces].
51
51
  - [State name]: [Description]
52
52
  - [State name]: [Description]
53
53
 
54
- **Slice:** not sliced yet
55
- <!-- Set by bokata-slice, kept current by bokata-inc: → {nn-name} · {taken}/{total} options · next: {bite ID} {bite title} [· done] -->
54
+ **Appetite:** not sliced yet
55
+ <!-- Set by bokata-slice, kept current by bokata-spec: → {nn-name} · {taken}/{total} options · next: {bite ID} {bite title} [· done] -->
56
56
 
57
57
  ---
58
58
 
@@ -272,4 +272,4 @@ Quick scan — flag any task whose name contains:
272
272
 
273
273
  1. **Save output** where appropriate
274
274
  2. **Validate** - Check MIN 2 Features, 3+ Tasks per Feature
275
- 3. **Run next phase:** `bokata-slice` slices the Features you pick, 1–4 at a time
275
+ 3. **Run next phase:** `bokata-slice` cuts what you want for now (an appetite: a sentence and usually 1–4 Features) into
@@ -23,8 +23,9 @@ Feature
23
23
 
24
24
  Bite F1-a … (Phase 4 — options of one or several Steps that make sense together; INVEST)
25
25
 
26
- Increment = one or several bites (or the Walking Skeleton) that the user can see or use.
27
- Increments are proposed by bokata-slice and specified later, one at a time, by bokata-inc; this
26
+ Slice = one or several bites (or the Walking Skeleton) that the user can see or use.
27
+ Appetite = what you want for now (a sentence) and its Features, usually 1–4; the container of the slices (bokata-slice creates it).
28
+ Slices are proposed by bokata-slice and specified later, one at a time, by bokata-spec; this
28
29
  skill proposes the first one, the Walking Skeleton, and the bites the later ones are picked from.
29
30
  ```
30
31
 
@@ -46,11 +47,11 @@ summary below only names:
46
47
  | Resource | Use it for |
47
48
  |----------|-----------|
48
49
  | [phase-1-steps.md](resources/phase-1-steps.md) | Step analysis, layers, good/bad Steps |
49
- | [phase-2-increments.md](resources/phase-2-increments.md) | Option generation, examples, common issues |
50
+ | [phase-2-options.md](resources/phase-2-options.md) | Option generation, examples, common issues |
50
51
  | [breakdown-strategies.md](resources/breakdown-strategies.md) | The strategy toolkit and linguistic patterns |
51
52
  | [phase-3-skeleton.md](resources/phase-3-skeleton.md) | Walking Skeleton selection and validation |
52
53
  | [phase-4-bites.md](resources/phase-4-bites.md) | Pruning reasons, Step targets, INVEST bites, bite titles |
53
- | [output-template-steps.md](resources/output-template-steps.md), [output-template-increments.md](resources/output-template-increments.md), [output-template-bites.md](resources/output-template-bites.md) | The output format |
54
+ | [output-template-steps.md](resources/output-template-steps.md), [output-template-options.md](resources/output-template-options.md), [output-template-bites.md](resources/output-template-bites.md) | The output format |
54
55
 
55
56
  ---
56
57
 
@@ -65,12 +66,12 @@ summary below only names:
65
66
 
66
67
  **Skip it** if a `## Discovery Context — Slicer` (or an orchestrator's equivalent) is in the
67
68
  input. Otherwise, scan the User Tasks for gaps whose answer would change a Step or an option
68
- (technical clarity, layer ambiguity, increment scope, dependencies, constraints). Ask them in one
69
+ (technical clarity, layer ambiguity, slice scope, dependencies, constraints). Ask them in one
69
70
  round, numbered, each with your recommended answer, and **wait for the answers**. State the
70
71
  assumptions you make for everything you do not ask.
71
72
 
72
73
  A scope decision ("only preview, no horn") **defers** options; it never deletes them. Deferred
73
- options are still listed, marked `deferred`, so a later increment can pick them up.
74
+ options are still listed, marked `deferred`, so a later slice can pick them up.
74
75
 
75
76
  ## Phase 1 — Steps
76
77
 
@@ -110,8 +111,10 @@ prunes what turns out to be filler, with a reason.
110
111
  2. **Walking Skeleton proposal.** For each User Task, choose the option per Step that makes the
111
112
  whole flow work end to end with the least: "if we had to ship tomorrow, which one?" It should
112
113
  feel uncomfortably minimal. Compare every option, not just `.1`; prefer reversible ones,
113
- especially in the Data layer. Every User Task must be covered; System Tasks that User Tasks
114
- depend on come first. Write it as option IDs per User Task plus what the user can do.
114
+ especially in the Data layer. **Cover every User Task** (a strong suggestion: skip one only with
115
+ a reason, on a `Left out of the skeleton:` line); System Tasks that User Tasks depend on come
116
+ first. Write it as option IDs per User Task plus what the user can do, and say which seams are
117
+ **real** and which **faked**.
115
118
 
116
119
  ## Phase 4 — Bite-sizing
117
120
 
@@ -122,10 +125,10 @@ Run it on the whole trace, after the Walking Skeleton. Read [phase-4-bites.md](r
122
125
  gives more for a similar cost), `filler` (exists only for the quota), `contradicts` (against
123
126
  the PRD, an ADR, the constitution or the Discovery Context). **Delete it from the trace**; the
124
127
  output keeps only the `### Pruned` list with each reason. Never renumber IDs.
125
- 2. **A target per Step**: the option the slice should reach in that Step. Mark it `→ target`.
128
+ 2. **A target per Step**: the option the appetite should reach in that Step. Mark it `→ target`.
126
129
  3. **INVEST bites per User Task.** Every live option that is not in the skeleton goes in
127
130
  **exactly one** bite, with: an ID (`F1-a`), a title **in user language with a subject**,
128
- `must-have` or `~nice-to-have`, its options and Steps, what it depends on (a bite ID, `Inc 1`,
131
+ `must-have` or `~nice-to-have`, its options and Steps, what it depends on (a bite ID, `Slice 1`,
129
132
  `none`, or `F<n> (<what it needs>)` for another Feature: you cannot know their bite IDs), one
130
133
  line of value, and a one-sentence check. Write each bite as the canonical line of
131
134
  [output-template-bites.md](resources/output-template-bites.md). A bite over ~5 options is split. `deferred` options form their
@@ -135,7 +138,7 @@ Run it on the whole trace, after the Walking Skeleton. Read [phase-4-bites.md](r
135
138
 
136
139
  ## Output
137
140
 
138
- Write exactly this to the file the coordinator gave you (`bokata-slice` later splits it into the slice's `slicing/F<k>.md`, `pruned.md` and Backlog), and reply with a few lines — the path and the Self-check counts — never with the content:
141
+ Write exactly this to the file the coordinator gave you (`bokata-slice` later splits it into the appetite's `slicing/F<k>.md`, `pruned.md` and Backlog), and reply with a few lines — the path and the Self-check counts — never with the content:
139
142
 
140
143
  ```markdown
141
144
  ## Slicing: <Feature name>
@@ -163,13 +166,15 @@ Write exactly this to the file the coordinator gave you (`bokata-slice` later sp
163
166
  - **[<User Task name>]** F1-1.1 + F1-2.1 + F1-3.2 — <what the user can do end to end>
164
167
  - **[<User Task name>]** F1-4.1 + F1-5.1 — <…>
165
168
  - Why: <one line per non-obvious pick, e.g. "F1-3.2 over F1-3.1: reversible, no migration">
169
+ - Seams: real <what runs for real, e.g. the DB write> · faked <the crutches, e.g. hardcoded clip list>
170
+ - Left out of the skeleton: <User Task — reason> <!-- only if one is skipped -->
166
171
 
167
172
  ### Pruned
168
173
  - F1-1.5 <Action Object> — `obsolete` | `dominated` | `filler` | `contradicts`: <one line why>
169
174
 
170
175
  ### Bites
171
176
  - **[<User Task name>]**
172
- - **F1-a · <title in user language, with a subject>** (must-have) — F1-1.2, F1-3.3 · depends on: Inc 1 · value: <one line> · check: <one sentence>
177
+ - **F1-a · <title in user language, with a subject>** (must-have) — F1-1.2, F1-3.3 · depends on: Slice 1 · value: <one line> · check: <one sentence>
173
178
  - ~**F1-b · <title>** (nice-to-have) — F1-2.3 · depends on: F1-a · value: <…> · check: <…>
174
179
  - **Deferred**
175
180
  - **F1-d1 · <title>** (deferred: <reason>) — F1-1.4 · prune and split when recovered
@@ -192,7 +197,7 @@ Steps with a target <n>/<n> · Bites <n> (must-have <n> · nice-to-have <n> · d
192
197
  - [ ] Every option says what changes for the user and names its shortcut; no endpoints/fields/functions
193
198
  - [ ] Options were generated before reading the functional ACs; every Requirement appears in Coverage (or Coverage says `none — no functional ACs`)
194
199
  - [ ] Discovery scope cuts appear as `deferred` options, not as missing ones
195
- - [ ] The Walking Skeleton covers every User Task, uses option IDs, and no duration is written anywhere
200
+ - [ ] The Walking Skeleton covers every User Task (or lists each one left out, with a reason), names its real and faked seams, uses option IDs, and no duration is written anywhere
196
201
  - [ ] Every pruned option has a reason from the four, is gone from the trace, and none was a skeleton or `deferred` option
197
202
  - [ ] Every Step has exactly one `→ target`
198
203
  - [ ] Every live option is in exactly one bite; every bite has all its fields, a title with a subject that reads without its Step, and no more than ~5 options
@@ -32,7 +32,10 @@ If no linguistic patterns are found, use the **Automation Gradient** (Strategy 0
32
32
 
33
33
  ---
34
34
 
35
- ## Strategy 0: Automation Gradient (default fallback)
35
+ ## Strategy 0: Automation Gradient (bokata's own, default fallback)
36
+
37
+ This one is not from the authors bokata cites: it is bokata's own lens, kept as the fallback when no
38
+ linguistic pattern shows an obvious split.
36
39
 
37
40
  When no linguistic pattern signals an obvious split, use this gradient as a starting lens to generate options across the automation spectrum:
38
41
 
@@ -113,10 +116,15 @@ Instead of splitting work based on technical inputs or workflows, focus on **del
113
116
  - Sacrifice usability initially, refine later
114
117
  - Example: "Command line interface" → "Basic web form" → "Rich UI with validation"
115
118
 
116
- ## 16. SPIDR Pattern Analysis
117
- - **Spikes**: Separate technical exploration
118
- - **Paths**: Different user paths through story
119
- - **Interfaces**: Different UI approaches
120
- - **Data**: Different data types/sources
121
- - **Rules**: Different business rules
119
+ ## 16. SPIDR (Mike Cohn): a lookup index, not another strategy
120
+
121
+ SPIDR is a well-known checklist that groups the splits above, so it is kept by name. Each letter
122
+ points at the strategies that already cover it; use whichever name you remember:
122
123
 
124
+ | SPIDR | Question | Already covered by |
125
+ |---|---|---|
126
+ | **S**pikes | Is there something to learn before building? | 14. Split Learning from Earning |
127
+ | **P**aths | Are there different paths through the flow? | 2. Workflow Simplification · 7. Use Case Isolation |
128
+ | **I**nterfaces | Can the interface or output start simpler? | 13. Simplify Outputs · 15. Extract Basic Utility |
129
+ | **D**ata | Can it start with less variety or volume of data? | 5. Data Variation Reduction · 11. Split by Capacity |
130
+ | **R**ules | Can a business rule start simpler? | 4. Business Rule Progression |
@@ -4,18 +4,18 @@
4
4
  never renumbered after pruning.
5
5
 
6
6
  THE CANONICAL BITE LINE. Copy it as written, never reformat it: bokata-slice pastes it into
7
- the slice's Backlog unchanged and the story map parses it.
7
+ the appetite's Backlog unchanged and the story map parses it.
8
8
  - **<ID> · <title>** (must-have) — <options> · depends on: <…> · value: <…> · check: <…>
9
9
  - ~**<ID> · <title>** (nice-to-have) — <options> · depends on: <…> · value: <…> · check: <…>
10
10
  - **<ID> · <title>** (deferred: <reason>) — <options> · prune and split when recovered
11
- `depends on` is another bite ID, `Inc 1`, `none`, or `F<n> (<what it needs>)` for another Feature. -->
11
+ `depends on` is another bite ID, `Slice 1`, `none`, or `F<n> (<what it needs>)` for another Feature. -->
12
12
 
13
13
  ### Pruned
14
14
  - F1-2.1 [Action] [Object] — `obsolete` | `dominated` | `filler` | `contradicts`: [one line why]
15
15
 
16
16
  ### Bites
17
17
  - **[User Task name]**
18
- - **F1-a · [title in user language, with a subject]** (must-have) — F1-2.2, F1-4.3 · depends on: Inc 1 · value: [one line] · check: [one sentence a test can answer]
18
+ - **F1-a · [title in user language, with a subject]** (must-have) — F1-2.2, F1-4.3 · depends on: Slice 1 · value: [one line] · check: [one sentence a test can answer]
19
19
  - ~**F1-b · [title]** (nice-to-have) — F1-3.4 · depends on: F1-a · value: [one line] · check: [one sentence]
20
20
  - **Deferred**
21
21
  - **F1-d1 · [title]** (deferred: [reason]) — F1-5.3, F1-6.1 · prune and split when recovered
@@ -117,7 +117,7 @@ Validate each step's options:
117
117
  - [Self-check against quality criteria]
118
118
 
119
119
  #### ▶️ Execute:
120
- Generate markdown output via [Output Template](output-template-increments.md).
120
+ Generate markdown output via [Output Template](output-template-options.md).
121
121
 
122
122
  Formatting requirements:
123
123
  1. One line per option, nested under its Step: `F1-N.M Name — description · strategy`
@@ -3,7 +3,7 @@
3
3
  Take the complete trace (User Tasks → Steps → Options), check it against the functional ACs, and
4
4
  propose the **Walking Skeleton**: one combination of options per User Task that makes the whole
5
5
  Feature work end to end with the least. The options the skeleton does not use stay in the trace
6
- for now: Phase 4 prunes them and groups what is left into the bites later increments are
6
+ for now: Phase 4 prunes them and groups what is left into the bites later slices are
7
7
  composed from.
8
8
 
9
9
  **No durations.** "Simplest" = fewest dependencies, least infrastructure, most reversible. Never
@@ -57,8 +57,8 @@ For each User Task, for each Step:
57
57
 
58
58
  #### ▶️ Execute:
59
59
  1. Choose one option per Step that the User Task needs; skip Steps that are optional for the flow.
60
- 2. Every User Task must be represented. System Tasks that User Tasks depend on come first.
61
- 3. Write the skeleton as **option IDs per User Task**, plus one line of what the user can do.
60
+ 2. **Cover every User Task** — a strong suggestion, since a Feature's thinnest path usually still has a fake or manual option per User Task. If one is not needed yet, leave it out on purpose and say why on a `Left out of the skeleton:` line. System Tasks that User Tasks depend on come first.
61
+ 3. Write the skeleton as **option IDs per User Task**, plus one line of what the user can do, and a `Seams:` line: which parts run **real** and which are **faked** (the crutches). The next slices replace the faked ones.
62
62
  4. Add a `Why:` line for every pick that is not the lowest-numbered option, or that trades
63
63
  simplicity for reversibility.
64
64
 
@@ -72,7 +72,7 @@ Selection rules:
72
72
 
73
73
  ## Step 4: Validate
74
74
 
75
- 1. Every User Task is in the skeleton (no gaps).
75
+ 1. Every User Task is in the skeleton, or listed under `Left out of the skeleton:` with a reason.
76
76
  2. The combination works end to end; the user could try it tomorrow.
77
77
  3. It is the MINIMUM, not just "simple".
78
78
  4. Descriptions say what the user can do or see — technology names OK; endpoints, field schemas,
@@ -96,6 +96,7 @@ The skeleton and coverage blocks of the skill's output (see SKILL.md → Output)
96
96
  - **[Picks a clip]** F1-1.1 + F1-2.1 — coach picks from a hardcoded list of 3 clips; the pick lives in memory
97
97
  - **[Shares the clip]** F1-3.2 + F1-4.1 — coach copies a link and pastes it into the team chat by hand
98
98
  - Why: F1-3.2 over F1-3.1 — a link needs no player accounts; F1-3.1 would force sign-up first
99
+ - Seams: real the link and the paste · faked the clip list (hardcoded) and the pick (in memory)
99
100
  ```
100
101
 
101
102
  ---
@@ -140,8 +141,8 @@ Generic infrastructure tasks, not option IDs; no User Task tags; no end-to-end u
140
141
  **"Walking Skeleton too complex"** → Compare every option per Step; pick the one with the fewest
141
142
  dependencies. Do not default to `.1`.
142
143
 
143
- **"Not all User Tasks in the skeleton"** → Every User Task must be represented, even if minimal
144
- (a fake or manual option is fine).
144
+ **"Not all User Tasks in the skeleton"** → Represent each one, even if minimal (a fake or manual
145
+ option is fine). Leave one out only on purpose, with its reason on a `Left out of the skeleton:` line.
145
146
 
146
147
  **"Every option in the skeleton covers its requirement totally"** → You mirrored the ACs. Look
147
148
  for the `fake` / `partial` option of each Step; if none exists, Phase 2 is missing the cheap family.
@@ -25,8 +25,8 @@ reasons, and write the reason:
25
25
  | `contradicts` | Goes against the PRD, an ADR, the constitution or the Discovery Context | An option that needs sign-up when the Discovery Context says no accounts |
26
26
 
27
27
  Rules:
28
- - **Never discard** an option of the skeleton, one marked `deferred`, or one an Inc has already
29
- taken (`→ Inc n`, when `bokata-inc` re-prunes): the story map resolves each Inc's options (those of its
28
+ - **Never discard** an option of the skeleton, one marked `deferred`, or one a Slice has already
29
+ taken (`→ Slice n`, when `bokata-spec` re-prunes): the story map resolves each Slice's options (those of its
30
30
  bites) through the trace.
31
31
  - A discard needs one of the four reasons. "I prefer the other one" is not a reason; when two
32
32
  options are genuine alternatives, keep both and let a bite choose.
@@ -40,7 +40,7 @@ Rules:
40
40
 
41
41
  ## Step 2: Target per Step
42
42
 
43
- For every Step, mark the option the slice **should reach when it closes** — the best option for
43
+ For every Step, mark the option the appetite **should reach when it closes** — the best option for
44
44
  that Step given what the Feature promises. Write `→ target` on that option.
45
45
 
46
46
  - The target can be the skeleton's own pick (nothing more is needed in that Step).
@@ -74,9 +74,9 @@ Each bite carries:
74
74
  |---|---|
75
75
  | ID | Stable, per Feature: `F1-a`, `F1-b`, … (letters, then `aa`, `ab`, … after `z`); deferred bites use `F1-d1`, `F1-d2`, …. They never change once written |
76
76
  | Title | **A sentence in user language, with a subject**, readable with no context: "Ana sees which defender cuts her pass", not "F5-6.3 Mark the cut cell" |
77
- | Priority | `must-have` or `~nice-to-have`. Must-have = the slice is not finished without it |
77
+ | Priority | `must-have` or `~nice-to-have`. Must-have = the appetite is not satisfied without it (measured against its `Appetite:` sentence) |
78
78
  | Options | The option IDs, with the Steps they come from |
79
- | Depends on | Another bite ID, `Inc 1`, or `none`. Bite dependencies must not form a cycle |
79
+ | Depends on | Another bite ID, `Slice 1`, or `none`. Bite dependencies must not form a cycle |
80
80
  | Value | One line: what the user gets that they did not have |
81
81
  | Check | One sentence: how to tell it works, concrete enough to turn into a scenario later |
82
82
 
@@ -128,8 +128,8 @@ carries its bite and each Step its target:
128
128
 
129
129
  ### Bites
130
130
  - **[Pass the ball]**
131
- - **F5-a · Ana sees which defender cuts her pass and where** (must-have) — F5-6.3, F5-8.3 · depends on: Inc 1 · value: she knows the risk before confirming · check: with the fixture defence, the line to C is marked on (8,9), PG's cell
132
- - ~**F5-b · Ana sees the ball travel to the receiver** (nice-to-have) — F5-10.3 · depends on: Inc 1 · value: the pass feels real · check: the ball runs (8,10) → (12,8) before "Pass completed"
131
+ - **F5-a · Ana sees which defender cuts her pass and where** (must-have) — F5-6.3, F5-8.3 · depends on: Slice 1 · value: she knows the risk before confirming · check: with the fixture defence, the line to C is marked on (8,9), PG's cell
132
+ - ~**F5-b · Ana sees the ball travel to the receiver** (nice-to-have) — F5-10.3 · depends on: Slice 1 · value: the pass feels real · check: the ball runs (8,10) → (12,8) before "Pass completed"
133
133
  - **Deferred**
134
134
  - **F5-d1 · The buzzer** (deferred: needs F9) — F5-3.3, F5-16.1 · prune and split when recovered
135
135
  ```
@@ -1,16 +1,16 @@
1
1
  ---
2
2
  name: bokata-plan
3
- description: Write the technical plan for the specified, not yet planned increments of a bokata slice (usually the one bokata-inc just specified) as checklists in the initiative's plan.md, one section per slice and increment, so an executor in another process can follow it and check it off. It is a contract to use inside your harness's own plan mode — it does not replace it. Use it when the user wants to plan an increment, or says "plan <slice>" after bokata-inc.
3
+ description: Write the technical plan for the specified, not yet planned slices of a bokata appetite (usually the one bokata-spec just specified) as checklists in the initiative's plan.md, one section per appetite and slice, so an executor in another process can follow it and check it off. It is a contract to use inside your harness's own plan mode — it does not replace it. Use it when the user wants to plan a slice, or says "plan <appetite>" after bokata-spec.
4
4
  ---
5
5
 
6
6
  # bokata-plan
7
7
 
8
8
  Your harness's plan mode does the planning. This skill only fixes **where the plan lands and
9
9
  in what shape**, so that the executor (often another tool and another model) and
10
- `bokata-status` can read it. Plan every **specified** increment (`State: specified` in its `inc-<n>.md`) with no
11
- section yet in `plan.md` — usually the one `bokata-inc` just specified. Never re-plan a built increment, and
12
- never plan a proposed one: an increment with no `inc-<n>.md` has no approved ACs, so stop and tell the user
13
- to run `bokata-inc` first.
10
+ `bokata-status` can read it. Plan every **specified** slice (`State: specified` in its `slice-<n>.md`) with no
11
+ section yet in `plan.md` — usually the one `bokata-spec` just specified. Never re-plan a built slice, and
12
+ never plan a proposed one: a slice with no `slice-<n>.md` has no approved ACs, so stop and tell the user
13
+ to run `bokata-spec` first.
14
14
 
15
15
  ## Configuration
16
16
 
@@ -19,22 +19,22 @@ Read `.bokata.json` at the project root if it exists (`docs` defaults to `docs/i
19
19
 
20
20
  ## 1. Read
21
21
 
22
- - The slice **index** `<docs>/<slug>/slices/<nn>-<name>.md` (the Inc's outcome and bites, and the
23
- bite lines in `## Backlog` with their options) and, in the folder next to it, the `inc-<n>.md` of
24
- each increment to plan (its scenarios, rules, `Unknowns`, decisions). The `slicing/F<k>.md` of the
25
- Feature says what each option ID means; `context.md` has the Discovery Context (layers, entry points, limits) and the slice-wide decisions. Read the
26
- `inc-<n>.md` of **the increments you plan only** — never the built ones. The backlog is not yours
22
+ - The appetite **index** `<docs>/<slug>/appetites/<nn>-<name>.md` (the Slice's outcome and bites, and the
23
+ bite lines in `## Backlog` with their options) and, in the folder next to it, the `slice-<n>.md` of
24
+ each slice to plan (its scenarios, rules, `Unknowns`, decisions). The `slicing/F<k>.md` of the
25
+ Feature says what each option ID means; `context.md` has the Discovery Context (layers, entry points, limits) and the appetite-wide decisions. Read the
26
+ `slice-<n>.md` of **the slices you plan only** — never the built ones. The backlog is not yours
27
27
  to plan. Also the initiative's `plan.md` if it exists (what is in flight).
28
28
  - The pitch's rabbit holes and no-gos, the constitution, `AGENTS.md`, the glossary, and the
29
29
  ADRs that touch the area.
30
- - The code the slice touches. Use read-only explore subagents in parallel if your harness has
30
+ - The code the appetite touches. Use read-only explore subagents in parallel if your harness has
31
31
  them. Never assume an API exists: find it.
32
32
 
33
33
  ## 2. Plan
34
34
 
35
- For every increment to plan, write the steps that build it:
35
+ For every slice to plan, write the steps that build it:
36
36
 
37
- - **The first step of an increment is its acceptance test**: the scenario as one test at the
37
+ - **The first step of a slice is its acceptance test**: the scenario as one test at the
38
38
  highest seam the project's unit runner reaches cheaply, committed as an expected failure
39
39
  (the code method says how). Name the seam — it is a design decision, so make it here.
40
40
  Skip it when the first step's own test already is the scenario.
@@ -48,27 +48,27 @@ For every increment to plan, write the steps that build it:
48
48
  → view model → component → copy).
49
49
  - Respect each option's shortcut: an option that says "hardcoded list" or "approved by hand"
50
50
  is built exactly that way — do not plan the real thing it stands in for.
51
- - Within an increment: steps for its must-have scenarios first, `~` scenarios last.
52
- - When more than one increment is unbuilt, mark each **`Parallel-safe: yes`** only if its steps
53
- touch no file another unbuilt increment's steps touch; otherwise `no`. With one, write `yes`.
54
- - Add to the increment's `Unknowns` anything you could not settle from the code.
51
+ - Within a slice: steps for its must-have scenarios first, `~` scenarios last.
52
+ - When more than one slice is unbuilt, mark each **`Parallel-safe: yes`** only if its steps
53
+ touch no file another unbuilt slice's steps touch; otherwise `no`. With one, write `yes`.
54
+ - Add to the slice's `Unknowns` anything you could not settle from the code.
55
55
  - Decisions that only the user can make (two valid readings, a trade-off, a new pattern or
56
56
  dependency): **ask them now**, in rounds — all of them at once, numbered, each with your
57
57
  recommendation and worded so "yes" accepts it. Record each answer under `Notes` as
58
58
  `Owner decision: …`. A new pattern that needs an ADR is an owner decision too.
59
59
 
60
60
  Do not write code. Do not change the acceptance criteria: if one is wrong or missing, stop and
61
- tell the user — it goes back to `bokata-inc`.
61
+ tell the user — it goes back to `bokata-spec`.
62
62
 
63
63
  ## 3. Write it into `plan.md`
64
64
 
65
65
  The plan is **one file per initiative**: `<docs>/<slug>/plan.md`, from
66
66
  [resources/plan-template.md](resources/plan-template.md). Create it if it is missing. Under
67
- `## Slice <nn> — <name>` (add the section if the slice has none), add one `### Inc <n> — <name>`
68
- per increment you plan, with its steps and an empty `Tests:`:
67
+ `## Appetite <nn> — <name>` (add the section if the appetite has none), add one `### Slice <n> — <name>`
68
+ per slice you plan, with its steps and an empty `Tests:`:
69
69
 
70
70
  ```markdown
71
- ### Inc 1 — Walking skeleton: library filter chip
71
+ ### Slice 1 — Walking skeleton: library filter chip
72
72
 
73
73
  Plan:
74
74
  - [ ] Acceptance: "chip filters the list" in `useLibraryViewModel.spec`, marked expected failure
@@ -80,14 +80,14 @@ Tests:
80
80
  - <scenario> → <test file> › <test name> <!-- filled by the executor -->
81
81
  ```
82
82
 
83
- Never touch another slice's section or a built increment's. In the Inc's **`inc-<n>.md`** (not in
83
+ Never touch another appetite's section or a built slice's. In the Slice's **`slice-<n>.md`** (not in
84
84
  `plan.md`) keep what is the owner's: set `State: planned`, its `Parallel-safe:` and `Unknowns`, and
85
- write the `Owner decision: …` notes under `## Decisions and notes of this Inc` (slice-wide ones go in
86
- `context.md`, under `## Notes`). The slice `Status` stays `open`. `plan.md` is **temporary**: it holds only the Incs in
87
- flight, and the executor deletes an Inc's section when it is done.
85
+ write the `Owner decision: …` notes under `## Decisions and notes of this Slice` (appetite-wide ones go in
86
+ `context.md`, under `## Notes`). The appetite `Status` stays `open`. `plan.md` is **temporary**: it holds only the Slices in
87
+ flight, and the executor deletes a Slice's section when it is done.
88
88
 
89
89
  If your plan mode does not let you edit files, present the plan for approval first and write
90
- it into the slice right after the user approves.
90
+ it into the appetite right after the user approves.
91
91
 
92
92
  ## 4. Refresh the story map
93
93
 
@@ -97,7 +97,7 @@ After the plan is written, run the `bokata-render` script (skip it if `story_map
97
97
  node .agents/skills/bokata-render/scripts/render.mjs <docs>/<slug>
98
98
  ```
99
99
 
100
- The planned increments move to `planned` and the "Next" banner points at the first unchecked
100
+ The planned slices move to `planned` and the "Next" banner points at the first unchecked
101
101
  step. It takes milliseconds and uses no model; if it prints an error, show it to the user.
102
102
 
103
103
  ## 5. Hand-off
@@ -106,7 +106,7 @@ End with the exact line the user can hand to an executor (by hand, or through an
106
106
  orchestrator such as Orca):
107
107
 
108
108
  ```
109
- Next: code-executor — build Inc <n> of slice <docs>/<slug>/slices/<nn>-<name>.md (Inc file: <nn>-<name>/inc-<n>.md)
110
- plan: <docs>/<slug>/plan.md (Slice <nn> · Inc <n>)
111
- (increments marked Parallel-safe: yes may run in separate worktrees; each edits only its own plan section)
109
+ Next: code-executor — build Slice <n> of appetite <docs>/<slug>/appetites/<nn>-<name>.md (Slice file: <nn>-<name>/slice-<n>.md)
110
+ plan: <docs>/<slug>/plan.md (Appetite <nn> · Slice <n>)
111
+ (slices marked Parallel-safe: yes may run in separate worktrees; each edits only its own plan section)
112
112
  ```
@@ -1,18 +1,18 @@
1
1
  # Plan — <initiative>
2
2
 
3
- <!-- One file per initiative: <docs>/<slug>/plan.md. TEMPORARY: it holds only the increments in flight.
4
- Written by bokata-plan, checked off by the executor commit by commit; when an Inc is done the
5
- executor deletes its section (what is not in the code moves to `## Pending` of its inc-<n>.md,
6
- and the State there becomes done). A section per slice, a subsection per increment. The headings
7
- are the keys the story map and bokata-status read ("## Slice <nn>" and "### Inc <n>"), so keep them.
8
- What the owner decides (Gherkin, Unknowns, Parallel-safe, decisions) stays in the Inc's inc-<n>.md.
9
- Edit only your own increment's section: Incs built in parallel worktrees then touch different lines. -->
3
+ <!-- One file per initiative: <docs>/<slug>/plan.md. TEMPORARY: it holds only the slices in flight.
4
+ Written by bokata-plan, checked off by the executor commit by commit; when a Slice is done the
5
+ executor deletes its section (what is not in the code moves to `## Pending` of its slice-<n>.md,
6
+ and the State there becomes done). A section per appetite, a subsection per slice. The headings
7
+ are the keys the story map and bokata-status read ("## Appetite <nn>" and "### Slice <n>"), so keep them.
8
+ What the owner decides (Gherkin, Unknowns, Parallel-safe, decisions) stays in the Slice's slice-<n>.md.
9
+ Edit only your own slice's section: Slices built in parallel worktrees then touch different lines. -->
10
10
 
11
- ## Slice <nn> — <name>
11
+ ## Appetite <nn> — <name>
12
12
 
13
- <!-- Slice index: slices/<nn>-<name>.md · Inc files: slices/<nn>-<name>/inc-<n>.md -->
13
+ <!-- Appetite index: appetites/<nn>-<name>.md · Slice files: appetites/<nn>-<name>/slice-<n>.md -->
14
14
 
15
- ### Inc 1 — <name>
15
+ ### Slice 1 — <name>
16
16
 
17
17
  Plan:
18
18
  - [ ] Acceptance: "<scenario>" in `<test file>`, marked expected failure
@@ -21,7 +21,7 @@ Plan:
21
21
  Tests:
22
22
  - <scenario> → <test file> › <test name>
23
23
 
24
- ### Inc 2 — <name>
24
+ ### Slice 2 — <name>
25
25
 
26
26
  Plan:
27
27
  - [ ] <step>
@@ -29,7 +29,7 @@ Plan:
29
29
  Tests:
30
30
  - <scenario> → <test file> › <test name>
31
31
 
32
- ## Slice <nn> — <name>
32
+ ## Appetite <nn> — <name>
33
33
 
34
- ### Inc 1 — <name>
34
+ ### Slice 1 — <name>
35
35
  …