bokata 3.0.0-beta.3 → 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/.agents/skills/bokata-feature-map/SKILL.md +10 -11
- 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 +16 -12
- package/.agents/skills/bokata-feature-slicer/resources/output-template-bites.md +12 -4
- package/.agents/skills/bokata-feature-slicer/resources/phase-2-increments.md +29 -51
- package/.agents/skills/bokata-feature-slicer/resources/{phase-3-baby-steps.md → phase-3-skeleton.md} +3 -3
- package/.agents/skills/bokata-feature-slicer/resources/phase-4-bites.md +8 -7
- package/.agents/skills/bokata-plan/SKILL.md +21 -15
- package/.agents/skills/bokata-plan/resources/plan-template.md +7 -5
- package/.agents/skills/bokata-render/SKILL.md +62 -138
- 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 +1 -1
- package/.agents/skills/bokata-slice/SKILL.md +194 -100
- package/.agents/skills/bokata-slice/resources/inc-template.md +36 -0
- package/.agents/skills/bokata-slice/resources/slice-template.md +37 -84
- package/.agents/skills/bokata-status/SKILL.md +27 -15
- package/.agents/skills/bokata-tdd/resources/evidence-rules.md +2 -2
- package/LICENSE +21 -0
- package/README.md +54 -40
- package/agents/bokata-product-designer.md +2 -2
- package/agents/bokata-product-engineer.md +2 -2
- package/agents/bokata-product-manager.md +3 -3
- package/agents/code-executor.md +27 -16
- package/agents/design-reviewer.md +2 -2
- package/agents/feature-slicer.md +21 -9
- package/bin/bokata.js +17 -5
- package/package.json +1 -1
- package/src/agents.js +36 -11
- package/src/config.js +8 -7
- package/src/install.js +12 -3
- package/.agents/skills/bokata-render/resources/story-map-template.md +0 -835
- package/agents/story-map-renderer.md +0 -19
|
@@ -1,89 +1,46 @@
|
|
|
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
|
+
notes.md slice-wide notes and the Trio notes
|
|
7
|
+
pruned.md options pruned after the slicing, one line each with its reason
|
|
8
|
+
discovery.md the Discovery Context of Step 2
|
|
9
|
+
|
|
10
|
+
Nothing is said twice. The index holds what never changes once written (outcome, bites); the
|
|
11
|
+
state of an increment lives only in its `inc-<n>.md`, so Incs built in parallel worktrees never
|
|
12
|
+
touch the same file. -->
|
|
13
|
+
|
|
1
14
|
# Slice <nn> — <name>
|
|
2
15
|
|
|
3
16
|
- Initiative: [<initiative>](../pitch.md) · Features: F1 <name>, F2 <name>
|
|
4
17
|
- When it is done, the user can: <one or two sentences — the end-to-end flow>
|
|
5
18
|
- Rabbit holes that touch it: <from the pitch, or "none">
|
|
6
|
-
- Status: open | done <!-- set
|
|
7
|
-
- Current increment: Inc <n> — sliced | planned | building | done
|
|
8
|
-
|
|
9
|
-
<!-- How to read this file
|
|
10
|
-
Slicing = each Feature's User Tasks → Steps → options (written once, by the feature-slicer
|
|
11
|
-
agents, reviewed by the Product Trio, then pruned). Each live option ends in its
|
|
12
|
-
bite ("· F1-a"); options taken by an increment end in "→ Inc n"; each Step has one
|
|
13
|
-
"→ target" = how far the slice should go in that Step. "deferred" options were cut by
|
|
14
|
-
a discovery decision and can still be picked. Pruned options are not in the trace:
|
|
15
|
-
they are listed, with their reason, in Notes.
|
|
16
|
-
Increments = added one at a time, in order. Inc 1 is the Walking Skeleton; every other Inc is one
|
|
17
|
-
or several bites. Each one is functional on its own and gets concrete ACs only
|
|
18
|
-
when it enters. "~" = nice-to-have inside that increment's scenarios.
|
|
19
|
-
Unknowns not empty → still uphill (needs the owner); empty → only execution left.
|
|
20
|
-
Plan, Tests = not in this file: they live in the initiative's `plan.md`, under "Slice <nn> · Inc <n>"
|
|
21
|
-
(steps written by bokata-plan and checked off by the executor commit by commit;
|
|
22
|
-
scenario → test mapping filled by the executor).
|
|
23
|
-
Backlog = the bites no Inc has taken: small INVEST groups of options, per User Task, titled
|
|
24
|
-
in user language. `bokata-slice <nn> --next` picks from them and prunes what the new
|
|
25
|
-
Inc makes obsolete. "~" = nice-to-have: the slice can be marked done without it.
|
|
26
|
-
The slice stays open until the user marks it done (`bokata-slice <nn> --done`). A done slice is not a
|
|
27
|
-
done increment: `Current increment: … — done` is about the Inc the executor just finished.
|
|
28
|
-
-->
|
|
29
|
-
|
|
30
|
-
## Slicing
|
|
31
|
-
|
|
32
|
-
<details>
|
|
33
|
-
<summary>F1 — <Feature name> · <n> User Tasks · <n> Steps · <n> options</summary>
|
|
34
|
-
|
|
35
|
-
### User Task: <name>
|
|
36
|
-
- **S1 <Action Object>** · UI — <what happens>
|
|
37
|
-
- F1-1.1 <Action Object> — <what changes for the user; shortcut stated> · <strategy> · covers R1 fake → Inc 1
|
|
38
|
-
- F1-1.2 <Action Object> — <…> · <strategy> · covers R1 total · F1-a → target
|
|
39
|
-
- F1-1.3 <Action Object> — <…> · <strategy> · F1-b
|
|
40
|
-
- strategies: <A>, <B>
|
|
41
|
-
- **S2 <Action Object>** · Data — <…>
|
|
42
|
-
- …
|
|
43
|
-
|
|
44
|
-
#### Coverage
|
|
45
|
-
- R1 <requirement> — F1-1.1 fake, F1-1.2 total
|
|
46
|
-
|
|
47
|
-
</details>
|
|
48
|
-
|
|
49
|
-
<details>
|
|
50
|
-
<summary>F2 — <Feature name> · …</summary>
|
|
51
|
-
|
|
52
|
-
…
|
|
53
|
-
|
|
54
|
-
</details>
|
|
19
|
+
- Status: open | done <!-- set by the user: `bokata-slice <nn> --done`; a done slice shows every Inc as done -->
|
|
55
20
|
|
|
56
21
|
## Increments
|
|
57
22
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
- Bites: — <!-- Inc 1 = skeleton; from Inc 2 on: F1-a, F2-c (the bites it takes) -->
|
|
62
|
-
- Unknowns: <open questions, or "none">
|
|
63
|
-
- Parallel-safe: <yes | no — set by bokata-plan>
|
|
64
|
-
|
|
65
|
-
```gherkin
|
|
66
|
-
Scenario: <concrete name>
|
|
67
|
-
Given <concrete data>
|
|
68
|
-
When <action>
|
|
69
|
-
Then <observable result>
|
|
70
|
-
```
|
|
23
|
+
<!-- Added one at a time, in order. Inc 1 is the Walking Skeleton; every other Inc is one or several
|
|
24
|
+
bites. Each is functional on its own. Its State is in inc-<n>.md. A bite is listed once, in the
|
|
25
|
+
Backlog below; an Inc only names the bites it takes. -->
|
|
71
26
|
|
|
72
|
-
|
|
27
|
+
### Inc 1 — Walking skeleton
|
|
28
|
+
- Outcome: <one sentence, in user language: what the user can do when this is done>
|
|
29
|
+
- Bites: F1-w1, F2-w1 <!-- the skeleton bites of 3e: one per User Task the skeleton covers -->
|
|
30
|
+
- Detail: [inc-1.md](<nn>-<name>/inc-1.md)
|
|
73
31
|
|
|
74
|
-
### Inc 2 — <
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
…
|
|
32
|
+
### Inc 2 — <short name>
|
|
33
|
+
- Outcome: <…>
|
|
34
|
+
- Bites: F1-a, F2-c
|
|
35
|
+
- Detail: [inc-2.md](<nn>-<name>/inc-2.md)
|
|
79
36
|
|
|
80
37
|
## Backlog
|
|
81
38
|
|
|
82
|
-
<!--
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
39
|
+
<!-- Every bite of the slice, one line each (INVEST group of options), per Feature and User Task, ordered
|
|
40
|
+
by value. Titles say who does what, so they read without the Step. A bite an Inc took ends its
|
|
41
|
+
priority tag with "→ Inc n". The story map draws the taken ones inside their Inc and the rest
|
|
42
|
+
here, in the Backlog band: keep one bite per line, in this shape. Untaken bites stay here for as
|
|
43
|
+
long as the slice lives, even when every Inc is done. -->
|
|
87
44
|
|
|
88
45
|
### Proposed increments
|
|
89
46
|
|
|
@@ -96,22 +53,18 @@ Plan: → ../plan.md (Slice <nn> · Inc 1) <!-- steps and Tests live there -
|
|
|
96
53
|
|---|---|---|---|
|
|
97
54
|
| Inc 2 — <name> | F1-a · F2-b | <one line, in user language> | <value or dependency: "unlocks F1-c", "needs Inc 1 only"> |
|
|
98
55
|
| Inc 3 — <name> | F1-c | <…> | <…> |
|
|
99
|
-
| Later | ~F1-d · ~F1-e · deferred F1-
|
|
56
|
+
| Later | ~F1-d · ~F1-e · deferred F1-d1 | <nice-to-have and deferred, no order promised> | — |
|
|
100
57
|
|
|
101
58
|
### F1 — <Feature name>
|
|
102
59
|
|
|
103
60
|
- **[<User Task>]**
|
|
61
|
+
- **F1-w1 · <Who does or sees what in the skeleton>** (skeleton) → Inc 1 — F1-1.1, F1-2.1
|
|
104
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>
|
|
105
|
-
- ~**F1-b · <Who does or sees what>** (nice-to-have) → Inc 2 — F1-2.3 · depends on: F1-a · value: <…> · check: <…>
|
|
63
|
+
- ~**F1-b · <Who does or sees what>** (nice-to-have) → Inc 2 — F1-2.3 · depends on: F1-a · value: <…> · check: <…>
|
|
106
64
|
- **[Deferred]**
|
|
107
|
-
- F1-
|
|
108
|
-
|
|
109
|
-
## Notes
|
|
110
|
-
|
|
111
|
-
- <deviations, discovered work, decisions taken while building>
|
|
112
|
-
- **Pruned** (<n> · obsolete <n> · dominated <n> · filler <n> · contradicts <n>) — one line each, with its reason; added to after every `--next`:
|
|
113
|
-
- F1-1.1 <name> — `obsolete`: <why>
|
|
65
|
+
- **F1-d1 · <title>** (deferred: <reason, e.g. needs F9>) — F1-1.4, F1-5.2 · prune and split when recovered
|
|
114
66
|
|
|
115
|
-
##
|
|
67
|
+
## Files
|
|
116
68
|
|
|
117
|
-
- <
|
|
69
|
+
- Slicing: [F1](<nn>-<name>/slicing/F1.md) · [F2](<nn>-<name>/slicing/F2.md)
|
|
70
|
+
- [Notes and trio notes](<nn>-<name>/notes.md) · [Pruned options](<nn>-<name>/pruned.md) · [Discovery Context](<nn>-<name>/discovery.md)
|
|
@@ -5,8 +5,8 @@ description: Read-only summary of where a bokata initiative stands — phase, op
|
|
|
5
5
|
|
|
6
6
|
# bokata-status
|
|
7
7
|
|
|
8
|
-
Read the files; change nothing. The only thing it may
|
|
9
|
-
|
|
8
|
+
Read the files; change nothing. The only thing it may run is the `bokata-render` script described
|
|
9
|
+
at the end, which rewrites `story-map.html` from the markdown — never a state change.
|
|
10
10
|
|
|
11
11
|
## Configuration
|
|
12
12
|
|
|
@@ -14,7 +14,10 @@ Read `.bokata.json` at the project root if it exists (`docs` defaults to `docs/i
|
|
|
14
14
|
|
|
15
15
|
## What to read
|
|
16
16
|
|
|
17
|
-
`<docs>/<slug>/`: `pitch.md`, `features.md`, `slices
|
|
17
|
+
`<docs>/<slug>/`: `pitch.md`, `features.md`, the slice **indexes** `slices/<nn>-<name>.md`, the
|
|
18
|
+
`slices/<nn>-<name>/inc-<n>.md` of the increments that are not done (`State`, `Unknowns`, `Pending`) and
|
|
19
|
+
the `Pending` of the done ones, and `plan.md` (only what is in flight). Do not open `slicing/`,
|
|
20
|
+
`notes.md` or the Gherkin: status never needs them. If no slug is given, list the
|
|
18
21
|
initiatives under `<docs>/` that have a `pitch.md`, `features.md` or `slices/`, and ask
|
|
19
22
|
which one (or summarise them all in one line each).
|
|
20
23
|
|
|
@@ -29,24 +32,29 @@ Features: <n> · sliced: <list of features with a slice> · not yet: <list>
|
|
|
29
32
|
Slice <nn>-<name> (open | done) — Features F1, F2
|
|
30
33
|
✔ <built increments> ▶ Inc <n> <name> — next step: "<first unchecked step>"
|
|
31
34
|
▲ <k> unknowns: <first one> | ▼ no unknowns
|
|
35
|
+
⏳ <k> pending (not in the code): <first one>
|
|
32
36
|
~ <open nice-to-have scenarios>
|
|
33
37
|
Backlog: <k> bites (<m> must-have · <d> deferred) — <first two, by ID and title>
|
|
34
38
|
Next: <the skill or hand-off to run next>
|
|
35
39
|
```
|
|
36
40
|
|
|
37
41
|
Rules:
|
|
38
|
-
- **
|
|
39
|
-
|
|
40
|
-
checked → building
|
|
41
|
-
|
|
42
|
+
- **State of an increment**: `State: done` in its `inc-<n>.md` → done (also every Inc of a slice with
|
|
43
|
+
`Status: done`); otherwise its section in `plan.md` (the checkboxes under `## Slice <nn>` →
|
|
44
|
+
`### Inc <n>`): some checked → building, none → planned; no section → its own `State` (`sliced` or
|
|
45
|
+
`planned`). `plan.md` is temporary: a done Inc has no section there, and that is normal.
|
|
46
|
+
- **Phase** comes from what exists: pitch only → shaped; features → mapped; a slice with an Inc in
|
|
47
|
+
`sliced` (no plan yet) → slicing; Incs planned and none building → planned; some Inc building →
|
|
48
|
+
building; every slice done and no Feature left without a slice → done. A `features.md` carrying `<!-- Mode: single -->` was written by
|
|
42
49
|
`bokata-slice` in single mode, not by a feature map: it never makes the phase "mapped".
|
|
43
50
|
- One block per slice, open slices first; done slices get one line (`Slice <nn> done —
|
|
44
51
|
<k> bites left`). **Backlog** is the slice's `## Backlog` section: its bites that no `Inc` has taken
|
|
45
52
|
(`must-have` ones counted separately; `~nice-to-have` and deferred are the rest).
|
|
46
53
|
Which Features have a slice comes from their `**Slice:**` lines in `features.md`. In single
|
|
47
54
|
mode the `Features:` line is `Features: 1 (single mode)`.
|
|
48
|
-
- **▲ / ▼** is the
|
|
49
|
-
none means only execution is left (▼).
|
|
55
|
+
- **▲ / ▼** is the `Unknowns` line of the increment in flight (its `inc-<n>.md`): open questions mean it
|
|
56
|
+
still needs the user (▲), none means only execution is left (▼). **⏳** counts the `## Pending` items
|
|
57
|
+
of any Inc, done ones included: manual or owner checks that are not in the code.
|
|
50
58
|
- **Next** is the first that applies: unknowns open → resolve them with the user; slice without
|
|
51
59
|
a plan → `bokata-plan`; unchecked steps → the executor hand-off line; increment built and backlog left →
|
|
52
60
|
`bokata-slice <nn> --next` (or `--done` if the user is finished with it); Features without a
|
|
@@ -57,9 +65,13 @@ Rules:
|
|
|
57
65
|
## Catch-up story map
|
|
58
66
|
|
|
59
67
|
`story-map.html` is a render of the markdown and can lag (an undone render, a manual edit, a
|
|
60
|
-
session that closed early). After reporting,
|
|
61
|
-
|
|
62
|
-
`
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
68
|
+
session that closed early). After reporting, if `story_map` is not `false` and `story-map.html`
|
|
69
|
+
is missing or older than the newest of `features.md`, anything under `slices/` and `plan.md`, run the
|
|
70
|
+
`bokata-render` script (milliseconds, no model) and add one line to the report saying the map was
|
|
71
|
+
brought up to date:
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
node .agents/skills/bokata-render/scripts/render.mjs <docs>/<slug>
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
If it prints an error, report it. If `story_map` is `false`, do nothing.
|
|
@@ -23,5 +23,5 @@ implemented" with no proof, reformatted neighbours, progress rows saying "pendin
|
|
|
23
23
|
that step's full run and the real commit hash. Never "pending" or "(this run)".
|
|
24
24
|
10. **A behaviour change outside the step's scenario** is a stop-and-ask, not a deviation note.
|
|
25
25
|
11. **A refactor is structure only.** If it adds tests or widens behaviour, it is a `feat`.
|
|
26
|
-
12. **Split, don't report.** If a step grows past about one test file and two production
|
|
27
|
-
|
|
26
|
+
12. **Split, don't report.** If a step grows past about one test file and one or two production
|
|
27
|
+
files, split it before committing, unless the plan marks it indivisible.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Abraham Vallez
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -44,8 +44,8 @@ npx bokata@latest sync # regenerate agents after editing .bokata.jso
|
|
|
44
44
|
| Size | Path |
|
|
45
45
|
|---|---|
|
|
46
46
|
| **S** — a fix or tweak | plan mode → `bokata-tdd` (no documents) |
|
|
47
|
-
| **M** — one clear feature | `bokata-shape` → `bokata-slice` (single mode
|
|
48
|
-
| **L** — several features | `bokata-shape` → `bokata-feature-map` → `bokata-slice` (1–
|
|
47
|
+
| **M** — one clear feature | `bokata-shape` → `bokata-slice` (single mode: the pitch is the one feature; the bite-sized backlog lives in the slice) → `bokata-plan` → `code-executor` |
|
|
48
|
+
| **L** — several features | `bokata-shape` → `bokata-feature-map` → `bokata-slice` (1–4 features) → `bokata-plan` → `code-executor` |
|
|
49
49
|
|
|
50
50
|
`bokata-shape` proposes the size; you confirm it.
|
|
51
51
|
|
|
@@ -54,13 +54,13 @@ npx bokata@latest sync # regenerate agents after editing .bokata.jso
|
|
|
54
54
|
| Skill | What it does | Writes |
|
|
55
55
|
|---|---|---|
|
|
56
56
|
| `bokata-shape` | Grill (the configured method) + Shape Up shaping: narrow the problem, 2–3 approaches as Mermaid breadboards (low-fi HTML sketch when layout matters), one trio pass, rabbit holes and no-gos | `pitch.md` |
|
|
57
|
-
| `bokata-feature-map` | Features Backbone + functional ACs with the trio; asks only about gaps in its input | `features.md` + the initiative's `story-map.html` dashboard (
|
|
58
|
-
| `bokata-slice` | Pick 1–4 features → one `feature-slicer` per feature writes Steps and 3+ options per Step, prunes them (each drop with a reason), and groups the rest into small INVEST bites per User Task → the trio reviews the full trace and the bites → you compose Inc 1 (walking skeleton) → concrete ACs for it only. it proposes a roadmap of the next increments (`### Proposed increments`, yours to edit); `--next` adds the next increment as one or more bites and re-prunes what it makes obsolete; `--done` marks the slice done | `slices/<nn>-<name>.md` (
|
|
59
|
-
| `bokata-plan` | A contract for your harness's own plan mode: the plan becomes checklists per slice and increment, starting with its acceptance test | the initiative's `plan.md`;
|
|
57
|
+
| `bokata-feature-map` | Features Backbone + functional ACs with the trio; asks only about gaps in its input | `features.md` + the initiative's `story-map.html` dashboard (drawn by the `bokata-render` script) |
|
|
58
|
+
| `bokata-slice` | Pick 1–4 features → one `feature-slicer` per feature writes Steps and 3+ options per Step, prunes them (each drop with a reason), and groups the rest into small INVEST bites per User Task → the trio reviews the full trace and the bites → you compose Inc 1 (walking skeleton) → concrete ACs for it only. it proposes a roadmap of the next increments (`### Proposed increments`, yours to edit); `--next` adds the next increment as one or more bites and re-prunes what it makes obsolete; `--done` marks the slice done | `slices/<nn>-<name>.md` (the index: increments and the backlog of bites) + `slices/<nn>-<name>/` (`inc-<n>.md`, `slicing/`, `notes.md`, `pruned.md`, `discovery.md`); a one-line `**Slice:**` summary per feature in `features.md`; the bite cards and the backlog in `story-map.html` |
|
|
59
|
+
| `bokata-plan` | A contract for your harness's own plan mode: the plan becomes checklists per slice and increment, starting with its acceptance test | the initiative's `plan.md`; redraws `story-map.html` |
|
|
60
60
|
| `bokata-tdd` | Default code method: an acceptance test per increment, then strict small-step TDD with evidence rules | commits |
|
|
61
61
|
| `bokata-refactor` | Default refactor method: Kent Beck's four rules of simple design, tidyings, code smells mapped to the move that fixes each | `refactor` commits |
|
|
62
|
-
| `bokata-status` | Read-only: phase, open slices,
|
|
63
|
-
| `bokata-render` |
|
|
62
|
+
| `bokata-status` | Read-only: phase, open slices, each increment's state and next step, open unknowns, pending checks, each slice's backlog of bites, features not yet sliced; redraws the story map if it lags |
|
|
63
|
+
| `bokata-render` | Draws `story-map.html` from the markdown with a script — no model: Features and User Tasks as columns, a band of bite cards per increment, a Backlog band, a minimap and a page per increment, bite, User Task and Feature. `--check` validates the markdown. Run by the other skills and `code-executor`, or by you with `npx bokata render <docs>/<slug>` | `story-map.html` |
|
|
64
64
|
| `bokata-feature-mapper`, `bokata-feature-slicer`, `bokata-acceptance-criteria` | The methods the phases use; usable on their own | — |
|
|
65
65
|
|
|
66
66
|
### Agents
|
|
@@ -68,10 +68,13 @@ npx bokata@latest sync # regenerate agents after editing .bokata.jso
|
|
|
68
68
|
| Agent | Role | Access |
|
|
69
69
|
|---|---|---|
|
|
70
70
|
| `bokata-product-manager` / `-designer` / `-engineer` | Product Trio reviewers and rule contributors | read |
|
|
71
|
-
| `code-executor` | Builds a slice's planned increment with `methods.code`;
|
|
71
|
+
| `code-executor` | Builds a slice's planned increment with `methods.code`; checks off `plan.md` as it goes and, when the Inc is done, sets `State: done`, moves what is not in the code to `Pending` and deletes its plan section; never pushes | write |
|
|
72
72
|
| `design-reviewer` | Reviews one step's diff with `methods.refactor` and the coding standards | read |
|
|
73
|
-
| `
|
|
74
|
-
|
|
73
|
+
| `feature-slicer` | Loads `bokata-feature-slicer` and slices one feature into Steps and options, writing its output to the one file it is given; `bokata-slice` dispatches one per feature, in parallel | write-own |
|
|
74
|
+
|
|
75
|
+
**read** means no edit tool, not no shell: read-only agents keep a shell to run read commands, and
|
|
76
|
+
their instructions forbid writing files (including `>`, `tee`, `sed -i`); the harness does not
|
|
77
|
+
enforce that last part.
|
|
75
78
|
|
|
76
79
|
During trio reviews the **main thread** is the neutral coordinator: it applies
|
|
77
80
|
non-conflicting findings, settles factual conflicts against the artifacts, and escalates
|
|
@@ -82,16 +85,24 @@ genuine product trade-offs to you as one decision point with a recommended defau
|
|
|
82
85
|
```
|
|
83
86
|
Initiative (pitch.md)
|
|
84
87
|
└ Features (features.md — the summary: backbone, functional ACs, one Slice line per feature)
|
|
85
|
-
└ Slice (slices/<nn>-<name>.md — 1–4 features → usable end to end; open until you mark it done)
|
|
86
|
-
├ Slicing (per feature: User Task → Step → options F1-2.3,
|
|
87
|
-
│ pruned with a reason, a target per Step)
|
|
88
|
-
├ Increment (
|
|
89
|
-
│ │ concrete ACs written when it enters;
|
|
90
|
-
│
|
|
91
|
-
└
|
|
92
|
-
|
|
88
|
+
└ Slice (slices/<nn>-<name>.md — a short index; 1–4 features → usable end to end; open until you mark it done)
|
|
89
|
+
├ Slicing (slices/<nn>-<name>/slicing/F<k>.md — per feature: User Task → Step → options F1-2.3,
|
|
90
|
+
│ with strategy and coverage; pruned with a reason in pruned.md, a target per Step)
|
|
91
|
+
├ Increment (slices/<nn>-<name>/inc-<n>.md — one or more bites the user can see; Inc 1 = the
|
|
92
|
+
│ │ skeleton bites F1-w1…; concrete ACs written when it enters; State: sliced | planned | done;
|
|
93
|
+
│ │ Unknowns ▲ / none ▼; Pending = what is not in the code)
|
|
94
|
+
│ └ Plan steps (in the initiative's plan.md while the Inc is in flight; checked off commit by
|
|
95
|
+
│ commit; deleted when the Inc is done)
|
|
96
|
+
└ Bites (F1-a… in the index's Backlog: INVEST groups of options per User Task, titled for the
|
|
97
|
+
user — an Inc takes some, --next picks from the rest, and they stay while the slice lives)
|
|
93
98
|
```
|
|
94
99
|
|
|
100
|
+
The index is short on purpose, and nothing is said twice: an Inc's outcome and bites live in the
|
|
101
|
+
index, its state and decisions in its own file, so `--next`, the plan and the executor read a few
|
|
102
|
+
KB instead of the whole history, and Incs built in parallel worktrees never edit the same file.
|
|
103
|
+
`npx bokata render <docs>/<slug>` draws the whole initiative as one page you can open in a
|
|
104
|
+
browser, and `--check` validates the markdown.
|
|
105
|
+
|
|
95
106
|
A feature belongs to one slice only. An **option** is one way to do one Step; a **bite** groups
|
|
96
107
|
the options of one or several Steps that make sense together (small, INVEST); an **increment** is
|
|
97
108
|
the walking skeleton or one or more bites — whatever lets the user see or do something new.
|
|
@@ -103,11 +114,16 @@ so you prioritize a handful of bites instead of a hundred option IDs. After Inc
|
|
|
103
114
|
**Upgrading an initiative sliced with bokata ≤ 2.0** (scopes per feature, `Increment options`
|
|
104
115
|
in `features.md`): re-run `npx bokata@latest install` so the `feature-slicer` agent is installed,
|
|
105
116
|
let the old slices finish as they are, and slice the remaining features with the new
|
|
106
|
-
`bokata-slice`.
|
|
117
|
+
`bokata-slice`. The story map is redrawn from the markdown by the next skill that touches it (or `npx bokata render <docs>/<slug>`).
|
|
118
|
+
|
|
119
|
+
**Slices written as one file** (every earlier bokata): `bokata render` reads only the split layout
|
|
120
|
+
(index + `<nn>-<name>/` folder, see above). Split each slice by hand or with a one-off script: the
|
|
121
|
+
`## Slicing` details to `slicing/F<k>.md`, each `### Inc <n>` body to `inc-<n>.md` with a `State:` line,
|
|
122
|
+
Pruned to `pruned.md`, Notes and Trio notes to `notes.md`, the Discovery Context to `discovery.md`, and
|
|
123
|
+
leave in the index only each Inc's outcome and bites plus the Backlog. Drop the `Plan:` / `Tests:` of
|
|
124
|
+
built Incs and keep whatever is not in the code as `## Pending`. (`closed` is still read as `done`.)
|
|
107
125
|
|
|
108
|
-
**
|
|
109
|
-
`Status: closed`) are not read by the current skills: move each Inc's `Plan:` and `Tests:` into
|
|
110
|
-
`plan.md` (under `## Slice <nn>` → `### Inc <n>`) and change `closed` to `done`.
|
|
126
|
+
**Upgrading from 3.0.0-beta.3 or earlier:** the story map is now drawn by a script, not by an agent. Re-run `npx bokata@latest install`: it removes the generated `story-map-renderer` agent and the `render` model from `.bokata.json`. The first skill that touches the initiative, or `npx bokata render <docs>/<slug>`, redraws the board; if a slice file breaks the format, the script says which `file:line`.
|
|
111
127
|
|
|
112
128
|
## Running the harness
|
|
113
129
|
|
|
@@ -117,20 +133,20 @@ the harness. Install first (`npx bokata@latest install`), then:
|
|
|
117
133
|
| Step | You say | Produces |
|
|
118
134
|
|---|---|---|
|
|
119
135
|
| Shape | "Shape this idea: …" (loads `bokata-shape`) | `pitch.md` |
|
|
120
|
-
| Feature map (L initiatives) | "bokata-feature-map <slug>" | `features.md`; the dashboard
|
|
121
|
-
| Slice | "bokata-slice <slug>" — pick 1–4 features; later "bokata-slice <nn> --next" | `slices/<nn>-<name>.md` |
|
|
122
|
-
| Plan | In your harness's plan agent: "bokata-plan docs/initiatives/<slug>/slices/<nn>-<name>.md" | checklists in
|
|
136
|
+
| Feature map (L initiatives) | "bokata-feature-map <slug>" | `features.md`; the dashboard is drawn by the `bokata-render` script |
|
|
137
|
+
| Slice | "bokata-slice <slug>" — pick 1–4 features; later "bokata-slice <nn> --next" | `slices/<nn>-<name>.md` + folder `<nn>-<name>/` |
|
|
138
|
+
| Plan | In your harness's plan agent: "bokata-plan docs/initiatives/<slug>/slices/<nn>-<name>.md" | checklists in `plan.md`, `State: planned` in the Inc's file |
|
|
123
139
|
| Build | Run `code-executor` with the hand-off line the plan printed | commits, checkboxes, story map kept current |
|
|
124
|
-
| Check | "bokata-status <slug>" | phase, next step;
|
|
140
|
+
| Check | "bokata-status <slug>" | phase, next step; redraws the story map if it lags |
|
|
125
141
|
|
|
126
|
-
|
|
127
|
-
(
|
|
142
|
+
The story map has no step of its own: the skills above and `code-executor` run the `bokata-render`
|
|
143
|
+
script (instant, no model) whenever the markdown changes.
|
|
128
144
|
|
|
129
145
|
### Per harness
|
|
130
146
|
|
|
131
147
|
- **OpenCode** — skills read from `.agents/skills/`; agents install to `.opencode/agents/`.
|
|
132
148
|
Name the skill in the session. Primary-capable agents (`code-executor`) appear in the agent
|
|
133
|
-
switcher (Tab); `mode: subagent` agents (the trio, `feature-slicer`, `design-reviewer
|
|
149
|
+
switcher (Tab); `mode: subagent` agents (the trio, `feature-slicer`, `design-reviewer`)
|
|
134
150
|
never do — the session dispatches them itself. Headless:
|
|
135
151
|
`opencode run --agent code-executor "Build slice docs/initiatives/<slug>/slices/01-<name>.md"`
|
|
136
152
|
- **Claude Code** — skills install to `.claude/skills/` (invoke by name or `/bokata-shape`);
|
|
@@ -164,7 +180,6 @@ Everything is optional; these are the defaults.
|
|
|
164
180
|
```jsonc
|
|
165
181
|
{
|
|
166
182
|
"docs": "docs/initiatives", // where initiative folders go
|
|
167
|
-
"language": "auto", // conversation follows the user
|
|
168
183
|
"story_map": true, // story-map.html dashboard; false = markdown only
|
|
169
184
|
"memory": { // long-lived files bokata reads (and shape updates)
|
|
170
185
|
"constitution": "CONSTITUTION.md",
|
|
@@ -181,7 +196,7 @@ Everything is optional; these are the defaults.
|
|
|
181
196
|
"refactor": "bokata-refactor"
|
|
182
197
|
},
|
|
183
198
|
"harnesses": [], // filled by install
|
|
184
|
-
"models": { … } // per harness: trio | reviewer | executor
|
|
199
|
+
"models": { … } // per harness: trio | reviewer | executor (see below)
|
|
185
200
|
}
|
|
186
201
|
```
|
|
187
202
|
|
|
@@ -214,16 +229,15 @@ slot: they live in `memory.standards`, which the executor and the reviewer alway
|
|
|
214
229
|
### Default models
|
|
215
230
|
|
|
216
231
|
Planning and analysis (the trio and the design reviewer) get a planning model; writing code
|
|
217
|
-
(the executor) gets a coding model
|
|
218
|
-
|
|
219
|
-
harness.
|
|
232
|
+
(the executor) gets a coding model. Planning itself runs in your main session — open it with the
|
|
233
|
+
planning model of your harness.
|
|
220
234
|
|
|
221
|
-
| Harness | Plan and analyse (`trio`, `reviewer`) | Write code (`executor`) |
|
|
222
|
-
|
|
223
|
-
| Claude Code | `opus` | `sonnet` |
|
|
224
|
-
| OpenCode | `opencode-go/glm-5.3-flash` | `opencode-go/deepseek-v4.1-flash` |
|
|
225
|
-
| Cursor | `glm-flash` | `sonnet` |
|
|
226
|
-
| Codex | `gpt-5.6-sol` | `gpt-5.6-luna` |
|
|
235
|
+
| Harness | Plan and analyse (`trio`, `reviewer`) | Write code (`executor`) |
|
|
236
|
+
|---|---|---|
|
|
237
|
+
| Claude Code | `opus` | `sonnet` |
|
|
238
|
+
| OpenCode | `opencode-go/glm-5.3-flash` | `opencode-go/deepseek-v4.1-flash` |
|
|
239
|
+
| Cursor | `glm-flash` | `sonnet` |
|
|
240
|
+
| Codex | `gpt-5.6-sol` | `gpt-5.6-luna` |
|
|
227
241
|
|
|
228
242
|
Set a role to `null` to use the harness's own default model instead.
|
|
229
243
|
|
|
@@ -23,7 +23,7 @@ Your role across the bokata workflow:
|
|
|
23
23
|
- Does the Walking Skeleton compose into a coherent minimal UI, or does it leave users confused/stuck?
|
|
24
24
|
|
|
25
25
|
**Fast Feedback Principle** (shared across all three roles):
|
|
26
|
-
Whenever you are reviewing, always ask yourself: *"Does this favor the smallest viable slice that generates learning fastest? Could this UI slice be simplified further to get a testable prototype in front of users sooner?"* Treat the Walking Skeleton +
|
|
26
|
+
Whenever you are reviewing, always ask yourself: *"Does this favor the smallest viable slice that generates learning fastest? Could this UI slice be simplified further to get a testable prototype in front of users sooner?"* Treat the Walking Skeleton + backlog-of-bites philosophy as the default operating mode — even when reviewing a Features Backbone or functional ACs, prefer framing that enables early validation over up-front completeness.
|
|
27
27
|
|
|
28
28
|
## Your Role in Each Phase
|
|
29
29
|
|
|
@@ -130,6 +130,6 @@ When contributing Rules for AC generation: return:
|
|
|
130
130
|
|
|
131
131
|
## Critical Constraint
|
|
132
132
|
|
|
133
|
-
**Never write to files
|
|
133
|
+
**Never write to files** — not with an edit tool, not through shell redirection (`>`, `tee`, `sed -i`). Only return text critique and contributions. The coordinating skill is the single writer; you provide input only.
|
|
134
134
|
|
|
135
135
|
**Never ask the user questions.** If something is ambiguous, state an assumption in your Assumptions section and flag it for the orchestrator to verify.
|
|
@@ -24,7 +24,7 @@ Your role across the bokata workflow:
|
|
|
24
24
|
- Does the skeleton establish patterns that increments should follow, or will they likely diverge?
|
|
25
25
|
|
|
26
26
|
**Fast Feedback Principle** (shared across all three roles):
|
|
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 +
|
|
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.
|
|
28
28
|
|
|
29
29
|
## Your Role in Each Phase
|
|
30
30
|
|
|
@@ -132,6 +132,6 @@ When contributing Rules for AC generation: return:
|
|
|
132
132
|
|
|
133
133
|
## Critical Constraint
|
|
134
134
|
|
|
135
|
-
**Never write to files
|
|
135
|
+
**Never write to files** — not with an edit tool, not through shell redirection (`>`, `tee`, `sed -i`). Only return text critique and contributions. The coordinating skill is the single writer; you provide input only.
|
|
136
136
|
|
|
137
137
|
**Never ask the user questions.** If something is ambiguous, state an assumption in your Assumptions section and flag it for the orchestrator to verify.
|
|
@@ -18,12 +18,12 @@ Your role across the bokata workflow:
|
|
|
18
18
|
**Specific Review Questions:**
|
|
19
19
|
- Is each Feature/User Task aligned with a real user need or business goal?
|
|
20
20
|
- Is the Walking Skeleton truly the *minimum viable value* (not just minimum effort)? Does it ship zero value to any user?
|
|
21
|
-
- Are
|
|
21
|
+
- Are the backlog's bites ordered by business impact, not just technical convenience?
|
|
22
22
|
- Is anything valuable missing from the scope?
|
|
23
23
|
- Would deferring a feature/task break the skeleton's core value prop?
|
|
24
24
|
|
|
25
25
|
**Fast Feedback Principle** (shared across all three roles):
|
|
26
|
-
Whenever you are reviewing, always ask yourself: *"Does this favor the smallest viable slice that generates learning fastest? Could this be split smaller for faster feedback?"* Treat the Walking Skeleton +
|
|
26
|
+
Whenever you are reviewing, always ask yourself: *"Does this favor the smallest viable slice that generates learning fastest? Could this be split smaller for faster feedback?"* Treat the Walking Skeleton + backlog-of-bites philosophy as the default operating mode — even when reviewing a Features Backbone or functional ACs, prefer framing that enables early validation over up-front completeness.
|
|
27
27
|
|
|
28
28
|
## Your Role in Each Phase
|
|
29
29
|
|
|
@@ -123,6 +123,6 @@ When contributing Rules for AC generation: return:
|
|
|
123
123
|
|
|
124
124
|
## Critical Constraint
|
|
125
125
|
|
|
126
|
-
**Never write to files
|
|
126
|
+
**Never write to files** — not with an edit tool, not through shell redirection (`>`, `tee`, `sed -i`). Only return text critique and contributions. The coordinating skill is the single writer; you provide input only.
|
|
127
127
|
|
|
128
128
|
**Never ask the user questions.** If something is ambiguous, state an assumption in your Assumptions section and flag it for the orchestrator to verify.
|
package/agents/code-executor.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: code-executor
|
|
3
|
-
description: Builds the planned increment of a bokata slice (or a planned fix) in small committed steps, following the project's code method, and keeps the
|
|
3
|
+
description: Builds the planned increment of a bokata slice (or a planned fix) in small committed steps, following the project's code method, and keeps its plan and the Inc's file current as its progress record. Use it to execute slices/<slice>.md after bokata-plan.
|
|
4
4
|
role: executor
|
|
5
5
|
mode: all
|
|
6
6
|
access: write
|
|
@@ -16,10 +16,11 @@ 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 slice
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
3. Read the slice **index** you were given (your Inc's outcome and bites), **your Inc's file**
|
|
20
|
+
`slices/<nn>-<name>/inc-<n>.md` in full (scenarios, rules, `Unknowns`, owner decisions), your Inc's
|
|
21
|
+
section in `plan.md`, and the `slicing/F<k>.md` entries of the options your increment uses (they
|
|
22
|
+
say which shortcuts are intended). Do not read the other Incs' files. Build only the increment you
|
|
23
|
+
were given (by default the one with unchecked plan steps); never pick options from the backlog.
|
|
23
24
|
|
|
24
25
|
## The contract (every increment)
|
|
25
26
|
|
|
@@ -27,9 +28,10 @@ contract below, whatever the method.
|
|
|
27
28
|
`<docs>/<slug>/plan.md`, under `## Slice <nn>` → `### Inc <n>`; it is the progress record and
|
|
28
29
|
must never claim more than the commits contain. Edit **only your own Inc's section**, so Incs
|
|
29
30
|
built in parallel worktrees touch different lines.
|
|
30
|
-
- **Fill `Tests:`** in that same section of `plan.md
|
|
31
|
-
that covers it. Tests are named by behaviour, in the domain's words — never by an ID.
|
|
32
|
-
|
|
31
|
+
- **Fill `Tests:`** in that same section of `plan.md` while you build: each scenario → the test file
|
|
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 Inc is closed.
|
|
34
|
+
- **Keep `Unknowns` honest** (in the Inc's `inc-<n>.md`). Add a question the moment you hit one you cannot settle from the
|
|
33
35
|
code; remove it, with the answer in the commit body, when it is settled.
|
|
34
36
|
- **Stop at a new pattern.** If a step needs an architectural pattern, boundary or dependency
|
|
35
37
|
that no ADR covers, stop: add it to `Unknowns` and ask. You never write ADRs.
|
|
@@ -37,14 +39,23 @@ contract below, whatever the method.
|
|
|
37
39
|
- **Never push, merge, stash, amend or rebase.** Stage explicit paths only.
|
|
38
40
|
- **Never launch another harness or agent CLI** (`opencode`, `claude`, `codex`…) — only the
|
|
39
41
|
subagents your method asks for, such as `design-reviewer`.
|
|
40
|
-
- **Keep the story map current.** At the end of each increment
|
|
41
|
-
|
|
42
|
-
`story_map` is `false
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
42
|
+
- **Keep the story map current.** At the end of each increment run
|
|
43
|
+
`node .agents/skills/bokata-render/scripts/render.mjs <docs>/<slug>` (milliseconds, no model, no
|
|
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 slice
|
|
46
|
+
and `plan.md`; you keep writing code.
|
|
47
|
+
- **Close the Inc.** When every must-have step is checked, in one last commit:
|
|
48
|
+
1. set `- State: done` in the Inc's `inc-<n>.md` (the state lives only there);
|
|
49
|
+
2. move to its `## Pending` section whatever is **not in the code**: a manual or owner check still
|
|
50
|
+
to do (a phone test, a real-device walkthrough), a scenario no automated test covers, an unchecked
|
|
51
|
+
step you did not build. Everything that *is* implemented and tested needs no record: the
|
|
52
|
+
scenarios stay in `inc-<n>.md`, and the `Tests:` mapping is dropped;
|
|
53
|
+
3. **delete the Inc's whole section from `plan.md`** (and the `## Slice` heading above it if that
|
|
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 Inc`.
|
|
56
|
+
Then report: commits, deviations, open `~` items and what is in `Pending`. Never mark the slice done —
|
|
57
|
+
the user does that with `bokata-slice <nn> --done`; the next increment comes from
|
|
58
|
+
`bokata-slice <nn> --next`.
|
|
48
59
|
|
|
49
60
|
## Stop and ask
|
|
50
61
|
|
|
@@ -36,5 +36,5 @@ At most 5 findings, most important first. Each has:
|
|
|
36
36
|
- the tests that must stay green while applying it.
|
|
37
37
|
|
|
38
38
|
If the step is already simple, say so in one line. Do not suggest new features, tests for
|
|
39
|
-
behaviour outside the step, or style changes a formatter handles. **Do not edit files
|
|
40
|
-
executor applies the refactors.
|
|
39
|
+
behaviour outside the step, or style changes a formatter handles. **Do not edit files**, not
|
|
40
|
+
even through shell redirection (`>`, `tee`, `sed -i`) — the executor applies the refactors.
|