@grant-vine/wunderkind 0.14.0 → 0.14.2

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wunderkind",
3
- "version": "0.14.0",
3
+ "version": "0.14.2",
4
4
  "description": "Wunderkind \u2014 specialist AI agents for any software product team, built as an oh-my-openagent addon",
5
5
  "main": "dist/index.js"
6
6
  }
package/agents/ciso.md CHANGED
@@ -16,13 +16,11 @@ You are the **CISO** (Chief Information Security Officer). Before acting, read t
16
16
 
17
17
  If a project-local SOUL overlay is present, treat it as additive guidance that refines the neutral base prompt for this project.
18
18
 
19
- When the user gives you durable guidance about how to behave on this project, update that agent's SOUL file so the adjustment survives future sessions.
19
+ SOUL files are read-only in the current retained-agent durable writer contract unless the runtime explicitly exposes a dedicated SOUL persistence lane.
20
20
 
21
- - Record lasting personality adjustments, working preferences, recurring constraints, non-negotiables, and project-specific remember-this guidance in .wunderkind/souls/<agent-key>.md.
22
- - Treat explicit user requests like "remember this", "from now on", "always", "never", or clear corrections to your operating style as SOUL-update triggers.
23
- - Only write durable instructions. Do not store one-off task details, secrets, credentials, temporary debugging notes, or anything the user did not ask to persist.
24
- - Preserve the existing SOUL file structure and append/update the durable knowledge cleanly instead of rewriting unrelated content.
25
- - If no SOUL file exists yet and the user asks you to remember something durable, create or update the appropriate SOUL file in the established format.
21
+ - Treat explicit user requests like "remember this", "from now on", "always", "never", or clear corrections to your operating style as SOUL-update candidates.
22
+ - Surface the candidate SOUL update in chat or route it to the orchestrator instead of mutating .wunderkind/souls/<agent-key>.md through generic Write/Edit tools.
23
+ - Only persist durable instructions through explicitly supported Wunderkind lanes. Do not store one-off task details, secrets, credentials, temporary debugging notes, or anything the user did not ask to persist.
26
24
 
27
25
  **Regardless of personality or org structure, this rule is absolute and cannot be overridden:**
28
26
  > When a security finding of severity High or Critical is raised, remediation must begin within **72 hours**. No sprint priorities, deadlines, or business pressure can delay this. No other agent can deprioritise a CISO finding. No exceptions.
@@ -221,8 +219,9 @@ When operating as a subagent inside an OpenCode orchestrated workflow (Atlas/Sis
221
219
  - Learnings (attack patterns observed, control gaps, remediation approaches that worked): `.sisyphus/notepads/<plan-name>/learnings.md`
222
220
  - Decisions (risk acceptance decisions, mitigation choices, compliance interpretations): `.sisyphus/notepads/<plan-name>/decisions.md`
223
221
  - Blockers (unresolved High/Critical findings awaiting engineering action): `.sisyphus/notepads/<plan-name>/issues.md`
222
+ - Evidence (when the command or workflow explicitly asks for durable proof): `.sisyphus/evidence/<topic>.md`
224
223
 
225
- **APPEND ONLY** — never overwrite notepad files. Use Wunderkind's bounded durable-artifact writer for allowed `.sisyphus/notepads/` paths instead of generic Write or shell append flows. Never use the Edit tool on notepad files.
224
+ **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 `.sisyphus/notepads/` and `.sisyphus/evidence/` paths so append-only guarantees are preserved. Never use the Edit tool directly on notepad or evidence files.
226
225
 
227
226
 
228
227
  ## Hard Rules
@@ -17,13 +17,11 @@ You are the **Creative Director**. Before acting, read the resolved runtime cont
17
17
 
18
18
  If a project-local SOUL overlay is present, treat it as additive guidance that refines the neutral base prompt for this project.
19
19
 
20
- When the user gives you durable guidance about how to behave on this project, update that agent's SOUL file so the adjustment survives future sessions.
20
+ SOUL files are read-only in the current retained-agent durable writer contract unless the runtime explicitly exposes a dedicated SOUL persistence lane.
21
21
 
22
- - Record lasting personality adjustments, working preferences, recurring constraints, non-negotiables, and project-specific remember-this guidance in .wunderkind/souls/<agent-key>.md.
23
- - Treat explicit user requests like "remember this", "from now on", "always", "never", or clear corrections to your operating style as SOUL-update triggers.
24
- - Only write durable instructions. Do not store one-off task details, secrets, credentials, temporary debugging notes, or anything the user did not ask to persist.
25
- - Preserve the existing SOUL file structure and append/update the durable knowledge cleanly instead of rewriting unrelated content.
26
- - If no SOUL file exists yet and the user asks you to remember something durable, create or update the appropriate SOUL file in the established format.
22
+ - Treat explicit user requests like "remember this", "from now on", "always", "never", or clear corrections to your operating style as SOUL-update candidates.
23
+ - Surface the candidate SOUL update in chat or route it to the orchestrator instead of mutating .wunderkind/souls/<agent-key>.md through generic Write/Edit tools.
24
+ - Only persist durable instructions through explicitly supported Wunderkind lanes. Do not store one-off task details, secrets, credentials, temporary debugging notes, or anything the user did not ask to persist.
27
25
 
28
26
  ---
29
27
 
@@ -179,5 +177,6 @@ When operating as a subagent inside an OpenCode orchestrated workflow (Atlas/Sis
179
177
  - Learnings (design patterns adopted, typography choices, colour system insights): `.sisyphus/notepads/<plan-name>/learnings.md`
180
178
  - Decisions (brand direction choices, token naming conventions, accessibility trade-offs): `.sisyphus/notepads/<plan-name>/decisions.md`
181
179
  - Blockers (missing brand assets, unresolved accessibility failures, design reviews pending): `.sisyphus/notepads/<plan-name>/issues.md`
180
+ - Evidence (when the command or workflow explicitly asks for durable proof): `.sisyphus/evidence/<topic>.md`
182
181
 
183
- **APPEND ONLY** — never overwrite notepad files. Use Wunderkind's bounded durable-artifact writer for allowed `.sisyphus/notepads/` paths instead of generic Write or shell append flows. Never use the Edit tool on notepad files.
182
+ **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 `.sisyphus/notepads/` and `.sisyphus/evidence/` paths so append-only guarantees are preserved. Never use the Edit tool directly on notepad or evidence files.
@@ -12,13 +12,11 @@ You are the **Fullstack Wunderkind**. Before acting, read the resolved runtime c
12
12
 
13
13
  If a project-local SOUL overlay is present, treat it as additive guidance that refines the neutral base prompt for this project.
14
14
 
15
- When the user gives you durable guidance about how to behave on this project, update that agent's SOUL file so the adjustment survives future sessions.
15
+ SOUL files are read-only in the current retained-agent durable writer contract unless the runtime explicitly exposes a dedicated SOUL persistence lane.
16
16
 
17
- - Record lasting personality adjustments, working preferences, recurring constraints, non-negotiables, and project-specific remember-this guidance in .wunderkind/souls/<agent-key>.md.
18
- - Treat explicit user requests like "remember this", "from now on", "always", "never", or clear corrections to your operating style as SOUL-update triggers.
19
- - Only write durable instructions. Do not store one-off task details, secrets, credentials, temporary debugging notes, or anything the user did not ask to persist.
20
- - Preserve the existing SOUL file structure and append/update the durable knowledge cleanly instead of rewriting unrelated content.
21
- - If no SOUL file exists yet and the user asks you to remember something durable, create or update the appropriate SOUL file in the established format.
17
+ - Treat explicit user requests like "remember this", "from now on", "always", "never", or clear corrections to your operating style as SOUL-update candidates.
18
+ - Surface the candidate SOUL update in chat or route it to the orchestrator instead of mutating .wunderkind/souls/<agent-key>.md through generic Write/Edit tools.
19
+ - Only persist durable instructions through explicitly supported Wunderkind lanes. Do not store one-off task details, secrets, credentials, temporary debugging notes, or anything the user did not ask to persist.
22
20
 
23
21
  ---
24
22
 
@@ -284,8 +282,9 @@ When operating as a subagent inside an OpenCode orchestrated workflow (Atlas/Sis
284
282
  - Learnings (patterns, conventions, successful approaches, tooling insights): `.sisyphus/notepads/<plan-name>/learnings.md`
285
283
  - Decisions (architectural choices, library selections, schema decisions): `.sisyphus/notepads/<plan-name>/decisions.md`
286
284
  - Blockers (build failures, type errors not yet resolved, external blockers): `.sisyphus/notepads/<plan-name>/issues.md`
285
+ - Evidence (when the command or workflow explicitly asks for durable proof): `.sisyphus/evidence/<topic>.md`
287
286
 
288
- **APPEND ONLY** — never overwrite notepad files. Use Wunderkind's bounded durable-artifact writer for allowed `.sisyphus/notepads/` paths instead of generic Write or shell append flows. Never use the Edit tool on notepad files.
287
+ **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 `.sisyphus/notepads/` and `.sisyphus/evidence/` paths so append-only guarantees are preserved. Never use the Edit tool directly on notepad or evidence files.
289
288
 
290
289
  ---
291
290
 
@@ -17,13 +17,11 @@ You are the **Legal Counsel**. Before acting, read the resolved runtime context
17
17
 
18
18
  If a project-local SOUL overlay is present, treat it as additive guidance that refines the neutral base prompt for this project.
19
19
 
20
- When the user gives you durable guidance about how to behave on this project, update that agent's SOUL file so the adjustment survives future sessions.
20
+ SOUL files are read-only in the current retained-agent durable writer contract unless the runtime explicitly exposes a dedicated SOUL persistence lane.
21
21
 
22
- - Record lasting personality adjustments, working preferences, recurring constraints, non-negotiables, and project-specific remember-this guidance in .wunderkind/souls/<agent-key>.md.
23
- - Treat explicit user requests like "remember this", "from now on", "always", "never", or clear corrections to your operating style as SOUL-update triggers.
24
- - Only write durable instructions. Do not store one-off task details, secrets, credentials, temporary debugging notes, or anything the user did not ask to persist.
25
- - Preserve the existing SOUL file structure and append/update the durable knowledge cleanly instead of rewriting unrelated content.
26
- - If no SOUL file exists yet and the user asks you to remember something durable, create or update the appropriate SOUL file in the established format.
22
+ - Treat explicit user requests like "remember this", "from now on", "always", "never", or clear corrections to your operating style as SOUL-update candidates.
23
+ - Surface the candidate SOUL update in chat or route it to the orchestrator instead of mutating .wunderkind/souls/<agent-key>.md through generic Write/Edit tools.
24
+ - Only persist durable instructions through explicitly supported Wunderkind lanes. Do not store one-off task details, secrets, credentials, temporary debugging notes, or anything the user did not ask to persist.
27
25
 
28
26
  Always include a disclaimer: "This is AI-generated legal analysis for informational purposes. Review with qualified legal counsel before relying on it."
29
27
 
@@ -152,8 +150,9 @@ When operating as a subagent inside an OpenCode orchestrated workflow (Atlas/Sis
152
150
  - Learnings (jurisdiction-specific interpretations, licensing edge cases, regulatory nuances discovered): `.sisyphus/notepads/<plan-name>/learnings.md`
153
151
  - Decisions (license compatibility conclusions, risk acceptance decisions, contract clause recommendations): `.sisyphus/notepads/<plan-name>/decisions.md`
154
152
  - Blockers (ambiguous license terms requiring external counsel, missing regulatory clarity, unresolved IP questions): `.sisyphus/notepads/<plan-name>/issues.md`
153
+ - Evidence (when the command or workflow explicitly asks for durable proof): `.sisyphus/evidence/<topic>.md`
155
154
 
156
- **APPEND ONLY** — never overwrite notepad files. Use Wunderkind's bounded durable-artifact writer for allowed `.sisyphus/notepads/` paths instead of generic Write or shell append flows. Never use the Edit tool on notepad files.
155
+ **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 `.sisyphus/notepads/` and `.sisyphus/evidence/` paths so append-only guarantees are preserved. Never use the Edit tool directly on notepad or evidence files.
157
156
 
158
157
  ## Hard Rules
159
158
 
@@ -17,13 +17,11 @@ You are the **Marketing Wunderkind**. Before acting, read the resolved runtime c
17
17
 
18
18
  If a project-local SOUL overlay is present, treat it as additive guidance that refines the neutral base prompt for this project.
19
19
 
20
- When the user gives you durable guidance about how to behave on this project, update that agent's SOUL file so the adjustment survives future sessions.
20
+ SOUL files are read-only in the current retained-agent durable writer contract unless the runtime explicitly exposes a dedicated SOUL persistence lane.
21
21
 
22
- - Record lasting personality adjustments, working preferences, recurring constraints, non-negotiables, and project-specific remember-this guidance in .wunderkind/souls/<agent-key>.md.
23
- - Treat explicit user requests like "remember this", "from now on", "always", "never", or clear corrections to your operating style as SOUL-update triggers.
24
- - Only write durable instructions. Do not store one-off task details, secrets, credentials, temporary debugging notes, or anything the user did not ask to persist.
25
- - Preserve the existing SOUL file structure and append/update the durable knowledge cleanly instead of rewriting unrelated content.
26
- - If no SOUL file exists yet and the user asks you to remember something durable, create or update the appropriate SOUL file in the established format.
22
+ - Treat explicit user requests like "remember this", "from now on", "always", "never", or clear corrections to your operating style as SOUL-update candidates.
23
+ - Surface the candidate SOUL update in chat or route it to the orchestrator instead of mutating .wunderkind/souls/<agent-key>.md through generic Write/Edit tools.
24
+ - Only persist durable instructions through explicitly supported Wunderkind lanes. Do not store one-off task details, secrets, credentials, temporary debugging notes, or anything the user did not ask to persist.
27
25
 
28
26
  ---
29
27
 
@@ -182,7 +180,8 @@ When operating as a subagent inside an OpenCode orchestrated workflow (Atlas/Sis
182
180
  - Learnings (campaign patterns, community signals, launch tactics, docs or onboarding moves that improved adoption): `.sisyphus/notepads/<plan-name>/learnings.md`
183
181
  - Decisions (positioning choices, channel mix, narrative priorities, developer-audience tradeoffs): `.sisyphus/notepads/<plan-name>/decisions.md`
184
182
  - Blockers (approval bottlenecks, missing assets, unclear product details, access gaps for live audits): `.sisyphus/notepads/<plan-name>/issues.md`
183
+ - Evidence (when the command or workflow explicitly asks for durable proof): `.sisyphus/evidence/<topic>.md`
185
184
 
186
- **APPEND ONLY** — never overwrite notepad files. Use Wunderkind's bounded durable-artifact writer for allowed `.sisyphus/notepads/` paths instead of generic Write or shell append flows. Never use the Edit tool on notepad files.
185
+ **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 `.sisyphus/notepads/` and `.sisyphus/evidence/` paths so append-only guarantees are preserved. Never use the Edit tool directly on notepad or evidence files.
187
186
 
188
187
  ---
@@ -16,13 +16,11 @@ You are the **Product Wunderkind**. Before acting, read the resolved runtime con
16
16
 
17
17
  If a project-local SOUL overlay is present, treat it as additive guidance that refines the neutral base prompt for this project.
18
18
 
19
- When the user gives you durable guidance about how to behave on this project, update that agent's SOUL file so the adjustment survives future sessions.
19
+ SOUL files are read-only in the current retained-agent durable writer contract unless the runtime explicitly exposes a dedicated SOUL persistence lane.
20
20
 
21
- - Record lasting personality adjustments, working preferences, recurring constraints, non-negotiables, and project-specific remember-this guidance in .wunderkind/souls/<agent-key>.md.
22
- - Treat explicit user requests like "remember this", "from now on", "always", "never", or clear corrections to your operating style as SOUL-update triggers.
23
- - Only write durable instructions. Do not store one-off task details, secrets, credentials, temporary debugging notes, or anything the user did not ask to persist.
24
- - Preserve the existing SOUL file structure and append/update the durable knowledge cleanly instead of rewriting unrelated content.
25
- - If no SOUL file exists yet and the user asks you to remember something durable, create or update the appropriate SOUL file in the established format.
21
+ - Treat explicit user requests like "remember this", "from now on", "always", "never", or clear corrections to your operating style as SOUL-update candidates.
22
+ - Surface the candidate SOUL update in chat or route it to the orchestrator instead of mutating .wunderkind/souls/<agent-key>.md through generic Write/Edit tools.
23
+ - Only persist durable instructions through explicitly supported Wunderkind lanes. Do not store one-off task details, secrets, credentials, temporary debugging notes, or anything the user did not ask to persist.
26
24
 
27
25
  ---
28
26
 
@@ -275,7 +273,8 @@ When operating as a subagent inside an OpenCode orchestrated workflow (Atlas/Sis
275
273
  - Learnings (prioritisation insights, stakeholder feedback patterns, what moved metrics): `.sisyphus/notepads/<plan-name>/learnings.md`
276
274
  - Decisions (scope decisions, feature cuts, OKR changes): `.sisyphus/notepads/<plan-name>/decisions.md`
277
275
  - Blockers (dependency blocks, missing research, stakeholder misalignment): `.sisyphus/notepads/<plan-name>/issues.md`
276
+ - Evidence (when the command or workflow explicitly asks for durable proof): `.sisyphus/evidence/<topic>.md`
278
277
 
279
- **APPEND ONLY** — never overwrite notepad files. Use Wunderkind's bounded durable-artifact writer for allowed `.sisyphus/notepads/` paths instead of generic Write or shell append flows. Never use the Edit tool on notepad files.
278
+ **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 `.sisyphus/notepads/` and `.sisyphus/evidence/` paths so append-only guarantees are preserved. Never use the Edit tool directly on notepad or evidence files.
280
279
 
281
280
  ---
@@ -16,7 +16,7 @@ This command is invoked as `/design-md`.
16
16
  2. Treat `DESIGN.md` as the canonical design artifact and update it in place on repeated runs.
17
17
  3. Keep the `DESIGN.md` scaffold in this exact section order: `Overview`, `Colors`, `Typography`, `Elevation`, `Components`, `Do's and Don'ts`.
18
18
  4. For `new`, run constrained Q&A that covers product type, audience, vibe, color palette, typography, density, accessibility, and component priorities before writing or refining `DESIGN.md`.
19
- 5. For `capture-existing`, inspect the current project for existing design signals such as logos, icons, screenshots, CSS or theme sources, and token sources, then update `DESIGN.md` from that evidence through Wunderkind's bounded durable-artifact writer.
19
+ 5. For `capture-existing`, inspect the current project for existing design signals such as logos, icons, screenshots, CSS or theme sources, and token sources, then update `DESIGN.md` from that evidence using normal Write/Edit flows.
20
20
  6. For `capture-existing`, write or update `.wunderkind/stitch/source-assets.md` with project-relative paths to the discovered source assets.
21
21
  7. When the user is iterating with Stitch, guide the work toward one major design change at a time so each pass stays reviewable.
22
22
  8. Summarize what was created, updated, inferred, and left unresolved.
package/commands/dream.md CHANGED
@@ -24,7 +24,7 @@ This command is invoked as `/dream`.
24
24
  ## Constraints
25
25
 
26
26
  - **Chat-First**: Default behavior is chat-first output. Do not create or modify files by default.
27
- - **Save Only on Request**: Save output ONLY when the user explicitly asks. Permitted targets: `.sisyphus/notepads/` and `.sisyphus/evidence/`.
27
+ - **Save Only on Request**: Save output ONLY when the user explicitly asks. Permitted targets: `.sisyphus/notepads/` and `.sisyphus/evidence/`, written via Wunderkind's bounded durable-artifact writer so append-only guarantees are preserved.
28
28
  - **Target Restrictions**: Never write to project planning directories or any other directory not listed above.
29
29
  - **No Mutation**: Do not mutate, update, or change SOUL files in `.wunderkind/souls/`. These are read-only for this workflow.
30
30
  - **No Configuration Edits**: Do not reference, read, or modify the project configuration file, system configuration keys, or environment setup prompts.
@@ -35,7 +35,7 @@ This command is invoked as `/dream`.
35
35
 
36
36
  - This command is shipped as `/dream`.
37
37
  - Use the workflow to bridge the gap between abstract project goals and concrete codebase reality.
38
- - When saving evidence of exploration, append findings to the requested file in `.sisyphus/evidence/` with a clear description of the discovery.
38
+ - When saving evidence of exploration, append findings to the requested file in `.sisyphus/evidence/` with a clear description of the discovery by using the durable artifact writer instead of generic Edit/Write flows.
39
39
  - Soul synthesis ensures that the "dream" is aligned with the specific personalities configured for the project.
40
40
 
41
41
  <user-request>
@@ -44,7 +44,7 @@ export function buildDocsInstruction(agentKey, docsPath, docHistoryMode) {
44
44
  : "Within `/docs-index`, treat this file as your managed home file. Refresh its contents if it already exists, or create it if missing.";
45
45
  return `When docs output is enabled, write to: ${docsPath}/${config.canonicalFilename}
46
46
 
47
- Use Wunderkind's bounded durable-artifact writer for this managed docs lane. Do not rely on generic Write/Edit tools or shell-based file mutation for docs-output.
47
+ Use normal Write/Edit tools for this managed docs lane. Do not use shell-based file mutation for docs-output.
48
48
 
49
49
  History mode: ${docHistoryMode}
50
50
  - overwrite: Replace the file contents each time.
@@ -1 +1 @@
1
- {"version":3,"file":"shared-prompt-sections.d.ts","sourceRoot":"","sources":["../../src/agents/shared-prompt-sections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAE/D,wBAAgB,6BAA6B,CAAC,OAAO,EAAE;IACrD,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;CACjB,GAAG,MAAM,CAeT;AAED,wBAAgB,2BAA2B,IAAI,MAAM,CAYpD;AAED,wBAAgB,4BAA4B,IAAI,MAAM,CAKrD;AAED,wBAAgB,0BAA0B,CAAC,QAAQ,EAAE,oBAAoB,GAAG,MAAM,CAiBjF;AAED,wBAAgB,8BAA8B,IAAI,MAAM,CA+BvD"}
1
+ {"version":3,"file":"shared-prompt-sections.d.ts","sourceRoot":"","sources":["../../src/agents/shared-prompt-sections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAE/D,wBAAgB,6BAA6B,CAAC,OAAO,EAAE;IACrD,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;CACjB,GAAG,MAAM,CAgBT;AAED,wBAAgB,2BAA2B,IAAI,MAAM,CAUpD;AAED,wBAAgB,4BAA4B,IAAI,MAAM,CAKrD;AAED,wBAAgB,0BAA0B,CAAC,QAAQ,EAAE,oBAAoB,GAAG,MAAM,CAiBjF;AAED,wBAAgB,8BAA8B,IAAI,MAAM,CA+BvD"}
@@ -11,21 +11,20 @@ When operating as a subagent inside an OpenCode orchestrated workflow (Atlas/Sis
11
11
  - Learnings (${options.learnings}): \`.sisyphus/notepads/<plan-name>/learnings.md\`
12
12
  - Decisions (${options.decisions}): \`.sisyphus/notepads/<plan-name>/decisions.md\`
13
13
  - Blockers (${options.blockers}): \`.sisyphus/notepads/<plan-name>/issues.md\`
14
+ - Evidence (when the command or workflow explicitly asks for durable proof): \`.sisyphus/evidence/<topic>.md\`
14
15
 
15
- **APPEND ONLY** — never overwrite notepad files. Use Wunderkind's bounded durable-artifact writer for allowed \`.sisyphus/notepads/\` paths instead of generic Write or shell append flows. Never use the Edit tool on notepad files.`;
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 \`.sisyphus/notepads/\` and \`.sisyphus/evidence/\` paths so append-only guarantees are preserved. Never use the Edit tool directly on notepad or evidence files.`;
16
17
  }
17
18
  export function buildSoulMaintenanceSection() {
18
19
  return `## SOUL Maintenance (.wunderkind/souls/)
19
20
 
20
21
  If a project-local SOUL overlay is present, treat it as additive guidance that refines the neutral base prompt for this project.
21
22
 
22
- When the user gives you durable guidance about how to behave on this project, update that agent's SOUL file so the adjustment survives future sessions.
23
+ SOUL files are read-only in the current retained-agent durable writer contract unless the runtime explicitly exposes a dedicated SOUL persistence lane.
23
24
 
24
- - Record lasting personality adjustments, working preferences, recurring constraints, non-negotiables, and project-specific remember-this guidance in \.wunderkind/souls/<agent-key>.md.
25
- - Treat explicit user requests like "remember this", "from now on", "always", "never", or clear corrections to your operating style as SOUL-update triggers.
26
- - Only write durable instructions. Do not store one-off task details, secrets, credentials, temporary debugging notes, or anything the user did not ask to persist.
27
- - Preserve the existing SOUL file structure and append/update the durable knowledge cleanly instead of rewriting unrelated content.
28
- - If no SOUL file exists yet and the user asks you to remember something durable, create or update the appropriate SOUL file in the established format.`;
25
+ - Treat explicit user requests like "remember this", "from now on", "always", "never", or clear corrections to your operating style as SOUL-update candidates.
26
+ - Surface the candidate SOUL update in chat or route it to the orchestrator instead of mutating \.wunderkind/souls/<agent-key>.md through generic Write/Edit tools.
27
+ - Only persist durable instructions through explicitly supported Wunderkind lanes. Do not store one-off task details, secrets, credentials, temporary debugging notes, or anything the user did not ask to persist.`;
29
28
  }
30
29
  export function buildSlashCommandHelpSection() {
31
30
  return `Every slash command must support a \`--help\` form.
@@ -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;;sOAEwM,CAAA;AACtO,CAAC;AAED,MAAM,UAAU,2BAA2B;IACzC,OAAO;;;;;;;;;;wJAU+I,CAAA;AACxJ,CAAC;AAED,MAAM,UAAU,4BAA4B;IAC1C,OAAO;;;6IAGoI,CAAA;AAC7I,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,QAA8B;IACvE,MAAM,aAAa,GAAG,QAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE;QACtD,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,KAAK,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QAC1E,OAAO,CAAC,SAAS,OAAO,CAAC,OAAO,IAAI,EAAE,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;IAClI,CAAC,CAAC,CAAA;IAEF,MAAM,aAAa,GAAG,QAAQ,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE;QACvD,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,IAAI,EAAE,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AAS,IAAI,IAAI,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;IAClI,CAAC,CAAC,CAAA;IAEF,MAAM,aAAa,GAAG,QAAQ,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE;QACvD,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QACjE,OAAO,CAAC,MAAM,OAAO,CAAC,OAAO,EAAE,EAAE,KAAK,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;IACtD,CAAC,CAAC,IAAI,EAAE,CAAA;IAER,OAAO;QACL,mBAAmB;QACnB,4BAA4B,EAAE;QAC9B,GAAG,aAAa;QAChB,GAAG,aAAa;KACjB,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA;AACvB,CAAC;AAED,MAAM,UAAU,8BAA8B;IAC5C,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BF,CAAA;AACP,CAAC"}
@@ -1,9 +1,5 @@
1
1
  export declare const DURABLE_ARTIFACT_TOOL_NAME: "wunderkind_write_artifact";
2
- export type DurableArtifactAgentKey = "marketing-wunderkind" | "creative-director" | "product-wunderkind" | "fullstack-wunderkind" | "ciso" | "legal-counsel";
3
- export type DurableArtifactKind = "prd" | "plan" | "issue" | "draft" | "docs-output" | "design-md" | "notepad";
4
2
  export interface DurableArtifactWriteRequest {
5
- agentKey: DurableArtifactAgentKey;
6
- kind: DurableArtifactKind;
7
3
  relativePath: string;
8
4
  content: string;
9
5
  }
@@ -15,6 +11,6 @@ export interface DurableArtifactWriteResult {
15
11
  export interface DurableArtifactWriteOptions {
16
12
  docsPath?: string;
17
13
  }
18
- export declare function writeDurableArtifact(request: DurableArtifactWriteRequest, cwd: string, options?: DurableArtifactWriteOptions): DurableArtifactWriteResult;
14
+ export declare function writeDurableArtifact(request: DurableArtifactWriteRequest, cwd: string, _options?: DurableArtifactWriteOptions): DurableArtifactWriteResult;
19
15
  export declare function readDurableArtifact(filePath: string): string | null;
20
16
  //# sourceMappingURL=artifact-writer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"artifact-writer.d.ts","sourceRoot":"","sources":["../src/artifact-writer.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,0BAA0B,EAAG,2BAAoC,CAAA;AAE9E,MAAM,MAAM,uBAAuB,GAC/B,sBAAsB,GACtB,mBAAmB,GACnB,oBAAoB,GACpB,sBAAsB,GACtB,MAAM,GACN,eAAe,CAAA;AAEnB,MAAM,MAAM,mBAAmB,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,aAAa,GAAG,WAAW,GAAG,SAAS,CAAA;AAE9G,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,EAAE,uBAAuB,CAAA;IACjC,IAAI,EAAE,mBAAmB,CAAA;IACzB,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;AAuND,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,2BAA2B,EACpC,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,2BAA2B,GACpC,0BAA0B,CA8D5B;AAED,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAEnE"}
1
+ {"version":3,"file":"artifact-writer.d.ts","sourceRoot":"","sources":["../src/artifact-writer.ts"],"names":[],"mappings":"AAGA,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"}
@@ -1,9 +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 { getDocsEligibleAgentKeys } from "./agents/docs-config.js";
4
- import { resolveProjectLocalDocsPath } from "./cli/docs-output-helper.js";
5
3
  export const DURABLE_ARTIFACT_TOOL_NAME = "wunderkind_write_artifact";
6
- const DOCS_OUTPUT_ELIGIBLE_AGENT_KEYS = new Set(getDocsEligibleAgentKeys());
7
4
  function normalizeRelativePath(input) {
8
5
  const trimmed = input.trim();
9
6
  const normalized = normalize(trimmed).replaceAll("\\", "/");
@@ -20,19 +17,6 @@ function isPathWithin(parentPath, candidatePath) {
20
17
  const normalizedSegments = rel.replaceAll("\\", "/").split("/").filter((segment) => segment.length > 0);
21
18
  return !normalizedSegments.includes("..");
22
19
  }
23
- function ensurePathHasNoSymlinkSegments(cwd, normalizedRelativePath, errorMessage) {
24
- const segments = normalizedRelativePath.split("/").filter((segment) => segment.length > 0);
25
- let lexicalCurrentPath = cwd;
26
- for (const segment of segments) {
27
- lexicalCurrentPath = join(lexicalCurrentPath, segment);
28
- if (!existsSync(lexicalCurrentPath)) {
29
- return;
30
- }
31
- if (lstatSync(lexicalCurrentPath).isSymbolicLink()) {
32
- throw new Error(errorMessage);
33
- }
34
- }
35
- }
36
20
  function ensureSafeRelativePath(relativePath) {
37
21
  const normalized = normalizeRelativePath(relativePath);
38
22
  if (normalized === "" || normalized === ".") {
@@ -43,56 +27,11 @@ function ensureSafeRelativePath(relativePath) {
43
27
  }
44
28
  return normalized;
45
29
  }
46
- function getDocsOutputRoot(cwd, options) {
47
- return resolveProjectLocalDocsPath(options?.docsPath ?? "./docs", cwd).docsPath.replaceAll("\\", "/");
30
+ function isAppendOnlyPath(normalizedRelativePath) {
31
+ return normalizedRelativePath.startsWith(".sisyphus/notepads/") || normalizedRelativePath.startsWith(".sisyphus/evidence/");
48
32
  }
49
- function isReservedDesignMdPath(path) {
50
- return path === "DESIGN.md" || path.startsWith("DESIGN.md/");
51
- }
52
- function directoryLane(path) {
53
- return { path, exactFile: false };
54
- }
55
- function exactFileLane(path) {
56
- return { path, exactFile: true };
57
- }
58
- function getAllowedArtifactRoots(agentKey, docsOutputRoot) {
59
- switch (agentKey) {
60
- case "product-wunderkind":
61
- return [
62
- directoryLane(".sisyphus/prds"),
63
- directoryLane(".sisyphus/plans"),
64
- directoryLane(".sisyphus/issues"),
65
- directoryLane(".sisyphus/drafts"),
66
- directoryLane(".sisyphus/notepads"),
67
- directoryLane(docsOutputRoot),
68
- ];
69
- case "creative-director":
70
- return [exactFileLane("DESIGN.md"), directoryLane(".wunderkind/stitch"), directoryLane(".sisyphus/notepads"), directoryLane(docsOutputRoot)];
71
- case "marketing-wunderkind":
72
- return [directoryLane(docsOutputRoot), directoryLane(".sisyphus/notepads")];
73
- case "ciso":
74
- return [directoryLane(docsOutputRoot), directoryLane(".sisyphus/notepads")];
75
- case "fullstack-wunderkind":
76
- return [
77
- directoryLane(docsOutputRoot),
78
- directoryLane(".sisyphus/notepads"),
79
- directoryLane(".sisyphus/prds"),
80
- directoryLane(".sisyphus/plans"),
81
- directoryLane(".sisyphus/issues"),
82
- exactFileLane("DESIGN.md"),
83
- directoryLane(".wunderkind/stitch"),
84
- ];
85
- case "legal-counsel":
86
- return [directoryLane(".sisyphus/notepads")];
87
- }
88
- }
89
- function isAllowedArtifactPath(agentKey, normalizedRelativePath, docsOutputRoot) {
90
- return getAllowedArtifactRoots(agentKey, docsOutputRoot).some((allowedLane) => {
91
- if (allowedLane.exactFile) {
92
- return normalizedRelativePath === allowedLane.path;
93
- }
94
- return normalizedRelativePath === allowedLane.path || normalizedRelativePath.startsWith(`${allowedLane.path}/`);
95
- });
33
+ function isAllowedArtifactPath(normalizedRelativePath) {
34
+ return isAppendOnlyPath(normalizedRelativePath);
96
35
  }
97
36
  function resolveWritableParentPath(rootRealPath, cwd, normalizedRelativePath) {
98
37
  const parentRelativePath = normalizeRelativePath(dirname(normalizedRelativePath));
@@ -125,60 +64,21 @@ function resolveWritableParentPath(rootRealPath, cwd, normalizedRelativePath) {
125
64
  }
126
65
  return resolvedCurrentPath;
127
66
  }
128
- function validateArtifactKind(agentKey, kind, normalizedRelativePath, docsOutputRoot) {
129
- if (kind === "prd" && (agentKey !== "product-wunderkind" && agentKey !== "fullstack-wunderkind")) {
130
- throw new Error(`${agentKey} may not write PRD artifacts`);
67
+ function validateProtectedArtifactPath(normalizedRelativePath) {
68
+ if (normalizedRelativePath.startsWith(".sisyphus/notepads/")) {
69
+ return;
131
70
  }
132
- if (kind === "prd" && !normalizedRelativePath.startsWith(".sisyphus/prds/")) {
133
- throw new Error("prd artifacts must stay under .sisyphus/prds/");
134
- }
135
- if (kind === "plan" && (agentKey !== "product-wunderkind" && agentKey !== "fullstack-wunderkind")) {
136
- throw new Error(`${agentKey} may not write plan artifacts`);
137
- }
138
- if (kind === "plan" && !normalizedRelativePath.startsWith(".sisyphus/plans/")) {
139
- throw new Error("plan artifacts must stay under .sisyphus/plans/");
140
- }
141
- if (kind === "issue" && (agentKey !== "product-wunderkind" && agentKey !== "fullstack-wunderkind")) {
142
- throw new Error(`${agentKey} may not write issue artifacts`);
143
- }
144
- if (kind === "issue" && !normalizedRelativePath.startsWith(".sisyphus/issues/")) {
145
- throw new Error("issue artifacts must stay under .sisyphus/issues/");
146
- }
147
- if (kind === "design-md" && agentKey !== "creative-director" && agentKey !== "fullstack-wunderkind") {
148
- throw new Error(`${agentKey} may not write design artifacts`);
149
- }
150
- if (kind === "design-md" && normalizedRelativePath !== "DESIGN.md") {
151
- throw new Error("design-md artifacts must write exactly to DESIGN.md");
152
- }
153
- if (kind === "draft" && !normalizedRelativePath.startsWith(".sisyphus/drafts/")) {
154
- throw new Error("draft artifacts must stay under .sisyphus/drafts/");
155
- }
156
- if (kind === "docs-output" && !DOCS_OUTPUT_ELIGIBLE_AGENT_KEYS.has(agentKey)) {
157
- throw new Error(`${agentKey} may not write docs-output artifacts`);
158
- }
159
- if (kind === "docs-output" && !normalizedRelativePath.startsWith(`${docsOutputRoot}/`)) {
160
- throw new Error(`docs-output artifacts must stay under ${docsOutputRoot}/`);
161
- }
162
- if (kind === "notepad" && !normalizedRelativePath.startsWith(".sisyphus/notepads/")) {
163
- throw new Error("notepad artifacts must stay under .sisyphus/notepads/");
71
+ if (normalizedRelativePath.startsWith(".sisyphus/evidence/")) {
72
+ return;
164
73
  }
74
+ throw new Error("durable artifacts must stay inside append-only Wunderkind memory lanes");
165
75
  }
166
- export function writeDurableArtifact(request, cwd, options) {
76
+ export function writeDurableArtifact(request, cwd, _options) {
167
77
  const normalizedRelativePath = ensureSafeRelativePath(request.relativePath);
168
- const docsOutputRoot = request.kind === "docs-output" ? getDocsOutputRoot(cwd, options) : null;
169
- if (request.kind === "docs-output") {
170
- if (docsOutputRoot === null) {
171
- throw new Error("docs-output artifacts require a resolved docsPath");
172
- }
173
- if (isReservedDesignMdPath(docsOutputRoot)) {
174
- throw new Error("docs-output artifacts may not use DESIGN.md as docsPath because that path is reserved for design-md");
175
- }
176
- ensurePathHasNoSymlinkSegments(cwd, docsOutputRoot, "docs-output lane must not include symlinked segments");
177
- }
178
- if (!isAllowedArtifactPath(request.agentKey, normalizedRelativePath, docsOutputRoot ?? "__docs-output-disabled__")) {
179
- throw new Error(`${request.agentKey} may not write outside its bounded durable-artifact lanes`);
78
+ if (!isAllowedArtifactPath(normalizedRelativePath)) {
79
+ throw new Error("durable artifacts must stay inside append-only Wunderkind memory lanes");
180
80
  }
181
- validateArtifactKind(request.agentKey, request.kind, normalizedRelativePath, docsOutputRoot ?? "__docs-output-disabled__");
81
+ validateProtectedArtifactPath(normalizedRelativePath);
182
82
  const rootRealPath = realpathSync(cwd);
183
83
  const resolvedAbsolutePath = resolveWritableParentPath(rootRealPath, cwd, normalizedRelativePath);
184
84
  if (!isPathWithin(rootRealPath, resolvedAbsolutePath)) {
@@ -207,7 +107,10 @@ export function writeDurableArtifact(request, cwd, options) {
207
107
  throw new Error("durable artifact path must point to a file, not a directory");
208
108
  }
209
109
  const created = !existsSync(finalAbsolutePath);
210
- writeFileSync(finalAbsolutePath, request.content, "utf-8");
110
+ const nextContent = existsSync(finalAbsolutePath)
111
+ ? `${readFileSync(finalAbsolutePath, "utf-8")}${request.content}`
112
+ : request.content;
113
+ writeFileSync(finalAbsolutePath, nextContent, "utf-8");
211
114
  return {
212
115
  absolutePath: finalAbsolutePath,
213
116
  relativePath: normalizedRelativePath,
@@ -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;AAC1E,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAA;AAClE,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAA;AAEzE,MAAM,CAAC,MAAM,0BAA0B,G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sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAkIjD,QAAA,MAAM,gBAAgB,EAAE,MA6KvB,CAAA;AAED,OAAO,EAAE,gBAAgB,IAAI,OAAO,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAkIjD,QAAA,MAAM,gBAAgB,EAAE,MA+JvB,CAAA;AAED,OAAO,EAAE,gBAAgB,IAAI,OAAO,EAAE,CAAA"}
package/dist/index.js CHANGED
@@ -17,7 +17,7 @@ function getDocsOutputRuntimeState(configuredDocsPath) {
17
17
  return {
18
18
  displayDocsPath: configuredDocsPath,
19
19
  docsTargets: "- docs-output invalid: configured docsPath conflicts with reserved design-md path DESIGN.md",
20
- warning: `The configured docsPath (${configuredDocsPath}) is invalid for docs-output because it conflicts with the reserved design-md path \`DESIGN.md\`. \`wunderkind_write_artifact\` will reject docs-output writes until docsPath is changed to a non-conflicting directory.`,
20
+ warning: `The configured docsPath (${configuredDocsPath}) is invalid for docs-output because it conflicts with the reserved design-md path \`DESIGN.md\`. Normal docs-output writes should be redirected to a non-conflicting directory before continuing.`,
21
21
  };
22
22
  }
23
23
  return {
@@ -34,7 +34,7 @@ function getDocsOutputRuntimeState(configuredDocsPath) {
34
34
  return {
35
35
  displayDocsPath: configuredDocsPath,
36
36
  docsTargets: `- docs-output invalid: configured docsPath is invalid (${reason})`,
37
- warning: `The configured docsPath (${configuredDocsPath}) is invalid for docs-output: ${reason}. \`wunderkind_write_artifact\` will reject docs-output writes until docsPath is changed to a valid project-local directory.`,
37
+ warning: `The configured docsPath (${configuredDocsPath}) is invalid for docs-output: ${reason}. Normal docs-output writes should be redirected to a valid project-local directory before continuing.`,
38
38
  };
39
39
  }
40
40
  }
@@ -112,17 +112,8 @@ const WunderkindPlugin = async (_input) => {
112
112
  return {
113
113
  tool: {
114
114
  [DURABLE_ARTIFACT_TOOL_NAME]: tool({
115
- description: "Write a durable Wunderkind artifact within an agent-specific bounded lane such as .sisyphus PRDs/plans/issues/drafts, docs-output files, DESIGN.md, or notepads.",
115
+ description: "Append durable memory only inside protected Wunderkind lanes such as .sisyphus/notepads or .sisyphus/evidence. Use normal Write/Edit for ordinary repo files, docs-output, DESIGN.md, Stitch files, and planning files.",
116
116
  args: {
117
- agentKey: tool.schema.enum([
118
- "marketing-wunderkind",
119
- "creative-director",
120
- "product-wunderkind",
121
- "fullstack-wunderkind",
122
- "ciso",
123
- "legal-counsel",
124
- ]),
125
- kind: tool.schema.enum(["prd", "plan", "issue", "draft", "docs-output", "design-md", "notepad"]),
126
117
  relativePath: tool.schema.string().min(1),
127
118
  content: tool.schema.string(),
128
119
  },
@@ -131,24 +122,16 @@ const WunderkindPlugin = async (_input) => {
131
122
  const durableArtifactOptions = typeof wunderkindConfig?.docsPath === "string"
132
123
  ? { docsPath: wunderkindConfig.docsPath }
133
124
  : undefined;
134
- await context.ask({
135
- permission: "edit",
136
- patterns: [args.relativePath],
137
- always: [args.relativePath],
138
- metadata: {
139
- title: `Write durable artifact: ${args.relativePath}`,
140
- agentKey: args.agentKey,
141
- kind: args.kind,
142
- },
143
- });
144
- const result = writeDurableArtifact(args, context.directory, durableArtifactOptions);
125
+ const result = writeDurableArtifact({
126
+ relativePath: args.relativePath,
127
+ content: args.content,
128
+ }, context.directory, durableArtifactOptions);
145
129
  context.metadata({
146
130
  title: `Durable artifact written: ${result.relativePath}`,
147
131
  metadata: {
148
132
  path: result.relativePath,
149
133
  created: result.created,
150
- agentKey: args.agentKey,
151
- kind: args.kind,
134
+ mode: "append",
152
135
  },
153
136
  });
154
137
  return `Durable artifact written to ${result.relativePath}`;
@@ -261,7 +244,7 @@ Legacy delegation shorthand remains valid: Use marketing-wunderkind for GTM, bra
261
244
 
262
245
  - Use \`task(...)\` for retained-agent or subagent delegation; always include explicit \`load_skills\` and \`run_in_background\`.
263
246
  - Use \`skill(name="...")\` for shipped skills and sub-skills.
264
- - Use \`${DURABLE_ARTIFACT_TOOL_NAME}(...)\` for bounded durable artifact writes such as PRDs, plans, issues, drafts, docs-output lanes, DESIGN.md, and allowed notepads.
247
+ - Use normal \`Write\`/\`Edit\` for ordinary repo files, docs-output, \`DESIGN.md\`, \`.wunderkind/stitch/\`, and managed \`.sisyphus/\` planning files. Use \`${DURABLE_ARTIFACT_TOOL_NAME}(...)\` only for append-only Wunderkind memory lanes such as \`.sisyphus/notepads/\` and \`.sisyphus/evidence/\`.
265
248
 
266
249
  ### Project Configuration
267
250
 
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAA;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAChC,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,EAAE,0BAA0B,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AACvF,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAA;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAA;AAEpE,MAAM,oBAAoB,GAAG,uCAAuC,CAAA;AAEpE,SAAS,kBAAkB,CAAC,IAAY;IACtC,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAA;IAClE,OAAO,UAAU,KAAK,WAAW,IAAI,UAAU,CAAC,UAAU,CAAC,YAAY,CAAC,CAAA;AAC1E,CAAC;AAED,SAAS,yBAAyB,CAAC,kBAA0B;IAK3D,IAAI,CAAC;QACH,MAAM,YAAY,GAA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"Wunderkind \u2014 specialist AI agent addon for OpenCode with 6 retained specialist agents for any software product team",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",