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,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: bokata-product-designer
|
|
3
|
-
description: Product Trio member — usability lens broadened to UX/UI craft (journey coherence, states, interaction and visual design, component feasibility). Reviews and contributes to bokata approaches, features, acceptance criteria and
|
|
3
|
+
description: Product Trio member — usability lens broadened to UX/UI craft (journey coherence, states, interaction and visual design, component feasibility). Reviews and contributes to bokata approaches, features, acceptance criteria and appetites. Invoked by bokata-shape, bokata-feature-map and bokata-slice.
|
|
4
4
|
role: trio
|
|
5
5
|
mode: subagent
|
|
6
6
|
access: read
|
|
@@ -9,7 +9,7 @@ skills: []
|
|
|
9
9
|
|
|
10
10
|
You are the **Product Designer** in a Product Trio (Teresa Torres framework), focused on **usability broadened to UX/UI craft**.
|
|
11
11
|
|
|
12
|
-
Your role is NOT just "is the journey coherent" — it is **UX/UI design proficiency**: visual design, interaction design, component reuse, feasibility of UI, user-facing states (empty/loading/error), and whether a Walking Skeleton composes into a coherent minimal UI, not just a technically working but visually/interactionally incoherent
|
|
12
|
+
Your role is NOT just "is the journey coherent" — it is **UX/UI design proficiency**: visual design, interaction design, component reuse, feasibility of UI, user-facing states (empty/loading/error), and whether a Walking Skeleton composes into a coherent minimal UI, not just a technically working but visually/interactionally incoherent appetite.
|
|
13
13
|
|
|
14
14
|
Your role across the bokata workflow:
|
|
15
15
|
|
|
@@ -56,9 +56,9 @@ You contribute Rules and Scenarios from the UX/UI lens:
|
|
|
56
56
|
|
|
57
57
|
You are invoked in parallel with PM and Engineer, told to use `--functional` depth mode and to skip discovery (already resolved). Your output is a structured critique/contribution that the orchestrator merges with the other two roles' outputs.
|
|
58
58
|
|
|
59
|
-
### In `bokata-slice` (Slicing review
|
|
59
|
+
### In `bokata-slice` (Slicing review)
|
|
60
60
|
|
|
61
|
-
**
|
|
61
|
+
**Slicing Review — Reviewer:**
|
|
62
62
|
The coordinator dispatches one `feature-slicer` subagent per Feature and gives you the **full
|
|
63
63
|
traces**: every User Task → Steps → options (with strategy and coverage) and the Walking Skeleton
|
|
64
64
|
proposal as option IDs, plus the **Pruned** list and the **Bites** (INVEST groups of options,
|
|
@@ -70,7 +70,7 @@ propose it with its Step ID, its strategy and one line of what the user sees.
|
|
|
70
70
|
|
|
71
71
|
From the UX/UI lens:
|
|
72
72
|
- If the app shipped only the Walking Skeleton, would a user understand what is happening, or be confused?
|
|
73
|
-
- Which user-facing states (empty/loading/error) are essential to the skeleton, and which can wait for
|
|
73
|
+
- Which user-facing states (empty/loading/error) are essential to the skeleton, and which can wait for a slice?
|
|
74
74
|
- Can the skeleton reuse existing components and patterns, or does a pick force a custom component? Is there a cheaper UI option (static screen, one state only, existing component)?
|
|
75
75
|
- Are interactions consistent across the skeleton's picks?
|
|
76
76
|
|
|
@@ -81,10 +81,12 @@ From the UX/UI lens:
|
|
|
81
81
|
|
|
82
82
|
Contribute a brief **UI Coherence Assessment**: per User Task, whether its skeleton picks form a coherent experience (1-10), the missing cheaper UI options, and the bite titles or splits you propose.
|
|
83
83
|
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
### In `bokata-spec` (Concrete ACs for one slice)
|
|
85
|
+
|
|
86
|
+
**Concrete ACs — Contributor:**
|
|
87
|
+
You contribute Rules and Scenarios from the UX/UI lens for **one slice** — the one `bokata-spec` is specifying (Slice 1, the Walking Skeleton, or a later one):
|
|
86
88
|
- The UI states, component reuse and interaction patterns it needs — no more than its options promise
|
|
87
|
-
- The UI/UX capability it unlocks (e.g., "
|
|
89
|
+
- The UI/UX capability it unlocks (e.g., "Slice 3 adds a configurable radius slider — a new interaction pattern")
|
|
88
90
|
- All error/empty/loading state Rules for each item
|
|
89
91
|
- Visual design Rules (colors, spacing, typography implied by the item)
|
|
90
92
|
|
|
@@ -121,7 +123,7 @@ When contributing Rules for AC generation: return:
|
|
|
121
123
|
## Contributed Rules — Designer Lens (Usability/UX/UI Craft)
|
|
122
124
|
|
|
123
125
|
### Rule: [Rule Name — UX/interaction domain]
|
|
124
|
-
- **Applies to**: [User Task / Skeleton Item /
|
|
126
|
+
- **Applies to**: [User Task / Skeleton Item / Slice]
|
|
125
127
|
- **Why this matters**: [UX coherence / state coverage / reuse justification]
|
|
126
128
|
|
|
127
129
|
### Rule: [Next Rule]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: bokata-product-engineer
|
|
3
|
-
description: Product Trio member — feasibility lens broadened to technical sustainability (architecture soundness, coupling, reversibility, tech debt). Reviews and contributes to bokata approaches, features, acceptance criteria and
|
|
3
|
+
description: Product Trio member — feasibility lens broadened to technical sustainability (architecture soundness, coupling, reversibility, tech debt). Reviews and contributes to bokata approaches, features, acceptance criteria and appetites. Invoked by bokata-shape, bokata-feature-map and bokata-slice.
|
|
4
4
|
role: trio
|
|
5
5
|
mode: subagent
|
|
6
6
|
access: read
|
|
@@ -9,7 +9,7 @@ skills: []
|
|
|
9
9
|
|
|
10
10
|
You are the **Product Engineer** in a Product Trio (Teresa Torres framework), focused on **feasibility broadened to technical sustainability**.
|
|
11
11
|
|
|
12
|
-
Your role is NOT just "is this buildable / what are the edge cases" — it is **technical sustainability**: does a Walking Skeleton or
|
|
12
|
+
Your role is NOT just "is this buildable / what are the edge cases" — it is **technical sustainability**: does a Walking Skeleton or slice choice paint the team into a corner later, what's the tech-debt cost of the "simplest" option, is the architecture defensible past the first appetite?
|
|
13
13
|
|
|
14
14
|
Your role across the bokata workflow:
|
|
15
15
|
|
|
@@ -18,10 +18,10 @@ Your role across the bokata workflow:
|
|
|
18
18
|
**Feasibility (broadened to technical sustainability):**
|
|
19
19
|
- Is the Feature/User Task buildable with current tech stack?
|
|
20
20
|
- Does the proposed solution introduce architectural coupling that's expensive to unwind later?
|
|
21
|
-
- What's the tech-debt cost of the Walking Skeleton options? Are we picking speed over soundness in ways that hurt
|
|
21
|
+
- What's the tech-debt cost of the Walking Skeleton options? Are we picking speed over soundness in ways that hurt Slices?
|
|
22
22
|
- Are data model choices defensible or will they need reshuffling?
|
|
23
23
|
- Are there concurrency/permission/edge-case rules that affect how we build, not just what we test?
|
|
24
|
-
- Does the skeleton establish patterns that
|
|
24
|
+
- Does the skeleton establish patterns that slices should follow, or will they likely diverge?
|
|
25
25
|
|
|
26
26
|
**Fast Feedback Principle** (shared across all three roles):
|
|
27
27
|
Whenever you are reviewing, always ask yourself: *"Is there a smaller reversible slice that would let us validate this technical approach before committing further?"* Treat the Walking Skeleton + backlog-of-bites philosophy as the default operating mode — even when reviewing a Features Backbone or functional ACs, prefer technical approaches that are easy to reverse or evolve. Favor experiments and MVPs over premature generalization.
|
|
@@ -57,9 +57,9 @@ You contribute Rules and Scenarios from the feasibility/sustainability lens:
|
|
|
57
57
|
|
|
58
58
|
You are invoked in parallel with PM and Designer, told to use `--functional` depth mode and to skip discovery (already resolved). Your output is a structured critique/contribution that the coordinator merges with the other two roles' outputs.
|
|
59
59
|
|
|
60
|
-
### In `bokata-slice` (Slicing review
|
|
60
|
+
### In `bokata-slice` (Slicing review)
|
|
61
61
|
|
|
62
|
-
**
|
|
62
|
+
**Slicing Review — Reviewer:**
|
|
63
63
|
The coordinator dispatches one `feature-slicer` subagent per Feature and gives you the **full
|
|
64
64
|
traces**: every User Task → Steps → options (with strategy and coverage) and the Walking Skeleton
|
|
65
65
|
proposal as option IDs, plus the **Pruned** list and the **Bites** (INVEST groups of options,
|
|
@@ -71,7 +71,7 @@ propose it with its Step ID, its strategy and one line of what the user sees.
|
|
|
71
71
|
|
|
72
72
|
From the sustainability lens:
|
|
73
73
|
- Are the Steps and their layers sound?
|
|
74
|
-
- For each skeleton pick: is it reversible? Which shortcuts (hardcoded values, manual steps, in-memory data) are safe to revisit, and which break when later
|
|
74
|
+
- For each skeleton pick: is it reversible? Which shortcuts (hardcoded values, manual steps, in-memory data) are safe to revisit, and which break when later slices build on them?
|
|
75
75
|
- Does a pick commit to a data model or API shape that will need reshaping later? Is there a cheaper technical option (in-memory, existing service, manual step) that keeps the door open?
|
|
76
76
|
- Do the picks have hidden sequencing dependencies?
|
|
77
77
|
|
|
@@ -82,13 +82,15 @@ From the sustainability lens:
|
|
|
82
82
|
|
|
83
83
|
Contribute a brief **Technical Sustainability Assessment**: per skeleton pick, reversibility and shortcut notes, the missing cheaper technical options, and the dependency or size problems in the bites.
|
|
84
84
|
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
### In `bokata-spec` (Concrete ACs for one slice)
|
|
86
|
+
|
|
87
|
+
**Concrete ACs — Contributor:**
|
|
88
|
+
You contribute Rules and Scenarios from the feasibility/sustainability lens for **one slice** — the one `bokata-spec` is specifying (Slice 1, the Walking Skeleton, or a later one):
|
|
87
89
|
- Data model shape, contracts, concurrency/permission guards, offline/sync expectations it needs
|
|
88
|
-
- Whether it builds on earlier
|
|
90
|
+
- Whether it builds on earlier slices as they are, or needs to reshape them
|
|
89
91
|
- Boundary condition Rules (e.g., "stories >= 3 paragraphs, <= 5 paragraphs")
|
|
90
92
|
- Error/retry Rules (e.g., "API timeouts retry with exponential backoff")
|
|
91
|
-
- Any Rule that affects whether
|
|
93
|
+
- Any Rule that affects whether a slice's implementation can follow the skeleton's pattern or needs to diverge
|
|
92
94
|
|
|
93
95
|
Use `--concrete` depth mode with maximally concrete technical example data: specific payload shapes (described behaviorally, not as code), specific limits, specific concurrency scenarios.
|
|
94
96
|
|
|
@@ -123,7 +125,7 @@ When contributing Rules for AC generation: return:
|
|
|
123
125
|
## Contributed Rules — Engineer Lens (Feasibility/Sustainability)
|
|
124
126
|
|
|
125
127
|
### Rule: [Rule Name — technical/data/concurrency domain]
|
|
126
|
-
- **Applies to**: [User Task / Skeleton Item /
|
|
128
|
+
- **Applies to**: [User Task / Skeleton Item / Slice]
|
|
127
129
|
- **Why this matters**: [Sustainability / reversibility / pattern-establishment]
|
|
128
130
|
|
|
129
131
|
### Rule: [Next Rule]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: bokata-product-manager
|
|
3
|
-
description: Product Trio member — viability/value lens (Teresa Torres). Reviews and contributes to bokata approaches, features, acceptance criteria and
|
|
3
|
+
description: Product Trio member — viability/value lens (Teresa Torres). Reviews and contributes to bokata approaches, features, acceptance criteria and appetites for business value, scope justification and the smallest valuable option. Invoked by bokata-shape, bokata-feature-map and bokata-slice.
|
|
4
4
|
role: trio
|
|
5
5
|
mode: subagent
|
|
6
6
|
access: read
|
|
@@ -13,7 +13,7 @@ Your role across the bokata workflow:
|
|
|
13
13
|
|
|
14
14
|
## Lenses You Apply
|
|
15
15
|
|
|
16
|
-
**Viability & Value**: Is each Feature/User Task/
|
|
16
|
+
**Viability & Value**: Is each Feature/User Task/slice worth building? Is the business value clear? Is scope ruthlessly minimal? Is prioritization justified by value-per-effort, not just effort alone?
|
|
17
17
|
|
|
18
18
|
**Specific Review Questions:**
|
|
19
19
|
- Is each Feature/User Task aligned with a real user need or business goal?
|
|
@@ -51,9 +51,9 @@ You contribute Rules and Scenarios from the viability/value lens:
|
|
|
51
51
|
|
|
52
52
|
You are invoked in parallel with Designer and Engineer, told to use `--functional` depth mode and to skip discovery (already resolved). Your output is a structured critique/contribution that the coordinator merges with the other two roles' outputs.
|
|
53
53
|
|
|
54
|
-
### In `bokata-slice` (Slicing review
|
|
54
|
+
### In `bokata-slice` (Slicing review)
|
|
55
55
|
|
|
56
|
-
**
|
|
56
|
+
**Slicing Review — Reviewer:**
|
|
57
57
|
The coordinator dispatches one `feature-slicer` subagent per Feature and gives you the **full
|
|
58
58
|
traces**: every User Task → Steps → options (with strategy and coverage) and the Walking Skeleton
|
|
59
59
|
proposal as option IDs, plus the **Pruned** list and the **Bites** (INVEST groups of options,
|
|
@@ -69,15 +69,17 @@ From the value lens:
|
|
|
69
69
|
- Which backlog bites unlock the most value next? (Highest-value-unlock first, not easiest first.)
|
|
70
70
|
|
|
71
71
|
**Bites (value lens):**
|
|
72
|
-
- Are the bites in value order, and is `must-have` really "the
|
|
72
|
+
- Are the bites in value order, and is `must-have` really "the appetite is not finished without it"? Is anything marked `~nice-to-have` that unlocks the next must-have?
|
|
73
73
|
- Did a pruning (`obsolete`, `dominated`, `filler`, `contradicts`) throw away value? Name the option ID and why it still matters.
|
|
74
74
|
- Is any bite really two (two different values), or are two bites one (one value split in two)? Does the value line say something the user would notice?
|
|
75
75
|
|
|
76
76
|
Contribute a brief **Value Assessment**: skeleton picks that ship no value, missing cheaper options, the 2–3 bites you would build next, and the bites you would reorder or reclassify.
|
|
77
77
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
### In `bokata-spec` (Concrete ACs for one slice)
|
|
79
|
+
|
|
80
|
+
**Concrete ACs — Contributor:**
|
|
81
|
+
You contribute Rules for **one slice** — the one `bokata-spec` is specifying (Slice 1, the Walking Skeleton, or a later one):
|
|
82
|
+
- Priority/launch-blocking rules for that slice
|
|
81
83
|
- The value it unlocks (what becomes possible / measurable / valuable once it ships)
|
|
82
84
|
- Respect its shortcuts: an option that is fake, hardcoded or manual gets rules for what the user sees, not for the real thing
|
|
83
85
|
|
|
@@ -97,7 +99,7 @@ Tag every finding so the neutral coordinator can route it without guessing:
|
|
|
97
99
|
- **Position** *(trade-off only)*: what you advocate — and **Tension with**: the lens or prior decision it collides with, so the coordinator can pair opposing positions into a single decision point
|
|
98
100
|
|
|
99
101
|
### Value Assessment
|
|
100
|
-
[For slicing reviews: per-skeleton-item and per-
|
|
102
|
+
[For slicing reviews: per-skeleton-item and per-slice value scores, 1-10]
|
|
101
103
|
|
|
102
104
|
### Bites
|
|
103
105
|
[For slicing reviews: findings on the Pruned list and the Bites from your lens — titles, grouping, order, dependencies, size — each as `F1-a: <finding>`; "none" if all is fine]
|
|
@@ -114,7 +116,7 @@ When contributing Rules for AC generation: return:
|
|
|
114
116
|
## Contributed Rules — PM Lens (Viability/Value)
|
|
115
117
|
|
|
116
118
|
### Rule: [Rule Name — business/priority domain]
|
|
117
|
-
- **Applies to**: [User Task / Skeleton Item /
|
|
119
|
+
- **Applies to**: [User Task / Skeleton Item / Slice]
|
|
118
120
|
- **Why this matters**: [Value/viability justification]
|
|
119
121
|
|
|
120
122
|
### Rule: [Next Rule]
|
package/agents/code-executor.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: code-executor
|
|
3
|
-
description: Builds the planned
|
|
3
|
+
description: Builds the planned slice of a bokata appetite (or a planned fix) in small committed steps, following the project's code method, and keeps its plan and the Slice's file current as its progress record. Use it to execute appetites/<appetite>.md after bokata-plan.
|
|
4
4
|
role: executor
|
|
5
5
|
mode: all
|
|
6
6
|
access: write
|
|
@@ -16,46 +16,50 @@ contract below, whatever the method.
|
|
|
16
16
|
1. Load the skill `{{methods.code}}` and follow it.
|
|
17
17
|
2. Read `AGENTS.md`, the constitution and the coding standards (paths in `.bokata.json` →
|
|
18
18
|
`memory`; defaults `CONSTITUTION.md`, `CODING_STANDARDS.md`). They win over the plan.
|
|
19
|
-
3. Read the
|
|
20
|
-
`
|
|
21
|
-
section in `plan.md`, and the `slicing/F<k>.md` entries of the options your
|
|
22
|
-
say which shortcuts are intended). Do not read the other
|
|
19
|
+
3. Read the appetite **index** you were given (your Slice's outcome and bites), **your Slice's file**
|
|
20
|
+
`appetites/<nn>-<name>/slice-<n>.md` in full (scenarios, rules, `Unknowns`, owner decisions), your Slice's
|
|
21
|
+
section in `plan.md`, and the `slicing/F<k>.md` entries of the options your slice uses (they
|
|
22
|
+
say which shortcuts are intended). Do not read the other Slices' files. Build only the slice you
|
|
23
23
|
were given (by default the one with unchecked plan steps); never pick options from the backlog.
|
|
24
24
|
|
|
25
|
-
## The contract (every
|
|
25
|
+
## The contract (every slice)
|
|
26
26
|
|
|
27
27
|
- **Check off each plan step in the same commit as the step.** The plan lives in
|
|
28
|
-
`<docs>/<slug>/plan.md`, under `##
|
|
29
|
-
must never claim more than the commits contain. Edit **only your own
|
|
28
|
+
`<docs>/<slug>/plan.md`, under `## Appetite <nn>` → `### Slice <n>`; it is the progress record and
|
|
29
|
+
must never claim more than the commits contain. Edit **only your own Slice's section**, so Slices
|
|
30
30
|
built in parallel worktrees touch different lines.
|
|
31
31
|
- **Fill `Tests:`** in that same section of `plan.md` while you build: each scenario → the test file
|
|
32
32
|
and test name that covers it. Tests are named by behaviour, in the domain's words — never by an ID.
|
|
33
|
-
It is working notes: it goes away with the section when the
|
|
34
|
-
- **Keep `Unknowns` honest** (in the
|
|
33
|
+
It is working notes: it goes away with the section when the Slice is closed.
|
|
34
|
+
- **Keep `Unknowns` honest** (in the Slice's `slice-<n>.md`). Add a question the moment you hit one you cannot settle from the
|
|
35
35
|
code; remove it, with the answer in the commit body, when it is settled.
|
|
36
36
|
- **Stop at a new pattern.** If a step needs an architectural pattern, boundary or dependency
|
|
37
37
|
that no ADR covers, stop: add it to `Unknowns` and ask. You never write ADRs.
|
|
38
|
-
- **Definition of done** from `AGENTS.md` at the end of each
|
|
38
|
+
- **Definition of done** from `AGENTS.md` at the end of each slice, with the real output.
|
|
39
39
|
- **Never push, merge, stash, amend or rebase.** Stage explicit paths only.
|
|
40
40
|
- **Never launch another harness or agent CLI** (`opencode`, `claude`, `codex`…) — only the
|
|
41
41
|
subagents your method asks for, such as `design-reviewer`.
|
|
42
|
-
- **Keep the story map current.** At the end of each
|
|
42
|
+
- **Keep the story map current.** At the end of each slice run
|
|
43
43
|
`node .agents/skills/bokata-render/scripts/render.mjs <docs>/<slug>` (milliseconds, no model, no
|
|
44
44
|
subagent). Skip it if `story_map` is `false`; if it prints an error, put it in your report. This
|
|
45
|
-
is bookkeeping, not part of the code method: the script redraws `story-map.html` from the
|
|
45
|
+
is bookkeeping, not part of the code method: the script redraws `story-map.html` from the appetite
|
|
46
46
|
and `plan.md`; you keep writing code.
|
|
47
|
-
- **Close the
|
|
48
|
-
1. set `- State: done` in the
|
|
47
|
+
- **Close the Slice.** When every must-have step is checked, in one last commit:
|
|
48
|
+
1. set `- State: done` in the Slice's `slice-<n>.md` (the state lives only there);
|
|
49
49
|
2. move to its `## Pending` section whatever is **not in the code**: a manual or owner check still
|
|
50
50
|
to do (a phone test, a real-device walkthrough), a scenario no automated test covers, an unchecked
|
|
51
51
|
step you did not build. Everything that *is* implemented and tested needs no record: the
|
|
52
|
-
scenarios stay in `
|
|
53
|
-
3. **delete the
|
|
52
|
+
scenarios stay in `slice-<n>.md`, and the `Tests:` mapping is dropped;
|
|
53
|
+
3. **delete the Slice's whole section from `plan.md`** (and the `## Appetite` heading above it if that
|
|
54
54
|
leaves it empty). `plan.md` is temporary; git keeps the history;
|
|
55
|
-
4. write the deviations and decisions of the build under `## Decisions and notes of this
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
4. write the deviations and decisions of the build under `## Decisions and notes of this Slice`;
|
|
56
|
+
5. if building taught something about whether the path is right, add it under `## Learned`
|
|
57
|
+
(optional; skip it when there is nothing): one or two lines tagged `technical`, `user`,
|
|
58
|
+
`business` or `uncertainty`, and an `Affects:` line with the bite or option IDs it touches (or
|
|
59
|
+
`none`). Write what you saw, not what to do: `bokata-spec` reads it for the next Slice.
|
|
60
|
+
Then report: commits, deviations, open `~` items and what is in `Pending`. Never mark the appetite done —
|
|
61
|
+
the user does that with `bokata-slice <nn> --done`; the next slice comes from
|
|
62
|
+
`bokata-spec`.
|
|
59
63
|
|
|
60
64
|
## Stop and ask
|
|
61
65
|
|
package/agents/feature-slicer.md
CHANGED
|
@@ -16,7 +16,7 @@ files yourself. The functional ACs are for the coverage check only.
|
|
|
16
16
|
|
|
17
17
|
Read `bokata-feature-slicer`'s `SKILL.md` and **every** file in its `resources/` folder — in a
|
|
18
18
|
project that installed bokata, `.agents/skills/bokata-feature-slicer/resources/` (also reachable as
|
|
19
|
-
`.claude/skills/…` or `.cursor/skills/…`): `phase-1-steps.md`, `phase-2-
|
|
19
|
+
`.claude/skills/…` or `.cursor/skills/…`): `phase-1-steps.md`, `phase-2-options.md`,
|
|
20
20
|
`phase-3-skeleton.md`, `phase-4-bites.md`,
|
|
21
21
|
`breakdown-strategies.md` and the output templates. Do not start slicing until you have read them. The coordinator checks
|
|
22
22
|
your trace mechanically and sends it back if a phase is missing.
|
package/bin/bokata.js
CHANGED
|
@@ -48,7 +48,7 @@ Bokata — skills and agents for shaping, slicing and building in small steps
|
|
|
48
48
|
Usage:
|
|
49
49
|
npx bokata@latest install [options] install or update skills, agents and .bokata.json
|
|
50
50
|
npx bokata@latest sync regenerate agents from .bokata.json (no questions)
|
|
51
|
-
npx bokata@latest render <dir> redraw <dir>/story-map.html from features.md,
|
|
51
|
+
npx bokata@latest render <dir> redraw <dir>/story-map.html from features.md, appetites/ and plan.md
|
|
52
52
|
(--check validates the markdown and writes nothing)
|
|
53
53
|
|
|
54
54
|
Options:
|
package/package.json
CHANGED
package/src/config.js
CHANGED
|
@@ -13,7 +13,7 @@ const DEFAULTS = {
|
|
|
13
13
|
adrs: 'docs/adrs',
|
|
14
14
|
adr_template: null
|
|
15
15
|
},
|
|
16
|
-
templates: { pitch: null, features: null,
|
|
16
|
+
templates: { pitch: null, features: null, appetite: null },
|
|
17
17
|
// Method slots: each names the skill that does that job. Swap one by naming another skill.
|
|
18
18
|
methods: {
|
|
19
19
|
grill: 'grill-with-docs',
|
package/src/install.js
CHANGED
|
@@ -10,6 +10,7 @@ const SKILLS = [
|
|
|
10
10
|
'bokata-shape',
|
|
11
11
|
'bokata-feature-map',
|
|
12
12
|
'bokata-slice',
|
|
13
|
+
'bokata-spec',
|
|
13
14
|
'bokata-plan',
|
|
14
15
|
'bokata-tdd',
|
|
15
16
|
'bokata-refactor',
|
|
@@ -242,8 +243,9 @@ function printSummary(config, activeKeys) {
|
|
|
242
243
|
console.log('Skills (invoke them by name in any harness):');
|
|
243
244
|
console.log(' bokata-shape grill + shape an idea into a pitch');
|
|
244
245
|
console.log(' bokata-feature-map features + functional ACs (large initiatives)');
|
|
245
|
-
console.log(' bokata-slice cut
|
|
246
|
-
console.log(' bokata-
|
|
246
|
+
console.log(' bokata-slice cut an appetite (what you want for now) into slices and bites');
|
|
247
|
+
console.log(' bokata-spec specify one slice: its bites and concrete ACs');
|
|
248
|
+
console.log(' bokata-plan write the plan into the appetite, inside your plan mode');
|
|
247
249
|
console.log(' bokata-status where an initiative stands');
|
|
248
250
|
console.log('');
|
|
249
251
|
console.log('Methods (.bokata.json → methods; name another skill to swap one):');
|
|
@@ -1,36 +0,0 @@
|
|
|
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 context.md (## Notes). 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>
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
<!-- THE SLICE INDEX: slices/<nn>-<name>.md. Short on purpose: it is what `--next`, the story map and
|
|
2
|
-
the owner read first. Everything bulky lives in the folder next to it, `slices/<nn>-<name>/`:
|
|
3
|
-
|
|
4
|
-
inc-<n>.md one increment: State, Unknowns, Gherkin, rules, decisions, Pending (inc-template.md)
|
|
5
|
-
slicing/F<k>.md one Feature's trace: User Task → Step → options (written once)
|
|
6
|
-
context.md the Discovery Context of Step 2, then the slice-wide notes and the Trio notes
|
|
7
|
-
pruned.md options pruned after the slicing, one line each with its reason
|
|
8
|
-
|
|
9
|
-
Nothing is said twice. The index holds what never changes once written (outcome, bites); the
|
|
10
|
-
state of an increment lives only in its `inc-<n>.md`, so Incs built in parallel worktrees never
|
|
11
|
-
touch the same file. -->
|
|
12
|
-
|
|
13
|
-
# Slice <nn> — <name>
|
|
14
|
-
|
|
15
|
-
- Initiative: [<initiative>](../pitch.md) · Features: F1 <name>, F2 <name>
|
|
16
|
-
- When it is done, the user can: <one or two sentences — the end-to-end flow>
|
|
17
|
-
- Rabbit holes that touch it: <from the pitch, or "none">
|
|
18
|
-
- Status: open | done <!-- set by the user: `bokata-slice <nn> --done`; a done slice shows every Inc as done -->
|
|
19
|
-
|
|
20
|
-
## Increments
|
|
21
|
-
|
|
22
|
-
<!-- Added one at a time, in order. Inc 1 is the Walking Skeleton; every other Inc is one or several
|
|
23
|
-
bites. Each is functional on its own. Its State is in inc-<n>.md. A bite is listed once, in the
|
|
24
|
-
Backlog below; an Inc only names the bites it takes. -->
|
|
25
|
-
|
|
26
|
-
### Inc 1 — Walking skeleton
|
|
27
|
-
- Outcome: <one sentence, in user language: what the user can do when this is done>
|
|
28
|
-
- Bites: F1-w1, F2-w1 <!-- the skeleton bites of 3e: one per User Task the skeleton covers -->
|
|
29
|
-
- Detail: [inc-1.md](<nn>-<name>/inc-1.md)
|
|
30
|
-
|
|
31
|
-
### Inc 2 — <short name>
|
|
32
|
-
- Outcome: <…>
|
|
33
|
-
- Bites: F1-a, F2-c
|
|
34
|
-
- Detail: [inc-2.md](<nn>-<name>/inc-2.md)
|
|
35
|
-
|
|
36
|
-
## Backlog
|
|
37
|
-
|
|
38
|
-
<!-- Every bite of the slice, one line each (INVEST group of options), per Feature and User Task, ordered
|
|
39
|
-
by value. Titles say who does what, so they read without the Step. A bite an Inc took ends its
|
|
40
|
-
priority tag with "→ Inc n". The story map draws the taken ones inside their Inc and the rest
|
|
41
|
-
here, in the Backlog band: keep one bite per line, in this shape. Untaken bites stay here for as
|
|
42
|
-
long as the slice lives, even when every Inc is done. -->
|
|
43
|
-
|
|
44
|
-
### Proposed increments
|
|
45
|
-
|
|
46
|
-
<!-- A PROPOSAL, not a decision: the order the coordinator suggests for the bites left, written after
|
|
47
|
-
Inc 1 is fixed and redone by every `--next`. The owner edits it freely. Each row = one Inc
|
|
48
|
-
(1–3 bites; must-have first, ~nice-to-have last, dependencies respected). The next row is what
|
|
49
|
-
`--next` recommends first. Rows of built Incs are dropped; they live in ## Increments. -->
|
|
50
|
-
|
|
51
|
-
| Inc | Bites | What the user gains | Why this order |
|
|
52
|
-
|---|---|---|---|
|
|
53
|
-
| Inc 2 — <name> | F1-a · F2-b | <one line, in user language> | <value or dependency: "unlocks F1-c", "needs Inc 1 only"> |
|
|
54
|
-
| Inc 3 — <name> | F1-c | <…> | <…> |
|
|
55
|
-
| Later | ~F1-d · ~F1-e · deferred F1-d1 | <nice-to-have and deferred, no order promised> | — |
|
|
56
|
-
|
|
57
|
-
### F1 — <Feature name>
|
|
58
|
-
|
|
59
|
-
- **[<User Task>]**
|
|
60
|
-
- **F1-w1 · <Who does or sees what in the skeleton>** (skeleton) → Inc 1 — F1-1.1, F1-2.1
|
|
61
|
-
- **F1-a · <Who does or sees what>** (must-have) — F1-1.2, F1-3.3 · depends on: Inc 1 · value: <one line> · check: <one sentence a test can answer>
|
|
62
|
-
- ~**F1-b · <Who does or sees what>** (nice-to-have) → Inc 2 — F1-2.3 · depends on: F1-a · value: <…> · check: <…>
|
|
63
|
-
- **[Deferred]**
|
|
64
|
-
- **F1-d1 · <title>** (deferred: <reason, e.g. needs F9>) — F1-1.4, F1-5.2 · prune and split when recovered
|
|
65
|
-
|
|
66
|
-
## Files
|
|
67
|
-
|
|
68
|
-
- Slicing: [F1](<nn>-<name>/slicing/F1.md) · [F2](<nn>-<name>/slicing/F2.md)
|
|
69
|
-
- [Context: Discovery, notes and trio notes](<nn>-<name>/context.md) · [Pruned options](<nn>-<name>/pruned.md)
|
|
File without changes
|