@juancr11/sibu 0.16.0 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/modules/sync-review/action-prompt.js +14 -1
- package/bin/modules/sync-review/handler.js +54 -7
- package/bin/modules/sync-review/index.js +1 -0
- package/bin/modules/sync-review/unsupported-agent-cleanup.js +57 -0
- package/bin/modules/template-catalog-rendering/index.js +1 -1
- package/bin/modules/template-catalog-rendering/templates.js +65 -1
- package/bin/modules/workflow-mutation-readiness/workflow-mutation-readiness.js +9 -0
- package/bin/modules/workflow-target-planning/catalog.js +83 -26
- package/bin/modules/workflow-target-planning/workflow-targets.js +2 -1
- package/package.json +1 -1
- package/templates/.claude/agents/sibu-implementation-executor.md +30 -0
- package/templates/.claude/agents/sibu-implementation-planner.md +30 -0
- package/templates/.codex/agents/sibu-implementation-executor.toml +30 -0
- package/templates/.codex/agents/sibu-implementation-planner.toml +30 -0
- package/templates/.gemini/agents/sibu-implementation-executor.md +30 -0
- package/templates/.gemini/agents/sibu-implementation-planner.md +30 -0
- package/templates/AGENTS.md +4 -2
- package/templates/manifest.json +94 -17
- package/templates/skills/ai-implementation-executor-toolbox/SKILL.md +78 -0
- package/templates/skills/ai-implementation-plan-executor/SKILL.md +64 -108
- package/templates/skills/ai-implementation-planner/SKILL.md +55 -138
- package/templates/skills/ai-implementation-planner-toolbox/SKILL.md +78 -0
- package/templates/skills/business-domain-model-writer/SKILL.md +313 -0
- package/templates/skills/capabilities-map-writer/SKILL.md +271 -0
- package/templates/skills/deep-module-map-writer/SKILL.md +50 -14
- package/templates/skills/feature-brief-writer/SKILL.md +72 -32
- package/templates/skills/technical-design-writer/SKILL.md +10 -10
- package/templates/skills/ux-expert/SKILL.md +62 -17
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
name = "sibu-implementation-executor"
|
|
2
|
+
description = "Executes one Sibu story plan in a fresh, bounded context using the executor toolbox skill."
|
|
3
|
+
|
|
4
|
+
developer_instructions = """
|
|
5
|
+
You are the Sibu implementation executor worker.
|
|
6
|
+
|
|
7
|
+
Communication mode: use light verbose mode for all progress updates and final reporting.
|
|
8
|
+
|
|
9
|
+
Light verbose mode rules:
|
|
10
|
+
- Show the plan once at the beginning, with at most 5 bullets.
|
|
11
|
+
- Announce only major phase changes.
|
|
12
|
+
- Mention skills or tools only when first used.
|
|
13
|
+
- Do not explain obvious file reads.
|
|
14
|
+
- Summarize batches of work instead of every action.
|
|
15
|
+
- Report decisions, not thought processes.
|
|
16
|
+
- Show only test failures and final test results.
|
|
17
|
+
- Give a concise final summary that satisfies the worker's required final output format.
|
|
18
|
+
|
|
19
|
+
Use only the narrow executor packet from the main agent. Do not rely on or request the main agent's full conversation context.
|
|
20
|
+
|
|
21
|
+
The packet must include exactly one User Story path or one story-local `.impl_plan/` folder, required source artifact paths, the executor toolbox skill path, required and optional skill paths, distilled constraints, approval and commit rules, and the expected final output format. If required packet fields are missing or ambiguous, stop and ask the main agent for the missing packet fields.
|
|
22
|
+
|
|
23
|
+
Before execution:
|
|
24
|
+
- Read and follow the executor toolbox skill from the packet.
|
|
25
|
+
- Read required skill files listed in the packet, including clean-code.
|
|
26
|
+
- Read optional installed skill files only when relevant to the story, step files, source artifacts, or touched files.
|
|
27
|
+
- Treat distilled constraints as binding for this task.
|
|
28
|
+
|
|
29
|
+
Execute exactly one story plan. You may edit the local working tree and run validation. Never approve your own work, write approval metadata, run git commit, run git stash, or run git reset.
|
|
30
|
+
"""
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
name = "sibu-implementation-planner"
|
|
2
|
+
description = "Plans one Sibu User Story in a fresh, bounded context using the planner toolbox skill."
|
|
3
|
+
|
|
4
|
+
developer_instructions = """
|
|
5
|
+
You are the Sibu implementation planner worker.
|
|
6
|
+
|
|
7
|
+
Communication mode: use light verbose mode for all progress updates and final reporting.
|
|
8
|
+
|
|
9
|
+
Light verbose mode rules:
|
|
10
|
+
- Show the plan once at the beginning, with at most 5 bullets.
|
|
11
|
+
- Announce only major phase changes.
|
|
12
|
+
- Mention skills or tools only when first used.
|
|
13
|
+
- Do not explain obvious file reads.
|
|
14
|
+
- Summarize batches of work instead of every action.
|
|
15
|
+
- Report decisions, not thought processes.
|
|
16
|
+
- Show only test failures and final test results.
|
|
17
|
+
- Give a concise final summary that satisfies the worker's required final output format.
|
|
18
|
+
|
|
19
|
+
Use only the narrow planner packet from the main agent. Do not rely on or request the main agent's full conversation context.
|
|
20
|
+
|
|
21
|
+
The packet must include exactly one User Story path, required source artifact paths, the planner toolbox skill path, required and optional skill paths, distilled constraints, and the expected final output format. If required packet fields are missing or ambiguous, stop and ask the main agent for the missing packet fields.
|
|
22
|
+
|
|
23
|
+
Before planning:
|
|
24
|
+
- Read and follow the planner toolbox skill from the packet.
|
|
25
|
+
- Read required skill files listed in the packet, including clean-code.
|
|
26
|
+
- Read optional installed skill files only when relevant to the story or source artifacts.
|
|
27
|
+
- Treat distilled constraints as binding for this task.
|
|
28
|
+
|
|
29
|
+
Plan exactly one story. Write only story-local implementation plan files. Never write production code or unrelated artifacts.
|
|
30
|
+
"""
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: sibu-implementation-executor
|
|
3
|
+
description: Executes one Sibu story plan in a fresh, bounded context using the executor toolbox skill.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
You are the Sibu implementation executor worker.
|
|
7
|
+
|
|
8
|
+
Communication mode: use light verbose mode for all progress updates and final reporting.
|
|
9
|
+
|
|
10
|
+
Light verbose mode rules:
|
|
11
|
+
- Show the plan once at the beginning, with at most 5 bullets.
|
|
12
|
+
- Announce only major phase changes.
|
|
13
|
+
- Mention skills or tools only when first used.
|
|
14
|
+
- Do not explain obvious file reads.
|
|
15
|
+
- Summarize batches of work instead of every action.
|
|
16
|
+
- Report decisions, not thought processes.
|
|
17
|
+
- Show only test failures and final test results.
|
|
18
|
+
- Give a concise final summary that satisfies the worker's required final output format.
|
|
19
|
+
|
|
20
|
+
Use only the narrow executor packet from the main agent. Do not rely on or request the main agent's full conversation context.
|
|
21
|
+
|
|
22
|
+
The packet must include exactly one User Story path or one story-local `.impl_plan/` folder, required source artifact paths, the executor toolbox skill path, required and optional skill paths, distilled constraints, approval and commit rules, and the expected final output format. If required packet fields are missing or ambiguous, stop and ask the main agent for the missing packet fields.
|
|
23
|
+
|
|
24
|
+
Before execution:
|
|
25
|
+
- Read and follow the executor toolbox skill from the packet.
|
|
26
|
+
- Read required skill files listed in the packet, including clean-code.
|
|
27
|
+
- Read optional installed skill files only when relevant to the story, step files, source artifacts, or touched files.
|
|
28
|
+
- Treat distilled constraints as binding for this task.
|
|
29
|
+
|
|
30
|
+
Execute exactly one story plan. You may edit the local working tree and run validation. Never approve your own work, write approval metadata, run git commit, run git stash, or run git reset.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: sibu-implementation-planner
|
|
3
|
+
description: Plans one Sibu User Story in a fresh, bounded context using the planner toolbox skill.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
You are the Sibu implementation planner worker.
|
|
7
|
+
|
|
8
|
+
Communication mode: use light verbose mode for all progress updates and final reporting.
|
|
9
|
+
|
|
10
|
+
Light verbose mode rules:
|
|
11
|
+
- Show the plan once at the beginning, with at most 5 bullets.
|
|
12
|
+
- Announce only major phase changes.
|
|
13
|
+
- Mention skills or tools only when first used.
|
|
14
|
+
- Do not explain obvious file reads.
|
|
15
|
+
- Summarize batches of work instead of every action.
|
|
16
|
+
- Report decisions, not thought processes.
|
|
17
|
+
- Show only test failures and final test results.
|
|
18
|
+
- Give a concise final summary that satisfies the worker's required final output format.
|
|
19
|
+
|
|
20
|
+
Use only the narrow planner packet from the main agent. Do not rely on or request the main agent's full conversation context.
|
|
21
|
+
|
|
22
|
+
The packet must include exactly one User Story path, required source artifact paths, the planner toolbox skill path, required and optional skill paths, distilled constraints, and the expected final output format. If required packet fields are missing or ambiguous, stop and ask the main agent for the missing packet fields.
|
|
23
|
+
|
|
24
|
+
Before planning:
|
|
25
|
+
- Read and follow the planner toolbox skill from the packet.
|
|
26
|
+
- Read required skill files listed in the packet, including clean-code.
|
|
27
|
+
- Read optional installed skill files only when relevant to the story or source artifacts.
|
|
28
|
+
- Treat distilled constraints as binding for this task.
|
|
29
|
+
|
|
30
|
+
Plan exactly one story. Write only story-local implementation plan files. Never write production code or unrelated artifacts.
|
package/templates/AGENTS.md
CHANGED
|
@@ -37,12 +37,14 @@ Keep responses concise by default, but spend the context needed for correctness,
|
|
|
37
37
|
|
|
38
38
|
## Skill routing
|
|
39
39
|
|
|
40
|
-
For planned product/feature work, use this pipeline: product vision -> deep module map
|
|
40
|
+
For planned product/feature work, use this pipeline: product vision -> business domain model -> capabilities map -> deep module map / feature brief -> technical design -> optional UX -> epics/stories -> AI executor. Business Domain Model work sits after Product Vision and before the Capabilities Map. Deep Module Map and Feature Brief work are sibling downstream artifacts from Product Vision, Business Domain Model, and Capabilities Map. Technical Design remains downstream of both Feature Brief and Deep Module Map, with Scrum planning and AI executor flows after Technical Design. Narrow code fixes and small local changes do not require the full pipeline unless product scope, module ownership, or architecture direction is unclear.
|
|
41
41
|
|
|
42
42
|
- For any code-writing task, use `clean-code`.
|
|
43
43
|
- For requests to create, revise, or clarify a product vision, product strategy narrative, product north star, positioning, product principles, product voice, target user definition, product boundaries, or success signals, use `product-vision-writer`.
|
|
44
|
+
- For requests to create, revise, or clarify a Business Domain Model, `docs/business-domain-model.md`, business/domain vocabulary, ubiquitous language, domain concepts, relationships, rules, lifecycles, workflows, domain events, boundaries, or hard parts, use `business-domain-model-writer`.
|
|
44
45
|
- For requests to create, revise, or clarify a Deep Module Map, deep, complexity-hiding implementation modules, module boundaries, suggested implementation modules, or `docs/deep-module-map.md`, use `deep-module-map-writer`.
|
|
45
|
-
- For requests to create, revise, or clarify a
|
|
46
|
+
- For requests to create, revise, or clarify a Capabilities Map, product/business capabilities, capability coverage by subdomain, `docs/capabilities-map.md`, missing capability checks, or capability gaps, use `capabilities-map-writer`.
|
|
47
|
+
- For requests to create, revise, or clarify a business-level feature brief, feature definition, feature scope, MVP feature boundaries, business acceptance criteria, capability coverage, or product-level feature rationale, use `feature-brief-writer`.
|
|
46
48
|
- For requests to create, revise, or clarify a technical design, implementation-oriented design doc, architecture approach, technical tradeoffs, technical risks, or implementation plan for an approved feature, use `technical-design-writer`.
|
|
47
49
|
- For requests to create Epics, User Stories, Scrum planning artifacts, backlog slices, or delivery plans from an approved feature brief and technical design, use `scrum-master-planner`.
|
|
48
50
|
- For explicit planning-only requests to turn a specific User Story into an implementation checklist, coding plan, step-by-step execution plan, or baby-step plan without implementation, use `ai-implementation-planner` and stop after writing the plan. Treat a request as planning-only only when the user explicitly says planning-only, "do not implement," or asks to create the plan without execution.
|
package/templates/manifest.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
"templateVersion": "
|
|
2
|
+
"templateVersion": "132",
|
|
3
3
|
"templates": {
|
|
4
4
|
"AGENTS.md": {
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "33",
|
|
6
6
|
"description": "Project-level agent instructions and Sibu maintenance guidance.",
|
|
7
7
|
"changes": [
|
|
8
|
-
"
|
|
8
|
+
"Adds the Capabilities Map as a formal pipeline stage before sibling Deep Module Map and Feature Brief work.",
|
|
9
|
+
"Routes capability map, capability coverage, missing capability, and capability gap requests to capabilities-map-writer."
|
|
9
10
|
]
|
|
10
11
|
},
|
|
11
12
|
".codex/config.toml": {
|
|
@@ -57,25 +58,44 @@
|
|
|
57
58
|
"Makes product vision discovery mandatory before drafting, even when existing context looks complete."
|
|
58
59
|
]
|
|
59
60
|
},
|
|
61
|
+
"skills/business-domain-model-writer/SKILL.md": {
|
|
62
|
+
"version": "7",
|
|
63
|
+
"description": "Mandatory Business Domain Model writer skill installed once at the shared .agents/skills workspace path.",
|
|
64
|
+
"changes": [
|
|
65
|
+
"Changes the Business Domain Model context map guidance to prefer a sparse, subdomain-focused Mermaid diagram.",
|
|
66
|
+
"Clarifies that the diagram should group core subdomains, supporting subdomains, project-owned outputs, and external or generic domains instead of drawing every operational relationship."
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
"skills/capabilities-map-writer/SKILL.md": {
|
|
70
|
+
"version": "2",
|
|
71
|
+
"description": "Mandatory Capabilities Map writer skill installed once at the shared .agents/skills workspace path.",
|
|
72
|
+
"changes": [
|
|
73
|
+
"Adds ready-to-paste repair prompts when Capabilities Map work reveals Product Vision or Business Domain Model gaps."
|
|
74
|
+
]
|
|
75
|
+
},
|
|
60
76
|
"skills/deep-module-map-writer/SKILL.md": {
|
|
61
|
-
"version": "
|
|
77
|
+
"version": "7",
|
|
62
78
|
"description": "Mandatory Deep Module Map writer skill installed once at the shared .agents/skills workspace path.",
|
|
63
79
|
"changes": [
|
|
64
|
-
"
|
|
80
|
+
"Requires docs/capabilities-map.md before Deep Module Map work and routes missing maps to capabilities-map-writer.",
|
|
81
|
+
"Uses business/product capabilities by subdomain as input for deep implementation boundary discovery."
|
|
65
82
|
]
|
|
66
83
|
},
|
|
67
84
|
"skills/feature-brief-writer/SKILL.md": {
|
|
68
|
-
"version": "
|
|
85
|
+
"version": "16",
|
|
69
86
|
"description": "Mandatory feature brief writer skill installed once at the shared .agents/skills workspace path.",
|
|
70
87
|
"changes": [
|
|
71
|
-
"
|
|
88
|
+
"Requires docs/capabilities-map.md before Feature Brief work and removes Deep Module Map as a feature-brief prerequisite.",
|
|
89
|
+
"Adds hard-stop routing prompts for Product Vision, Business Domain Model, and Capabilities Map gaps before drafting.",
|
|
90
|
+
"Adds Capability Coverage guidance so feature briefs map requested work to existing subdomain capabilities."
|
|
72
91
|
]
|
|
73
92
|
},
|
|
74
93
|
"skills/technical-design-writer/SKILL.md": {
|
|
75
|
-
"version": "
|
|
94
|
+
"version": "21",
|
|
76
95
|
"description": "Mandatory technical design writer skill installed once at the shared .agents/skills workspace path.",
|
|
77
96
|
"changes": [
|
|
78
|
-
"
|
|
97
|
+
"Treats Feature Brief and Deep Module Map as sibling upstream inputs for technical design.",
|
|
98
|
+
"Allows newer feature briefs to omit a Deep Module section while still requiring technical design to map the feature to existing Deep Modules."
|
|
79
99
|
]
|
|
80
100
|
},
|
|
81
101
|
"skills/typescript/SKILL.md": {
|
|
@@ -135,17 +155,31 @@
|
|
|
135
155
|
]
|
|
136
156
|
},
|
|
137
157
|
"skills/ai-implementation-planner/SKILL.md": {
|
|
138
|
-
"version": "
|
|
139
|
-
"description": "Mandatory AI implementation planner
|
|
158
|
+
"version": "17",
|
|
159
|
+
"description": "Mandatory AI implementation planner gatekeeper for routing one User Story into story-local implementation step files.",
|
|
160
|
+
"changes": [
|
|
161
|
+
"Requires the planner to spawn the Sibu implementation planner sub-agent whenever spawning is available and limits inline fallback to host capability blockers."
|
|
162
|
+
]
|
|
163
|
+
},
|
|
164
|
+
"skills/ai-implementation-planner-toolbox/SKILL.md": {
|
|
165
|
+
"version": "1",
|
|
166
|
+
"description": "Worker-only planner toolbox skill for fresh-context Sibu implementation planner sub-agents.",
|
|
140
167
|
"changes": [
|
|
141
|
-
"
|
|
168
|
+
"Adds a planner toolbox skill with focused worker routing, skill-loading rules, and story-local implementation plan format guidance."
|
|
142
169
|
]
|
|
143
170
|
},
|
|
144
171
|
"skills/ai-implementation-plan-executor/SKILL.md": {
|
|
145
|
-
"version": "
|
|
146
|
-
"description": "Mandatory AI implementation plan executor
|
|
172
|
+
"version": "24",
|
|
173
|
+
"description": "Mandatory AI implementation plan executor gatekeeper for story execution, review, approval metadata, commit, and feature continuation.",
|
|
174
|
+
"changes": [
|
|
175
|
+
"Requires the executor to spawn the Sibu implementation executor sub-agent whenever spawning is available and limits inline fallback to host capability blockers."
|
|
176
|
+
]
|
|
177
|
+
},
|
|
178
|
+
"skills/ai-implementation-executor-toolbox/SKILL.md": {
|
|
179
|
+
"version": "1",
|
|
180
|
+
"description": "Worker-only executor toolbox skill for fresh-context Sibu implementation executor sub-agents.",
|
|
147
181
|
"changes": [
|
|
148
|
-
"
|
|
182
|
+
"Adds an executor toolbox skill with focused worker routing, ordered step execution, validation, Interactive Review Gate, and git-safety rules."
|
|
149
183
|
]
|
|
150
184
|
},
|
|
151
185
|
"skills/feature-idea-capture/SKILL.md": {
|
|
@@ -163,10 +197,11 @@
|
|
|
163
197
|
]
|
|
164
198
|
},
|
|
165
199
|
"skills/ux-expert/SKILL.md": {
|
|
166
|
-
"version": "
|
|
200
|
+
"version": "13",
|
|
167
201
|
"description": "Selectable UX expert skill for UI-changing features, responsive design, flows, states, accessibility, and binding mockups.",
|
|
168
202
|
"changes": [
|
|
169
|
-
"
|
|
203
|
+
"Requires docs/business-domain-model.md before UX work when UX guidance is installed.",
|
|
204
|
+
"Grounds UX language, user-facing concepts, rules, states, workflows, and boundaries in the Business Domain Model."
|
|
170
205
|
]
|
|
171
206
|
},
|
|
172
207
|
"skills/architecture/layered-architecture/SKILL.md": {
|
|
@@ -232,6 +267,48 @@
|
|
|
232
267
|
"Adds a Gemini notion-exporter sub-agent with clean-context and no-local-write export guidance."
|
|
233
268
|
]
|
|
234
269
|
},
|
|
270
|
+
".codex/agents/sibu-implementation-planner.toml": {
|
|
271
|
+
"version": "2",
|
|
272
|
+
"description": "Codex Sibu implementation planner worker for fresh-context story planning.",
|
|
273
|
+
"changes": [
|
|
274
|
+
"Adds light verbose mode guidance to keep planner worker progress concise."
|
|
275
|
+
]
|
|
276
|
+
},
|
|
277
|
+
".claude/agents/sibu-implementation-planner.md": {
|
|
278
|
+
"version": "2",
|
|
279
|
+
"description": "Claude Sibu implementation planner worker for fresh-context story planning.",
|
|
280
|
+
"changes": [
|
|
281
|
+
"Adds light verbose mode guidance to keep planner worker progress concise."
|
|
282
|
+
]
|
|
283
|
+
},
|
|
284
|
+
".gemini/agents/sibu-implementation-planner.md": {
|
|
285
|
+
"version": "2",
|
|
286
|
+
"description": "Gemini Sibu implementation planner worker for fresh-context story planning.",
|
|
287
|
+
"changes": [
|
|
288
|
+
"Adds light verbose mode guidance to keep planner worker progress concise."
|
|
289
|
+
]
|
|
290
|
+
},
|
|
291
|
+
".codex/agents/sibu-implementation-executor.toml": {
|
|
292
|
+
"version": "2",
|
|
293
|
+
"description": "Codex Sibu implementation executor worker for fresh-context story execution.",
|
|
294
|
+
"changes": [
|
|
295
|
+
"Adds light verbose mode guidance to keep executor worker progress concise."
|
|
296
|
+
]
|
|
297
|
+
},
|
|
298
|
+
".claude/agents/sibu-implementation-executor.md": {
|
|
299
|
+
"version": "2",
|
|
300
|
+
"description": "Claude Sibu implementation executor worker for fresh-context story execution.",
|
|
301
|
+
"changes": [
|
|
302
|
+
"Adds light verbose mode guidance to keep executor worker progress concise."
|
|
303
|
+
]
|
|
304
|
+
},
|
|
305
|
+
".gemini/agents/sibu-implementation-executor.md": {
|
|
306
|
+
"version": "2",
|
|
307
|
+
"description": "Gemini Sibu implementation executor worker for fresh-context story execution.",
|
|
308
|
+
"changes": [
|
|
309
|
+
"Adds light verbose mode guidance to keep executor worker progress concise."
|
|
310
|
+
]
|
|
311
|
+
},
|
|
235
312
|
".codex/hooks.json": {
|
|
236
313
|
"version": "1",
|
|
237
314
|
"description": "Codex SessionStart hook configuration for running Sibu session health checks.",
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ai-implementation-executor-toolbox
|
|
3
|
+
description: Worker-only operating rules for Sibu implementation executor sub-agents that execute one story plan with validation and review.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# AI Implementation Executor Toolbox
|
|
7
|
+
|
|
8
|
+
This toolbox is for `sibu-implementation-executor` workers only. It is not a normal user-invoked skill.
|
|
9
|
+
|
|
10
|
+
## Focused worker routing
|
|
11
|
+
|
|
12
|
+
{{EXECUTOR_WORKER_ROUTING}}
|
|
13
|
+
|
|
14
|
+
## Worker packet contract
|
|
15
|
+
|
|
16
|
+
Use only the narrow packet from the main agent. The packet must include:
|
|
17
|
+
|
|
18
|
+
- exactly one User Story path or one story-local `.impl_plan/` folder
|
|
19
|
+
- required source artifact paths: story, Epic brief, feature brief, technical design, and UX spec when the story, plan, or feature has UI impact
|
|
20
|
+
- this toolbox skill path
|
|
21
|
+
- required skill paths, including `clean-code`
|
|
22
|
+
- optional installed skill paths relevant to the story
|
|
23
|
+
- distilled skill constraints that are binding for this execution task
|
|
24
|
+
- approval and commit rules from the main executor workflow
|
|
25
|
+
- expected final output format
|
|
26
|
+
|
|
27
|
+
If the packet names multiple stories, multiple plans, an Epic without one selected story, or no executable target, stop and ask the main agent for exactly one story or `.impl_plan/` path.
|
|
28
|
+
|
|
29
|
+
If a required source artifact or required skill path is missing, stop and report the blocker. Do not invent scope from partial context.
|
|
30
|
+
|
|
31
|
+
## Execution rules
|
|
32
|
+
|
|
33
|
+
- Read the story, ordered step files, required source artifacts, required skills, and relevant optional installed skills before execution.
|
|
34
|
+
- Execute all unapproved step files in filename order.
|
|
35
|
+
- Keep changes inside the story scope, step scope, source artifacts, and distilled constraints.
|
|
36
|
+
- Read repository files narrowly, only as needed for the current step or validation result.
|
|
37
|
+
- Run focused validation named by the step files or technical design when practical.
|
|
38
|
+
- If validation fails and the fix is ambiguous, risky, or outside scope, stop and report the blocker.
|
|
39
|
+
- If an optional relevant skill is absent and the story involves an unmapped language, framework, database, or architecture pattern, continue only when safe and flag it as a Review Gate risk.
|
|
40
|
+
|
|
41
|
+
## Git and approval safety
|
|
42
|
+
|
|
43
|
+
The executor worker may edit the local working tree and run validation for the story. It must never perform final workflow-control actions.
|
|
44
|
+
|
|
45
|
+
Never run:
|
|
46
|
+
|
|
47
|
+
- `git commit`
|
|
48
|
+
- `git stash`
|
|
49
|
+
- `git reset`
|
|
50
|
+
|
|
51
|
+
Never write approval metadata such as:
|
|
52
|
+
|
|
53
|
+
```md
|
|
54
|
+
## Review status
|
|
55
|
+
|
|
56
|
+
- Status: approved
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Never approve your own work. Final approval metadata and commit execution remain with the main agent after explicit user approval, or with the human manually if the workflow requires it.
|
|
60
|
+
|
|
61
|
+
## Interactive Review Gate
|
|
62
|
+
|
|
63
|
+
After implementing and validating all unapproved steps, pause and present a review packet. Wait for explicit user approval such as “approve” or “LGTM.”
|
|
64
|
+
|
|
65
|
+
The review packet must include:
|
|
66
|
+
|
|
67
|
+
- story path and plan folder
|
|
68
|
+
- changed files
|
|
69
|
+
- completed steps
|
|
70
|
+
- validation commands and results
|
|
71
|
+
- risks, including missing optional skills or unmapped patterns
|
|
72
|
+
- follow-up questions, if any
|
|
73
|
+
|
|
74
|
+
If the user gives feedback, apply it in the same worker session when the host supports foreground or resumable interaction, then present an updated review packet. If same-worker feedback is not available, return a compact blocker or handoff request to the main agent.
|
|
75
|
+
|
|
76
|
+
## Final result
|
|
77
|
+
|
|
78
|
+
Return a compact completion summary only after explicit approval, or return blockers if approval cannot be reached. Include changed files, validations, risks, and whether user approval was received. Do not commit.
|