ai4kanban 0.8.0 → 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 +58 -30
  2. package/bin/ai4kanban.mjs +43 -691
  3. package/dist/kanban.mjs +25325 -14732
  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,12 +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 until it is ready to build
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
100
125
  akb create "add dark mode" # write the card(s) for it
101
- akb propose # write the next tasks
102
- akb archive 12 # finish it
126
+ akb card archive 12 # finish it
103
127
  ```
104
128
 
105
129
  Add `--print` to any of them and nothing starts: it prints what to do instead, filled in
@@ -107,34 +131,37 @@ for this board — the card's own path, the steps it has left, the memory file i
107
131
  point at, and the command that closes the job.
108
132
 
109
133
  ```bash
110
- akb implement 12 --print # the steps, for whoever is asking
134
+ akb card implement 12 --print # the steps, for whoever is asking
111
135
  ```
112
136
 
113
137
  That is the mode for an agent already in a session: it does the job where it is, rather than
114
138
  paying for a second agent to do it. Start a run when you want the work to happen on its own.
115
139
  An agent working inside a run always gets the printed flow, so a run can't spawn a copy of
116
- itself. `akb help runs` carries the whole rule.
140
+ itself. `akb help` carries the whole rule.
117
141
 
118
142
  The run keeps working after the command returns. Watch it, or stop it, from anywhere —
119
143
  including from the board app, which drives its buttons through these same commands:
120
144
 
121
145
  ```bash
122
- akb runs # what is running, and what ran lately
123
- akb log 3f2a1b04 --follow # watch a run as it goes
124
- akb stop 3f2a1b04 # end one
125
- 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
126
150
  ```
127
151
 
128
- Which agent runs them Claude Code, Codex, Cursor, OpenCode, DeepSeek Harness or ZCode and
129
- 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:
130
156
 
131
157
  ```bash
132
- akb agent # what runs, and how it is set up
133
- akb agent list # the agents it can run, and what each one takes
134
- akb agent use codex
135
- akb agent set model gpt-5.1-codex
136
- akb agent set apiKey sk-… # saved to docs/kanban/.env, never shown back
137
- 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
138
165
  ```
139
166
 
140
167
  Runs use these settings, never what your shell happens to export. `akb help` lists
@@ -168,15 +195,15 @@ Every message is its own command, so a conversation is picked up from any termin
168
195
  survives closing one. The board's conversation and each card's are separate, both under
169
196
  `docs/kanban/.chats/`, on your machine and out of git.
170
197
 
171
- 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
172
199
  run is already working on is refused, and the refusal names the card and what that run is
173
200
  doing. Only an agent whose command can take a second message into its own session can hold a
174
201
  conversation; on any other, chat says so and names the agents that can.
175
202
 
176
203
  ## The manual
177
204
 
178
- `akb help runs` is what a coding agent reads: every command it may call — the card work,
179
- 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
180
207
  bookkeeping beneath it: ids, a card's fields, the index, the releases.
181
208
 
182
209
  The flows are `akb guide`:
@@ -185,13 +212,14 @@ The flows are `akb guide`:
185
212
  akb guide # every flow, one line each
186
213
  akb guide board # how the board works: card format, layout, memory
187
214
  akb guide qa-loop # settle one card's planning gaps
215
+ akb guide qa-lightweight # short check for clear, localized work
188
216
  akb guide plan-release # fill a release from its goal
189
217
  ```
190
218
 
191
219
  A printed flow already carries the ones its action needs, in full, so this is for the rest.
192
220
 
193
- A run that writes or changes a card is followed by `akb refine` on that card, as a run of its
194
- 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
195
223
  come back with their cards refined. Archiving or rejecting a card does the same for every card
196
224
  it was blocking that now has nothing left in its way.
197
225