@juancr11/sibu 0.9.5 → 0.9.7
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/package.json
CHANGED
package/templates/AGENTS.md
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
## Agent-specific instructions
|
|
15
15
|
|
|
16
16
|
- Before any task that writes or modifies code, propose a brief plan and wait for user confirmation once per requested task.
|
|
17
|
+
- Exception: when the user asks to plan, implement, execute, continue, or work through a User Story or Epic with `ai-implementation-plan-executor`, that request is confirmation to generate any missing implementation plan and begin execution immediately. Do not require a separate plan approval gate; wait only for the story-level review after implementation finishes.
|
|
17
18
|
- For read-only work, research, planning, documentation-only edits, or other non-code changes, do not ask for confirmation unless the action is destructive, risky, ambiguous, or explicitly requires user approval.
|
|
18
19
|
- After confirmation, proceed with all agreed in-scope changes without re-asking.
|
|
19
20
|
- Ask again only if the scope changes materially, the approach becomes materially more complex or risky, or the user explicitly asks to review before continuing.
|
|
@@ -36,7 +37,7 @@ Keep responses concise by default, but spend the context needed for correctness,
|
|
|
36
37
|
|
|
37
38
|
## Skill routing
|
|
38
39
|
|
|
39
|
-
For planned product/feature work, use this pipeline: product vision -> deep module map -> feature brief -> technical design -> optional UX -> epics/stories -> AI implementation plan
|
|
40
|
+
For planned product/feature work, use this pipeline: product vision -> deep module map -> feature brief -> technical design -> optional UX -> epics/stories -> AI executor. The executor creates a missing AI implementation plan and then executes it immediately when a story or Epic is requested for planning, implementation, or continuation. Narrow code fixes and small local changes do not require the full pipeline unless product scope, module ownership, or architecture direction is unclear.
|
|
40
41
|
|
|
41
42
|
- For any code-writing task, use `clean-code`.
|
|
42
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,8 +45,8 @@ For planned product/feature work, use this pipeline: product vision -> deep modu
|
|
|
44
45
|
- For requests to create, revise, or clarify a business-level feature brief after Deep Module Map work, feature definition, feature scope, MVP feature boundaries, business acceptance criteria, or product-level feature rationale, use `feature-brief-writer`.
|
|
45
46
|
- 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`.
|
|
46
47
|
- 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`.
|
|
47
|
-
- For requests to turn a specific User Story into an implementation checklist, coding plan, step-by-step execution plan, or baby-step plan, use `ai-implementation-planner
|
|
48
|
-
- For requests to implement, execute, continue, or work through a specific User Story under `docs/features/<feature-slug>/epics/<epic-slug>/stories/<order>-<story-slug>.md
|
|
48
|
+
- 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.
|
|
49
|
+
- For requests to plan, implement, execute, continue, or work through a specific User Story under `docs/features/<feature-slug>/epics/<epic-slug>/stories/<order>-<story-slug>.md`, an Epic, or an existing story implementation plan under `docs/features/<feature-slug>/epics/<epic-slug>/stories/<order>-<story-slug>.impl_plan/`, use `ai-implementation-plan-executor`; when the story plan is missing, the executor must create it with `ai-implementation-planner` and immediately continue into implementation without a separate plan approval gate.
|
|
49
50
|
{{OPTIONAL_SKILL_ROUTING}}
|
|
50
51
|
|
|
51
52
|
## Sibu maintenance
|
package/templates/manifest.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"templateVersion": "
|
|
2
|
+
"templateVersion": "86",
|
|
3
3
|
"templates": {
|
|
4
4
|
"AGENTS.md": {
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "28",
|
|
6
6
|
"description": "Project-level agent instructions and Sibu maintenance guidance.",
|
|
7
7
|
"changes": [
|
|
8
|
-
"
|
|
8
|
+
"Routes story and Epic planning requests to the executor by default so generated plans are implemented immediately unless planning-only is explicit."
|
|
9
9
|
]
|
|
10
10
|
},
|
|
11
11
|
".codex/config.toml": {
|
|
@@ -136,17 +136,17 @@
|
|
|
136
136
|
]
|
|
137
137
|
},
|
|
138
138
|
"skills/ai-implementation-planner/SKILL.md": {
|
|
139
|
-
"version": "
|
|
139
|
+
"version": "15",
|
|
140
140
|
"description": "Mandatory AI implementation planner skill for turning one approved User Story into small, story-local implementation step files.",
|
|
141
141
|
"changes": [
|
|
142
|
-
"
|
|
142
|
+
"Clarifies that the planner is normally an executor helper and stops after planning only when planning-only is explicit."
|
|
143
143
|
]
|
|
144
144
|
},
|
|
145
145
|
"skills/ai-implementation-plan-executor/SKILL.md": {
|
|
146
|
-
"version": "
|
|
146
|
+
"version": "22",
|
|
147
147
|
"description": "Mandatory AI implementation plan executor skill for implementing full story plans before story-level review and commit.",
|
|
148
148
|
"changes": [
|
|
149
|
-
"
|
|
149
|
+
"Clarifies that story and Epic planning requests are confirmation for executor implementation."
|
|
150
150
|
]
|
|
151
151
|
},
|
|
152
152
|
"skills/ai-prompt-engineer-master/SKILL.md": {
|
|
@@ -25,6 +25,7 @@ Execute one existing story implementation plan completely, one ordered step file
|
|
|
25
25
|
- Step approval metadata in every completed step file only after explicit story-level user approval.
|
|
26
26
|
- One focused commit for the approved story implementation, excluding any paths ignored by Git.
|
|
27
27
|
- When starting or continuing a story that has no plan, story-local implementation step files created by applying `ai-implementation-planner`, followed immediately by implementation.
|
|
28
|
+
- When an Epic is complete, the next Epic in the same feature is selected by inspecting the feature's `epics/` folder, then the first story in that Epic is planned and implemented immediately.
|
|
28
29
|
|
|
29
30
|
### When this skill stops
|
|
30
31
|
|
|
@@ -104,7 +105,8 @@ If the initial User Story has no matching `.impl_plan/`, or the initial `.impl_p
|
|
|
104
105
|
1. Apply `ai-implementation-planner` to create or repair the story-local implementation plan.
|
|
105
106
|
2. Quality-check that the generated plan has ordered step files for exactly that story.
|
|
106
107
|
3. Immediately begin executing the generated plan with this executor.
|
|
107
|
-
4.
|
|
108
|
+
4. Treat the planner as an internal helper, not a user-visible stopping point.
|
|
109
|
+
5. Do not ask the user to approve the plan before implementation; the only required approval is the story-level review after implementation finishes.
|
|
108
110
|
|
|
109
111
|
If required source context is missing:
|
|
110
112
|
|
|
@@ -117,7 +119,7 @@ If required source context is missing:
|
|
|
117
119
|
|
|
118
120
|
Work through the full story plan in filename order, one step at a time, without asking for review or approval between steps.
|
|
119
121
|
|
|
120
|
-
When a valid implementation plan exists, begin implementing the first unapproved step immediately. If a plan was just generated by `ai-implementation-planner`, begin implementing it immediately. Do not ask for pre-implementation confirmation or plan approval before changing code. This is an explicit exception to repository-level instructions that normally require confirmation before code changes: selecting this executor skill, asking to implement or continue a story/Epic, or providing a valid plan is the user's confirmation to implement the full story plan.
|
|
122
|
+
When a valid implementation plan exists, begin implementing the first unapproved step immediately. If a plan was just generated by `ai-implementation-planner`, begin implementing it immediately. Do not ask for pre-implementation confirmation or plan approval before changing code. This is an explicit exception to repository-level instructions that normally require confirmation before code changes: selecting this executor skill, asking to plan, implement, execute, or continue a story/Epic, or providing a valid plan is the user's confirmation to implement the full story plan.
|
|
121
123
|
|
|
122
124
|
A step file is considered approved only when it contains this section:
|
|
123
125
|
|
|
@@ -137,7 +139,7 @@ When starting or resuming a plan:
|
|
|
137
139
|
6. Stop only for ambiguity, missing required files, conflicting scope, failed validation that cannot be safely fixed within the plan, or material risk.
|
|
138
140
|
7. After the final unapproved step is implemented, report what changed, validation results, and any risks, then wait for explicit story-level approval.
|
|
139
141
|
|
|
140
|
-
Do not mark steps approved, commit changes, or move to the next
|
|
142
|
+
Do not mark steps approved, commit changes, move to the next story, or move to the next Epic until the user explicitly approves the completed story implementation.
|
|
141
143
|
|
|
142
144
|
## Story review gate
|
|
143
145
|
|
|
@@ -161,17 +163,19 @@ After writing approval markers, commit only the non-ignored changes produced by
|
|
|
161
163
|
|
|
162
164
|
Use a Conventional Commits 1.0.0 message that describes the completed story. If the commit fails, stop and report the failure instead of continuing.
|
|
163
165
|
|
|
164
|
-
##
|
|
166
|
+
## Feature continuation check
|
|
165
167
|
|
|
166
|
-
After the approved story implementation is committed
|
|
168
|
+
After the approved story implementation is committed, continue through the current feature unless there is no next story or Epic to implement.
|
|
167
169
|
|
|
168
170
|
1. Inspect the current Epic's `stories/` folder in filename order.
|
|
169
171
|
2. Identify whether there is a next User Story after the completed story.
|
|
170
|
-
3. If
|
|
171
|
-
4. If a next User Story exists
|
|
172
|
-
5. If
|
|
172
|
+
3. If a next User Story exists and its `.impl_plan/` folder exists with ordered step files, immediately begin implementing that next story plan using this same story execution model.
|
|
173
|
+
4. If a next User Story exists but its `.impl_plan/` folder is missing or empty, immediately create the implementation plan for that story by applying `ai-implementation-planner`, then immediately begin implementing the generated plan.
|
|
174
|
+
5. If there is no next User Story in the current Epic, inspect the current feature's `epics/` folder and choose the next logical Epic to implement. Do not choose by filename alone. Base the choice on dependencies, prerequisite capabilities, technical sequencing, risk reduction, feature value, story readiness, and whether the Epic can be implemented without violating the feature brief or technical design. Briefly report the selected Epic and why it is the logical next step.
|
|
175
|
+
6. If a next logical Epic exists, inspect its `stories/` folder, select the first logical unapproved User Story to implement, create its implementation plan if needed with `ai-implementation-planner`, and immediately begin implementing it. Prefer story order when it reflects dependencies; otherwise choose based on prerequisites, risk, and value sequence.
|
|
176
|
+
7. If no logical next Epic exists or every Epic in the feature has all stories approved, tell the user the feature appears ready and stop.
|
|
173
177
|
|
|
174
|
-
This continuation behavior is an explicit exception to the normal hard-start rule only after a story has been approved and committed. It lets the executor keep
|
|
178
|
+
This continuation behavior is an explicit exception to the normal hard-start rule only after a story has been approved and committed. It lets the executor keep a feature moving across stories and Epics while preserving only the story-level review gate after each story implementation.
|
|
175
179
|
|
|
176
180
|
## Implementation rules
|
|
177
181
|
|
|
@@ -190,13 +194,13 @@ Do:
|
|
|
190
194
|
|
|
191
195
|
Do not:
|
|
192
196
|
|
|
193
|
-
-
|
|
197
|
+
- invent a missing plan manually instead of applying `ai-implementation-planner`
|
|
194
198
|
- mark any step approved before the user explicitly approves the completed story
|
|
195
199
|
- commit story implementation changes before story approval
|
|
196
200
|
- add product scope absent from the story, Epic, feature brief, technical design, or step files
|
|
197
201
|
- silently move work into unrelated or unapproved Deep Modules
|
|
198
202
|
- continue past a failed validation without reporting it and asking how to proceed
|
|
199
|
-
- leave committable approved story changes uncommitted before moving to the next story
|
|
203
|
+
- leave committable approved story changes uncommitted before moving to the next story or Epic
|
|
200
204
|
- attempt to stage or commit story files, approval markers, or other paths that are ignored by Git
|
|
201
205
|
|
|
202
206
|
## Final response behavior
|
|
@@ -208,11 +212,12 @@ After implementing all unapproved steps in one story, briefly report:
|
|
|
208
212
|
- the steps completed
|
|
209
213
|
- validations run and their results
|
|
210
214
|
- notable risks or follow-up questions, if any
|
|
211
|
-
- that you are waiting for story approval before marking all completed steps approved, committing eligible non-ignored changes, and continuing the
|
|
215
|
+
- that you are waiting for story approval before marking all completed steps approved, committing eligible non-ignored changes, and continuing the feature
|
|
212
216
|
|
|
213
|
-
After approving and committing a story implementation, briefly report the commit and the
|
|
217
|
+
After approving and committing a story implementation, briefly report the commit and the feature continuation result:
|
|
214
218
|
|
|
215
219
|
- commit hash when a commit was created, or a note that only ignored changes existed and no commit was created
|
|
216
|
-
- next story is being implemented immediately because it already has a plan
|
|
217
|
-
- next story was planned and implementation started immediately
|
|
218
|
-
-
|
|
220
|
+
- next story in the current Epic is being implemented immediately because it already has a plan
|
|
221
|
+
- next story in the current Epic was planned and implementation started immediately
|
|
222
|
+
- next Epic selected and its first unapproved story is being planned/implemented immediately
|
|
223
|
+
- or the feature appears ready
|
|
@@ -7,7 +7,7 @@ description: Turn one approved User Story Markdown file into LLM-sized implement
|
|
|
7
7
|
|
|
8
8
|
## Purpose
|
|
9
9
|
|
|
10
|
-
Turn one approved User Story into concrete Markdown step files an AI coding agent can execute safely and completely. This skill owns implementation planning for one story at a time, not product scope, technical design decisions, Scrum planning, or code implementation.
|
|
10
|
+
Turn one approved User Story into concrete Markdown step files an AI coding agent can execute safely and completely. This skill owns implementation planning for one story at a time, not product scope, technical design decisions, Scrum planning, or code implementation. This planner is normally an internal helper for `ai-implementation-plan-executor`; after writing a valid plan, implementation must continue immediately through the executor unless the user explicitly requested planning-only.
|
|
11
11
|
|
|
12
12
|
## Pipeline Contract
|
|
13
13
|
|
|
@@ -29,7 +29,7 @@ Turn one approved User Story into concrete Markdown step files an AI coding agen
|
|
|
29
29
|
- The user does not provide or clearly identify exactly one User Story file.
|
|
30
30
|
- Any required source artifact is missing, incomplete, or invalid in a way its owning stage should repair.
|
|
31
31
|
- The story or feature has UI impact and `ux.md` is missing; direct the user to `ux-expert`.
|
|
32
|
-
-
|
|
32
|
+
- This planner was invoked directly for a request that should route to another pipeline stage, such as writing production code, executing an existing implementation plan, creating stories, or performing another pipeline stage.
|
|
33
33
|
|
|
34
34
|
### What this skill must not do
|
|
35
35
|
|
|
@@ -37,7 +37,7 @@ Turn one approved User Story into concrete Markdown step files an AI coding agen
|
|
|
37
37
|
- Do not modify prior-stage artifacts.
|
|
38
38
|
- Do not reread `docs/deep-module-map.md` by default; trust `technical_design.md` for Deep Module implementation boundaries.
|
|
39
39
|
- Do not infer implementation scope from an Epic brief, feature brief, or technical design without exactly one User Story.
|
|
40
|
-
- Do not write production code directly from this planner; hand off to `ai-implementation-plan-executor` for implementation.
|
|
40
|
+
- Do not write production code directly from this planner; hand off to `ai-implementation-plan-executor` for implementation. The executor is the orchestrator for planning, implementation, execution, continuation, and combined plan-and-execute requests.
|
|
41
41
|
|
|
42
42
|
## Required input
|
|
43
43
|
|
|
@@ -242,11 +242,11 @@ Before finishing, verify:
|
|
|
242
242
|
|
|
243
243
|
### 6. Continue or report
|
|
244
244
|
|
|
245
|
-
After writing and quality-checking the implementation step files, do not ask for plan approval before execution.
|
|
245
|
+
After writing and quality-checking the implementation step files, do not ask for plan approval before execution. Unless the user explicitly requested planning-only, immediately hand off to `ai-implementation-plan-executor` for the newly created plan in the same turn. The user's story or Epic planning/execution request plus a valid generated plan is enough pre-implementation confirmation; the only required user approval is the story-level review after execution finishes.
|
|
246
246
|
|
|
247
|
-
If the user asked only to
|
|
247
|
+
If the user explicitly asked for planning-only, said not to implement, or asked to create the plan without execution, stop after creating the plan and report where it was written. Make clear that no plan approval is required before a later executor run.
|
|
248
248
|
|
|
249
|
-
When this skill is invoked as the next-story planning handoff from `ai-implementation-plan-executor`, create the plan and immediately return control to the executor so it can implement
|
|
249
|
+
When this skill is invoked as the next-story or next-Epic planning handoff from `ai-implementation-plan-executor`, create the plan and immediately return control to the executor so it can implement that story without a plan-review gate.
|
|
250
250
|
|
|
251
251
|
The final planning-only response must briefly include:
|
|
252
252
|
|