bokata 2.0.1 → 3.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/skills/bokata-acceptance-criteria/SKILL.md +6 -7
- package/.agents/skills/bokata-acceptance-criteria/resources/output-template-functional.md +3 -3
- package/.agents/skills/bokata-acceptance-criteria/resources/output-template.md +1 -1
- package/{commands/task-parallel/feature-map.md → .agents/skills/bokata-feature-map/SKILL.md} +79 -79
- package/.agents/skills/bokata-feature-map/resources/features-template.md +83 -0
- package/.agents/skills/bokata-feature-mapper/SKILL.md +4 -5
- package/.agents/skills/bokata-feature-mapper/resources/output-template.md +1 -1
- package/.agents/skills/bokata-feature-slicer/SKILL.md +176 -183
- package/.agents/skills/bokata-feature-slicer/resources/output-template-bites.md +21 -0
- package/.agents/skills/bokata-feature-slicer/resources/output-template-increments.md +9 -12
- package/.agents/skills/bokata-feature-slicer/resources/output-template-steps.md +6 -22
- package/.agents/skills/bokata-feature-slicer/resources/phase-2-increments.md +51 -79
- package/.agents/skills/bokata-feature-slicer/resources/phase-3-skeleton.md +152 -0
- package/.agents/skills/bokata-feature-slicer/resources/phase-4-bites.md +139 -0
- package/.agents/skills/bokata-plan/SKILL.md +110 -0
- package/.agents/skills/bokata-plan/resources/plan-template.md +35 -0
- package/.agents/skills/bokata-refactor/SKILL.md +69 -0
- package/.agents/skills/bokata-refactor/resources/smells.md +47 -0
- package/.agents/skills/bokata-refactor/resources/tidyings.md +31 -0
- package/.agents/skills/bokata-render/SKILL.md +68 -0
- package/.agents/skills/bokata-render/assets/story-map.html +428 -0
- package/.agents/skills/bokata-render/scripts/render.mjs +703 -0
- package/.agents/skills/bokata-shape/SKILL.md +117 -0
- package/.agents/skills/bokata-shape/resources/adr-template.md +24 -0
- package/.agents/skills/bokata-shape/resources/breadboarding.md +47 -0
- package/.agents/skills/bokata-shape/resources/pitch-template.md +42 -0
- package/.agents/skills/bokata-slice/SKILL.md +569 -0
- package/.agents/skills/bokata-slice/resources/inc-template.md +36 -0
- package/.agents/skills/bokata-slice/resources/slice-template.md +70 -0
- package/.agents/skills/bokata-status/SKILL.md +77 -0
- package/.agents/skills/bokata-tdd/SKILL.md +109 -0
- package/.agents/skills/bokata-tdd/resources/evidence-rules.md +27 -0
- package/LICENSE +21 -0
- package/README.md +224 -92
- package/agents/bokata-product-designer.md +49 -17
- package/agents/bokata-product-engineer.md +49 -16
- package/agents/bokata-product-manager.md +50 -18
- package/agents/code-executor.md +64 -0
- package/agents/design-reviewer.md +40 -0
- package/agents/feature-slicer.md +54 -0
- package/bin/bokata.js +40 -13
- package/package.json +20 -7
- package/src/agents.js +139 -0
- package/src/config.js +76 -0
- package/src/install.js +182 -205
- package/.agents/skills/bokata-feature-slicer/resources/phase-3-baby-steps.md +0 -311
- package/commands/codex/feature-map.md +0 -263
- package/commands/codex/slice-feature.md +0 -291
- package/commands/task-parallel/resources/html-template.md +0 -560
- package/commands/task-parallel/resources/story-map-template.md +0 -495
- package/commands/task-parallel/slice-feature.md +0 -301
|
@@ -0,0 +1,569 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: bokata-slice
|
|
3
|
+
description: Create and grow a vertical slice of 1-4 Features — slice each Feature into Steps, options and INVEST bites (one feature-slicer subagent per Feature), have the Product Trio review the full trace and the bites, let the user compose the Walking Skeleton as the first increment, and write concrete Acceptance Criteria only for it. Later, add the next increment from the slice's own backlog of bites (--next) or mark the slice done (--done). Use it after bokata-feature-map or a pitch, when the user wants to slice, pick what to build next, or define a walking skeleton.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Create and grow a **vertical slice**: a group of 1–4 Features that together give the user a
|
|
7
|
+
usable flow. The slice holds everything about it — how each Feature was sliced, the
|
|
8
|
+
increments built so far, and the backlog left — and grows one increment at a time, Walking
|
|
9
|
+
Skeleton first. It is a short **index** plus a folder of files, so that no operation has to read
|
|
10
|
+
the whole history (see [The slice layout](#the-slice-layout)). You are the neutral coordinator; the slicing comes from `feature-slicer`
|
|
11
|
+
subagents, and the PM, Designer and Engineer review from their lenses.
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
Slice 1–4 Features → a usable flow, end to end; open until the user marks it done
|
|
15
|
+
├ Slicing per Feature: User Task → Step → options (F1-2.3), pruned, with a target per Step
|
|
16
|
+
├ Increment the Walking Skeleton (Inc 1) or one or more bites the user can see or use
|
|
17
|
+
│ └ Plan steps in the initiative's plan.md: written by bokata-plan, checked off by the executor,
|
|
18
|
+
│ deleted when the Inc is done
|
|
19
|
+
└ Bites F1-a …: INVEST groups of options, per User Task, each titled for the user; an Inc
|
|
20
|
+
takes some, the rest stay in the Backlog for as long as the slice lives
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### The slice layout
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
slices/<nn>-<name>.md INDEX: header, Increments (outcome + bites), Backlog (bite lines, proposed increments), links
|
|
27
|
+
slices/<nn>-<name>/inc-<n>.md one Increment: State, Unknowns, Gherkin, rules, its decisions, Pending
|
|
28
|
+
slices/<nn>-<name>/slicing/F<k>.md one Feature's trace (User Task → Step → options)
|
|
29
|
+
slices/<nn>-<name>/notes.md slice-wide Notes and the Trio notes
|
|
30
|
+
slices/<nn>-<name>/pruned.md the Pruned list, one line per option with its reason
|
|
31
|
+
slices/<nn>-<name>/discovery.md the Discovery Context
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
- **Say it once.** An option, a bite, an outcome or a decision lives in one place. The index repeats
|
|
35
|
+
nothing of an Inc but its name, outcome and bite IDs; the Inc's options are the options of its bites.
|
|
36
|
+
- **State lives only in `inc-<n>.md`** (`State: sliced | planned | done`; `building` is derived from
|
|
37
|
+
the checked steps in `plan.md`). A `done` slice shows every Inc as done.
|
|
38
|
+
- **A decision about one Inc goes in that Inc's file** (`## Decisions and notes of this Inc`);
|
|
39
|
+
`notes.md` holds only what concerns the whole slice.
|
|
40
|
+
- Templates: [slice-template.md](resources/slice-template.md) (the index) and
|
|
41
|
+
[inc-template.md](resources/inc-template.md).
|
|
42
|
+
|
|
43
|
+
- **Option ≠ bite ≠ increment.** An option is one way to do one Step. A bite groups the
|
|
44
|
+
options of one or several Steps that make sense together (small, INVEST). An increment is the
|
|
45
|
+
Walking Skeleton or one or more bites — whatever lets the user see or do something new.
|
|
46
|
+
- **The backlog is a plan, not an index.** Options are explored widely, then the slicer prunes
|
|
47
|
+
what is obsolete, dominated or filler (each with a reason) and groups the rest into bites.
|
|
48
|
+
Nobody reads loose option IDs.
|
|
49
|
+
- **A Feature belongs to exactly one slice.** If another slice needs it, that slice lists it as
|
|
50
|
+
a dependency.
|
|
51
|
+
- **Concrete ACs are written just in time**, only for the increment entering the slice.
|
|
52
|
+
Functional ACs stay in `features.md`.
|
|
53
|
+
- **No time estimates.** Never write a duration.
|
|
54
|
+
|
|
55
|
+
All outputs live under `<docs>/<initiative-slug>/`.
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Configuration
|
|
60
|
+
|
|
61
|
+
Read `.bokata.json` at the project root if it exists. Defaults:
|
|
62
|
+
|
|
63
|
+
```json
|
|
64
|
+
{ "docs": "docs/initiatives",
|
|
65
|
+
"memory": { "constitution": "CONSTITUTION.md", "glossary": "GLOSSARY.md", "adrs": "docs/adrs" },
|
|
66
|
+
"methods": { "domain": "domain-modeling" },
|
|
67
|
+
"templates": { "slice": null },
|
|
68
|
+
"story_map": true }
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
`<docs>` below is the `docs` value. `templates.slice: null` means
|
|
72
|
+
[resources/slice-template.md](resources/slice-template.md). The story map is drawn by the
|
|
73
|
+
`bokata-render` script from the markdown; this skill only runs it.
|
|
74
|
+
|
|
75
|
+
## Operations
|
|
76
|
+
|
|
77
|
+
| Call | Does |
|
|
78
|
+
|------|------|
|
|
79
|
+
| `bokata-slice [<features…>]` | **New slice**: Steps 1–6 below |
|
|
80
|
+
| `bokata-slice <nn> --next` | **Next increment** of an open slice — see [Next increment](#next-increment---next) |
|
|
81
|
+
| `bokata-slice <nn> --check` | Validate the slice and the initiative's markdown (runs the render script's `--check`) |
|
|
82
|
+
| `bokata-slice <nn> --done` | Mark the slice **done** — see [Done](#done---done) |
|
|
83
|
+
|
|
84
|
+
## Mode
|
|
85
|
+
|
|
86
|
+
- **Trio mode (large initiative)** — `features.md` exists and was written by `bokata-feature-map`
|
|
87
|
+
(no `<!-- Mode: single -->` marker). Reviews and Rules come from the three trio subagents.
|
|
88
|
+
- **Single mode (one feature)** — there is only a pitch (or a plain description), or a
|
|
89
|
+
`features.md` carrying `<!-- Mode: single -->`. The pitch is the one Feature. Still dispatch
|
|
90
|
+
one `feature-slicer` subagent; run every trio step yourself, one lens at a time. The first
|
|
91
|
+
time, create `features.md` from the features template with **only** that Feature (name and
|
|
92
|
+
`Purpose` from the pitch, its User Tasks from [Step 1b](#step-1b-single-mode-only-derive-the-user-tasks))
|
|
93
|
+
and its `**Slice:**` line, and put `<!-- Mode: single -->` under its header comment. There are
|
|
94
|
+
no functional ACs in single mode: the Coverage check is skipped (see the gate).
|
|
95
|
+
|
|
96
|
+
The user can force either mode.
|
|
97
|
+
|
|
98
|
+
**Feature codes.** `F1`, `F2`, … follow the order of the Features in `features.md` (the journey
|
|
99
|
+
order) and never change. Option IDs build on them: `F2-3.1` = Feature 2, Step 3, option 1.
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
## Step 1: Resolve Features & Folders
|
|
104
|
+
|
|
105
|
+
1. Read `features.md` and the pitch, the constitution, the glossary, and the existing slices in
|
|
106
|
+
`<docs>/<initiative-slug>/slices/` (their header and `Status` are enough).
|
|
107
|
+
2. Show the Features: which already belong to a slice (from each Feature's `**Slice:**` line) and
|
|
108
|
+
which are free. Ask the user to pick **1–4 free Features that make sense together** if not
|
|
109
|
+
given. For the first slice, recommend the group that makes the journey usable end to end. A
|
|
110
|
+
Feature that already has a slice cannot be picked again — offer `bokata-slice <nn> --next` on
|
|
111
|
+
that slice instead.
|
|
112
|
+
3. Number the new slice (`01`, `02`, … after the existing ones) and `mkdir -p
|
|
113
|
+
<docs>/<initiative-slug>/slices/<nn>-wip/work`. This **work folder** holds the discovery and the
|
|
114
|
+
slicers' output while the slice is being made; Step 5 turns it into the final layout and deletes it.
|
|
115
|
+
Every subagent below receives **paths into it, never pasted content**.
|
|
116
|
+
|
|
117
|
+
## Step 1b: Single mode only — derive the User Tasks
|
|
118
|
+
|
|
119
|
+
A pitch has no User Tasks, and the slicer needs them as input. Before Step 2, read the pitch's
|
|
120
|
+
Solution and Problem and propose **3–6 User Tasks** (`[Verb] [Object]`, no actor, each something
|
|
121
|
+
the user does that has observable value, in the journey order). Show them as one numbered round
|
|
122
|
+
with your recommendation ("yes" accepts the list; the user can rename, merge, split or add).
|
|
123
|
+
The confirmed list is what the slicer receives and what goes into `features.md`. Skip this step
|
|
124
|
+
in trio mode: the backbone already has them.
|
|
125
|
+
|
|
126
|
+
---
|
|
127
|
+
|
|
128
|
+
## Step 2: Consolidated Discovery (Interactive)
|
|
129
|
+
|
|
130
|
+
Ask clarifying questions in **rounds** (every question you can ask now, numbered, each with your
|
|
131
|
+
recommended answer and worded so "yes" accepts it; wait for the answers before the next round)
|
|
132
|
+
about the picked Features, only where the answer changes a Step or an option:
|
|
133
|
+
- **Technical Clarity** — User Tasks too vague to decompose into Steps?
|
|
134
|
+
- **Layer Ambiguity** — Steps unclear between UI, Logic and Data?
|
|
135
|
+
- **Increment Scope** — User Tasks too large to slice without clarification?
|
|
136
|
+
- **Dependencies** — between User Tasks, or between the picked Features?
|
|
137
|
+
- **Constraints** — architecture or performance limits on which options are viable?
|
|
138
|
+
|
|
139
|
+
**Scope decisions defer, they do not delete.** When the user cuts something ("preview only", "no
|
|
140
|
+
horn for now"), record it as a deferral: the slicers still list those options, marked `deferred`,
|
|
141
|
+
and they stay in the backlog.
|
|
142
|
+
|
|
143
|
+
If the input is already rich, say so and ask only about what is missing:
|
|
144
|
+
> "You provided the features + functional ACs for [initiative], which resolves scope and rules. Asking only about [missing categories]."
|
|
145
|
+
|
|
146
|
+
Produce one `## Discovery Context — Slicer: [Feature Names]` block: Technical Clarifications /
|
|
147
|
+
Layer Decisions / Increment Boundaries / Deferred (scope cuts) / Dependencies Confirmed /
|
|
148
|
+
Constraints Noted / Assumptions, and **write it to `slices/<nn>-wip/work/discovery.md`**. Every
|
|
149
|
+
subagent below receives its path.
|
|
150
|
+
|
|
151
|
+
---
|
|
152
|
+
|
|
153
|
+
## Step 3: Slicing — Two Waves of Subagents
|
|
154
|
+
|
|
155
|
+
Subagents cannot launch subagents in every harness, so **you** launch both waves from the main
|
|
156
|
+
thread. Use your harness's subagent tool (Task/Agent in Claude Code, `task` in OpenCode,
|
|
157
|
+
`spawn_agents` in Codex, subagents in Cursor). In each wave, issue every call **in a single
|
|
158
|
+
assistant message**, all **foreground/blocking**, and do not continue until every result is in.
|
|
159
|
+
|
|
160
|
+
### 3a. Wave 1 — one `feature-slicer` per Feature (parallel)
|
|
161
|
+
|
|
162
|
+
**Never slice a Feature yourself**, even when it looks small: dispatch the `feature-slicer`
|
|
163
|
+
agent, which runs the `bokata-feature-slicer` skill with its resources.
|
|
164
|
+
|
|
165
|
+
```
|
|
166
|
+
subagent_type: feature-slicer
|
|
167
|
+
prompt: "Slice this Feature. Feature code: F<n>.
|
|
168
|
+
- Feature: [name and ID] — its Purpose, User Tasks and System Tasks are in <docs>/<slug>/features.md
|
|
169
|
+
(in single mode, the confirmed list of Step 1b was written there)
|
|
170
|
+
- Discovery Context: <docs>/<slug>/slices/<nn>-wip/work/discovery.md
|
|
171
|
+
- Constitution / glossary paths: [from .bokata.json]
|
|
172
|
+
- Functional ACs — open ONLY for the Phase 3 coverage check: this Feature's Requirements + Scenarios
|
|
173
|
+
in features.md [in single mode: "none — skip the coverage check"]
|
|
174
|
+
- Output file (the only file you may write): <docs>/<slug>/slices/<nn>-wip/work/F<n>.md
|
|
175
|
+
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
|
+
reason, a target per Step, INVEST bites). Write the full output (Slicing trace, Coverage,
|
|
177
|
+
Walking Skeleton proposal, Pruned, Bites, Self-check, Assumptions) to the output file and reply in at most
|
|
178
|
+
8 lines: the path and the Self-check counts."
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
### 3b. Gate — check each trace before anyone reviews it
|
|
182
|
+
|
|
183
|
+
Read each `work/F<n>.md` once and, for every trace, check mechanically (count, do not judge):
|
|
184
|
+
- [ ] Every User Task of the Feature has Steps, each with a layer
|
|
185
|
+
- [ ] Every Step had ≥3 options **before pruning**: its live options in the trace plus its entries
|
|
186
|
+
in `### Pruned` (the Step is the number in the option ID, `F5-4.1` → Step 4) add up to ≥3,
|
|
187
|
+
and the Self-check's `min n/Step` agrees. Pruning deliberately leaves fewer than 3 in the trace.
|
|
188
|
+
- [ ] Every Step has a `strategies:` line with ≥2 strategies
|
|
189
|
+
- [ ] Every Step has a cheap-family option (crutch, fake/hardcoded data, zero/one/many, simplified
|
|
190
|
+
workflow, basic utility) or a one-line reason why not
|
|
191
|
+
- [ ] Every Requirement of the Feature appears in `### Coverage` (single mode has none:
|
|
192
|
+
`### Coverage` says `none — no functional ACs`)
|
|
193
|
+
- [ ] 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
|
|
195
|
+
- [ ] Every pruned option appears in `### Pruned` with one of the four reasons, is gone from the
|
|
196
|
+
trace, and was not a skeleton or `deferred` option
|
|
197
|
+
- [ ] Every Step has one `→ target`
|
|
198
|
+
- [ ] Every live option (not skeleton, not pruned) is in **exactly one** bite; none is in two
|
|
199
|
+
- [ ] Every bite has an ID, a title with a subject, `must-have` or `~nice-to-have`, its options
|
|
200
|
+
with Steps, `depends on`, a value line and a check; none has more than ~5 options
|
|
201
|
+
- [ ] `deferred` options sit in their own bites; no dependency cycle between bites
|
|
202
|
+
- [ ] The Self-check counts match the trace
|
|
203
|
+
|
|
204
|
+
If a trace fails, re-dispatch **that** slicer with the failed items listed ("S4 had 2 options
|
|
205
|
+
before pruning; S7 has no cheap option; R3 missing from Coverage; F5-6.4 is in no bite; Step S9
|
|
206
|
+
has no target") **and the path of its previous output**: the new subagent has no memory, so it fixes that
|
|
207
|
+
file instead of slicing again from scratch. Do not patch the trace yourself. At most two retries; then
|
|
208
|
+
show the user what is still missing.
|
|
209
|
+
|
|
210
|
+
### 3b-bis. Resolve cross-Feature dependencies
|
|
211
|
+
|
|
212
|
+
Each slicer sees only its own Feature, so a bite that needs another Feature says
|
|
213
|
+
`depends on: F7 (<what it needs>)`, never a bite ID of F7. Once every trace passes the gate, edit the
|
|
214
|
+
work files to replace
|
|
215
|
+
each such reference with the ID of the bite of that Feature that provides what is needed (or
|
|
216
|
+
`Inc 1` if its skeleton does). If no bite does, note it under `## Trio notes` as a gap and ask the
|
|
217
|
+
user in the decision point of 3d. Then check there is no dependency cycle across Features.
|
|
218
|
+
|
|
219
|
+
### 3c. Wave 2 — Trio review of the full traces (parallel)
|
|
220
|
+
|
|
221
|
+
The trio reviews **the complete traces and the bites**, not a summary: they can only miss
|
|
222
|
+
options they can see, and only object to a pruning they can read. They are given the **paths** of the
|
|
223
|
+
files (`work/F<n>.md`, `work/discovery.md`, `features.md`) and read them themselves: you never paste a
|
|
224
|
+
trace into a prompt, so the traces are not written out again three times.
|
|
225
|
+
|
|
226
|
+
**Task 1: bokata-product-manager**
|
|
227
|
+
```
|
|
228
|
+
subagent_type: bokata-product-manager
|
|
229
|
+
prompt: "Review the slicing of [Features] from the value/viability lens. You have:
|
|
230
|
+
- Full slicing traces (Steps, options, coverage, Walking Skeleton proposal, Pruned, Bites), one file per Feature: [the paths of every work/F<n>.md]
|
|
231
|
+
- 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>/slices/<nn>-wip/work/discovery.md
|
|
233
|
+
Do NOT ask the user questions. Focus on: Is the skeleton the minimum that still gives observable
|
|
234
|
+
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
|
|
236
|
+
Pruned list and the Bites. Is the must-have / nice-to-have split in value order, does any
|
|
237
|
+
pruning throw away value (name the option ID), is any bite too big or two bites really one?
|
|
238
|
+
Tag every finding with Severity (Critical|Suggested) and Type (factual/scope|trade-off). Return
|
|
239
|
+
your review in the format specified in your agent file (Bites section included)."
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
**Task 2: bokata-product-designer**
|
|
243
|
+
```
|
|
244
|
+
subagent_type: bokata-product-designer
|
|
245
|
+
prompt: "Review the slicing of [Features] from the UX/UI lens. You have:
|
|
246
|
+
- Full slicing traces, one file per Feature: [the paths of every work/F<n>.md]
|
|
247
|
+
- 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>/slices/<nn>-wip/work/discovery.md
|
|
249
|
+
Do NOT ask the user questions. Focus on: Does the skeleton combine into a coherent minimal
|
|
250
|
+
experience across the Features? Which UI states are essential to the skeleton and which can wait?
|
|
251
|
+
Is a cheaper UI option (static screen, one state only, existing component) missing for any Step —
|
|
252
|
+
propose it with its Step ID. Also review the Bites. Do the titles read on their own, with no
|
|
253
|
+
Step context? Is each bite one coherent thing in the interface, or does it mix two screens or
|
|
254
|
+
two interactions? Does any pruning drop a UI state the skeleton needs? Tag every finding with
|
|
255
|
+
Severity (Critical|Suggested) and Type (factual/scope|trade-off). Return your review in the format
|
|
256
|
+
specified in your agent file (Bites section included)."
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
**Task 3: bokata-product-engineer**
|
|
260
|
+
```
|
|
261
|
+
subagent_type: bokata-product-engineer
|
|
262
|
+
prompt: "Review the slicing of [Features] from the feasibility/technical-sustainability lens. You have:
|
|
263
|
+
- Full slicing traces, one file per Feature: [the paths of every work/F<n>.md]
|
|
264
|
+
- 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>/slices/<nn>-wip/work/discovery.md
|
|
266
|
+
Do NOT ask the user questions. Focus on: Are Steps and layers sound? Is each skeleton option
|
|
267
|
+
reversible, and which shortcuts are safe to revisit vs dangerous? Is a cheaper technical option
|
|
268
|
+
(in-memory, hardcoded, existing service, manual step) missing for any Step — propose it with its
|
|
269
|
+
Step ID. Also review the Bites. Are the dependencies right and acyclic, is any bite too big
|
|
270
|
+
to size, and does any pruned option break a contract a later bite or Feature relies on (name
|
|
271
|
+
the option ID)? Tag every finding with Severity (Critical|Suggested) and Type
|
|
272
|
+
(factual/scope|trade-off). Return your review in the format specified in your agent file (Bites
|
|
273
|
+
section included)."
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
### 3d. Reconcile (You Are the Neutral Coordinator)
|
|
277
|
+
|
|
278
|
+
You add no fourth opinion and arbitrate no product trade-off. Classify each finding (use the
|
|
279
|
+
reviewer's `Type` tag, but verify it):
|
|
280
|
+
|
|
281
|
+
- **(a) Non-conflicting improvement** — apply it. A proposed missing option is added to its Step
|
|
282
|
+
with the next free ID **and to exactly one bite** (an existing one, or a new one). Never
|
|
283
|
+
remove an option because a reviewer prefers another — options are alternatives. What **is**
|
|
284
|
+
pruned is the obsolete, the dominated and the filler, each with its reason. A reviewer finding
|
|
285
|
+
can move options between bites, split a bite, or restore a pruned option (back into a
|
|
286
|
+
bite, still with one bite only); the neutral coordinator makes the move.
|
|
287
|
+
- **(b) Factual / scope conflict** — decidable against an artifact (`features.md`, the pitch, the
|
|
288
|
+
Discovery Context, the constitution). Resolve it against that artifact, apply the fix, and add a
|
|
289
|
+
one-line `## Trio notes` entry citing it. Do not ask the user.
|
|
290
|
+
- **(c) Genuine product trade-off** — a value↔UX / value↔sustainability judgment with no ground
|
|
291
|
+
truth in any artifact (e.g. PM: "F1-3.1 is enough for the skeleton"; Designer: "the skeleton
|
|
292
|
+
needs F1-3.2 to be coherent"; PM: "F5-b is must-have"; Engineer: "it can wait"). This is the
|
|
293
|
+
human's decision.
|
|
294
|
+
|
|
295
|
+
**Bucket (c):** collect them all first (never one at a time). For each: the two positions with
|
|
296
|
+
their lens, the one-sentence crux, and a **recommended default** grounded in the constitution /
|
|
297
|
+
Fast Feedback Principle.
|
|
298
|
+
- **Interactive (default):** present them as one numbered decision point and wait. Use your
|
|
299
|
+
harness's question tool if it has one (`AskUserQuestion` in Claude Code, `question` in OpenCode;
|
|
300
|
+
one question per conflict; options = each lens position plus your recommended default, marked
|
|
301
|
+
recommended). Otherwise a numbered plain-text prompt. Apply the choices.
|
|
302
|
+
- **Non-interactive** (`--no-interactive`, or a headless run): apply the defaults and record each
|
|
303
|
+
in `## Trio notes` with both positions, the applied default, and `⚠ flagged for human review`.
|
|
304
|
+
|
|
305
|
+
### 3e. Compose Inc 1 — the Walking Skeleton (Interactive)
|
|
306
|
+
|
|
307
|
+
Propose **Inc 1** as the union of the reconciled skeleton proposals: the option IDs per User Task
|
|
308
|
+
across the picked Features, so the flow works end to end. Then:
|
|
309
|
+
- Show it as one line of what the user can do, its option IDs, and its `**[User Task]**` tags.
|
|
310
|
+
- Every part must be functional on its own; if an option has no visible effect alone, it travels
|
|
311
|
+
with the option that makes it visible.
|
|
312
|
+
- The user can swap options, add or drop them, and name the slice. **The user decides.**
|
|
313
|
+
- Options the user moves into Inc 1 leave their bite; if that empties a bite, remove it; if
|
|
314
|
+
it breaks another bite's `depends on`, repoint it to `Inc 1`. The bites left stay the
|
|
315
|
+
backlog.
|
|
316
|
+
- **Group the skeleton into skeleton bites.** An Inc is always made of bites, so that the story map
|
|
317
|
+
draws it as cards. Make one **skeleton bite per User Task** the skeleton covers: ID `F<n>-w<k>`
|
|
318
|
+
(`F1-w1`, `F1-w2`, … — the `w` plus a digit never collides with a slicer's letter IDs), a title with
|
|
319
|
+
a subject that says what the user does in that User Task *with the shortcut* ("Ana picks a hardcoded
|
|
320
|
+
clip"), tagged `(skeleton)`, its options, `→ Inc 1`. Show the titles to the user with the rest of Inc 1.
|
|
321
|
+
|
|
322
|
+
### Proposed increments
|
|
323
|
+
|
|
324
|
+
After Inc 1 is fixed (3e) — and again after every `--next` — write the roadmap of the bites that are
|
|
325
|
+
left as a table in `## Backlog`, above the bites. It is a **proposal**, labelled as such; the owner
|
|
326
|
+
edits it. You compose it from what the trio already said (the PM's value order and "bites to build
|
|
327
|
+
next", the Engineer's dependencies); you add no new opinion on value.
|
|
328
|
+
|
|
329
|
+
- One row per Inc: `Inc <n> — <name>`, its bites (1–3, across User Tasks if they belong together),
|
|
330
|
+
what the user gains (user language, one line), and **why this order** (the value it unlocks or the
|
|
331
|
+
dependency it satisfies).
|
|
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/discovery.md`; for `--next` the final `slices/<nn>-<name>/slicing/F<n>.md` and
|
|
349
|
+
`slices/<nn>-<name>/discovery.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 discovery.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 discovery.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 discovery.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 discovery.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.
|
|
420
|
+
|
|
421
|
+
---
|
|
422
|
+
|
|
423
|
+
## Step 5: Write the Slice & the Summary
|
|
424
|
+
|
|
425
|
+
1. Name the slice (the user chose the name in 3e), rename `slices/<nn>-wip` to `slices/<nn>-<name>`,
|
|
426
|
+
`mkdir -p slices/<nn>-<name>/slicing`, and **write** the files of [The slice layout](#the-slice-layout)
|
|
427
|
+
from the (reconciled) files in `work/`. **Copy, do not retype**: cut each section out of
|
|
428
|
+
`work/F<k>.md` with the shell (`sed -n`, `awk`, `node -e`) or your editor instead of writing it out
|
|
429
|
+
again — a trace is tens of KB.
|
|
430
|
+
- `slices/<nn>-<name>/slicing/F<k>.md` — one per Feature: the `## Slicing` … `### Coverage` part of
|
|
431
|
+
`work/F<k>.md` (the Walking Skeleton proposal, Pruned, Bites and Self-check go elsewhere; the
|
|
432
|
+
Assumptions to `notes.md`): its reconciled trace (Steps, options,
|
|
433
|
+
strategies, targets, bite of each live option, Coverage) exactly as the slicer wrote it plus the
|
|
434
|
+
trio's added options; append `→ Inc 1` to every option Inc 1 took (replacing the slicer's
|
|
435
|
+
`skeleton` marker);
|
|
436
|
+
- `slices/<nn>-<name>/inc-1.md` from [inc-template.md](resources/inc-template.md): `State: sliced`,
|
|
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),
|
|
440
|
+
`notes.md` (`# Notes` and `## Trio notes`) and `discovery.md` (`work/discovery.md`, moved);
|
|
441
|
+
then **delete `work/`**;
|
|
442
|
+
- the index `slices/<nn>-<name>.md` from [slice-template.md](resources/slice-template.md):
|
|
443
|
+
header with `Status: open`; `## Increments` with `### Inc 1 — Walking skeleton`, its
|
|
444
|
+
`Outcome:` (one sentence in user language), `Bites:` (the skeleton bites of 3e) and `Detail:` link;
|
|
445
|
+
`## Backlog` with **every bite**, grouped by Feature and User Task and ordered by value (must-have
|
|
446
|
+
first, `~nice-to-have` after), each on one line **copied as the slicer returned it** (the
|
|
447
|
+
canonical bite line of `output-template-bites.md`; never reformat it), the skeleton bites as
|
|
448
|
+
`(skeleton) → Inc 1` lines and `→ Inc n` after the priority tag of every bite an Inc took;
|
|
449
|
+
`deferred` bites (`F1-d1`, …) in their own group; never a flat list of option IDs. Put
|
|
450
|
+
**`### Proposed increments`** above the bites: see [Proposed increments](#proposed-increments);
|
|
451
|
+
and `## Files` linking everything above.
|
|
452
|
+
2. In `features.md`, set each picked Feature's `**Slice:**` line:
|
|
453
|
+
`**Slice:** → <nn>-<name> · <taken>/<total> options · next: <bite ID> <bite title>`.
|
|
454
|
+
Nothing else about the slicing goes into `features.md`.
|
|
455
|
+
3. **Refresh the story map** (if `story_map`): run the `bokata-render` script, in the foreground:
|
|
456
|
+
```bash
|
|
457
|
+
node .agents/skills/bokata-render/scripts/render.mjs <docs>/<initiative-slug>
|
|
458
|
+
```
|
|
459
|
+
If it prints a `file:line: problem`, the slice or `features.md` broke the format: fix it and run it again.
|
|
460
|
+
|
|
461
|
+
---
|
|
462
|
+
|
|
463
|
+
## Step 6: Verify & Summarize
|
|
464
|
+
|
|
465
|
+
- [ ] Every picked Feature was sliced by a `feature-slicer` subagent and passed the gate
|
|
466
|
+
- [ ] The trio reviewed the full traces and the bites; their added options are in the Slicing
|
|
467
|
+
and each in exactly one bite
|
|
468
|
+
- [ ] The slice has its index (Inc 1 with outcome and skeleton bites, Backlog of bites) and its
|
|
469
|
+
folder: `inc-1.md` with concrete Gherkin, `slicing/F<k>.md` per Feature, `notes.md`, `pruned.md`,
|
|
470
|
+
`discovery.md`
|
|
471
|
+
- [ ] `features.md` gained only a `**Slice:**` line per picked Feature
|
|
472
|
+
- [ ] The `bokata-render` script ran without errors (if `story_map`)
|
|
473
|
+
|
|
474
|
+
Print:
|
|
475
|
+
```
|
|
476
|
+
## ✓ Slice Ready
|
|
477
|
+
|
|
478
|
+
**Slice:** <nn>-<name> — Features: {{FEATURES}} · open
|
|
479
|
+
**Location:** <docs>/{{INITIATIVE_SLUG}}/slices/<nn>-<name>.md (+ the folder <nn>-<name>/)
|
|
480
|
+
|
|
481
|
+
**Inc 1 (Walking Skeleton):** {{ONE_LINE}} · {{NUM_OPTIONS}} options · {{NUM_GHERKIN_BLOCKS}} scenarios
|
|
482
|
+
**Slicing:** {{NUM_STEPS}} Steps · {{NUM_OPTIONS_TOTAL}} options ({{NUM_PRUNED}} pruned) · {{NUM_BITES}} bites in the backlog ({{NUM_MUST}} must-have · {{NUM_NICE}} nice-to-have · {{NUM_DEFERRED}} deferred)
|
|
483
|
+
**Trio notes:** {{N}} (see the slice)
|
|
484
|
+
|
|
485
|
+
**Proposed next increments:** {{INC_2_ONE_LINE}} · {{INC_3_ONE_LINE}} … (a proposal — edit it in the slice)
|
|
486
|
+
|
|
487
|
+
**Next step:** `bokata-plan <docs>/{{INITIATIVE_SLUG}}/slices/<nn>-<name>.md` — inside your harness's plan mode.
|
|
488
|
+
After Inc 1 is built: `bokata-slice <nn> --next`.
|
|
489
|
+
```
|
|
490
|
+
|
|
491
|
+
---
|
|
492
|
+
|
|
493
|
+
## Next increment (`--next`)
|
|
494
|
+
|
|
495
|
+
For an **open** slice whose current increment is built (or when the user wants to queue the next
|
|
496
|
+
one):
|
|
497
|
+
|
|
498
|
+
1. Read the **index** (`Increments`, `Backlog` — the bites), `notes.md`, `pruned.md`, and the
|
|
499
|
+
`slicing/F<k>.md` of the Features whose bites you may take; read an `inc-<n>.md` only for an Inc
|
|
500
|
+
you must reason about (its `Pending` and decisions). Also the functional ACs of the Features from
|
|
501
|
+
`features.md`. Do not read the Gherkin of the Incs already built.
|
|
502
|
+
2. Propose the next increment as **one or several bites** (of one or several User Tasks) that
|
|
503
|
+
unlock the most value on top of what is built; start from the first row of
|
|
504
|
+
`### Proposed increments` and adjust it to what is built and pruned: respect `depends on`, take must-have before
|
|
505
|
+
nice-to-have, keep it small. Show 2–3 candidates, each as one line of what the user can do +
|
|
506
|
+
bite IDs and titles, with your recommendation first. The user picks, edits
|
|
507
|
+
or writes their own. One increment per call. Bites are already reviewed by the trio; you
|
|
508
|
+
compose between them, you do not untie 180 loose options again.
|
|
509
|
+
3. If the user asks for something no bite has, add it as a new option to its Step (next free
|
|
510
|
+
ID, with its strategy) **and to a bite** (new or existing) before using it — the Slicing
|
|
511
|
+
stays the source of truth.
|
|
512
|
+
4. **Re-prune.** The increment just chosen raises the floor for its Steps: any live option, in any
|
|
513
|
+
bite, that now sits below what the increment builds is `obsolete`. Delete it from its
|
|
514
|
+
`slicing/F<k>.md` and list it in `pruned.md` with its reason. **Never prune an option an Inc
|
|
515
|
+
has taken** (`→ Inc n`): the story map resolves each Inc's options through the Slicing, so
|
|
516
|
+
those stay. Bites left with no options go away; a bite whose value shrank is reworded or merged. A removal that would take value away from a bite
|
|
517
|
+
goes to the user as one decision point, with your recommended default.
|
|
518
|
+
5. Run **Step 4** (trio Rules → concrete ACs → domain pass) for this increment only.
|
|
519
|
+
6. **Redo `### Proposed increments`** for the bites that are left (drop the row of the Inc just
|
|
520
|
+
added, reorder the rest if the pruning or what was built changed it). Add to the index
|
|
521
|
+
`### Inc <n> — <short name>` with its `Outcome:` (one sentence, user language), `Bites:` and `Detail:`
|
|
522
|
+
link; append `→ Inc <n>` to the bites it took in `## Backlog` (after the priority tag) and to the
|
|
523
|
+
options in their `slicing/F<k>.md`; write `slices/<nn>-<name>/inc-<n>.md` from
|
|
524
|
+
[inc-template.md](resources/inc-template.md) with `State: sliced` and the concrete ACs.
|
|
525
|
+
7. Update each touched Feature's `**Slice:**` line in `features.md` (`next: <bite ID> <title>`).
|
|
526
|
+
8. Run the `bokata-render` script (Step 5.3).
|
|
527
|
+
9. Print the Inc line, scenarios count, bites left in the backlog, what was pruned, and the next
|
|
528
|
+
step (`bokata-plan`).
|
|
529
|
+
|
|
530
|
+
## Done (`--done`)
|
|
531
|
+
|
|
532
|
+
Only when the user asks — nothing marks a slice done by itself. First **sweep**: read every
|
|
533
|
+
`inc-<n>.md` and `plan.md`'s section for this slice and **list what is still open** — an Inc whose
|
|
534
|
+
`State` is not `done`, unchecked steps in `plan.md`, a `## Pending` item — and ask the user whether to
|
|
535
|
+
go on. Then set `Status: done` in the index header, add a closing line to `notes.md` (what is built,
|
|
536
|
+
which bites stay in the backlog), delete this slice's section from `plan.md` if it still has one,
|
|
537
|
+
update the `**Slice:**` lines in `features.md` with `· done`, and run the `bokata-render` script. The
|
|
538
|
+
backlog stays in the index; to build more of these Features later, the user reopens this slice
|
|
539
|
+
(`Status: open`) — never a new slice for the same Feature. A done *slice* is not a done *increment*: the
|
|
540
|
+
`State: done` of an Inc is set by the executor, and a done slice renders all its Incs as done.
|
|
541
|
+
|
|
542
|
+
## Check (`--check`)
|
|
543
|
+
|
|
544
|
+
Run `node .agents/skills/bokata-render/scripts/render.mjs <docs>/<initiative-slug> --check`: it parses
|
|
545
|
+
`features.md`, the slices and `plan.md` with the same parser the story map uses and prints every
|
|
546
|
+
`file:line: problem` (an Inc naming a bite that has no line, a bite whose option is not in the
|
|
547
|
+
Slicing, an Inc with no `inc-<n>.md`, an unknown `State`, …) without writing anything. Report them; fix
|
|
548
|
+
the markdown, never the parser.
|
|
549
|
+
|
|
550
|
+
---
|
|
551
|
+
|
|
552
|
+
## Quality Checks (Before Writing)
|
|
553
|
+
|
|
554
|
+
- [ ] Discovery Context present; scope cuts recorded as Deferred, not removed
|
|
555
|
+
- [ ] Wave 1 issued in one message, one `feature-slicer` per Feature; no Feature sliced inline
|
|
556
|
+
- [ ] Every trace passed the gate (≥3 options before pruning and ≥2 strategies per Step, cheap option,
|
|
557
|
+
full Coverage, pruned with a reason, a target per Step, every live option in exactly one bite)
|
|
558
|
+
- [ ] Cross-Feature `depends on: F<n> (…)` references were resolved to bite IDs, with no cycle
|
|
559
|
+
- [ ] Wave 2 (trio) saw the full traces and the bites and completed before reconciliation
|
|
560
|
+
- [ ] The Backlog lists bites with user-language titles, never loose option IDs; every Inc (Inc 1 too) is made of bites
|
|
561
|
+
- [ ] Nothing is said twice: an Inc's outcome and bites only in the index, its State only in its `inc-<n>.md`, its decisions in that file
|
|
562
|
+
- [ ] `### Proposed increments` exists: every must-have bite in exactly one row, dependencies respected, a reason per row
|
|
563
|
+
- [ ] Inc 1 covers every User Task of the picked Features, as skeleton bites
|
|
564
|
+
- [ ] Concrete ACs exist only for the increment being added (in its `inc-<n>.md`), in full Gherkin with concrete data
|
|
565
|
+
- [ ] No duration written anywhere
|
|
566
|
+
- [ ] `features.md` holds only the summary `**Slice:**` line per Feature
|
|
567
|
+
- [ ] No subagent prompt contains a pasted trace, report or Discovery Context: only paths
|
|
568
|
+
- [ ] The `work/` folder is gone and `slices/<nn>-wip` was renamed
|
|
569
|
+
- [ ] The `bokata-render` script ran right after the slice was final
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
<!-- ONE INCREMENT: slices/<nn>-<name>/inc-<n>.md. Written by `bokata-slice` when the Inc enters; after
|
|
2
|
+
that the owner edits Unknowns and decisions, `bokata-plan` sets the State to planned, and the
|
|
3
|
+
executor sets it to done. The Inc's name, outcome and bites are in the slice index: do not copy
|
|
4
|
+
them here. -->
|
|
5
|
+
|
|
6
|
+
# Inc <n> — <short name>
|
|
7
|
+
|
|
8
|
+
- State: sliced | planned | done <!-- sliced: ACs written · planned: bokata-plan wrote its steps · done: built (the executor sets it). "building" is not written: it is derived from the checked steps of plan.md -->
|
|
9
|
+
- Unknowns: <open questions, or "none">
|
|
10
|
+
- Parallel-safe: <yes | no — set by bokata-plan>
|
|
11
|
+
|
|
12
|
+
<concrete Acceptance Criteria returned by bokata-acceptance-criteria --concrete: the fixtures, the
|
|
13
|
+
Rules and, under `#### [<User Task>]`, the Gherkin scenarios — kept exactly as returned>
|
|
14
|
+
|
|
15
|
+
```gherkin
|
|
16
|
+
Scenario: <concrete name>
|
|
17
|
+
Given <concrete data>
|
|
18
|
+
When <action>
|
|
19
|
+
Then <observable result>
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Decisions and notes of this Inc
|
|
23
|
+
|
|
24
|
+
<!-- What the owner and the trio decided about THIS increment, and what building it discovered.
|
|
25
|
+
Slice-wide decisions go in notes.md. Optional until there is something to say. -->
|
|
26
|
+
|
|
27
|
+
- Owner decision: <…>
|
|
28
|
+
|
|
29
|
+
## Pending
|
|
30
|
+
|
|
31
|
+
<!-- Added by the executor when the Inc is closed: only what is NOT in the code — a manual or owner check
|
|
32
|
+
still to do (a phone test, a real-device walkthrough), a scenario no automated test covers. The
|
|
33
|
+
plan.md section of a done Inc is deleted; this is all that survives of it. Omit the section when
|
|
34
|
+
nothing is pending. -->
|
|
35
|
+
|
|
36
|
+
- <manual check not done yet>
|