ai4kanban 0.8.1 → 0.9.0

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 (4) hide show
  1. package/README.md +57 -31
  2. package/bin/ai4kanban.mjs +43 -718
  3. package/dist/kanban.mjs +23537 -13185
  4. package/package.json +5 -2
package/README.md CHANGED
@@ -42,15 +42,39 @@ rather not install anything.
42
42
  From your project root:
43
43
 
44
44
  ```bash
45
- akb install --tracks feature,bug,research
45
+ akb install
46
46
  ```
47
47
 
48
- That scaffolds `docs/kanban/`: the track folders, the board index, the memory set, and a
49
- blank `config.md`. Nothing is written outside that folder — that is the whole footprint.
48
+ That scaffolds `docs/kanban/`: the board folder, its index, the memory set, and a blank
49
+ `config.md`. Nothing is written outside that folder — that is the whole footprint.
50
50
 
51
- Pass the tracks your project actually splits into. Normally you don't run this by hand —
52
- you paste the install prompt from <https://ai4kanban.dev/INSTALL_PROMPT.txt> and your agent
53
- reads the repo, picks the tracks, runs this command, and fills in the config afterwards.
51
+ Normally you don't run this by hand — you paste the install prompt from
52
+ <https://ai4kanban.dev/INSTALL_PROMPT.txt> and your agent reads the repo, runs this
53
+ command, and fills in the config afterwards.
54
+
55
+ ### A second board in the same repo
56
+
57
+ `akb install --board <dir>` puts the board somewhere else — one repository, two boards:
58
+
59
+ ```bash
60
+ akb install --board marketing/kanban
61
+ ```
62
+
63
+ A board away from `docs/kanban` is **named, not found**: with no flag `akb` still walks up
64
+ for `docs/kanban`, so name yours with `--board <dir>` on any command, or
65
+ `export AI4KANBAN_BOARD=<dir>`. A command typed inside the board folder finds it. The flag
66
+ beats the variable, and both beat `--dir`.
67
+
68
+ The board app shows which one you are on in the folder chip, and switches between them
69
+ there.
70
+
71
+ ## Verify a marketing draft
72
+
73
+ After `akb channel <channel> <id>`, run `akb marketing verify <channel> <id>` to check that
74
+ repurpose against the writing memory. Fresh reviewers report violations, a writer fixes
75
+ that one draft, and the board verifies again, stopping after at most three verify passes.
76
+ The runs stay under one job; any remaining findings stay on its last verification run.
77
+ This is a separate step on marketing boards and has no `--print`. See `akb guide marketing-verify`.
54
78
 
55
79
  ## Drive the board from your coding agent
56
80
 
@@ -94,13 +118,12 @@ card can be built from a terminal, over ssh, or from a script, without a chat se
94
118
  without a browser.
95
119
 
96
120
  ```bash
97
- akb implement 12 # build the card, then review what was built
98
- akb review 12 # judge the delivery in flight on it again
99
- akb refine 12 # sharpen it; defaults to standard QA
100
- akb refine 12 --effort lightweight --print # use the chosen effort inline
121
+ akb card implement 12 # build the card, then review what was built
122
+ akb delivery review 12 # judge the delivery in flight on it again
123
+ akb card refine 12 # sharpen it; defaults to standard QA
124
+ akb card refine 12 --effort lightweight --print # use the chosen effort inline
101
125
  akb create "add dark mode" # write the card(s) for it
102
- akb propose # write the next tasks
103
- akb archive 12 # finish it
126
+ akb card archive 12 # finish it
104
127
  ```
105
128
 
106
129
  Add `--print` to any of them and nothing starts: it prints what to do instead, filled in
@@ -108,34 +131,37 @@ for this board — the card's own path, the steps it has left, the memory file i
108
131
  point at, and the command that closes the job.
109
132
 
110
133
  ```bash
111
- akb implement 12 --print # the steps, for whoever is asking
134
+ akb card implement 12 --print # the steps, for whoever is asking
112
135
  ```
113
136
 
114
137
  That is the mode for an agent already in a session: it does the job where it is, rather than
115
138
  paying for a second agent to do it. Start a run when you want the work to happen on its own.
116
139
  An agent working inside a run always gets the printed flow, so a run can't spawn a copy of
117
- itself. `akb help runs` carries the whole rule.
140
+ itself. `akb help` carries the whole rule.
118
141
 
119
142
  The run keeps working after the command returns. Watch it, or stop it, from anywhere —
120
143
  including from the board app, which drives its buttons through these same commands:
121
144
 
122
145
  ```bash
123
- akb runs # what is running, and what ran lately
124
- akb log 3f2a1b04 --follow # watch a run as it goes
125
- akb stop 3f2a1b04 # end one
126
- akb resume 3f2a1b04 # continue one that failed
146
+ akb run list # what is running, and what ran lately
147
+ akb run log 3f2a1b04 --follow # watch a run as it goes
148
+ akb run stop 3f2a1b04 # end one
149
+ akb run resume 3f2a1b04 # continue one that failed
127
150
  ```
128
151
 
129
- Which agent runs them Claude Code, Codex, Cursor, OpenCode, DeepSeek Harness or ZCode and
130
- what it is set to:
152
+ What they run as. A **runtime** is the whole answer the coding tool (Claude Code, Codex,
153
+ Cursor, OpenCode, Kimi Code, DeepSeek Harness, ZCode or Grok Build), the provider, the
154
+ endpoint, the key, the model id, the reasoning level and any extra arguments — and every
155
+ agent names one. The first row is **Global default**, which an agent naming none runs:
131
156
 
132
157
  ```bash
133
- akb agent # what runs, and how it is set up
134
- akb agent list # the agents it can run, and what each one takes
135
- akb agent use codex
136
- akb agent set model gpt-5.1-codex
137
- akb agent set apiKey sk-… # saved to docs/kanban/.env, never shown back
138
- akb agent test # one small chat, to see it works
158
+ akb agent # every runtime, and what each agent runs
159
+ akb agent list # the coding tools it can run, and what each takes
160
+ akb agent runtime add "My gateway" codex # add a row; its id comes from the name
161
+ akb agent set --runtime my_gateway model gpt-5.1-codex
162
+ akb agent set --runtime my_gateway apiKey sk-… # docs/kanban/.env, never shown back
163
+ akb agent bind builder my_gateway # point one agent at it
164
+ akb agent test my_gateway # one small chat, to see it works
139
165
  ```
140
166
 
141
167
  Runs use these settings, never what your shell happens to export. `akb help` lists
@@ -169,15 +195,15 @@ Every message is its own command, so a conversation is picked up from any termin
169
195
  survives closing one. The board's conversation and each card's are separate, both under
170
196
  `docs/kanban/.chats/`, on your machine and out of git.
171
197
 
172
- A chat is not a run: it never shows in `akb runs` and never holds a card. A change to a card a
198
+ A chat is not a run: it never shows in `akb run list` and never holds a card. A change to a card a
173
199
  run is already working on is refused, and the refusal names the card and what that run is
174
200
  doing. Only an agent whose command can take a second message into its own session can hold a
175
201
  conversation; on any other, chat says so and names the agents that can.
176
202
 
177
203
  ## The manual
178
204
 
179
- `akb help runs` is what a coding agent reads: every command it may call — the card work,
180
- the runs, the agent settings — and when to call each. `akb board help` is the board's own
205
+ `akb help` is what a coding agent reads: every command it may call — the card work,
206
+ the runs, the agent settings — and when to call each. `akb raw help` is the board's own
181
207
  bookkeeping beneath it: ids, a card's fields, the index, the releases.
182
208
 
183
209
  The flows are `akb guide`:
@@ -192,8 +218,8 @@ akb guide plan-release # fill a release from its goal
192
218
 
193
219
  A printed flow already carries the ones its action needs, in full, so this is for the rest.
194
220
 
195
- A run that writes or changes a card is followed by `akb refine` on that card, as a run of its
196
- own — so `akb create`, `akb revise`, `akb resolve`, `akb propose` and `akb plan-release` all
221
+ A run that writes or changes a card is followed by `akb card refine` on that card, as a run of its
222
+ own — so `akb create`, `akb card revise`, `akb card resolve` and `akb release plan` all
197
223
  come back with their cards refined. Archiving or rejecting a card does the same for every card
198
224
  it was blocking that now has nothing left in its way.
199
225