@kaddo/cli 2.8.0 → 3.1.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/LICENSE +21 -21
  2. package/README.md +21 -18
  3. package/dist/index.js +550 -282
  4. package/package.json +1 -1
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Judlup Luna
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.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Judlup Luna
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
@@ -62,12 +62,13 @@ kaddo init
62
62
 
63
63
  Creates:
64
64
  ```
65
- architecture/
66
- knowledge.md ← current state of the product
67
- roadmap.md ← intentions and priorities
68
- work-items/ one file per work item
65
+ knowledge/
66
+ knowledge.md ← current state of the product
67
+ delivery/
68
+ roadmap.md intentions and priorities
69
+ work-items/ ← one file per work item
69
70
  .kaddo/
70
- config.yml ← project config
71
+ config.yml ← project config
71
72
  ```
72
73
 
73
74
  ---
@@ -85,7 +86,7 @@ Detects language, framework, package manager, code dirs, migration dirs, contrac
85
86
  It also persists a reusable baseline of the project:
86
87
 
87
88
  - **`.kaddo/scan.json`** — structured, machine-readable (for the CLI and future context-pack commands).
88
- - **`architecture/inventory.md`** — human-readable inventory you can paste into an LLM chat.
89
+ - **`knowledge/inventory.md`** — human-readable inventory you can paste into an LLM chat.
89
90
 
90
91
  Scan detects signals and asks confirmation questions — it never claims to understand your business capabilities or architecture.
91
92
 
@@ -150,7 +151,7 @@ kaddo context
150
151
  ```
151
152
 
152
153
  Reads existing Kaddo artifacts — `.kaddo/config.yml`, `.kaddo/scan.json`,
153
- `architecture/inventory.md`, `architecture/knowledge.md`, `architecture/roadmap.md` and
154
+ `knowledge/inventory.md`, `knowledge/knowledge.md`, `knowledge/delivery/roadmap.md` and
154
155
  work-item front matter — and writes two files:
155
156
 
156
157
  - **`.kaddo/context-pack.md`** — compact, LLM-friendly markdown to paste into a chat.
@@ -181,11 +182,11 @@ chat** (Claude, ChatGPT, Cursor, Copilot, Windsurf…). Kaddo does not execute t
181
182
  kaddo add agents
182
183
  ```
183
184
 
184
- Creates `architecture/agents/` with:
185
+ Creates `knowledge/agents/` with:
185
186
 
186
- - `capability-agent.md` — extract/propose system capabilities → `architecture/capabilities.md`
187
- - `architecture-agent.md` — reconstruct the architecture baseline → `architecture/current-state.md`
188
- - `roadmap-agent.md` — propose roadmap candidates → `architecture/roadmap.md`
187
+ - `capability-agent.md` — extract/propose system capabilities → `knowledge/product/capabilities.md`
188
+ - `architecture-agent.md` — reconstruct the architecture baseline → `knowledge/tech/current-state.md`
189
+ - `roadmap-agent.md` — propose roadmap candidates → `knowledge/delivery/roadmap.md`
189
190
  - `legacy-agent.md` — surface risks/unknowns before changing legacy code
190
191
  - `adr-agent.md` — propose candidate architecture decisions
191
192
 
@@ -198,7 +199,7 @@ where to save the result, and a quality checklist. The primary input is always
198
199
  ```bash
199
200
  kaddo scan # technical signals
200
201
  kaddo context # → .kaddo/context-pack.md
201
- kaddo add agents # → architecture/agents/*.md
202
+ kaddo add agents # → knowledge/agents/*.md
202
203
  # then: paste context-pack.md + an agent prompt into your LLM chat
203
204
  ```
204
205
 
@@ -216,10 +217,10 @@ add them only when you need them.
216
217
  #### Roadmap agent output
217
218
 
218
219
  The `roadmap-agent` is the bridge between understanding and execution. In your LLM chat it
219
- produces a **structured** `architecture/roadmap.md`:
220
+ produces a **structured** `knowledge/delivery/roadmap.md`:
220
221
 
221
222
  ```txt
222
- context pack → roadmap agent → architecture/roadmap.md → kaddo create --from roadmap
223
+ context pack → roadmap agent → knowledge/delivery/roadmap.md → kaddo create --from roadmap
223
224
  ```
224
225
 
225
226
  Each initiative (`RM-001`, …) includes a goal, related capabilities, impact, risk, a
@@ -273,11 +274,11 @@ kaddo create spike # K3: 4 questions
273
274
  **From a roadmap candidate:**
274
275
 
275
276
  ```bash
276
- kaddo create --from roadmap # pick a candidate from architecture/roadmap.md
277
+ kaddo create --from roadmap # pick a candidate from knowledge/delivery/roadmap.md
277
278
  kaddo create feature --from roadmap # same, with a default type
278
279
  ```
279
280
 
280
- Reads `architecture/roadmap.md`, lets you select a candidate work item (`WI-CANDIDATE-001`,
281
+ Reads `knowledge/delivery/roadmap.md`, lets you select a candidate work item (`WI-CANDIDATE-001`,
281
282
  …), and prefills the Work Item from the roadmap (title, type, suggested Knowledge Level,
282
283
  expected value, notes, related capabilities/impact/risk/dependencies and the parent
283
284
  initiative). It asks only for the required fields the candidate does not provide and keeps
@@ -426,10 +427,12 @@ create --from roadmap → owners → guard → explain`.
426
427
  | v2.4–2.5 | Modules: `contracts`, `capabilities`, `guard-advanced`, `agents`, `skills` |
427
428
  | v2.6 | Knowledge loop: `context`, `understand`, `add agents`, roadmap output, `create --from roadmap`, Guard Lite end-to-end, `owners suggest`, project `explain` |
428
429
  | v2.6 | Multirepo modules (`modules map/list`), global `standards`/`security`/`stack`/`git-strategy` artifacts, six operational agents |
429
- | v2.6 | Central template registry (23 templates, five categories) |
430
+ | v2.6 | Central template registry (23 templates, layer categories (business/product/tech/delivery)) |
430
431
  | v2.6 | Demo example repositories, prompt flows and a diagram-first Visual Guide (docs) |
431
432
  | v2.7 | Multirepo hardening: module artifacts from the template registry, module-aware `context`/`explain`, opt-in `guard --workspace` |
432
- | v2.8 | `kaddo bootstrap` for new projects (Business → ArchitectureCodebaseDevelopment); business templates + bootstrap agents |
433
+ | v2.8 | `kaddo bootstrap` for new projects (Business → ProductTechDelivery); business templates + bootstrap agents |
434
+ | v3.0 | Knowledge-centric realignment: `architecture/` → `knowledge/` with layers Business → Product → Tech → Delivery; context/explain by layer (breaking) |
435
+ | v3.1 | Minimum Sufficient Knowledge: bootstrap one consolidated file per layer; progressive `add agents` by group (state default, `--all`, `--group`) |
433
436
 
434
437
  **Optional modules (installed with `kaddo add`):**
435
438