@grant-vine/wunderkind 0.18.2 → 0.19.1
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/.claude-plugin/plugin.json +1 -1
- package/README.md +23 -10
- package/agents/ciso.md +10 -10
- package/agents/creative-director.md +10 -10
- package/agents/fullstack-wunderkind.md +10 -10
- package/agents/legal-counsel.md +10 -10
- package/agents/marketing-wunderkind.md +10 -10
- package/agents/product-wunderkind.md +12 -12
- package/commands/docs-index.md +1 -1
- package/commands/dream.md +3 -3
- package/dist/agents/shared-prompt-sections.js +9 -9
- package/dist/agents/shared-prompt-sections.js.map +1 -1
- package/dist/agents/slash-commands.d.ts +2 -2
- package/dist/agents/slash-commands.js +2 -2
- package/dist/agents/slash-commands.js.map +1 -1
- package/dist/artifact-writer.d.ts.map +1 -1
- package/dist/artifact-writer.js +5 -4
- package/dist/artifact-writer.js.map +1 -1
- package/dist/cli/cleanup.js +1 -1
- package/dist/cli/cleanup.js.map +1 -1
- package/dist/cli/config-manager/index.js +1 -1
- package/dist/cli/config-manager/index.js.map +1 -1
- package/dist/cli/doctor.d.ts.map +1 -1
- package/dist/cli/doctor.js +18 -12
- package/dist/cli/doctor.js.map +1 -1
- package/dist/cli/index.js +25 -3
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/init.d.ts.map +1 -1
- package/dist/cli/init.js +9 -8
- package/dist/cli/init.js.map +1 -1
- package/dist/cli/migrate.d.ts +5 -0
- package/dist/cli/migrate.d.ts.map +1 -0
- package/dist/cli/migrate.js +120 -0
- package/dist/cli/migrate.js.map +1 -0
- package/dist/cli/uninstall.js +1 -1
- package/dist/cli/uninstall.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/project-artifacts.d.ts +17 -0
- package/dist/project-artifacts.d.ts.map +1 -0
- package/dist/project-artifacts.js +29 -0
- package/dist/project-artifacts.js.map +1 -0
- package/package.json +7 -7
- package/skills/SKILL-STANDARD.md +3 -3
- package/skills/design-an-interface/SKILL.md +2 -2
- package/skills/diagnose/SKILL.md +1 -1
- package/skills/docs-with-grill/SKILL.md +4 -4
- package/skills/grill-me/SKILL.md +2 -2
- package/skills/improve-codebase-architecture/SKILL.md +7 -7
- package/skills/prd-pipeline/SKILL.md +4 -4
- package/skills/setup-wunderkind-workflow/SKILL.md +10 -10
- package/skills/tdd/SKILL.md +1 -1
- package/skills/triage-issue/SKILL.md +11 -6
- package/skills/ubiquitous-language/SKILL.md +4 -4
- package/skills/write-a-skill/SKILL.md +3 -3
package/README.md
CHANGED
|
@@ -25,7 +25,8 @@ Wunderkind provides a tiered CLI for installation, project setup, and health che
|
|
|
25
25
|
|---|---|---|
|
|
26
26
|
| `wunderkind install` | Registers the plugin in OpenCode | OpenCode config + native agents/skills (+ shared native commands) |
|
|
27
27
|
| `wunderkind upgrade` | Refreshes Wunderkind-owned native assets | Native agents/skills + shared native commands |
|
|
28
|
-
| `wunderkind init` | Bootstraps a project with soul files | `.wunderkind/`, `AGENTS.md`, `CONTEXT.md`, `.
|
|
28
|
+
| `wunderkind init` | Bootstraps a project with soul files | `.wunderkind/`, `AGENTS.md`, `CONTEXT.md`, `.omo/`, docs README |
|
|
29
|
+
| `wunderkind migrate` | Moves legacy project artifacts into the primary OMO layout | `.sisyphus/` -> `.omo/` |
|
|
29
30
|
| `wunderkind cleanup` | Removes project-local Wunderkind wiring and state | project OpenCode config + `.wunderkind/` |
|
|
30
31
|
| `wunderkind doctor` | Read-only diagnostics | None |
|
|
31
32
|
| `wunderkind uninstall` | Safely removes Wunderkind plugin wiring | OpenCode plugin config (+ global Wunderkind config when applicable) |
|
|
@@ -174,7 +175,7 @@ wunderkind init [options]
|
|
|
174
175
|
Interactive `wunderkind init` always asks for team culture, org structure, and docs-output settings. It can also optionally create project-local SOUL files for any retained persona. Those SOUL questions are now select-first with an explicit custom-answer fallback, show a compact persona banner before each persona block, and prefill current project-local SOUL answers when you rerun `init` on an already configured project. Baseline market/regulation values are inherited unless you intentionally override them in project config.
|
|
175
176
|
|
|
176
177
|
Wave 2 also lets `init` set the PRD/planning workflow mode for the project:
|
|
177
|
-
- `filesystem` — PRDs, plans, issues, triage notes, RFCs, and glossary artifacts live in `.
|
|
178
|
+
- `filesystem` — PRDs, plans, issues, triage notes, RFCs, and glossary artifacts live in `.omo/`
|
|
178
179
|
- `github` — GitHub-backed workflows can be used when `gh` is installed and the repo is GitHub-ready
|
|
179
180
|
|
|
180
181
|
If `prdPipelineMode` is absent in an older project config, Wunderkind treats it as `filesystem`.
|
|
@@ -187,7 +188,7 @@ If `prdPipelineMode` is absent in an older project config, Wunderkind treats it
|
|
|
187
188
|
- `.wunderkind/wunderkind.config.jsonc` — Project-specific configuration
|
|
188
189
|
- `AGENTS.md` — Project knowledge base for agents
|
|
189
190
|
- `CONTEXT.md` — Compact shared context for docs grilling, planning, and future skill compatibility
|
|
190
|
-
- `.
|
|
191
|
+
- `.omo/` — Primary directory for agent planning, notepads, and evidence
|
|
191
192
|
- `<docsPath>/README.md` — Auto-generated documentation index (if enabled)
|
|
192
193
|
|
|
193
194
|
### Documentation History Modes
|
|
@@ -294,7 +295,7 @@ wunderkind uninstall --scope=global
|
|
|
294
295
|
wunderkind uninstall --scope=project
|
|
295
296
|
```
|
|
296
297
|
|
|
297
|
-
`wunderkind uninstall` removes Wunderkind plugin registration from OpenCode config. On global uninstall it also removes `~/.wunderkind/wunderkind.config.jsonc` (and the parent `~/.wunderkind/` directory if it becomes empty). For safety, it intentionally leaves project-local customization/bootstrap artifacts untouched (`.wunderkind/`, `AGENTS.md`, `.sisyphus/`, docs folders).
|
|
298
|
+
`wunderkind uninstall` removes Wunderkind plugin registration from OpenCode config. On global uninstall it also removes `~/.wunderkind/wunderkind.config.jsonc` (and the parent `~/.wunderkind/` directory if it becomes empty). For safety, it intentionally leaves project-local customization/bootstrap artifacts untouched (`.wunderkind/`, `AGENTS.md`, `.omo/`, legacy `.sisyphus/`, docs folders).
|
|
298
299
|
|
|
299
300
|
## Cleanup
|
|
300
301
|
|
|
@@ -304,7 +305,7 @@ Remove Wunderkind from just the current project without touching shared global c
|
|
|
304
305
|
wunderkind cleanup
|
|
305
306
|
```
|
|
306
307
|
|
|
307
|
-
`wunderkind cleanup` removes project-local OpenCode plugin wiring and the project's `.wunderkind/` directory. It intentionally leaves `AGENTS.md`, `.sisyphus/`, docs output folders, and shared global native assets untouched.
|
|
308
|
+
`wunderkind cleanup` removes project-local OpenCode plugin wiring and the project's `.wunderkind/` directory. It intentionally leaves `AGENTS.md`, `.omo/`, legacy `.sisyphus/`, docs output folders, and shared global native assets untouched.
|
|
308
309
|
|
|
309
310
|
---
|
|
310
311
|
|
|
@@ -316,6 +317,18 @@ When enabled, agents can persist their decisions and strategies to your project'
|
|
|
316
317
|
2. **Configure** in `.wunderkind/wunderkind.config.jsonc` via `docsEnabled`, `docsPath`, and `docHistoryMode`.
|
|
317
318
|
3. **Refresh or bootstrap** via `/docs-index`. This executable plugin command uses one shared UTC token per run (`YYYY-MM-DDTHH-mm-ssZ`, for example `2026-03-12T18-37-52Z`). In `append-dated`, it updates canonical files with headings like `## Update 2026-03-12T18-37-52Z`. In `new-dated-file`, it writes managed family files like `marketing-strategy--2026-03-12T18-37-52Z.md` beside the canonical file. Existing date-only artifacts are preserved unchanged.
|
|
318
319
|
|
|
320
|
+
## Legacy `.sisyphus/` Migration
|
|
321
|
+
|
|
322
|
+
Wunderkind now treats `.omo/` as the primary project-working artifact root.
|
|
323
|
+
|
|
324
|
+
If an older project still uses `.sisyphus/`, migrate it with:
|
|
325
|
+
|
|
326
|
+
```bash
|
|
327
|
+
wunderkind migrate
|
|
328
|
+
```
|
|
329
|
+
|
|
330
|
+
Use `wunderkind migrate --dry-run` to preview the move first.
|
|
331
|
+
|
|
319
332
|
---
|
|
320
333
|
|
|
321
334
|
## Code Health
|
|
@@ -336,7 +349,7 @@ Wunderkind supports that upstream bootstrap flow in this order:
|
|
|
336
349
|
|
|
337
350
|
1. Run `wunderkind init` to create the project's soul files and local Wunderkind scaffolding.
|
|
338
351
|
2. Have an agent populate `AGENTS.md` with project knowledge, conventions, and operating context.
|
|
339
|
-
3. Systematically explore the codebase and capture durable findings in `.
|
|
352
|
+
3. Systematically explore the codebase and capture durable findings in `.omo/` notepads and evidence.
|
|
340
353
|
4. Use `/docs-index` when docs output is enabled to refresh or bootstrap the managed docs set as the project evolves.
|
|
341
354
|
|
|
342
355
|
Treat this as the recommended audit/bootstrap process for bringing a project up to a high-context Wunderkind baseline.
|
|
@@ -348,8 +361,8 @@ Treat this as the recommended audit/bootstrap process for bringing a project up
|
|
|
348
361
|
The `/dream` native command is a mixed-domain workflow for ideation, soul synthesis, and project-aware exploration. It is owned by `product-wunderkind` and shipped as a static command asset.
|
|
349
362
|
|
|
350
363
|
1. **Workflow**: /dream [topic] → ideation → soul synthesis → exploration.
|
|
351
|
-
2. **Context**: Uses project-local SOUL overlays from `.wunderkind/souls/<agent-key>.md`, `AGENTS.md` knowledge, and `.
|
|
352
|
-
3. **Output**: Chat-first. Any durable findings or artifacts must be explicitly requested for save (to `.
|
|
364
|
+
2. **Context**: Uses project-local SOUL overlays from `.wunderkind/souls/<agent-key>.md`, `AGENTS.md` knowledge, and `.omo/` notepads/evidence for high-fidelity reasoning.
|
|
365
|
+
3. **Output**: Chat-first. Any durable findings or artifacts must be explicitly requested for save (to `.omo/notepads/` or `.omo/evidence/` only).
|
|
353
366
|
4. **Lifecycle**: Refreshed via `wunderkind install` and `wunderkind upgrade`. Run `wunderkind doctor` to check for stale assets.
|
|
354
367
|
|
|
355
368
|
---
|
|
@@ -395,7 +408,7 @@ Skill authoring and review in this repo follow `skills/SKILL-STANDARD.md`. New o
|
|
|
395
408
|
| `agile-pm` | product-wunderkind | Sprint planning, task decomposition |
|
|
396
409
|
| `grill-me` | product-wunderkind | Requirement interrogation & ambiguity collapse |
|
|
397
410
|
| `docs-with-grill` | product-wunderkind | Repo-aware docs grilling with `CONTEXT.md` maintenance |
|
|
398
|
-
| `setup-wunderkind-workflow` | product-wunderkind | Repo-local workflow contract for issue flow, triage vocabulary, glossary/docs paths, and `.
|
|
411
|
+
| `setup-wunderkind-workflow` | product-wunderkind | Repo-local workflow contract for issue flow, triage vocabulary, glossary/docs paths, and `.omo` conventions |
|
|
399
412
|
| `ubiquitous-language` | product-wunderkind | Glossary maintenance, canonical terminology, and naming alignment |
|
|
400
413
|
| `prd-pipeline` | product-wunderkind | PRD → plan → issues workflow |
|
|
401
414
|
| `triage-issue` | product-wunderkind | Issue intake, repro shaping, acceptance clarity, and backlog-ready handoff |
|
|
@@ -562,7 +575,7 @@ Wunderkind's evolving workflow strategy is informed in part by Matt Pocock's pub
|
|
|
562
575
|
|
|
563
576
|
- https://github.com/mattpocock/skills
|
|
564
577
|
|
|
565
|
-
We plan to adapt selected ideas such as ubiquitous language, structured questioning, deterministic diagnosis, and PRD/planning flows to Wunderkind's filesystem-first `.
|
|
578
|
+
We plan to adapt selected ideas such as ubiquitous language, structured questioning, deterministic diagnosis, review/triage loops, and PRD/planning flows to Wunderkind's filesystem-first `.omo/` workflow rather than adopting GitHub-issue-centric assumptions directly.
|
|
566
579
|
|
|
567
580
|
---
|
|
568
581
|
|
package/agents/ciso.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: >
|
|
3
3
|
CISO — Security and compliance lead for threat modeling, controls, and risk decisions.
|
|
4
|
-
wunderkind_version: "0.
|
|
4
|
+
wunderkind_version: "0.19.1"
|
|
5
5
|
mode: all
|
|
6
6
|
temperature: 0.1
|
|
7
7
|
permission:
|
|
@@ -218,21 +218,21 @@ Run a vulnerability audit and return severity-ranked package findings with recom
|
|
|
218
218
|
|
|
219
219
|
---
|
|
220
220
|
|
|
221
|
-
## Persistent Context (.
|
|
221
|
+
## Persistent Context (.omo/)
|
|
222
222
|
|
|
223
|
-
When operating as a subagent inside an OpenCode orchestrated workflow (Atlas/Sisyphus), you will receive a `<Work_Context>` block specifying plan and notepad paths. Always honour it. When operating independently, use
|
|
223
|
+
When operating as a subagent inside an OpenCode orchestrated workflow (Atlas/Sisyphus), you will receive a `<Work_Context>` block specifying plan and notepad paths. Always honour it. When operating independently, use `.omo/` as the primary project artifact root. If a repo still uses legacy `.sisyphus/`, prefer migrating it with `wunderkind migrate`.
|
|
224
224
|
|
|
225
225
|
**Read before acting:**
|
|
226
|
-
- Plan: `.
|
|
227
|
-
- Notepads: `.
|
|
226
|
+
- Plan: `.omo/plans/*.md` — READ ONLY. Never modify. Never mark checkboxes. The orchestrator manages the plan.
|
|
227
|
+
- Notepads: `.omo/notepads/<plan-name>/` — read for inherited context, prior decisions, and local conventions.
|
|
228
228
|
|
|
229
229
|
**Write after completing work:**
|
|
230
|
-
- Learnings (attack patterns observed, control gaps, remediation approaches that worked): `.
|
|
231
|
-
- Decisions (risk acceptance decisions, mitigation choices, compliance interpretations): `.
|
|
232
|
-
- Blockers (unresolved High/Critical findings awaiting engineering action): `.
|
|
233
|
-
- Evidence (when the command or workflow explicitly asks for durable proof): `.
|
|
230
|
+
- Learnings (attack patterns observed, control gaps, remediation approaches that worked): `.omo/notepads/<plan-name>/learnings.md`
|
|
231
|
+
- Decisions (risk acceptance decisions, mitigation choices, compliance interpretations): `.omo/notepads/<plan-name>/decisions.md`
|
|
232
|
+
- Blockers (unresolved High/Critical findings awaiting engineering action): `.omo/notepads/<plan-name>/issues.md`
|
|
233
|
+
- Evidence (when the command or workflow explicitly asks for durable proof): `.omo/evidence/<topic>.md`
|
|
234
234
|
|
|
235
|
-
**APPEND ONLY** — never overwrite notepad or evidence files. Use normal Write/Edit for ordinary repo files. Use Wunderkind's bounded durable-artifact writer only for protected `.
|
|
235
|
+
**APPEND ONLY** — never overwrite notepad or evidence files. Use normal Write/Edit for ordinary repo files. Use Wunderkind's bounded durable-artifact writer only for protected `.omo/notepads/` and `.omo/evidence/` paths so append-only guarantees are preserved. Legacy `.sisyphus/` lane paths may still appear in older prompts or repos, but they should be treated as compatibility aliases. Never use the Edit tool directly on notepad or evidence files.
|
|
236
236
|
|
|
237
237
|
|
|
238
238
|
## Hard Rules
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: >
|
|
3
3
|
Creative Director — Brand and UI/UX lead for design systems, visuals, and product experience.
|
|
4
|
-
wunderkind_version: "0.
|
|
4
|
+
wunderkind_version: "0.19.1"
|
|
5
5
|
mode: all
|
|
6
6
|
temperature: 0.4
|
|
7
7
|
permission:
|
|
@@ -166,18 +166,18 @@ Every design decision must meet:
|
|
|
166
166
|
|
|
167
167
|
---
|
|
168
168
|
|
|
169
|
-
## Persistent Context (.
|
|
169
|
+
## Persistent Context (.omo/)
|
|
170
170
|
|
|
171
|
-
When operating as a subagent inside an OpenCode orchestrated workflow (Atlas/Sisyphus), you will receive a `<Work_Context>` block specifying plan and notepad paths. Always honour it. When operating independently, use
|
|
171
|
+
When operating as a subagent inside an OpenCode orchestrated workflow (Atlas/Sisyphus), you will receive a `<Work_Context>` block specifying plan and notepad paths. Always honour it. When operating independently, use `.omo/` as the primary project artifact root. If a repo still uses legacy `.sisyphus/`, prefer migrating it with `wunderkind migrate`.
|
|
172
172
|
|
|
173
173
|
**Read before acting:**
|
|
174
|
-
- Plan: `.
|
|
175
|
-
- Notepads: `.
|
|
174
|
+
- Plan: `.omo/plans/*.md` — READ ONLY. Never modify. Never mark checkboxes. The orchestrator manages the plan.
|
|
175
|
+
- Notepads: `.omo/notepads/<plan-name>/` — read for inherited context, prior decisions, and local conventions.
|
|
176
176
|
|
|
177
177
|
**Write after completing work:**
|
|
178
|
-
- Learnings (design patterns adopted, typography choices, colour system insights): `.
|
|
179
|
-
- Decisions (brand direction choices, token naming conventions, accessibility trade-offs): `.
|
|
180
|
-
- Blockers (missing brand assets, unresolved accessibility failures, design reviews pending): `.
|
|
181
|
-
- Evidence (when the command or workflow explicitly asks for durable proof): `.
|
|
178
|
+
- Learnings (design patterns adopted, typography choices, colour system insights): `.omo/notepads/<plan-name>/learnings.md`
|
|
179
|
+
- Decisions (brand direction choices, token naming conventions, accessibility trade-offs): `.omo/notepads/<plan-name>/decisions.md`
|
|
180
|
+
- Blockers (missing brand assets, unresolved accessibility failures, design reviews pending): `.omo/notepads/<plan-name>/issues.md`
|
|
181
|
+
- Evidence (when the command or workflow explicitly asks for durable proof): `.omo/evidence/<topic>.md`
|
|
182
182
|
|
|
183
|
-
**APPEND ONLY** — never overwrite notepad or evidence files. Use normal Write/Edit for ordinary repo files. Use Wunderkind's bounded durable-artifact writer only for protected `.
|
|
183
|
+
**APPEND ONLY** — never overwrite notepad or evidence files. Use normal Write/Edit for ordinary repo files. Use Wunderkind's bounded durable-artifact writer only for protected `.omo/notepads/` and `.omo/evidence/` paths so append-only guarantees are preserved. Legacy `.sisyphus/` lane paths may still appear in older prompts or repos, but they should be treated as compatibility aliases. Never use the Edit tool directly on notepad or evidence files.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: >
|
|
3
3
|
Fullstack Wunderkind — CTO-calibre engineer for architecture, implementation, and systems tradeoffs.
|
|
4
|
-
wunderkind_version: "0.
|
|
4
|
+
wunderkind_version: "0.19.1"
|
|
5
5
|
mode: all
|
|
6
6
|
temperature: 0.1
|
|
7
7
|
---
|
|
@@ -295,21 +295,21 @@ Translate the alert into blast radius, triage steps, root-cause branches, succes
|
|
|
295
295
|
|
|
296
296
|
---
|
|
297
297
|
|
|
298
|
-
## Persistent Context (.
|
|
298
|
+
## Persistent Context (.omo/)
|
|
299
299
|
|
|
300
|
-
When operating as a subagent inside an OpenCode orchestrated workflow (Atlas/Sisyphus), you will receive a `<Work_Context>` block specifying plan and notepad paths. Always honour it. When operating independently, use
|
|
300
|
+
When operating as a subagent inside an OpenCode orchestrated workflow (Atlas/Sisyphus), you will receive a `<Work_Context>` block specifying plan and notepad paths. Always honour it. When operating independently, use `.omo/` as the primary project artifact root. If a repo still uses legacy `.sisyphus/`, prefer migrating it with `wunderkind migrate`.
|
|
301
301
|
|
|
302
302
|
**Read before acting:**
|
|
303
|
-
- Plan: `.
|
|
304
|
-
- Notepads: `.
|
|
303
|
+
- Plan: `.omo/plans/*.md` — READ ONLY. Never modify. Never mark checkboxes. The orchestrator manages the plan.
|
|
304
|
+
- Notepads: `.omo/notepads/<plan-name>/` — read for inherited context, prior decisions, and local conventions.
|
|
305
305
|
|
|
306
306
|
**Write after completing work:**
|
|
307
|
-
- Learnings (patterns, conventions, successful approaches, tooling insights): `.
|
|
308
|
-
- Decisions (architectural choices, library selections, schema decisions): `.
|
|
309
|
-
- Blockers (build failures, type errors not yet resolved, external blockers): `.
|
|
310
|
-
- Evidence (when the command or workflow explicitly asks for durable proof): `.
|
|
307
|
+
- Learnings (patterns, conventions, successful approaches, tooling insights): `.omo/notepads/<plan-name>/learnings.md`
|
|
308
|
+
- Decisions (architectural choices, library selections, schema decisions): `.omo/notepads/<plan-name>/decisions.md`
|
|
309
|
+
- Blockers (build failures, type errors not yet resolved, external blockers): `.omo/notepads/<plan-name>/issues.md`
|
|
310
|
+
- Evidence (when the command or workflow explicitly asks for durable proof): `.omo/evidence/<topic>.md`
|
|
311
311
|
|
|
312
|
-
**APPEND ONLY** — never overwrite notepad or evidence files. Use normal Write/Edit for ordinary repo files. Use Wunderkind's bounded durable-artifact writer only for protected `.
|
|
312
|
+
**APPEND ONLY** — never overwrite notepad or evidence files. Use normal Write/Edit for ordinary repo files. Use Wunderkind's bounded durable-artifact writer only for protected `.omo/notepads/` and `.omo/evidence/` paths so append-only guarantees are preserved. Legacy `.sisyphus/` lane paths may still appear in older prompts or repos, but they should be treated as compatibility aliases. Never use the Edit tool directly on notepad or evidence files.
|
|
313
313
|
|
|
314
314
|
---
|
|
315
315
|
|
package/agents/legal-counsel.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: >
|
|
3
3
|
Legal Counsel — Legal and regulatory advisor for contracts, licensing, and compliance posture.
|
|
4
|
-
wunderkind_version: "0.
|
|
4
|
+
wunderkind_version: "0.19.1"
|
|
5
5
|
mode: all
|
|
6
6
|
temperature: 0.1
|
|
7
7
|
permission:
|
|
@@ -139,21 +139,21 @@ Recommend CLA vs DCO and draft the chosen contribution-ownership path.
|
|
|
139
139
|
|
|
140
140
|
---
|
|
141
141
|
|
|
142
|
-
## Persistent Context (.
|
|
142
|
+
## Persistent Context (.omo/)
|
|
143
143
|
|
|
144
|
-
When operating as a subagent inside an OpenCode orchestrated workflow (Atlas/Sisyphus), you will receive a `<Work_Context>` block specifying plan and notepad paths. Always honour it. When operating independently, use
|
|
144
|
+
When operating as a subagent inside an OpenCode orchestrated workflow (Atlas/Sisyphus), you will receive a `<Work_Context>` block specifying plan and notepad paths. Always honour it. When operating independently, use `.omo/` as the primary project artifact root. If a repo still uses legacy `.sisyphus/`, prefer migrating it with `wunderkind migrate`.
|
|
145
145
|
|
|
146
146
|
**Read before acting:**
|
|
147
|
-
- Plan: `.
|
|
148
|
-
- Notepads: `.
|
|
147
|
+
- Plan: `.omo/plans/*.md` — READ ONLY. Never modify. Never mark checkboxes. The orchestrator manages the plan.
|
|
148
|
+
- Notepads: `.omo/notepads/<plan-name>/` — read for inherited context, prior decisions, and local conventions.
|
|
149
149
|
|
|
150
150
|
**Write after completing work:**
|
|
151
|
-
- Learnings (jurisdiction-specific interpretations, licensing edge cases, regulatory nuances discovered): `.
|
|
152
|
-
- Decisions (license compatibility conclusions, risk acceptance decisions, contract clause recommendations): `.
|
|
153
|
-
- Blockers (ambiguous license terms requiring external counsel, missing regulatory clarity, unresolved IP questions): `.
|
|
154
|
-
- Evidence (when the command or workflow explicitly asks for durable proof): `.
|
|
151
|
+
- Learnings (jurisdiction-specific interpretations, licensing edge cases, regulatory nuances discovered): `.omo/notepads/<plan-name>/learnings.md`
|
|
152
|
+
- Decisions (license compatibility conclusions, risk acceptance decisions, contract clause recommendations): `.omo/notepads/<plan-name>/decisions.md`
|
|
153
|
+
- Blockers (ambiguous license terms requiring external counsel, missing regulatory clarity, unresolved IP questions): `.omo/notepads/<plan-name>/issues.md`
|
|
154
|
+
- Evidence (when the command or workflow explicitly asks for durable proof): `.omo/evidence/<topic>.md`
|
|
155
155
|
|
|
156
|
-
**APPEND ONLY** — never overwrite notepad or evidence files. Use normal Write/Edit for ordinary repo files. Use Wunderkind's bounded durable-artifact writer only for protected `.
|
|
156
|
+
**APPEND ONLY** — never overwrite notepad or evidence files. Use normal Write/Edit for ordinary repo files. Use Wunderkind's bounded durable-artifact writer only for protected `.omo/notepads/` and `.omo/evidence/` paths so append-only guarantees are preserved. Legacy `.sisyphus/` lane paths may still appear in older prompts or repos, but they should be treated as compatibility aliases. Never use the Edit tool directly on notepad or evidence files.
|
|
157
157
|
|
|
158
158
|
## Hard Rules
|
|
159
159
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: >
|
|
3
3
|
Marketing Wunderkind — CMO-calibre strategist for brand, community, developer advocacy, docs-led launches, adoption, PR, and go-to-market work.
|
|
4
|
-
wunderkind_version: "0.
|
|
4
|
+
wunderkind_version: "0.19.1"
|
|
5
5
|
mode: all
|
|
6
6
|
temperature: 0.3
|
|
7
7
|
permission:
|
|
@@ -169,20 +169,20 @@ Compare competitor positioning, launch patterns, docs support, and adoption stra
|
|
|
169
169
|
|
|
170
170
|
---
|
|
171
171
|
|
|
172
|
-
## Persistent Context (.
|
|
172
|
+
## Persistent Context (.omo/)
|
|
173
173
|
|
|
174
|
-
When operating as a subagent inside an OpenCode orchestrated workflow (Atlas/Sisyphus), you will receive a `<Work_Context>` block specifying plan and notepad paths. Always honour it. When operating independently, use
|
|
174
|
+
When operating as a subagent inside an OpenCode orchestrated workflow (Atlas/Sisyphus), you will receive a `<Work_Context>` block specifying plan and notepad paths. Always honour it. When operating independently, use `.omo/` as the primary project artifact root. If a repo still uses legacy `.sisyphus/`, prefer migrating it with `wunderkind migrate`.
|
|
175
175
|
|
|
176
176
|
**Read before acting:**
|
|
177
|
-
- Plan: `.
|
|
178
|
-
- Notepads: `.
|
|
177
|
+
- Plan: `.omo/plans/*.md` — READ ONLY. Never modify. Never mark checkboxes. The orchestrator manages the plan.
|
|
178
|
+
- Notepads: `.omo/notepads/<plan-name>/` — read for inherited context, prior decisions, and local conventions.
|
|
179
179
|
|
|
180
180
|
**Write after completing work:**
|
|
181
|
-
- Learnings (campaign patterns, community signals, launch tactics, docs or onboarding moves that improved adoption): `.
|
|
182
|
-
- Decisions (positioning choices, channel mix, narrative priorities, developer-audience tradeoffs): `.
|
|
183
|
-
- Blockers (approval bottlenecks, missing assets, unclear product details, access gaps for live audits): `.
|
|
184
|
-
- Evidence (when the command or workflow explicitly asks for durable proof): `.
|
|
181
|
+
- Learnings (campaign patterns, community signals, launch tactics, docs or onboarding moves that improved adoption): `.omo/notepads/<plan-name>/learnings.md`
|
|
182
|
+
- Decisions (positioning choices, channel mix, narrative priorities, developer-audience tradeoffs): `.omo/notepads/<plan-name>/decisions.md`
|
|
183
|
+
- Blockers (approval bottlenecks, missing assets, unclear product details, access gaps for live audits): `.omo/notepads/<plan-name>/issues.md`
|
|
184
|
+
- Evidence (when the command or workflow explicitly asks for durable proof): `.omo/evidence/<topic>.md`
|
|
185
185
|
|
|
186
|
-
**APPEND ONLY** — never overwrite notepad or evidence files. Use normal Write/Edit for ordinary repo files. Use Wunderkind's bounded durable-artifact writer only for protected `.
|
|
186
|
+
**APPEND ONLY** — never overwrite notepad or evidence files. Use normal Write/Edit for ordinary repo files. Use Wunderkind's bounded durable-artifact writer only for protected `.omo/notepads/` and `.omo/evidence/` paths so append-only guarantees are preserved. Legacy `.sisyphus/` lane paths may still appear in older prompts or repos, but they should be treated as compatibility aliases. Never use the Edit tool directly on notepad or evidence files.
|
|
187
187
|
|
|
188
188
|
---
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: >
|
|
3
3
|
Product Wunderkind — Default orchestrator and front door for all Wunderkind requests. Routes, clarifies, and synthesizes across specialists. VP Product authority for strategy, roadmaps, PRDs, OKRs, issue intake, acceptance review, and decomposition.
|
|
4
|
-
wunderkind_version: "0.
|
|
4
|
+
wunderkind_version: "0.19.1"
|
|
5
5
|
mode: all
|
|
6
6
|
temperature: 0.2
|
|
7
7
|
permission:
|
|
@@ -219,9 +219,9 @@ Every slash command must support a `--help` form.
|
|
|
219
219
|
|
|
220
220
|
### `/setup-wunderkind-workflow`
|
|
221
221
|
|
|
222
|
-
Establish the repo-local workflow contract for issue flow, triage vocabulary, glossary/docs locations, and `.
|
|
222
|
+
Establish the repo-local workflow contract for issue flow, triage vocabulary, glossary/docs locations, and `.omo/` artifact conventions.
|
|
223
223
|
|
|
224
|
-
- Invoke via `skill(name="setup-wunderkind-workflow")` to adapt Matt-style setup patterns to Wunderkind-native locations such as `AGENTS.md` and `.
|
|
224
|
+
- Invoke via `skill(name="setup-wunderkind-workflow")` to adapt Matt-style setup patterns to Wunderkind-native locations such as `AGENTS.md` and `.omo/`.
|
|
225
225
|
|
|
226
226
|
---
|
|
227
227
|
|
|
@@ -288,20 +288,20 @@ Identify the value moment, propose candidate metrics, choose the best one, and m
|
|
|
288
288
|
|
|
289
289
|
---
|
|
290
290
|
|
|
291
|
-
## Persistent Context (.
|
|
291
|
+
## Persistent Context (.omo/)
|
|
292
292
|
|
|
293
|
-
When operating as a subagent inside an OpenCode orchestrated workflow (Atlas/Sisyphus), you will receive a `<Work_Context>` block specifying plan and notepad paths. Always honour it. When operating independently, use
|
|
293
|
+
When operating as a subagent inside an OpenCode orchestrated workflow (Atlas/Sisyphus), you will receive a `<Work_Context>` block specifying plan and notepad paths. Always honour it. When operating independently, use `.omo/` as the primary project artifact root. If a repo still uses legacy `.sisyphus/`, prefer migrating it with `wunderkind migrate`.
|
|
294
294
|
|
|
295
295
|
**Read before acting:**
|
|
296
|
-
- Plan: `.
|
|
297
|
-
- Notepads: `.
|
|
296
|
+
- Plan: `.omo/plans/*.md` — READ ONLY. Never modify. Never mark checkboxes. The orchestrator manages the plan.
|
|
297
|
+
- Notepads: `.omo/notepads/<plan-name>/` — read for inherited context, prior decisions, and local conventions.
|
|
298
298
|
|
|
299
299
|
**Write after completing work:**
|
|
300
|
-
- Learnings (prioritisation insights, stakeholder feedback patterns, what moved metrics): `.
|
|
301
|
-
- Decisions (scope decisions, feature cuts, OKR changes): `.
|
|
302
|
-
- Blockers (dependency blocks, missing research, stakeholder misalignment): `.
|
|
303
|
-
- Evidence (when the command or workflow explicitly asks for durable proof): `.
|
|
300
|
+
- Learnings (prioritisation insights, stakeholder feedback patterns, what moved metrics): `.omo/notepads/<plan-name>/learnings.md`
|
|
301
|
+
- Decisions (scope decisions, feature cuts, OKR changes): `.omo/notepads/<plan-name>/decisions.md`
|
|
302
|
+
- Blockers (dependency blocks, missing research, stakeholder misalignment): `.omo/notepads/<plan-name>/issues.md`
|
|
303
|
+
- Evidence (when the command or workflow explicitly asks for durable proof): `.omo/evidence/<topic>.md`
|
|
304
304
|
|
|
305
|
-
**APPEND ONLY** — never overwrite notepad or evidence files. Use normal Write/Edit for ordinary repo files. Use Wunderkind's bounded durable-artifact writer only for protected `.
|
|
305
|
+
**APPEND ONLY** — never overwrite notepad or evidence files. Use normal Write/Edit for ordinary repo files. Use Wunderkind's bounded durable-artifact writer only for protected `.omo/notepads/` and `.omo/evidence/` paths so append-only guarantees are preserved. Legacy `.sisyphus/` lane paths may still appear in older prompts or repos, but they should be treated as compatibility aliases. Never use the Edit tool directly on notepad or evidence files.
|
|
306
306
|
|
|
307
307
|
---
|
package/commands/docs-index.md
CHANGED
|
@@ -26,7 +26,7 @@ This command is invoked as `/docs-index`.
|
|
|
26
26
|
- Use canonical filenames from Wunderkind's built-in ownership map. Treat timestamped files derived from those canonical basenames as managed family files, not legacy files to normalize away.
|
|
27
27
|
- Do not let individual agents invent output paths. For `append-dated`, keep each eligible agent in its canonical managed home file. For `new-dated-file`, write timestamped family files beside that canonical home file.
|
|
28
28
|
- Treat the current working directory as the trust boundary. Never inspect parent directories, sibling repos, home directories, or arbitrary filesystem locations.
|
|
29
|
-
- Never glob or search outside the configured docs directory, `.wunderkind/`, `AGENTS.md`, `.
|
|
29
|
+
- Never glob or search outside the configured docs directory, `.wunderkind/`, `AGENTS.md`, `.omo/`, and this shipped `/docs-index` command asset.
|
|
30
30
|
- Surface partial failures clearly, but still keep the docs index aligned with the successfully refreshed or created outputs.
|
|
31
31
|
|
|
32
32
|
## Notes
|
package/commands/dream.md
CHANGED
|
@@ -12,7 +12,7 @@ This command is invoked as `/dream`.
|
|
|
12
12
|
|
|
13
13
|
## Responsibilities
|
|
14
14
|
|
|
15
|
-
1. **Ideation**: Synthesize project vision, aspirations, and high-level concepts from the SOUL overlays, `AGENTS.md`, and `.
|
|
15
|
+
1. **Ideation**: Synthesize project vision, aspirations, and high-level concepts from the SOUL overlays, `AGENTS.md`, and `.omo/` context.
|
|
16
16
|
2. **Soul Synthesis**: Read `.wunderkind/souls/<agent-key>.md` for relevant specialist agents to surface their current personality, durable preferences, and domain constraints.
|
|
17
17
|
3. **Exploration**: Systematically investigate the codebase, open questions, or specific topics through targeted research before producing any conceptual output.
|
|
18
18
|
4. **Selective Delegation**: Act as the coordinator (product-wunderkind) to choose which of the 6 specialist agents to involve based on the topic. Delegation is evidence-driven and selective, not mandatory for all six.
|
|
@@ -25,7 +25,7 @@ This command is invoked as `/dream`.
|
|
|
25
25
|
## Constraints
|
|
26
26
|
|
|
27
27
|
- **Chat-First**: Default behavior is chat-first output. Do not create or modify files by default.
|
|
28
|
-
- **Save Only on Request**: Save output ONLY when the user explicitly asks. Permitted targets: `.
|
|
28
|
+
- **Save Only on Request**: Save output ONLY when the user explicitly asks. Permitted targets: `.omo/notepads/` and `.omo/evidence/`, written via Wunderkind's bounded durable-artifact writer so append-only guarantees are preserved.
|
|
29
29
|
- **Target Restrictions**: Never write to project planning directories or any other directory not listed above.
|
|
30
30
|
- **No Mutation**: Do not mutate, update, or change SOUL files in `.wunderkind/souls/`. These are read-only for this workflow.
|
|
31
31
|
- **No Configuration Edits**: Do not reference, read, or modify the project configuration file, system configuration keys, or environment setup prompts.
|
|
@@ -36,7 +36,7 @@ This command is invoked as `/dream`.
|
|
|
36
36
|
|
|
37
37
|
- This command is shipped as `/dream`.
|
|
38
38
|
- Use the workflow to bridge the gap between abstract project goals and concrete codebase reality.
|
|
39
|
-
- When saving evidence of exploration, append findings to the requested file in `.
|
|
39
|
+
- When saving evidence of exploration, append findings to the requested file in `.omo/evidence/` with a clear description of the discovery by using the durable artifact writer instead of generic Edit/Write flows.
|
|
40
40
|
- Soul synthesis ensures that the "dream" is aligned with the specific personalities configured for the project.
|
|
41
41
|
|
|
42
42
|
<user-request>
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
export function buildPersistentContextSection(options) {
|
|
2
|
-
return `## Persistent Context (.
|
|
2
|
+
return `## Persistent Context (.omo/)
|
|
3
3
|
|
|
4
|
-
When operating as a subagent inside an OpenCode orchestrated workflow (Atlas/Sisyphus), you will receive a \`<Work_Context>\` block specifying plan and notepad paths. Always honour it. When operating independently, use
|
|
4
|
+
When operating as a subagent inside an OpenCode orchestrated workflow (Atlas/Sisyphus), you will receive a \`<Work_Context>\` block specifying plan and notepad paths. Always honour it. When operating independently, use \`.omo/\` as the primary project artifact root. If a repo still uses legacy \`.sisyphus/\`, prefer migrating it with \`wunderkind migrate\`.
|
|
5
5
|
|
|
6
6
|
**Read before acting:**
|
|
7
|
-
- Plan: \`.
|
|
8
|
-
- Notepads: \`.
|
|
7
|
+
- Plan: \`.omo/plans/*.md\` — READ ONLY. Never modify. Never mark checkboxes. The orchestrator manages the plan.
|
|
8
|
+
- Notepads: \`.omo/notepads/<plan-name>/\` — read for inherited context, prior decisions, and local conventions.
|
|
9
9
|
|
|
10
10
|
**Write after completing work:**
|
|
11
|
-
- Learnings (${options.learnings}): \`.
|
|
12
|
-
- Decisions (${options.decisions}): \`.
|
|
13
|
-
- Blockers (${options.blockers}): \`.
|
|
14
|
-
- Evidence (when the command or workflow explicitly asks for durable proof): \`.
|
|
11
|
+
- Learnings (${options.learnings}): \`.omo/notepads/<plan-name>/learnings.md\`
|
|
12
|
+
- Decisions (${options.decisions}): \`.omo/notepads/<plan-name>/decisions.md\`
|
|
13
|
+
- Blockers (${options.blockers}): \`.omo/notepads/<plan-name>/issues.md\`
|
|
14
|
+
- Evidence (when the command or workflow explicitly asks for durable proof): \`.omo/evidence/<topic>.md\`
|
|
15
15
|
|
|
16
|
-
**APPEND ONLY** — never overwrite notepad or evidence files. Use normal Write/Edit for ordinary repo files. Use Wunderkind's bounded durable-artifact writer only for protected \`.
|
|
16
|
+
**APPEND ONLY** — never overwrite notepad or evidence files. Use normal Write/Edit for ordinary repo files. Use Wunderkind's bounded durable-artifact writer only for protected \`.omo/notepads/\` and \`.omo/evidence/\` paths so append-only guarantees are preserved. Legacy \`.sisyphus/\` lane paths may still appear in older prompts or repos, but they should be treated as compatibility aliases. Never use the Edit tool directly on notepad or evidence files.`;
|
|
17
17
|
}
|
|
18
18
|
export function buildSoulMaintenanceSection() {
|
|
19
19
|
return `## SOUL Maintenance (.wunderkind/souls/)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared-prompt-sections.js","sourceRoot":"","sources":["../../src/agents/shared-prompt-sections.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,6BAA6B,CAAC,OAI7C;IACC,OAAO;;;;;;;;;eASM,OAAO,CAAC,SAAS;eACjB,OAAO,CAAC,SAAS;cAClB,OAAO,CAAC,QAAQ;;;
|
|
1
|
+
{"version":3,"file":"shared-prompt-sections.js","sourceRoot":"","sources":["../../src/agents/shared-prompt-sections.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,6BAA6B,CAAC,OAI7C;IACC,OAAO;;;;;;;;;eASM,OAAO,CAAC,SAAS;eACjB,OAAO,CAAC,SAAS;cAClB,OAAO,CAAC,QAAQ;;;0cAG4a,CAAA;AAC1c,CAAC;AAED,MAAM,UAAU,2BAA2B;IACzC,OAAO;;;;;;;;oNAQ2M,CAAA;AACpN,CAAC;AAED,MAAM,UAAU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ED_AGENT_SLASH_COMMANDS: {
|
|
|
81
81
|
readonly "product-wunderkind": {
|
|
82
82
|
readonly commands: readonly [{
|
|
83
83
|
readonly command: "/setup-wunderkind-workflow";
|
|
84
|
-
readonly summary: "Establish the repo-local workflow contract for issue flow, triage vocabulary, glossary/docs locations, and `.
|
|
85
|
-
readonly details: readonly ["Invoke via `skill(name=\"setup-wunderkind-workflow\")` to adapt Matt-style setup patterns to Wunderkind-native locations such as `AGENTS.md` and `.
|
|
84
|
+
readonly summary: "Establish the repo-local workflow contract for issue flow, triage vocabulary, glossary/docs locations, and `.omo/` artifact conventions.";
|
|
85
|
+
readonly details: readonly ["Invoke via `skill(name=\"setup-wunderkind-workflow\")` to adapt Matt-style setup patterns to Wunderkind-native locations such as `AGENTS.md` and `.omo/`."];
|
|
86
86
|
}, {
|
|
87
87
|
readonly command: "/docs-with-grill <topic>";
|
|
88
88
|
readonly summary: "Stress-test a docs or product topic against repo context, update `CONTEXT.md` when needed, and prepare Wunderkind-native documentation follow-up.";
|
|
@@ -94,8 +94,8 @@ export const RETAINED_AGENT_SLASH_COMMANDS = {
|
|
|
94
94
|
commands: [
|
|
95
95
|
{
|
|
96
96
|
command: "/setup-wunderkind-workflow",
|
|
97
|
-
summary: "Establish the repo-local workflow contract for issue flow, triage vocabulary, glossary/docs locations, and `.
|
|
98
|
-
details: ["Invoke via `skill(name=\"setup-wunderkind-workflow\")` to adapt Matt-style setup patterns to Wunderkind-native locations such as `AGENTS.md` and `.
|
|
97
|
+
summary: "Establish the repo-local workflow contract for issue flow, triage vocabulary, glossary/docs locations, and `.omo/` artifact conventions.",
|
|
98
|
+
details: ["Invoke via `skill(name=\"setup-wunderkind-workflow\")` to adapt Matt-style setup patterns to Wunderkind-native locations such as `AGENTS.md` and `.omo/`."],
|
|
99
99
|
},
|
|
100
100
|
{
|
|
101
101
|
command: "/docs-with-grill <topic>",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slash-commands.js","sourceRoot":"","s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CAAC;aACzG;YACD;gBACE,OAAO,EAAE,uBAAuB;gBAChC,OAAO,EAAE,uFAAuF;aACjG;YACD;gBACE,OAAO,EAAE,2BAA2B;gBACpC,OAAO,EAAE,uGAAuG;aACjH;SACF;QACD,QAAQ,EAAE;YACR;gBACE,OAAO,EAAE,sBAAsB;gBAC/B,KAAK,EAAE,CAAC,sHAAsH,CAAC;aAChI;YACD;gBACE,OAAO,EAAE,qBAAqB;gBAC9B,KAAK,EAAE;oBACL,4DAA4D;oBAC5D,qEAAqE;oBACrE,sFAAsF;iBACvF;aACF;SACF;KACF;IACD,oBAAoB,EAAE;QACpB,QAAQ,EAAE;YACR;gBACE,OAAO,EAAE,4BAA4B;gBACrC,OAAO,EAAE
|
|
1
|
+
{"version":3,"file":"slash-commands.js","sourceRoot":"","sources":["../../src/agents/slash-commands.ts"],"names":[],"mappings":"AAwBA,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,sBAAsB,EAAE;QACtB,QAAQ,EAAE;YACR;gBACE,OAAO,EAAE,qBAAqB;gBAC9B,OAAO,EAAE,+DAA+D;gBACxE,OAAO,EAAE;oBACP,qGAAqG;oBACrG,0EAA0E;iBAC3E;aACF;YACD;gBACE,OAAO,EAAE,uCAAuC;gBAChD,OAAO,EAAE,gDAAgD;gBACzD,OAAO,EAAE,CAAC,0HAA0H,CAAC;aACtI;YACD;gBACE,OAAO,EAAE,kBAAkB;gBAC3B,OAAO,EAAE,8DAA8D;aACxE;YACD;gBACE,OAAO,EAAE,oCAAoC;gBAC7C,OAAO,EAAE,iFAAiF;aAC3F;YACD;gBACE,OAAO,EAAE,8BAA8B;gBACvC,OAAO,EAAE,kEAAkE;gBAC3E,OAAO,EAAE,CAAC,4GAA4G,CAAC;aACxH;YACD;gBACE,OAAO,EAAE,WAAW;gBACpB,OAAO,EAAE,2GAA2G;aACrH;YACD;gBACE,OAAO,EAAE,oCAAoC;gBAC7C,OAAO,EAAE,uFAAuF;aACjG;SACF;QACD,QAAQ,EAA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AAK,EAAE;QACzB,eAAe;QACf,SAAS,OAAO,CAAC,IAAI,EAAE;QACvB,KAAK;QACL,EAAE;QACF,uDAAuD,OAAO,CAAC,OAAO,KAAK;QAC3E,EAAE;QACF,YAAY;QACZ,EAAE;QACF,gCAAgC,OAAO,CAAC,OAAO,KAAK;QACpD,EAAE;QACF,YAAY;QACZ,EAAE;QACF,OAAO,CAAC,OAAO;QACf,EAAE;QACF,gBAAgB;QAChB,EAAE;QACF,gCAAgC,OAAO,CAAC,KAAK,KAAK;QAClD,yKAAyK;QACzK,gHAAgH;QAChH,GAAG,CAAC,yBAAyB,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,yBAAyB,CAAC,CAAC;QAC9E,EAAE;QACF,gBAAgB;QAChB,YAAY;QACZ,iBAAiB;QACjB,EAAE;KACH,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AACd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"artifact-writer.d.ts","sourceRoot":"","sources":["../src/artifact-writer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"artifact-writer.d.ts","sourceRoot":"","sources":["../src/artifact-writer.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,0BAA0B,EAAG,2BAAoC,CAAA;AAE9E,MAAM,WAAW,2BAA2B;IAC1C,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,0BAA0B;IACzC,YAAY,EAAE,MAAM,CAAA;IACpB,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,OAAO,CAAA;CACjB;AAED,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAkGD,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,2BAA2B,EACpC,GAAG,EAAE,MAAM,EACX,QAAQ,CAAC,EAAE,2BAA2B,GACrC,0BAA0B,CAoD5B;AAED,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAEnE"}
|
package/dist/artifact-writer.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { existsSync, lstatSync, mkdirSync, readFileSync, realpathSync, statSync, writeFileSync } from "node:fs";
|
|
2
2
|
import { dirname, isAbsolute, join, normalize, relative } from "node:path";
|
|
3
|
+
import { isPrimaryAppendOnlyArtifactPath, mapLegacyArtifactPathToPrimary } from "./project-artifacts.js";
|
|
3
4
|
export const DURABLE_ARTIFACT_TOOL_NAME = "wunderkind_write_artifact";
|
|
4
5
|
function normalizeRelativePath(input) {
|
|
5
6
|
const trimmed = input.trim();
|
|
@@ -28,7 +29,7 @@ function ensureSafeRelativePath(relativePath) {
|
|
|
28
29
|
return normalized;
|
|
29
30
|
}
|
|
30
31
|
function isAppendOnlyPath(normalizedRelativePath) {
|
|
31
|
-
return
|
|
32
|
+
return isPrimaryAppendOnlyArtifactPath(normalizedRelativePath);
|
|
32
33
|
}
|
|
33
34
|
function isAllowedArtifactPath(normalizedRelativePath) {
|
|
34
35
|
return isAppendOnlyPath(normalizedRelativePath);
|
|
@@ -65,16 +66,16 @@ function resolveWritableParentPath(rootRealPath, cwd, normalizedRelativePath) {
|
|
|
65
66
|
return resolvedCurrentPath;
|
|
66
67
|
}
|
|
67
68
|
function validateProtectedArtifactPath(normalizedRelativePath) {
|
|
68
|
-
if (normalizedRelativePath.startsWith(".
|
|
69
|
+
if (normalizedRelativePath.startsWith(".omo/notepads/")) {
|
|
69
70
|
return;
|
|
70
71
|
}
|
|
71
|
-
if (normalizedRelativePath.startsWith(".
|
|
72
|
+
if (normalizedRelativePath.startsWith(".omo/evidence/")) {
|
|
72
73
|
return;
|
|
73
74
|
}
|
|
74
75
|
throw new Error("durable artifacts must stay inside append-only Wunderkind memory lanes");
|
|
75
76
|
}
|
|
76
77
|
export function writeDurableArtifact(request, cwd, _options) {
|
|
77
|
-
const normalizedRelativePath = ensureSafeRelativePath(request.relativePath);
|
|
78
|
+
const normalizedRelativePath = mapLegacyArtifactPathToPrimary(ensureSafeRelativePath(request.relativePath));
|
|
78
79
|
if (!isAllowedArtifactPath(normalizedRelativePath)) {
|
|
79
80
|
throw new Error("durable artifacts must stay inside append-only Wunderkind memory lanes");
|
|
80
81
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"artifact-writer.js","sourceRoot":"","sources":["../src/artifact-writer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,YAAY,EAAE,YAAY,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAC/G,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"artifact-writer.js","sourceRoot":"","sources":["../src/artifact-writer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,YAAY,EAAE,YAAY,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAC/G,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAA;AAC1E,OAAO,EAAE,+BAA+B,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAA;AAExG,MAAM,CAAC,MAAM,0BAA0B,GAAG,2BAAoC,CAAA;AAiB9E,SAAS,qBAAqB,CAAC,KAAa;IAC1C,MAAM,OAAO,GAAG,KAAK,CAAC,IAAI,EAAE,CAAA;IAC5B,MAAM,UAAU,GAAG,SAAS,CAAC,OAAO,CAAC,CAAC,UAAU,CAAC,IAAI,EAAE,GAAG,CAAC,CAAA;IAC3D,OAAO,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,UAAU,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pC,OAAO;KACR,CAAA;AACH,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAC,QAAgB;IAClD,OAAO,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAA;AACtE,CAAC"}
|
package/dist/cli/cleanup.js
CHANGED
|
@@ -37,7 +37,7 @@ export async function runProjectCleanup() {
|
|
|
37
37
|
console.log();
|
|
38
38
|
console.log(color.bold("Safety note"));
|
|
39
39
|
console.log("Cleanup removes project-local Wunderkind registration and .wunderkind/ state only.");
|
|
40
|
-
console.log("It leaves AGENTS.md, .sisyphus/, docs output, and shared global capabilities untouched.");
|
|
40
|
+
console.log("It leaves AGENTS.md, .omo/, legacy .sisyphus/, docs output, and shared global capabilities untouched.");
|
|
41
41
|
return 0;
|
|
42
42
|
}
|
|
43
43
|
catch (error) {
|