bokata 3.0.0-beta.5 → 3.0.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/skills/bokata-acceptance-criteria/SKILL.md +6 -6
- package/.agents/skills/bokata-feature-map/SKILL.md +4 -4
- package/.agents/skills/bokata-feature-map/resources/features-template.md +5 -5
- package/.agents/skills/bokata-feature-mapper/SKILL.md +1 -1
- package/.agents/skills/bokata-feature-slicer/SKILL.md +19 -14
- package/.agents/skills/bokata-feature-slicer/resources/breakdown-strategies.md +15 -7
- package/.agents/skills/bokata-feature-slicer/resources/output-template-bites.md +3 -3
- package/.agents/skills/bokata-feature-slicer/resources/{phase-2-increments.md → phase-2-options.md} +1 -1
- package/.agents/skills/bokata-feature-slicer/resources/phase-3-skeleton.md +7 -6
- package/.agents/skills/bokata-feature-slicer/resources/phase-4-bites.md +7 -7
- package/.agents/skills/bokata-plan/SKILL.md +30 -28
- package/.agents/skills/bokata-plan/resources/plan-template.md +13 -13
- package/.agents/skills/bokata-render/SKILL.md +21 -21
- package/.agents/skills/bokata-render/assets/story-map.html +91 -91
- package/.agents/skills/bokata-render/scripts/render.mjs +219 -159
- package/.agents/skills/bokata-shape/SKILL.md +2 -2
- package/.agents/skills/bokata-slice/SKILL.md +230 -277
- package/.agents/skills/bokata-slice/resources/appetite-template.md +71 -0
- package/.agents/skills/bokata-slice/resources/proposed-slices.md +50 -0
- package/.agents/skills/bokata-spec/SKILL.md +256 -0
- package/.agents/skills/bokata-spec/resources/slice-template.md +49 -0
- package/.agents/skills/bokata-status/SKILL.md +30 -24
- package/.agents/skills/bokata-tdd/SKILL.md +12 -12
- package/README.md +496 -199
- package/agents/bokata-product-designer.md +11 -9
- package/agents/bokata-product-engineer.md +14 -12
- package/agents/bokata-product-manager.md +12 -10
- package/agents/code-executor.md +25 -21
- package/agents/feature-slicer.md +1 -1
- package/bin/bokata.js +1 -1
- package/package.json +1 -1
- package/src/config.js +1 -1
- package/src/install.js +4 -2
- package/.agents/skills/bokata-slice/resources/inc-template.md +0 -36
- package/.agents/skills/bokata-slice/resources/slice-template.md +0 -69
- /package/.agents/skills/bokata-feature-slicer/resources/{output-template-increments.md → output-template-options.md} +0 -0
|
@@ -1,85 +1,97 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: bokata-slice
|
|
3
|
-
description:
|
|
3
|
+
description: Cut an appetite — what you want to have for now, in one sentence, and the Features (usually 1–4) that deliver it — into Steps, options and INVEST bites (one feature-slicer subagent per Feature), have the Product Trio review the full trace and the bites, and leave the appetite as a proposal: the bites, the Walking Skeleton as skeleton bites and a roadmap of proposed slices, with no specs yet. The owner reviews and edits it by hand; bokata-spec then specifies each slice. Takes the appetite as an argument or, with none, proposes example appetites. Also validates the appetite (--check) and marks it done (--done). Use it after bokata-feature-map or a pitch, when the user wants to slice, cut the backlog of bites, or propose a walking skeleton.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
Create
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
the
|
|
11
|
-
|
|
6
|
+
Create an **appetite**: how much you want to have for now, said in one sentence ("a coach can share a
|
|
7
|
+
reviewed clip with the team"), and the Features that deliver it — usually 1–4, because that is often
|
|
8
|
+
what it takes for a usable flow. It stays open until you say it is enough. An appetite here is a
|
|
9
|
+
budget of *scope*, not of time (Shape Up's appetite is time; bokata plans scope).
|
|
10
|
+
`bokata-slice` does the **cutting**: it slices each Feature into Steps and options, groups the
|
|
11
|
+
options into bites and **proposes** the slices — the Walking Skeleton first — without writing a single
|
|
12
|
+
acceptance criterion. The owner reviews the proposal and edits it by hand; `bokata-spec` then
|
|
13
|
+
specifies one slice at a time (Slice 1 too), and the appetite grows from there. The appetite is a
|
|
14
|
+
short **index** plus a folder of files, so that no operation has to read the whole history (see
|
|
15
|
+
[The appetite layout](#the-appetite-layout)). You are the neutral coordinator; the slicing comes from
|
|
16
|
+
`feature-slicer` subagents, and the PM, Designer and Engineer review from their lenses.
|
|
12
17
|
|
|
13
18
|
```
|
|
14
|
-
|
|
19
|
+
Appetite one sentence + its Features (usually 1–4) → a usable flow; open until the user says enough
|
|
15
20
|
├ Slicing per Feature: User Task → Step → options (F1-2.3), pruned, with a target per Step
|
|
16
|
-
├
|
|
17
|
-
│
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
+
├ Bites F1-a …: INVEST groups of options, per User Task, each titled for the user; the skeleton
|
|
22
|
+
│ bites are F1-w1 …; a Slice takes some, the rest stay in the Backlog while the appetite lives
|
|
23
|
+
├ Proposed the roadmap: the bites left, grouped into the slices to build, Slice 1 first
|
|
24
|
+
│ slices — a proposal the owner edits, not a decision
|
|
25
|
+
└ Slice proposed → specified (bokata-spec: bites + concrete ACs) → planned → done
|
|
26
|
+
└ Plan steps in the initiative's plan.md: written by bokata-plan, checked off by the executor,
|
|
27
|
+
deleted when the Slice is done
|
|
21
28
|
```
|
|
22
29
|
|
|
23
|
-
### The
|
|
30
|
+
### The appetite layout
|
|
24
31
|
|
|
25
32
|
```
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
33
|
+
appetites/<nn>-<name>.md INDEX: header, Slices (the specified ones: outcome + bites), Backlog (bite lines, proposed slices), links
|
|
34
|
+
appetites/<nn>-<name>/slice-<n>.md one specified Slice: State, Unknowns, Gherkin, rules, its decisions, Pending (written by bokata-spec)
|
|
35
|
+
appetites/<nn>-<name>/slicing/F<k>.md one Feature's trace (User Task → Step → options)
|
|
36
|
+
appetites/<nn>-<name>/context.md the Discovery Context, then the appetite-wide Notes and the Trio notes
|
|
37
|
+
appetites/<nn>-<name>/pruned.md the Pruned list, one line per option with its reason
|
|
31
38
|
```
|
|
32
39
|
|
|
40
|
+
A new appetite has **no `slice-<n>.md` and an empty `## Slices`**: its slices are all proposed.
|
|
41
|
+
|
|
33
42
|
- **Say it once.** An option, a bite, an outcome or a decision lives in one place. The index repeats
|
|
34
|
-
nothing of
|
|
35
|
-
- **State lives only in `
|
|
36
|
-
the checked steps in `plan.md
|
|
37
|
-
- **A decision about one
|
|
38
|
-
`context.md` (its `## Notes`) holds only what concerns the whole
|
|
43
|
+
nothing of a Slice but its name, outcome and bite IDs; the Slice's options are the options of its bites.
|
|
44
|
+
- **State lives only in `slice-<n>.md`** (`State: specified | planned | done`; `building` is derived from
|
|
45
|
+
the checked steps in `plan.md`; a proposed Slice has no file and no State). A `done` appetite shows every Slice as done.
|
|
46
|
+
- **A decision about one Slice goes in that Slice's file** (`## Decisions and notes of this Slice`);
|
|
47
|
+
`context.md` (its `## Notes`) holds only what concerns the whole appetite. Appetites cut earlier have `notes.md` and
|
|
39
48
|
`discovery.md` side by side instead of `context.md`: read them the same way.
|
|
40
|
-
- Templates: [
|
|
41
|
-
[
|
|
49
|
+
- Templates: [appetite-template.md](resources/appetite-template.md) (the index) and
|
|
50
|
+
[slice-template.md](../bokata-spec/resources/slice-template.md) (written by `bokata-spec`).
|
|
42
51
|
|
|
43
|
-
- **Option ≠ bite ≠
|
|
44
|
-
options of one or several Steps that make sense together (small, INVEST).
|
|
52
|
+
- **Option ≠ bite ≠ slice.** An option is one way to do one Step. A bite groups the
|
|
53
|
+
options of one or several Steps that make sense together (small, INVEST). A slice is the
|
|
45
54
|
Walking Skeleton or one or more bites — whatever lets the user see or do something new.
|
|
46
55
|
- **The backlog is a plan, not an index.** Options are explored widely, then the slicer prunes
|
|
47
56
|
what is obsolete, dominated or filler (each with a reason) and groups the rest into bites.
|
|
48
57
|
Nobody reads loose option IDs.
|
|
49
|
-
- **A Feature
|
|
50
|
-
a
|
|
51
|
-
- **Concrete ACs are written just in time
|
|
52
|
-
Functional ACs stay in `features.md`.
|
|
58
|
+
- **A Feature has at most one open appetite.** If another appetite needs it, that appetite lists it as a
|
|
59
|
+
dependency. When an appetite is `done`, a **new** appetite can adopt its leftover ([Adopt](#adopt---from-nn-continue-what-a-done-appetite-left)); a done appetite is never reopened.
|
|
60
|
+
- **No specs here.** Concrete ACs are written just in time by `bokata-spec`, only for the slice
|
|
61
|
+
it specifies. Functional ACs stay in `features.md`.
|
|
53
62
|
- **No time estimates.** Never write a duration.
|
|
54
63
|
|
|
55
64
|
All outputs live under `<docs>/<initiative-slug>/`.
|
|
56
65
|
|
|
57
66
|
---
|
|
58
67
|
|
|
68
|
+
|
|
59
69
|
## Configuration
|
|
60
70
|
|
|
61
71
|
Read `.bokata.json` at the project root if it exists. Defaults:
|
|
62
72
|
|
|
63
73
|
```json
|
|
64
74
|
{ "docs": "docs/initiatives",
|
|
65
|
-
"memory": { "constitution": "CONSTITUTION.md", "glossary": "GLOSSARY.md"
|
|
66
|
-
"
|
|
67
|
-
"templates": { "slice": null },
|
|
75
|
+
"memory": { "constitution": "CONSTITUTION.md", "glossary": "GLOSSARY.md" },
|
|
76
|
+
"templates": { "appetite": null },
|
|
68
77
|
"story_map": true }
|
|
69
78
|
```
|
|
70
79
|
|
|
71
|
-
`<docs>` below is the `docs` value. `templates.
|
|
72
|
-
[resources/
|
|
80
|
+
`<docs>` below is the `docs` value. `templates.appetite: null` means
|
|
81
|
+
[resources/appetite-template.md](resources/appetite-template.md). The story map is drawn by the
|
|
73
82
|
`bokata-render` script from the markdown; this skill only runs it.
|
|
74
83
|
|
|
75
84
|
## Operations
|
|
76
85
|
|
|
77
86
|
| Call | Does |
|
|
78
87
|
|------|------|
|
|
79
|
-
| `bokata-slice [<features…>]` | **New
|
|
80
|
-
| `bokata-slice <
|
|
81
|
-
| `bokata-slice <nn> --check` | Validate the
|
|
82
|
-
| `bokata-slice <nn> --done` | Mark the
|
|
88
|
+
| `bokata-slice ["<appetite>"] [<features…>]` | **New appetite**: Steps 1–5 below. The appetite is a sentence (what you want to have for now); with none, it proposes some. It ends with a proposal; it specifies nothing |
|
|
89
|
+
| `bokata-slice ["<appetite>"] --from <nn>` | **New appetite that adopts the leftover** of the done appetite `<nn>` — see [Adopt](#adopt---from-nn-continue-what-a-done-appetite-left) |
|
|
90
|
+
| `bokata-slice <nn> --check` | Validate the appetite and the initiative's markdown (runs the render script's `--check`) |
|
|
91
|
+
| `bokata-slice <nn> --done` | Mark the appetite **done** — see [Done](#done---done) |
|
|
92
|
+
|
|
93
|
+
Specifying a slice — taking the next one, a numbered one or named bites, with its concrete
|
|
94
|
+
ACs — is **`bokata-spec`**, not this skill.
|
|
83
95
|
|
|
84
96
|
## Mode
|
|
85
97
|
|
|
@@ -90,7 +102,7 @@ Read `.bokata.json` at the project root if it exists. Defaults:
|
|
|
90
102
|
one `feature-slicer` subagent; run every trio step yourself, one lens at a time. The first
|
|
91
103
|
time, create `features.md` from the features template with **only** that Feature (name and
|
|
92
104
|
`Purpose` from the pitch, its User Tasks from [Step 1b](#step-1b-single-mode-only-derive-the-user-tasks))
|
|
93
|
-
and its `**
|
|
105
|
+
and its `**Appetite:**` line, and put `<!-- Mode: single -->` under its header comment. There are
|
|
94
106
|
no functional ACs in single mode: the Coverage check is skipped (see the gate).
|
|
95
107
|
|
|
96
108
|
The user can force either mode.
|
|
@@ -102,16 +114,31 @@ order) and never change. Option IDs build on them: `F2-3.1` = Feature 2, Step 3,
|
|
|
102
114
|
|
|
103
115
|
## Step 1: Resolve Features & Folders
|
|
104
116
|
|
|
105
|
-
1. Read `features.md` and the pitch, the constitution, the glossary, and the existing
|
|
106
|
-
`<docs>/<initiative-slug>/
|
|
107
|
-
2.
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
117
|
+
1. Read `features.md` and the pitch, the constitution, the glossary, and the existing appetites in
|
|
118
|
+
`<docs>/<initiative-slug>/appetites/` (their header and `Status` are enough).
|
|
119
|
+
2. **Get the appetite.** It is one sentence in user language: what you want to have when this is
|
|
120
|
+
enough, and where you stop. Four cases:
|
|
121
|
+
- **The user gave a sentence**: restate it as `Appetite: …`, tighten it if it is vague ("so a
|
|
122
|
+
coach can share a reviewed clip, with a link pasted by hand — no accounts") and show it with
|
|
123
|
+
the Features you think deliver it (point 3). "Yes" accepts it.
|
|
124
|
+
- **The user gave only Features**: propose the sentence those Features imply.
|
|
125
|
+
- **The user gave nothing**: read the pitch and `features.md` and propose **2–3 example appetites**,
|
|
126
|
+
each a sentence plus its Features and a **cut line** in the journey ("everything up to the coach
|
|
127
|
+
sharing, nothing about editing"): *only the skeleton* (the flow end to end, with crutches), *the
|
|
128
|
+
skeleton plus the must-haves of the core Features*, *everything these Features say*. Recommend
|
|
129
|
+
one. The user picks, edits or writes their own.
|
|
130
|
+
- **No `features.md` and no pitch**: say so and offer `bokata-shape`.
|
|
131
|
+
3. **Pick the Features.** Show which Features already belong to an appetite (from each Feature's
|
|
132
|
+
`**Appetite:**` line) and which are free. **1–4 Features is a suggestion, not a limit**: in
|
|
133
|
+
practice that is often what it takes for a flow that already gives value, and some Feature's
|
|
134
|
+
thinnest path is not to do it, so leave it out. More than four is allowed; say that it is
|
|
135
|
+
probably two appetites, and let the user decide. For the first appetite, recommend the group that
|
|
136
|
+
makes the journey usable end to end. A Feature with an **open** appetite cannot be picked
|
|
137
|
+
again — offer `bokata-spec` on that appetite instead. A Feature whose appetites are all `done` is
|
|
138
|
+
free: if one of them left bites, offer to adopt them (`--from`, see [Adopt](#adopt---from-nn-continue-what-a-done-appetite-left)) before slicing the Feature anew.
|
|
139
|
+
4. Number the new appetite (`01`, `02`, … after the existing ones) and `mkdir -p
|
|
140
|
+
<docs>/<initiative-slug>/appetites/<nn>-wip/work`. This **work folder** holds the discovery and the
|
|
141
|
+
slicers' output while the appetite is being made; Step 4 turns it into the final layout and deletes it.
|
|
115
142
|
Every subagent below receives **paths into it, never pasted content**.
|
|
116
143
|
|
|
117
144
|
## Step 1b: Single mode only — derive the User Tasks
|
|
@@ -132,7 +159,7 @@ recommended answer and worded so "yes" accepts it; wait for the answers before t
|
|
|
132
159
|
about the picked Features, only where the answer changes a Step or an option:
|
|
133
160
|
- **Technical Clarity** — User Tasks too vague to decompose into Steps?
|
|
134
161
|
- **Layer Ambiguity** — Steps unclear between UI, Logic and Data?
|
|
135
|
-
- **
|
|
162
|
+
- **Appetite scope** — User Tasks too large to slice without clarification?
|
|
136
163
|
- **Dependencies** — between User Tasks, or between the picked Features?
|
|
137
164
|
- **Constraints** — architecture or performance limits on which options are viable?
|
|
138
165
|
|
|
@@ -144,8 +171,8 @@ If the input is already rich, say so and ask only about what is missing:
|
|
|
144
171
|
> "You provided the features + functional ACs for [initiative], which resolves scope and rules. Asking only about [missing categories]."
|
|
145
172
|
|
|
146
173
|
Produce one `## Discovery Context — Slicer: [Feature Names]` block: Technical Clarifications /
|
|
147
|
-
Layer Decisions /
|
|
148
|
-
Constraints Noted / Assumptions, and **write it to `
|
|
174
|
+
Layer Decisions / Appetite (the sentence, and where it stops) / Appetite Boundaries / Deferred (scope cuts) / Dependencies Confirmed /
|
|
175
|
+
Constraints Noted / Assumptions, and **write it to `appetites/<nn>-wip/work/context.md`** (it is the first
|
|
149
176
|
section of that file; the Notes and Trio notes are appended to it at the end). Every subagent below receives its path.
|
|
150
177
|
|
|
151
178
|
---
|
|
@@ -167,11 +194,11 @@ subagent_type: feature-slicer
|
|
|
167
194
|
prompt: "Slice this Feature. Feature code: F<n>.
|
|
168
195
|
- Feature: [name and ID] — its Purpose, User Tasks and System Tasks are in <docs>/<slug>/features.md
|
|
169
196
|
(in single mode, the confirmed list of Step 1b was written there)
|
|
170
|
-
- Discovery Context: <docs>/<slug>/
|
|
197
|
+
- Discovery Context: <docs>/<slug>/appetites/<nn>-wip/work/context.md
|
|
171
198
|
- Constitution / glossary paths: [from .bokata.json]
|
|
172
199
|
- Functional ACs — open ONLY for the Phase 3 coverage check: this Feature's Requirements + Scenarios
|
|
173
200
|
in features.md [in single mode: "none — skip the coverage check"]
|
|
174
|
-
- Output file (the only file you may write): <docs>/<slug>/
|
|
201
|
+
- Output file (the only file you may write): <docs>/<slug>/appetites/<nn>-wip/work/F<n>.md
|
|
175
202
|
Read the skill and all its resources first (they are in .agents/skills/bokata-feature-slicer/). Run all four phases, including Phase 4 (prune with a
|
|
176
203
|
reason, a target per Step, INVEST bites). Write the full output (Slicing trace, Coverage,
|
|
177
204
|
Walking Skeleton proposal, Pruned, Bites, Self-check, Assumptions) to the output file and reply in at most
|
|
@@ -191,7 +218,7 @@ Read each `work/F<n>.md` once and, for every trace, check mechanically (count, d
|
|
|
191
218
|
- [ ] Every Requirement of the Feature appears in `### Coverage` (single mode has none:
|
|
192
219
|
`### Coverage` says `none — no functional ACs`)
|
|
193
220
|
- [ ] Every `Deferred` item from the Discovery Context appears as a `deferred` option
|
|
194
|
-
- [ ] The Walking Skeleton proposal uses option IDs and covers every User Task
|
|
221
|
+
- [ ] The Walking Skeleton proposal uses option IDs and covers every User Task, or lists under `Left out of the skeleton:` each User Task it skips with a reason
|
|
195
222
|
- [ ] Every pruned option appears in `### Pruned` with one of the four reasons, is gone from the
|
|
196
223
|
trace, and was not a skeleton or `deferred` option
|
|
197
224
|
- [ ] Every Step has one `→ target`
|
|
@@ -213,7 +240,7 @@ Each slicer sees only its own Feature, so a bite that needs another Feature says
|
|
|
213
240
|
`depends on: F7 (<what it needs>)`, never a bite ID of F7. Once every trace passes the gate, edit the
|
|
214
241
|
work files to replace
|
|
215
242
|
each such reference with the ID of the bite of that Feature that provides what is needed (or
|
|
216
|
-
`
|
|
243
|
+
`Slice 1` if its skeleton does). If no bite does, note it under `## Trio notes` as a gap and ask the
|
|
217
244
|
user in the decision point of 3d. Then check there is no dependency cycle across Features.
|
|
218
245
|
|
|
219
246
|
### 3c. Wave 2 — Trio review of the full traces (parallel)
|
|
@@ -229,10 +256,10 @@ subagent_type: bokata-product-manager
|
|
|
229
256
|
prompt: "Review the slicing of [Features] from the value/viability lens. You have:
|
|
230
257
|
- Full slicing traces (Steps, options, coverage, Walking Skeleton proposal, Pruned, Bites), one file per Feature: [the paths of every work/F<n>.md]
|
|
231
258
|
- Backbone + functional ACs (single mode: the pitch and the confirmed User Tasks): <docs>/<slug>/features.md [and the pitch path]
|
|
232
|
-
- Discovery Context: <docs>/<slug>/
|
|
259
|
+
- Discovery Context: <docs>/<slug>/appetites/<nn>-wip/work/context.md
|
|
233
260
|
Do NOT ask the user questions. Focus on: Is the skeleton the minimum that still gives observable
|
|
234
261
|
value end to end? Is a cheaper option (fake data, manual crutch, one case only) missing for any
|
|
235
|
-
Step — propose it with its Step ID. Which options unlock the most value next? Also review the
|
|
262
|
+
Step — propose it with its Step ID. Which options unlock the most value next? Does the order of the bites serve the appetite sentence in the Discovery Context, and is an uncertainty the Engineer flags worth moving earlier — or does an earlier bite give value without entering it? Also review the
|
|
236
263
|
Pruned list and the Bites. Is the must-have / nice-to-have split in value order, does any
|
|
237
264
|
pruning throw away value (name the option ID), is any bite too big or two bites really one?
|
|
238
265
|
Tag every finding with Severity (Critical|Suggested) and Type (factual/scope|trade-off). Return
|
|
@@ -245,7 +272,7 @@ subagent_type: bokata-product-designer
|
|
|
245
272
|
prompt: "Review the slicing of [Features] from the UX/UI lens. You have:
|
|
246
273
|
- Full slicing traces, one file per Feature: [the paths of every work/F<n>.md]
|
|
247
274
|
- Backbone + functional ACs (single mode: the pitch and the confirmed User Tasks): <docs>/<slug>/features.md [and the pitch path]
|
|
248
|
-
- Discovery Context: <docs>/<slug>/
|
|
275
|
+
- Discovery Context: <docs>/<slug>/appetites/<nn>-wip/work/context.md
|
|
249
276
|
Do NOT ask the user questions. Focus on: Does the skeleton combine into a coherent minimal
|
|
250
277
|
experience across the Features? Which UI states are essential to the skeleton and which can wait?
|
|
251
278
|
Is a cheaper UI option (static screen, one state only, existing component) missing for any Step —
|
|
@@ -262,11 +289,12 @@ subagent_type: bokata-product-engineer
|
|
|
262
289
|
prompt: "Review the slicing of [Features] from the feasibility/technical-sustainability lens. You have:
|
|
263
290
|
- Full slicing traces, one file per Feature: [the paths of every work/F<n>.md]
|
|
264
291
|
- Backbone + functional ACs (single mode: the pitch and the confirmed User Tasks): <docs>/<slug>/features.md [and the pitch path]
|
|
265
|
-
- Discovery Context: <docs>/<slug>/
|
|
292
|
+
- Discovery Context: <docs>/<slug>/appetites/<nn>-wip/work/context.md
|
|
266
293
|
Do NOT ask the user questions. Focus on: Are Steps and layers sound? Is each skeleton option
|
|
267
294
|
reversible, and which shortcuts are safe to revisit vs dangerous? Is a cheaper technical option
|
|
268
295
|
(in-memory, hardcoded, existing service, manual step) missing for any Step — propose it with its
|
|
269
|
-
Step ID.
|
|
296
|
+
Step ID. Say which seams of the skeleton are real and which are faked, and which open uncertainty
|
|
297
|
+
or rabbit hole each bite resolves or leaves open. Also review the Bites. Are the dependencies right and acyclic, is any bite too big
|
|
270
298
|
to size, and does any pruned option break a contract a later bite or Feature relies on (name
|
|
271
299
|
the option ID)? Tag every finding with Severity (Critical|Suggested) and Type
|
|
272
300
|
(factual/scope|trade-off). Return your review in the format specified in your agent file (Bites
|
|
@@ -302,249 +330,174 @@ Fast Feedback Principle.
|
|
|
302
330
|
- **Non-interactive** (`--no-interactive`, or a headless run): apply the defaults and record each
|
|
303
331
|
in `## Trio notes` with both positions, the applied default, and `⚠ flagged for human review`.
|
|
304
332
|
|
|
305
|
-
### 3e.
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
- Order: `depends on` first, then value, must-have before `~nice-to-have`. A row never takes a bite
|
|
333
|
-
before the bite it depends on.
|
|
334
|
-
- Every must-have bite appears in exactly one row. The `~nice-to-have` and `deferred` bites go in a
|
|
335
|
-
final `Later` row, with no order promised.
|
|
336
|
-
- Each Inc is a candidate for **INVEST**: small, independent of the rows after it, valuable, testable.
|
|
337
|
-
- If the owner states an order, use it and keep the reason.
|
|
338
|
-
|
|
339
|
-
---
|
|
340
|
-
|
|
341
|
-
## Step 4: Concrete Acceptance Criteria — chosen increment only
|
|
342
|
-
|
|
343
|
-
Used by a new slice (for Inc 1) and by `--next` (for the new increment). Never write concrete ACs
|
|
344
|
-
for options still in the backlog.
|
|
345
|
-
|
|
346
|
-
**Subagents get paths, not pasted content.** Where the prompts below say *the trace files* and *the
|
|
347
|
-
Discovery Context*, give the paths: for a new slice `slices/<nn>-wip/work/F<n>.md` and
|
|
348
|
-
`slices/<nn>-wip/work/context.md`; for `--next` the final `slices/<nn>-<name>/slicing/F<n>.md` and
|
|
349
|
-
`slices/<nn>-<name>/context.md`. The increments already in the slice are the `## Increments` of the
|
|
350
|
-
index.
|
|
351
|
-
|
|
352
|
-
### 4a. Trio contributes Rules (Subagents, Parallel)
|
|
353
|
-
|
|
354
|
-
One message, three foreground calls, wait for all three:
|
|
355
|
-
|
|
356
|
-
**Task 1: PM Contribution**
|
|
357
|
-
```
|
|
358
|
-
subagent_type: bokata-product-manager
|
|
359
|
-
prompt: "Contribute business-rule Rules for increment [Inc n] of slice [nn], from the viability/value lens. You have:
|
|
360
|
-
- The increment: [its outcome, its bites (ID and title) and their option IDs — what each option means is in the trace files: <paths>]
|
|
361
|
-
- Increments already in the slice (for context): the `## Increments` of <index path>
|
|
362
|
-
- Backbone + functional ACs of the touched User Tasks: <docs>/<slug>/features.md — [the User Task names to read]
|
|
363
|
-
- Discovery Context: [path of context.md]
|
|
364
|
-
Do NOT ask the user questions. Give launch-blocking rules for this increment and the value it
|
|
365
|
-
unlocks. Respect its shortcuts: an option marked fake/hardcoded/manual gets rules for what the user
|
|
366
|
-
sees, not for the real thing. Format per your agent file (Contributed Rules — PM Lens)."
|
|
367
|
-
```
|
|
368
|
-
|
|
369
|
-
**Task 2: Designer Contribution**
|
|
370
|
-
```
|
|
371
|
-
subagent_type: bokata-product-designer
|
|
372
|
-
prompt: "Contribute UX/UI Rules for increment [Inc n] of slice [nn], from the usability/craft lens. You have:
|
|
373
|
-
- The increment: [its outcome, its bites (ID and title) and their option IDs — what each option means is in the trace files: <paths>]
|
|
374
|
-
- Increments already in the slice: the `## Increments` of <index path>
|
|
375
|
-
- Backbone + functional ACs of the touched User Tasks: <docs>/<slug>/features.md — [the User Task names to read]
|
|
376
|
-
- Discovery Context: [path of context.md]
|
|
377
|
-
Do NOT ask the user questions. Give the UI states, component reuse and interaction patterns this
|
|
378
|
-
increment needs — no more than its options promise. Format per your agent file (Contributed Rules — Designer Lens)."
|
|
379
|
-
```
|
|
380
|
-
|
|
381
|
-
**Task 3: Engineer Contribution**
|
|
382
|
-
```
|
|
383
|
-
subagent_type: bokata-product-engineer
|
|
384
|
-
prompt: "Contribute technical Rules for increment [Inc n] of slice [nn], from the feasibility/sustainability lens. You have:
|
|
385
|
-
- The increment: [its outcome, its bites (ID and title) and their option IDs — what each option means is in the trace files: <paths>]
|
|
386
|
-
- Increments already in the slice: the `## Increments` of <index path>
|
|
387
|
-
- Backbone + functional ACs of the touched User Tasks: <docs>/<slug>/features.md — [the User Task names to read]
|
|
388
|
-
- Discovery Context: [path of context.md]
|
|
389
|
-
Do NOT ask the user questions. Give data shape, contracts, guards and boundary rules for this
|
|
390
|
-
increment, and whether it builds on earlier increments or reshapes them. Format per your agent
|
|
391
|
-
file (Contributed Rules — Engineer Lens)."
|
|
392
|
-
```
|
|
393
|
-
|
|
394
|
-
### 4b. Consolidate & Invoke the AC Skill
|
|
395
|
-
|
|
396
|
-
Merge the three contributions into one enrichment block (de-duplicated). Then:
|
|
397
|
-
```
|
|
398
|
-
bokata-acceptance-criteria --concrete
|
|
399
|
-
Input: [the increment: outcome, bites (ID and title), option IDs; the trace files hold what each option means: <paths>]
|
|
400
|
-
Enrichment: [consolidated Rules]
|
|
401
|
-
Discovery Context: [path of context.md]
|
|
402
|
-
Instruction: "Skip your own Phase 0 discovery — it has been resolved upstream. Proceed directly to
|
|
403
|
-
Phase 1 (Input Analysis) through Phase 3 (Generate Output), using --concrete depth. Write
|
|
404
|
-
scenarios only for this increment, with concrete example data. Return the ## Acceptance Criteria
|
|
405
|
-
(Concrete) section."
|
|
406
|
-
```
|
|
407
|
-
|
|
408
|
-
### 4c. Domain Pass (Interactive)
|
|
409
|
-
|
|
410
|
-
Load the skill named in `methods.domain` (default `domain-modeling`; skip if `null` or not
|
|
411
|
-
installed) and run it over the concrete ACs against the glossary at `memory.glossary`:
|
|
412
|
-
- A term the glossary lists under _Avoid_ → replace it with the canonical term.
|
|
413
|
-
- Two words for one concept, or one word for two → ask the user, then use the answer everywhere.
|
|
414
|
-
- A new concept → settle its name with the user and add it to the glossary (terms only).
|
|
415
|
-
- An ADR only at `memory.adrs`, and only when hard to reverse, surprising without context, and the
|
|
416
|
-
result of a real trade-off.
|
|
417
|
-
|
|
418
|
-
Ask every naming question in one round, numbered, each with your recommended answer. The paths
|
|
419
|
-
and formats in `.bokata.json` win over the domain skill's own.
|
|
333
|
+
### 3e. Propose Slice 1 — the Walking Skeleton, and name the appetite
|
|
334
|
+
|
|
335
|
+
Nothing here is committed: the skeleton is a **proposal**, written as bites in the Backlog and as the
|
|
336
|
+
first row of the roadmap. The owner reviews it in the index and decides at `bokata-spec 1`.
|
|
337
|
+
|
|
338
|
+
1. Build the proposal as the union of the reconciled skeleton proposals: the option IDs per User
|
|
339
|
+
Task across the picked Features, so the flow works end to end. **Covering every User Task is a
|
|
340
|
+
strong suggestion**, not a law: a skeleton that skips one is rare but possible (a User Task the
|
|
341
|
+
appetite does not need yet). Each one left out goes in a line `Left out of the skeleton: <User Task> — <reason>` under the
|
|
342
|
+
roadmap table, with its reason. Every part must be functional on its own; if an option has no
|
|
343
|
+
visible effect alone, it travels with the option that makes it visible.
|
|
344
|
+
2. **Group it into skeleton bites.** Every slice is made of bites, so that the story map draws it as
|
|
345
|
+
cards, and so that the owner can edit the skeleton as any other row. Make one **skeleton bite per
|
|
346
|
+
User Task** the skeleton covers: ID `F<n>-w<k>` (`F1-w1`, `F1-w2`, … — the `w` plus a digit never
|
|
347
|
+
collides with a slicer's letter IDs), a title with a subject that says what the user does in that
|
|
348
|
+
User Task *with the shortcut* ("Ana picks a hardcoded clip"), tagged `(skeleton)`, its options, no
|
|
349
|
+
`→ Slice` yet.
|
|
350
|
+
3. Options that go into a skeleton bite **leave their bite**; if that empties a bite, remove it; if
|
|
351
|
+
it breaks another bite's `depends on`, repoint it to `Slice 1`. The bites left stay the backlog.
|
|
352
|
+
4. **Name the appetite.** Propose a short name in kebab-case, with your recommendation ("yes" accepts it).
|
|
353
|
+
Ask it in the decision point of 3d if there is one, otherwise as one short question.
|
|
354
|
+
5. Write the **roadmap** — [Proposed slices](resources/proposed-slices.md) — with Slice 1, the
|
|
355
|
+
Walking Skeleton, as its first row, then the bites that are left. In "Why this order", Slice 1
|
|
356
|
+
says which seams are **real** and which **faked**, and each row says what it **leaves open** when
|
|
357
|
+
that matters (an uncertainty or rabbit hole it does not touch). Risk is a conditioning factor, not
|
|
358
|
+
a rule: the Engineer flags it, the PM weighs it against value, and the first slice may give value
|
|
359
|
+
without going into the riskiest unknown.
|
|
420
360
|
|
|
421
361
|
---
|
|
422
362
|
|
|
423
|
-
## Step
|
|
363
|
+
## Step 4: Write the Appetite & the Summary
|
|
424
364
|
|
|
425
|
-
1.
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
`
|
|
429
|
-
|
|
430
|
-
- `slices/<nn>-<name>/slicing/F<k>.md` — one per Feature: the `## Slicing` … `### Coverage` part of
|
|
365
|
+
1. Rename `appetites/<nn>-wip` to `appetites/<nn>-<name>`, `mkdir -p appetites/<nn>-<name>/slicing`, and
|
|
366
|
+
**write** the files of [The appetite layout](#the-appetite-layout) from the (reconciled) files in
|
|
367
|
+
`work/`. **Copy, do not retype**: cut each section out of `work/F<k>.md` with the shell (`sed -n`,
|
|
368
|
+
`awk`, `node -e`) or your editor instead of writing it out again — a trace is tens of KB.
|
|
369
|
+
- `appetites/<nn>-<name>/slicing/F<k>.md` — one per Feature: the `## Slicing` … `### Coverage` part of
|
|
431
370
|
`work/F<k>.md` (the Walking Skeleton proposal, Pruned, Bites and Self-check go elsewhere; the
|
|
432
371
|
Assumptions to the `## Notes` of `context.md`): its reconciled trace (Steps, options,
|
|
433
372
|
strategies, targets, bite of each live option, Coverage) exactly as the slicer wrote it plus the
|
|
434
|
-
trio's added options
|
|
435
|
-
|
|
436
|
-
- `
|
|
437
|
-
`Unknowns:`, an empty `Parallel-safe:` and the concrete ACs (fixtures, Rules, Gherkin) exactly as
|
|
438
|
-
returned. The Inc's name, outcome and bites are **not** repeated here — they are in the index;
|
|
439
|
-
- `slices/<nn>-<name>/pruned.md` (the full `### Pruned` list, with its count by reason),
|
|
373
|
+
trio's added options. The slicer's `skeleton` marker stays on the options of the proposed
|
|
374
|
+
skeleton; `bokata-spec` replaces it with `→ Slice n` when a Slice takes them;
|
|
375
|
+
- `appetites/<nn>-<name>/pruned.md` (the full `### Pruned` list, with its count by reason),
|
|
440
376
|
`context.md` (`work/context.md`, moved, with `## Notes` and `## Trio notes` appended after the Discovery Context);
|
|
441
|
-
then **delete `work
|
|
442
|
-
- the index `
|
|
443
|
-
header with `Status: open`; `##
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
`**Slice:** → <nn>-<name> · <taken>/<total> options · next: <bite ID> <bite title>`.
|
|
454
|
-
Nothing else about the slicing goes into `features.md`.
|
|
377
|
+
then **delete `work/`**. **There is no `slice-<n>.md`**: nothing is specified yet;
|
|
378
|
+
- the index `appetites/<nn>-<name>.md` from [appetite-template.md](resources/appetite-template.md):
|
|
379
|
+
header with the `Appetite:` sentence and `Status: open`; an **empty** `## Slices` (its comment only); `## Backlog` with
|
|
380
|
+
**every bite**, grouped by Feature and User Task and ordered by value (must-have first,
|
|
381
|
+
`~nice-to-have` after), each on one line **copied as the slicer returned it** (the canonical
|
|
382
|
+
bite line of `output-template-bites.md`; never reformat it), the skeleton bites as
|
|
383
|
+
`(skeleton)` lines with no `→ Slice`; `deferred` bites (`F1-d1`, …) in their own group; never a flat
|
|
384
|
+
list of option IDs. Put **`### Proposed slices`** above the bites (3e); and `## Files` linking
|
|
385
|
+
everything above.
|
|
386
|
+
2. In `features.md`, set each picked Feature's `**Appetite:**` line:
|
|
387
|
+
`**Appetite:** → <nn>-<name> · 0/<total> options · next: <bite ID> <bite title>` (the first bite of
|
|
388
|
+
the first proposed row). Nothing else about the slicing goes into `features.md`.
|
|
455
389
|
3. **Refresh the story map** (if `story_map`): run the `bokata-render` script, in the foreground:
|
|
456
390
|
```bash
|
|
457
391
|
node .agents/skills/bokata-render/scripts/render.mjs <docs>/<initiative-slug>
|
|
458
392
|
```
|
|
459
|
-
If it prints a `file:line: problem`, the
|
|
393
|
+
If it prints a `file:line: problem`, the appetite or `features.md` broke the format: fix it and run it again.
|
|
460
394
|
|
|
461
395
|
---
|
|
462
396
|
|
|
463
|
-
## Step
|
|
397
|
+
## Step 5: Verify & Summarize
|
|
464
398
|
|
|
465
399
|
- [ ] Every picked Feature was sliced by a `feature-slicer` subagent and passed the gate
|
|
466
400
|
- [ ] The trio reviewed the full traces and the bites; their added options are in the Slicing
|
|
467
401
|
and each in exactly one bite
|
|
468
|
-
- [ ] The
|
|
469
|
-
folder: `
|
|
470
|
-
- [ ] `features.md` gained only a `**
|
|
402
|
+
- [ ] The appetite has its index (the `Appetite:` sentence, empty `## Slices`, Backlog of bites, `### Proposed slices`) and its
|
|
403
|
+
folder: `slicing/F<k>.md` per Feature, `context.md`, `pruned.md` — and **no** `slice-<n>.md`
|
|
404
|
+
- [ ] `features.md` gained only a `**Appetite:**` line per picked Feature
|
|
471
405
|
- [ ] The `bokata-render` script ran without errors (if `story_map`)
|
|
472
406
|
|
|
473
407
|
Print:
|
|
474
408
|
```
|
|
475
|
-
## ✓
|
|
409
|
+
## ✓ Appetite Ready — a proposal
|
|
476
410
|
|
|
477
|
-
**
|
|
478
|
-
**Location:** <docs>/{{INITIATIVE_SLUG}}/
|
|
411
|
+
**Appetite:** <nn>-<name> — Features: {{FEATURES}} · open
|
|
412
|
+
**Location:** <docs>/{{INITIATIVE_SLUG}}/appetites/<nn>-<name>.md (+ the folder <nn>-<name>/)
|
|
479
413
|
|
|
480
|
-
**
|
|
481
|
-
**
|
|
482
|
-
**Trio notes:** {{N}} (see the slice)
|
|
414
|
+
**Slicing:** {{NUM_STEPS}} Steps · {{NUM_OPTIONS_TOTAL}} options ({{NUM_PRUNED}} pruned) · {{NUM_BITES}} bites ({{NUM_MUST}} must-have · {{NUM_NICE}} nice-to-have · {{NUM_DEFERRED}} deferred)
|
|
415
|
+
**Trio notes:** {{N}} (see the appetite)
|
|
483
416
|
|
|
484
|
-
**Proposed
|
|
417
|
+
**Proposed slices:** Slice 1 {{SLICE_1_ONE_LINE}} · Slice 2 {{SLICE_2_ONE_LINE}} · Slice 3 {{SLICE_3_ONE_LINE}} …
|
|
418
|
+
Nothing is specified yet. Review the index and edit the proposal by hand if you want: move bites between
|
|
419
|
+
slices, add or drop bites, reorder the rows.
|
|
485
420
|
|
|
486
|
-
**Next step:** `bokata-
|
|
487
|
-
|
|
421
|
+
**Next step:** `bokata-spec` — specifies the first proposed slice (Slice 1, the Walking Skeleton):
|
|
422
|
+
its rules, its concrete ACs and your approval. Then `bokata-plan`.
|
|
488
423
|
```
|
|
489
424
|
|
|
490
425
|
---
|
|
491
426
|
|
|
492
|
-
##
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
427
|
+
## Adopt (`--from <nn>`): continue what a done appetite left
|
|
428
|
+
|
|
429
|
+
A `done` appetite means *enough*, not *complete*: it usually leaves bites untaken. To go on, do **not**
|
|
430
|
+
reopen it: make a **new appetite that adopts the leftover**. The built Slices stay as history; the new
|
|
431
|
+
appetite has its own sentence, its own cut line and its own Slice numbers, starting at 1.
|
|
432
|
+
|
|
433
|
+
**The leftover** of a `done` appetite is the bites of its `## Backlog` with no `→ Slice n` (`must-have`,
|
|
434
|
+
`~nice-to-have` and `deferred`), the options of those bites in `slicing/F<k>.md`, and its `pruned.md`.
|
|
435
|
+
|
|
436
|
+
`bokata-slice "<appetite>" --from <nn>` runs it. With no argument and no `--from`, if a done appetite
|
|
437
|
+
has leftover, offer *"Continue <nn>-<name>: <k> bites left (<m> must-have): <first titles>"* among the
|
|
438
|
+
example appetites of Step 1. Refuse an appetite that is still `open` (use `bokata-spec` on it, or
|
|
439
|
+
`--done` first) and a Feature that has another open appetite.
|
|
440
|
+
|
|
441
|
+
1. **Show the leftover**, grouped by Feature and User Task, `must-have` first, deferred last, with what
|
|
442
|
+
the done appetite built (its Slices' outcomes) and what it learned (the `## Learned` entries of its `slice-<n>.md`, with the leftover bites they affect). Get the appetite sentence as in Step 1, now
|
|
443
|
+
*from the leftover*: "what do you want to have **now**?", with the cut line drawn over the bites.
|
|
444
|
+
Recommend the bites that serve the sentence; the user picks. **The bites not picked stay in the
|
|
445
|
+
source appetite's Backlog**, still adoptable later. A `deferred` bite: ask whether its reason
|
|
446
|
+
still holds, as `bokata-spec` does.
|
|
447
|
+
2. **Number and name the new appetite** (as Step 1), `mkdir -p appetites/<mm>-wip/work`.
|
|
448
|
+
3. **Move, do not copy** (an option or a bite lives in one place):
|
|
449
|
+
- the picked **bite lines** go to the new index's `## Backlog`, same IDs and same lines. A
|
|
450
|
+
`depends on` that named something the source built (`Slice 1`, a taken bite) becomes
|
|
451
|
+
`built (<nn> · Slice <n>)`; one that names a source bite not picked: ask to add it, or flag it;
|
|
452
|
+
- their **options** go to the new `slicing/F<k>.md`: the User Task headings and every Step line
|
|
453
|
+
of the source trace come along (Step, layer, target), but only the picked options. A Step whose
|
|
454
|
+
options were built gets `· note: built in <nn> (F1-2.1 → Slice 1)`. The moved options leave the
|
|
455
|
+
source's `slicing/F<k>.md`;
|
|
456
|
+
- the source's `pruned.md` lines for those Features are **copied** to the new `pruned.md` (the
|
|
457
|
+
pruned options are not live, and the Trio may restore one);
|
|
458
|
+
- `context.md`: a Discovery Context for the new appetite — the sentence, what was built,
|
|
459
|
+
`Adopted from <nn>-<name>` (a link to its index), plus anything the user adds — and a link to the
|
|
460
|
+
source's `context.md` for the layer and constraint decisions, which are not copied;
|
|
461
|
+
- in the **source** appetite's `context.md` `## Notes`: `Leftover adopted by <mm>-<name>: <bite IDs>`.
|
|
462
|
+
4. **Review.** There is no slicer wave: the leftover is already sliced and pruned. Run **Wave 2 of Step 3c**
|
|
463
|
+
(the Trio, paths only) with one more line: *"This appetite adopts what <nn> left; what <nn> built is
|
|
464
|
+
in its `slice-<n>.md` files. Do the picked bites still make sense after what was built, and does
|
|
465
|
+
their order serve the `Appetite:` sentence?"* Then Step 3d. The gate of 3b is only mechanical here:
|
|
466
|
+
every picked option is in exactly one bite, every bite has its fields, no dependency cycle. A
|
|
467
|
+
missing option gets the next free ID **across both appetites' traces**.
|
|
468
|
+
5. **Roadmap.** Write `### Proposed slices` from the picked bites as in 3e, but **with no skeleton
|
|
469
|
+
row**: the skeleton is already built, so `Slice 1` is simply the first bites to build now, and
|
|
470
|
+
"Why this order" says what it builds on and what it leaves open.
|
|
471
|
+
6. Write the index (Step 4) with an `Adopts:` line in its header, set the `**Appetite:**` line of each
|
|
472
|
+
Feature (`→ <mm>-<name> · … · earlier: <nn>-<name> done`), run the `bokata-render` script, and
|
|
473
|
+
print the summary of Step 5 with `Adopts:` and the bites left in the source.
|
|
528
474
|
|
|
529
475
|
## Done (`--done`)
|
|
530
476
|
|
|
531
|
-
Only when the user asks — nothing marks
|
|
532
|
-
`
|
|
533
|
-
`State` is not `done`, unchecked steps in `plan.md`, a `## Pending` item
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
477
|
+
Only when the user asks — nothing marks an appetite done by itself. First **sweep**: read every
|
|
478
|
+
`slice-<n>.md` and `plan.md`'s section for this appetite and **list what is still open** — a Slice whose
|
|
479
|
+
`State` is not `done`, unchecked steps in `plan.md`, a `## Pending` item, a proposed slice that
|
|
480
|
+
was never specified — and **compare what is built with the `Appetite:` sentence of the index**:
|
|
481
|
+
say what the user can do now, what the sentence asks that is still missing, and which `must-have`
|
|
482
|
+
bites are still in the backlog (a `must-have` is a bite the appetite is not satisfied without).
|
|
483
|
+
*Done* means *enough*: the user may close an appetite with must-haves untaken; then list them in
|
|
484
|
+
the closing note. Ask whether to go on. Then set `Status: done` in the index header,
|
|
485
|
+
add a closing line to the `## Notes` of `context.md` (what is built, which bites stay in the backlog),
|
|
486
|
+
delete this appetite's section from `plan.md` if it still has one, update the `**Appetite:**` lines in
|
|
487
|
+
`features.md` with `· done`, and run the `bokata-render` script. The backlog and the proposed
|
|
488
|
+
slices stay in the index, as what the appetite left. To build more of these Features later, a **new**
|
|
489
|
+
appetite adopts that leftover (`bokata-slice "<appetite>" --from <nn>`); a done appetite is not reopened. A done *appetite* is not
|
|
490
|
+
a done *slice*: the `State: done` of a Slice is set by the executor, and a done appetite renders all
|
|
491
|
+
its Slices as done.
|
|
540
492
|
|
|
541
493
|
## Check (`--check`)
|
|
542
494
|
|
|
543
495
|
Run `node .agents/skills/bokata-render/scripts/render.mjs <docs>/<initiative-slug> --check`: it parses
|
|
544
|
-
`features.md`, the
|
|
545
|
-
`file:line: problem` (
|
|
546
|
-
Slicing,
|
|
547
|
-
|
|
496
|
+
`features.md`, the appetites and `plan.md` with the same parser the story map uses and prints every
|
|
497
|
+
`file:line: problem` (a Slice naming a bite that has no line, a bite whose option is not in the
|
|
498
|
+
Slicing, a Slice with no `slice-<n>.md`, an unknown `State`, a proposed row that names an unknown bite or
|
|
499
|
+
a bite a Slice already took, a bite in two rows, …) without writing anything. Report them; fix the
|
|
500
|
+
markdown, never the parser. It is what to run after editing the proposed slices by hand.
|
|
548
501
|
|
|
549
502
|
---
|
|
550
503
|
|
|
@@ -556,13 +509,13 @@ the markdown, never the parser.
|
|
|
556
509
|
full Coverage, pruned with a reason, a target per Step, every live option in exactly one bite)
|
|
557
510
|
- [ ] Cross-Feature `depends on: F<n> (…)` references were resolved to bite IDs, with no cycle
|
|
558
511
|
- [ ] Wave 2 (trio) saw the full traces and the bites and completed before reconciliation
|
|
559
|
-
- [ ] The Backlog lists bites with user-language titles, never loose option IDs
|
|
560
|
-
- [ ]
|
|
561
|
-
|
|
562
|
-
- [ ]
|
|
563
|
-
- [ ]
|
|
512
|
+
- [ ] The Backlog lists bites with user-language titles, never loose option IDs
|
|
513
|
+
- [ ] `### Proposed slices` exists: Slice 1 (the skeleton bites, one per User Task) first, every must-have bite
|
|
514
|
+
in exactly one row, dependencies respected, a reason per row
|
|
515
|
+
- [ ] The skeleton covers every User Task of the picked Features as skeleton bites with no `→ Slice`, or says under `Left out of the skeleton:` which it skips and why
|
|
516
|
+
- [ ] **No concrete ACs and no `slice-<n>.md`**: specifying is `bokata-spec`'s job
|
|
564
517
|
- [ ] No duration written anywhere
|
|
565
|
-
- [ ] `features.md` holds only the summary `**
|
|
518
|
+
- [ ] `features.md` holds only the summary `**Appetite:**` line per Feature
|
|
566
519
|
- [ ] No subagent prompt contains a pasted trace, report or Discovery Context: only paths
|
|
567
|
-
- [ ] The `work/` folder is gone and `
|
|
568
|
-
- [ ] The `bokata-render` script ran right after the
|
|
520
|
+
- [ ] The `work/` folder is gone and `appetites/<nn>-wip` was renamed
|
|
521
|
+
- [ ] The `bokata-render` script ran right after the appetite was final
|