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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/.agents/skills/bokata-acceptance-criteria/SKILL.md +6 -6
  2. package/.agents/skills/bokata-feature-map/SKILL.md +4 -4
  3. package/.agents/skills/bokata-feature-map/resources/features-template.md +5 -5
  4. package/.agents/skills/bokata-feature-mapper/SKILL.md +1 -1
  5. package/.agents/skills/bokata-feature-slicer/SKILL.md +18 -13
  6. package/.agents/skills/bokata-feature-slicer/resources/breakdown-strategies.md +15 -7
  7. package/.agents/skills/bokata-feature-slicer/resources/output-template-bites.md +3 -3
  8. package/.agents/skills/bokata-feature-slicer/resources/{phase-2-increments.md → phase-2-options.md} +1 -1
  9. package/.agents/skills/bokata-feature-slicer/resources/phase-3-skeleton.md +7 -6
  10. package/.agents/skills/bokata-feature-slicer/resources/phase-4-bites.md +7 -7
  11. package/.agents/skills/bokata-plan/SKILL.md +30 -30
  12. package/.agents/skills/bokata-plan/resources/plan-template.md +13 -13
  13. package/.agents/skills/bokata-render/SKILL.md +20 -20
  14. package/.agents/skills/bokata-render/assets/story-map.html +86 -86
  15. package/.agents/skills/bokata-render/scripts/render.mjs +208 -178
  16. package/.agents/skills/bokata-shape/SKILL.md +2 -2
  17. package/.agents/skills/bokata-slice/SKILL.md +198 -120
  18. package/.agents/skills/bokata-slice/resources/appetite-template.md +71 -0
  19. package/.agents/skills/bokata-slice/resources/proposed-slices.md +50 -0
  20. package/.agents/skills/bokata-spec/SKILL.md +256 -0
  21. package/.agents/skills/bokata-spec/resources/slice-template.md +49 -0
  22. package/.agents/skills/bokata-status/SKILL.md +29 -29
  23. package/.agents/skills/bokata-tdd/SKILL.md +12 -12
  24. package/README.md +475 -320
  25. package/agents/bokata-product-designer.md +7 -7
  26. package/agents/bokata-product-engineer.md +10 -10
  27. package/agents/bokata-product-manager.md +8 -8
  28. package/agents/code-executor.md +25 -21
  29. package/agents/feature-slicer.md +1 -1
  30. package/bin/bokata.js +1 -1
  31. package/package.json +1 -1
  32. package/src/config.js +1 -1
  33. package/src/install.js +11 -4
  34. package/.agents/skills/bokata-inc/SKILL.md +0 -244
  35. package/.agents/skills/bokata-inc/resources/inc-template.md +0 -36
  36. package/.agents/skills/bokata-slice/resources/proposed-increments.md +0 -42
  37. package/.agents/skills/bokata-slice/resources/slice-template.md +0 -70
  38. /package/.agents/skills/bokata-feature-slicer/resources/{output-template-increments.md → output-template-options.md} +0 -0
@@ -1,42 +0,0 @@
1
- # Proposed increments
2
-
3
- The roadmap of a slice: the bites that no increment has taken yet, grouped into the increments the
4
- coordinator suggests building. It lives in the slice index, under `## Backlog`, as
5
- `### Proposed increments`. **`bokata-slice` writes it** (Inc 1, the Walking Skeleton, is its first row)
6
- and **`bokata-inc` redoes it** every time an increment is specified.
7
-
8
- It is a **proposal, never a decision**. The owner edits it freely by hand — moves a bite to another
9
- row, adds or drops a row, reorders the rows — and `bokata-slice <nn> --check` validates the result.
10
- Nothing is specified until the owner runs `bokata-inc`.
11
-
12
- ```markdown
13
- | Inc | Bites | What the user gains | Why this order |
14
- |---|---|---|---|
15
- | Inc 1 — Walking skeleton | F1-w1 · F2-w1 | <one line, in user language> | the thinnest path that runs end to end |
16
- | Inc 2 — <name> | F1-a · F2-b | <one line, in user language> | <value or dependency: "unlocks F1-c", "needs Inc 1 only"> |
17
- | Inc 3 — <name> | F1-c | <…> | <…> |
18
- | Later | ~F1-d · ~F1-e · deferred F1-d1 | <nice-to-have and deferred, no order promised> | — |
19
- ```
20
-
21
- ## How to write it
22
-
23
- You compose it from what the trio already said (the PM's value order and "bites to build next", the
24
- Engineer's dependencies). You add no new opinion on value.
25
-
26
- - **One row per Inc**: `Inc <n> — <name>`, its bites (1–3, across User Tasks if they belong
27
- together), what the user gains (user language, one line), and **why this order** (the value it
28
- unlocks or the dependency it satisfies).
29
- - **Order of the rows**: `depends on` first, then value, must-have before `~nice-to-have`. A row
30
- never takes a bite before the bite it depends on. **The first row is the next increment**: it
31
- is what `bokata-inc` with no argument takes, whatever its number.
32
- - **Every must-have bite, and every skeleton bite, appears in exactly one row.** The
33
- `~nice-to-have` and `deferred` bites go in a final `Later` row, with no order promised; they can
34
- still be taken by naming them: `bokata-inc F1-d F1-e`.
35
- - **Each row is a candidate for INVEST**: small, independent of the rows after it, valuable, testable.
36
- - **The numbers are labels.** The number of a specified Inc never changes. A row keeps its number
37
- while it is in the table; a row written fresh takes the highest number in use (specified or
38
- proposed) plus one. Gaps are fine. The same number never appears twice in the table nor in
39
- `## Increments`.
40
- - **Drop the rows of specified Incs**: they live in `## Increments`. A bite that an Inc took is in
41
- no row.
42
- - If the owner states an order, use it and keep the reason.
@@ -1,70 +0,0 @@
1
- <!-- THE SLICE INDEX: slices/<nn>-<name>.md. Short on purpose: it is what `bokata-inc`, 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 specified increment: State, Unknowns, Gherkin, rules, decisions, Pending (bokata-inc writes it)
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. A new slice has no `inc-<n>.md` and an EMPTY `## Increments`: everything is
12
- still a proposal, and the owner edits the Backlog and the proposed increments by hand. -->
13
-
14
- # Slice <nn> — <name>
15
-
16
- - Initiative: [<initiative>](../pitch.md) · Features: F1 <name>, F2 <name>
17
- - When it is done, the user can: <one or two sentences — the end-to-end flow>
18
- - Rabbit holes that touch it: <from the pitch, or "none">
19
- - Status: open | done <!-- set by the user: `bokata-slice <nn> --done`; a done slice shows every Inc as done -->
20
-
21
- ## Increments
22
-
23
- <!-- EMPTY when the slice is created. `bokata-inc` adds one entry per increment it specifies, in number
24
- order, once the owner has approved its ACs. Inc 1 is the Walking Skeleton; every other Inc is one
25
- or several bites. Each is functional on its own. Its State is in inc-<n>.md. A bite is listed
26
- once, in the Backlog below; an Inc only names the bites it takes. An entry looks like this
27
- (flush left, as a real heading — here it is indented so the story map does not read it):
28
-
29
- ### Inc 1 — Walking skeleton
30
- - Outcome: <one sentence, in user language: what the user can do when this is done>
31
- - Bites: F1-w1, F2-w1 <the skeleton bites: one per User Task the skeleton covers>
32
- - Detail: [inc-1.md](<nn>-<name>/inc-1.md)
33
- -->
34
-
35
- ## Backlog
36
-
37
- <!-- Every bite of the slice, one line each (INVEST group of options), per Feature and User Task, ordered
38
- by value. Titles say who does what, so they read without the Step. A bite an Inc took ends its
39
- priority tag with "→ Inc n" (`bokata-inc` adds it, the skeleton bites included: `(skeleton) → Inc 1`). The story map draws the taken ones inside their Inc and the rest
40
- here, in the Backlog band: keep one bite per line, in this shape. Untaken bites stay here for as
41
- long as the slice lives, even when every Inc is done. -->
42
-
43
- ### Proposed increments
44
-
45
- <!-- A PROPOSAL, not a decision: the roadmap, written by `bokata-slice` (Inc 1, the Walking Skeleton, is
46
- the first row) and redone by every `bokata-inc`. The owner edits it freely: move a bite to another
47
- row, add or drop rows, reorder them. The FIRST row is the next increment `bokata-inc` takes. Each row
48
- = one Inc (1–3 bites; must-have first, ~nice-to-have last, dependencies respected); rows of
49
- specified Incs are dropped, they live in ## Increments. Rules: bokata-slice/resources/proposed-increments.md -->
50
-
51
- | Inc | Bites | What the user gains | Why this order |
52
- |---|---|---|---|
53
- | Inc 1 — Walking skeleton | F1-w1 · F2-w1 | <one line, in user language> | <the thinnest path that runs end to end> |
54
- | Inc 2 — <name> | F1-a · F2-b | <one line, in user language> | <value or dependency: "unlocks F1-c", "needs Inc 1 only"> |
55
- | Inc 3 — <name> | F1-c | <…> | <…> |
56
- | Later | ~F1-b · ~F1-e · deferred F1-d1 | <nice-to-have and deferred, no order promised> | — |
57
-
58
- ### F1 — <Feature name>
59
-
60
- - **[<User Task>]**
61
- - **F1-w1 · <Who does or sees what in the skeleton>** (skeleton) — F1-1.1, F1-2.1
62
- - **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>
63
- - ~**F1-b · <Who does or sees what>** (nice-to-have) — F1-2.3 · depends on: F1-a · value: <…> · check: <…>
64
- - **[Deferred]**
65
- - **F1-d1 · <title>** (deferred: <reason, e.g. needs F9>) — F1-1.4, F1-5.2 · prune and split when recovered
66
-
67
- ## Files
68
-
69
- - Slicing: [F1](<nn>-<name>/slicing/F1.md) · [F2](<nn>-<name>/slicing/F2.md)
70
- - [Context: Discovery, notes and trio notes](<nn>-<name>/context.md) · [Pruned options](<nn>-<name>/pruned.md)