@grant-vine/wunderkind 0.14.0 → 0.14.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/agents/ciso.md +6 -7
- package/agents/creative-director.md +6 -7
- package/agents/fullstack-wunderkind.md +6 -7
- package/agents/legal-counsel.md +6 -7
- package/agents/marketing-wunderkind.md +6 -7
- package/agents/product-wunderkind.md +6 -7
- package/commands/dream.md +2 -2
- package/dist/agents/shared-prompt-sections.d.ts.map +1 -1
- package/dist/agents/shared-prompt-sections.js +6 -7
- package/dist/agents/shared-prompt-sections.js.map +1 -1
- package/dist/artifact-writer.d.ts +1 -1
- package/dist/artifact-writer.d.ts.map +1 -1
- package/dist/artifact-writer.js +22 -5
- package/dist/artifact-writer.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -13
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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
|
-
|
|
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
|
-
-
|
|
22
|
-
-
|
|
23
|
-
- Only
|
|
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 Wunderkind's bounded durable-artifact writer for allowed `.sisyphus/notepads/` and `.sisyphus/evidence/` paths instead of generic Write/Edit tools or shell append flows. When a durable artifact is requested, prefer `wunderkind_write_artifact` immediately instead of retrying with Edit. Never use the Edit tool 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
|
-
|
|
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
|
-
-
|
|
23
|
-
-
|
|
24
|
-
- Only
|
|
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 Wunderkind's bounded durable-artifact writer for allowed `.sisyphus/notepads/` and `.sisyphus/evidence/` paths instead of generic Write/Edit tools or shell append flows. When a durable artifact is requested, prefer `wunderkind_write_artifact` immediately instead of retrying with Edit. Never use the Edit tool 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
|
-
|
|
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
|
-
-
|
|
18
|
-
-
|
|
19
|
-
- Only
|
|
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 Wunderkind's bounded durable-artifact writer for allowed `.sisyphus/notepads/` and `.sisyphus/evidence/` paths instead of generic Write/Edit tools or shell append flows. When a durable artifact is requested, prefer `wunderkind_write_artifact` immediately instead of retrying with Edit. Never use the Edit tool on notepad or evidence files.
|
|
289
288
|
|
|
290
289
|
---
|
|
291
290
|
|
package/agents/legal-counsel.md
CHANGED
|
@@ -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
|
-
|
|
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
|
-
-
|
|
23
|
-
-
|
|
24
|
-
- Only
|
|
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 Wunderkind's bounded durable-artifact writer for allowed `.sisyphus/notepads/` and `.sisyphus/evidence/` paths instead of generic Write/Edit tools or shell append flows. When a durable artifact is requested, prefer `wunderkind_write_artifact` immediately instead of retrying with Edit. Never use the Edit tool 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
|
-
|
|
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
|
-
-
|
|
23
|
-
-
|
|
24
|
-
- Only
|
|
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 Wunderkind's bounded durable-artifact writer for allowed `.sisyphus/notepads/` and `.sisyphus/evidence/` paths instead of generic Write/Edit tools or shell append flows. When a durable artifact is requested, prefer `wunderkind_write_artifact` immediately instead of retrying with Edit. Never use the Edit tool 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
|
-
|
|
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
|
-
-
|
|
22
|
-
-
|
|
23
|
-
- Only
|
|
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 Wunderkind's bounded durable-artifact writer for allowed `.sisyphus/notepads/` and `.sisyphus/evidence/` paths instead of generic Write/Edit tools or shell append flows. When a durable artifact is requested, prefer `wunderkind_write_artifact` immediately instead of retrying with Edit. Never use the Edit tool on notepad or evidence files.
|
|
280
279
|
|
|
281
280
|
---
|
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.
|
|
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>
|
|
@@ -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,
|
|
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 Wunderkind's bounded durable-artifact writer for allowed \`.sisyphus/notepads/\` and \`.sisyphus/evidence/\` paths instead of generic Write/Edit tools or shell append flows. When a durable artifact is requested, prefer \`wunderkind_write_artifact\` immediately instead of retrying with Edit. Never use the Edit tool 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
|
-
|
|
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
|
-
-
|
|
25
|
-
-
|
|
26
|
-
- Only
|
|
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
|
|
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;;;2ZAG6X,CAAA;AAC3Z,CAAC;AAED,MAAM,UAAU,2BAA2B;IACzC,OAAO;;;;;;;;oNAQ2M,CAAA;AACpN,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,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,6 +1,6 @@
|
|
|
1
1
|
export declare const DURABLE_ARTIFACT_TOOL_NAME: "wunderkind_write_artifact";
|
|
2
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";
|
|
3
|
+
export type DurableArtifactKind = "prd" | "plan" | "issue" | "draft" | "docs-output" | "design-md" | "notepad" | "evidence";
|
|
4
4
|
export interface DurableArtifactWriteRequest {
|
|
5
5
|
agentKey: DurableArtifactAgentKey;
|
|
6
6
|
kind: DurableArtifactKind;
|
|
@@ -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;
|
|
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,GAC1G,UAAU,CAAA;AAEd,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;AAuOD,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,2BAA2B,EACpC,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,2BAA2B,GACpC,0BAA0B,CAiE5B;AAED,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAEnE"}
|
package/dist/artifact-writer.js
CHANGED
|
@@ -64,18 +64,26 @@ function getAllowedArtifactRoots(agentKey, docsOutputRoot) {
|
|
|
64
64
|
directoryLane(".sisyphus/issues"),
|
|
65
65
|
directoryLane(".sisyphus/drafts"),
|
|
66
66
|
directoryLane(".sisyphus/notepads"),
|
|
67
|
+
directoryLane(".sisyphus/evidence"),
|
|
67
68
|
directoryLane(docsOutputRoot),
|
|
68
69
|
];
|
|
69
70
|
case "creative-director":
|
|
70
|
-
return [
|
|
71
|
+
return [
|
|
72
|
+
exactFileLane("DESIGN.md"),
|
|
73
|
+
directoryLane(".wunderkind/stitch"),
|
|
74
|
+
directoryLane(".sisyphus/notepads"),
|
|
75
|
+
directoryLane(".sisyphus/evidence"),
|
|
76
|
+
directoryLane(docsOutputRoot),
|
|
77
|
+
];
|
|
71
78
|
case "marketing-wunderkind":
|
|
72
|
-
return [directoryLane(docsOutputRoot), directoryLane(".sisyphus/notepads")];
|
|
79
|
+
return [directoryLane(docsOutputRoot), directoryLane(".sisyphus/notepads"), directoryLane(".sisyphus/evidence")];
|
|
73
80
|
case "ciso":
|
|
74
|
-
return [directoryLane(docsOutputRoot), directoryLane(".sisyphus/notepads")];
|
|
81
|
+
return [directoryLane(docsOutputRoot), directoryLane(".sisyphus/notepads"), directoryLane(".sisyphus/evidence")];
|
|
75
82
|
case "fullstack-wunderkind":
|
|
76
83
|
return [
|
|
77
84
|
directoryLane(docsOutputRoot),
|
|
78
85
|
directoryLane(".sisyphus/notepads"),
|
|
86
|
+
directoryLane(".sisyphus/evidence"),
|
|
79
87
|
directoryLane(".sisyphus/prds"),
|
|
80
88
|
directoryLane(".sisyphus/plans"),
|
|
81
89
|
directoryLane(".sisyphus/issues"),
|
|
@@ -83,9 +91,12 @@ function getAllowedArtifactRoots(agentKey, docsOutputRoot) {
|
|
|
83
91
|
directoryLane(".wunderkind/stitch"),
|
|
84
92
|
];
|
|
85
93
|
case "legal-counsel":
|
|
86
|
-
return [directoryLane(".sisyphus/notepads")];
|
|
94
|
+
return [directoryLane(".sisyphus/notepads"), directoryLane(".sisyphus/evidence")];
|
|
87
95
|
}
|
|
88
96
|
}
|
|
97
|
+
function appendOnlyArtifactKinds(kind) {
|
|
98
|
+
return kind === "notepad" || kind === "evidence";
|
|
99
|
+
}
|
|
89
100
|
function isAllowedArtifactPath(agentKey, normalizedRelativePath, docsOutputRoot) {
|
|
90
101
|
return getAllowedArtifactRoots(agentKey, docsOutputRoot).some((allowedLane) => {
|
|
91
102
|
if (allowedLane.exactFile) {
|
|
@@ -162,6 +173,9 @@ function validateArtifactKind(agentKey, kind, normalizedRelativePath, docsOutput
|
|
|
162
173
|
if (kind === "notepad" && !normalizedRelativePath.startsWith(".sisyphus/notepads/")) {
|
|
163
174
|
throw new Error("notepad artifacts must stay under .sisyphus/notepads/");
|
|
164
175
|
}
|
|
176
|
+
if (kind === "evidence" && !normalizedRelativePath.startsWith(".sisyphus/evidence/")) {
|
|
177
|
+
throw new Error("evidence artifacts must stay under .sisyphus/evidence/");
|
|
178
|
+
}
|
|
165
179
|
}
|
|
166
180
|
export function writeDurableArtifact(request, cwd, options) {
|
|
167
181
|
const normalizedRelativePath = ensureSafeRelativePath(request.relativePath);
|
|
@@ -207,7 +221,10 @@ export function writeDurableArtifact(request, cwd, options) {
|
|
|
207
221
|
throw new Error("durable artifact path must point to a file, not a directory");
|
|
208
222
|
}
|
|
209
223
|
const created = !existsSync(finalAbsolutePath);
|
|
210
|
-
|
|
224
|
+
const nextContent = appendOnlyArtifactKinds(request.kind) && existsSync(finalAbsolutePath)
|
|
225
|
+
? `${readFileSync(finalAbsolutePath, "utf-8")}${request.content}`
|
|
226
|
+
: request.content;
|
|
227
|
+
writeFileSync(finalAbsolutePath, nextContent, "utf-8");
|
|
211
228
|
return {
|
|
212
229
|
absolutePath: finalAbsolutePath,
|
|
213
230
|
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,GAAG,2BAAoC,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,wBAAwB,EAAE,MAAM,yBAAyB,CAAA;AAClE,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAA;AAEzE,MAAM,CAAC,MAAM,0BAA0B,GAAG,2BAAoC,CAAA;AA8B9E,MAAM,+BAA+B,GAAG,IAAI,GAAG,CAA0B,wBAAwB,EAA+B,C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AAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC;YACnE,MAAM,KAAK,CAAA;QACb,CAAC;IACH,CAAC;IAED,IAAI,UAAU,CAAC,iBAAiB,CAAC,IAAI,QAAQ,CAAC,iBAAiB,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC;QAC/E,MAAM,IAAI,KAAK,CAAC,6DAA6D,CAAC,CAAA;IAChF,CAAC;IAED,MAAM,OAAO,GAAG,CAAC,UAAU,CAAC,iBAAiB,CAAC,CAAA;IAC9C,MAAM,WAAW,GAAG,uBAAuB,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,UAAU,CAAC,iBAAiB,CAAC;QACxF,CAAC,CAAC,GAAG,YAAY,CAAC,iBAAiB,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,OAAO,EAAE;QACjE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAA;IACnB,aAAa,CAAC,iBAAiB,EAAE,WAAW,EAAE,OAAO,CAAC,CAAA;IAEtD,OAAO;QACL,YAAY,EAAE,iBAAiB;QAC/B,YAAY,EAAE,sBAAsB;QACpC,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/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,MAkKvB,CAAA;AAED,OAAO,EAAE,gBAAgB,IAAI,OAAO,EAAE,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -112,7 +112,7 @@ 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
|
|
115
|
+
description: "Write a durable Wunderkind artifact within an agent-specific bounded lane such as .sisyphus PRDs/plans/issues/drafts, append-only notepads/evidence, docs-output files, DESIGN.md, or Stitch support files.",
|
|
116
116
|
args: {
|
|
117
117
|
agentKey: tool.schema.enum([
|
|
118
118
|
"marketing-wunderkind",
|
|
@@ -122,7 +122,7 @@ const WunderkindPlugin = async (_input) => {
|
|
|
122
122
|
"ciso",
|
|
123
123
|
"legal-counsel",
|
|
124
124
|
]),
|
|
125
|
-
kind: tool.schema.enum(["prd", "plan", "issue", "draft", "docs-output", "design-md", "notepad"]),
|
|
125
|
+
kind: tool.schema.enum(["prd", "plan", "issue", "draft", "docs-output", "design-md", "notepad", "evidence"]),
|
|
126
126
|
relativePath: tool.schema.string().min(1),
|
|
127
127
|
content: tool.schema.string(),
|
|
128
128
|
},
|
|
@@ -131,16 +131,6 @@ const WunderkindPlugin = async (_input) => {
|
|
|
131
131
|
const durableArtifactOptions = typeof wunderkindConfig?.docsPath === "string"
|
|
132
132
|
? { docsPath: wunderkindConfig.docsPath }
|
|
133
133
|
: 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
134
|
const result = writeDurableArtifact(args, context.directory, durableArtifactOptions);
|
|
145
135
|
context.metadata({
|
|
146
136
|
title: `Durable artifact written: ${result.relativePath}`,
|
|
@@ -261,7 +251,7 @@ Legacy delegation shorthand remains valid: Use marketing-wunderkind for GTM, bra
|
|
|
261
251
|
|
|
262
252
|
- Use \`task(...)\` for retained-agent or subagent delegation; always include explicit \`load_skills\` and \`run_in_background\`.
|
|
263
253
|
- Use \`skill(name="...")\` for shipped skills and sub-skills.
|
|
264
|
-
|
|
254
|
+
- Use \`${DURABLE_ARTIFACT_TOOL_NAME}(...)\` for bounded durable artifact writes such as PRDs, plans, issues, drafts, append-only notepads/evidence, docs-output lanes, DESIGN.md, and allowed Stitch support files.
|
|
265
255
|
|
|
266
256
|
### Project Configuration
|
|
267
257
|
|
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,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
"version": "0.14.
|
|
3
|
+
"version": "0.14.1",
|
|
4
4
|
"description": "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",
|