sisyphi 0.1.21 → 0.1.23
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/dist/chunk-KQBSC5KY.js +31 -0
- package/dist/chunk-KQBSC5KY.js.map +1 -0
- package/dist/{chunk-LTAW6OWS.js → chunk-YGBGKMTF.js} +31 -6
- package/dist/chunk-YGBGKMTF.js.map +1 -0
- package/dist/chunk-ZE2SKB4B.js +35 -0
- package/dist/chunk-ZE2SKB4B.js.map +1 -0
- package/dist/cli.js +638 -51
- package/dist/cli.js.map +1 -1
- package/dist/daemon.js +915 -289
- package/dist/daemon.js.map +1 -1
- package/dist/paths-FYYSBD27.js +58 -0
- package/dist/paths-FYYSBD27.js.map +1 -0
- package/dist/templates/CLAUDE.md +21 -20
- package/dist/templates/agent-plugin/agents/CLAUDE.md +2 -0
- package/dist/templates/agent-plugin/agents/debug.md +1 -0
- package/dist/templates/agent-plugin/agents/operator.md +1 -2
- package/dist/templates/agent-plugin/agents/plan.md +86 -55
- package/dist/templates/agent-plugin/agents/review-plan.md +1 -0
- package/dist/templates/agent-plugin/agents/spec-draft.md +1 -0
- package/dist/templates/agent-plugin/hooks/hooks.json +19 -1
- package/dist/templates/agent-plugin/hooks/intercept-send-message.sh +1 -1
- package/dist/templates/agent-plugin/hooks/require-submit.sh +24 -0
- package/dist/templates/agent-suffix.md +18 -0
- package/dist/templates/dashboard-claude.md +38 -0
- package/dist/templates/orchestrator-base.md +270 -0
- package/dist/templates/orchestrator-impl.md +116 -0
- package/dist/templates/orchestrator-planning.md +131 -0
- package/dist/templates/orchestrator-plugin/hooks/hooks.json +1 -15
- package/dist/templates/orchestrator-plugin/skills/git-management/SKILL.md +1 -1
- package/dist/templates/orchestrator-plugin/skills/orchestration/SKILL.md +4 -16
- package/dist/templates/orchestrator-plugin/skills/orchestration/task-patterns.md +22 -23
- package/dist/templates/orchestrator-plugin/skills/orchestration/workflow-examples.md +11 -11
- package/dist/tui.js +3236 -0
- package/dist/tui.js.map +1 -0
- package/package.json +5 -1
- package/templates/CLAUDE.md +21 -20
- package/templates/agent-plugin/agents/CLAUDE.md +2 -0
- package/templates/agent-plugin/agents/debug.md +1 -0
- package/templates/agent-plugin/agents/operator.md +1 -2
- package/templates/agent-plugin/agents/plan.md +86 -55
- package/templates/agent-plugin/agents/review-plan.md +1 -0
- package/templates/agent-plugin/agents/spec-draft.md +1 -0
- package/templates/agent-plugin/hooks/hooks.json +19 -1
- package/templates/agent-plugin/hooks/intercept-send-message.sh +1 -1
- package/templates/agent-plugin/hooks/require-submit.sh +24 -0
- package/templates/agent-suffix.md +18 -0
- package/templates/dashboard-claude.md +38 -0
- package/templates/orchestrator-base.md +270 -0
- package/templates/orchestrator-impl.md +116 -0
- package/templates/orchestrator-planning.md +131 -0
- package/templates/orchestrator-plugin/hooks/hooks.json +1 -15
- package/templates/orchestrator-plugin/skills/git-management/SKILL.md +1 -1
- package/templates/orchestrator-plugin/skills/orchestration/SKILL.md +4 -16
- package/templates/orchestrator-plugin/skills/orchestration/task-patterns.md +22 -23
- package/templates/orchestrator-plugin/skills/orchestration/workflow-examples.md +11 -11
- package/dist/chunk-LTAW6OWS.js.map +0 -1
- package/dist/templates/orchestrator-plugin/scripts/block-task.sh +0 -11
- package/dist/templates/orchestrator.md +0 -173
- package/templates/orchestrator-plugin/scripts/block-task.sh +0 -11
- package/templates/orchestrator.md +0 -173
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Work Breakdown Patterns
|
|
2
2
|
|
|
3
|
-
Patterns for how the orchestrator should structure
|
|
3
|
+
Patterns for how the orchestrator should structure roadmap.md for common workflow types. Each pattern shows the plan structure, agent assignments, cycle sequencing, and failure handling.
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -106,45 +106,44 @@ Phases without dependencies can run in parallel. Types/interfaces (Phase 1) must
|
|
|
106
106
|
## Feature Build (Large — 10+ files)
|
|
107
107
|
|
|
108
108
|
### When to use
|
|
109
|
-
Cross-cutting feature, multiple domains, needs team coordination.
|
|
109
|
+
Cross-cutting feature, multiple domains, needs team coordination. Uses **progressive planning** — high-level outline first, then detail-plan each stage as it's reached.
|
|
110
110
|
|
|
111
111
|
### Plan structure
|
|
112
112
|
```
|
|
113
113
|
## Feature: [description]
|
|
114
114
|
|
|
115
|
-
### Spec
|
|
115
|
+
### Spec
|
|
116
116
|
- [ ] Draft spec
|
|
117
|
-
- [ ]
|
|
118
|
-
- [ ] Review plan against spec
|
|
119
|
-
- [ ] Define behavioral test properties
|
|
117
|
+
- [ ] Review spec
|
|
120
118
|
|
|
121
|
-
###
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
119
|
+
### Stage Outline (high-level only — no file-level detail yet)
|
|
120
|
+
1. [domain A foundation] — no deps — ~N cycles
|
|
121
|
+
2. [domain B foundation] — no deps — ~N cycles
|
|
122
|
+
3. [domain A implementation] — depends on 1 — ~N cycles
|
|
123
|
+
4. [domain B implementation] — depends on 2 — ~N cycles
|
|
124
|
+
5. [integration layer] — depends on 3, 4 — ~N cycles
|
|
125
|
+
6. [integration tests] — depends on all — ~N cycles
|
|
127
126
|
|
|
128
|
-
###
|
|
129
|
-
-
|
|
130
|
-
- [ ]
|
|
131
|
-
- [ ] Adversarial validation against test spec
|
|
127
|
+
### Current Stage: [whichever is active]
|
|
128
|
+
See context/plan-stage-N-{name}.md for detail plan.
|
|
129
|
+
- [ ] [task-level items from detail plan]
|
|
132
130
|
```
|
|
133
131
|
|
|
134
132
|
### Cycle plan
|
|
135
133
|
- **Cycle 1**: Spawn `sisyphus:spec-draft` for spec. Yield.
|
|
136
|
-
- **Cycle 2**: Spawn `sisyphus:plan` for
|
|
137
|
-
- **Cycle 3**: Spawn `sisyphus:
|
|
138
|
-
- **Cycle 4**: Spawn `sisyphus:implement` for
|
|
139
|
-
- **Cycle 5**: Validate
|
|
140
|
-
- **Cycle 6+**:
|
|
134
|
+
- **Cycle 2**: Spawn `sisyphus:plan` for **high-level stage outline only**. Instruction: "Outline stages, dependencies, one-sentence descriptions, cycle estimates. Do not detail any stage — no file-level specifics." Spawn `sisyphus:test-spec` for test properties (parallel). Yield.
|
|
135
|
+
- **Cycle 3**: Review outline. Spawn `sisyphus:plan` to **detail-plan stage 1 only** (provide outline as context). Output to `context/plan-stage-1-{name}.md`. Yield.
|
|
136
|
+
- **Cycle 4**: Spawn `sisyphus:implement` for stage 1. If stage 2 is independent, spawn `sisyphus:plan` to detail-plan stage 2 in parallel. Yield.
|
|
137
|
+
- **Cycle 5**: Validate stage 1. Spawn `sisyphus:implement` for stage 2 (if detail-planned). Detail-plan stage 3 in parallel if independent. Yield.
|
|
138
|
+
- **Cycle 6+**: Continue pattern — implement current stage, validate previous, detail-plan next. Each stage follows implement → critique → refine → validate.
|
|
141
139
|
|
|
142
140
|
### Failure modes
|
|
141
|
+
- **Detail-plan agent can't produce quality output**: The stage is still too large. Break it into sub-stages in the outline and detail-plan each sub-stage individually.
|
|
143
142
|
- **Integration failures**: Often means contracts between domains don't match. Spawn debug agent targeting the integration seam.
|
|
144
|
-
- **
|
|
143
|
+
- **Stage N implementation invalidates stage N+1 outline**: Update the high-level outline. This is expected — it's why you don't detail-plan everything upfront.
|
|
145
144
|
|
|
146
145
|
### Parallelization
|
|
147
|
-
Maximize. Independent
|
|
146
|
+
Maximize within the progressive pattern. Independent stages run in parallel. Detail-planning the next stage runs alongside implementing the current one. Foundation stages complete before dependent stages. Integration waits for all domain implementations.
|
|
148
147
|
|
|
149
148
|
---
|
|
150
149
|
|
|
@@ -10,7 +10,7 @@ End-to-end examples showing how the orchestrator structures cycles for real scen
|
|
|
10
10
|
|
|
11
11
|
### Cycle 1 — Diagnosis
|
|
12
12
|
```
|
|
13
|
-
|
|
13
|
+
roadmap.md:
|
|
14
14
|
## Bug Fix: WebSocket message loss during reconnection
|
|
15
15
|
|
|
16
16
|
- [ ] Diagnose message loss during WebSocket reconnection
|
|
@@ -33,7 +33,7 @@ Agent report: "Root cause: reconnect() clears the message queue before the new s
|
|
|
33
33
|
but should be deferred until onReconnect confirms the new socket is live.
|
|
34
34
|
Confidence: High."
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
roadmap.md updated:
|
|
37
37
|
- [x] ~~Diagnose message loss during WebSocket reconnection~~
|
|
38
38
|
- [ ] Fix root cause — queue.clear() at L47 of reconnect.ts runs too early
|
|
39
39
|
- [ ] Validate fix under concurrent load
|
|
@@ -51,7 +51,7 @@ Agents spawned:
|
|
|
51
51
|
Agent report: "Fixed. Moved queue.clear() to onReconnect callback after socket.readyState
|
|
52
52
|
confirms OPEN. Added message buffer during reconnection window. 2 files changed."
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
roadmap.md updated:
|
|
55
55
|
- [x] ~~Diagnose message loss~~
|
|
56
56
|
- [x] ~~Fix root cause~~
|
|
57
57
|
- [ ] Validate fix under concurrent load
|
|
@@ -67,7 +67,7 @@ Agents spawned:
|
|
|
67
67
|
```
|
|
68
68
|
Validation: PASS. Existing tests pass, reconnection preserves messages.
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
roadmap.md updated:
|
|
71
71
|
- [x] ~~Diagnose~~, [x] ~~Fix~~, [x] ~~Validate~~
|
|
72
72
|
- [ ] Review fix
|
|
73
73
|
|
|
@@ -82,7 +82,7 @@ Agents spawned:
|
|
|
82
82
|
Review: Clean. One medium finding — buffer should have a max size to prevent
|
|
83
83
|
memory issues if reconnect fails indefinitely. Not blocking.
|
|
84
84
|
|
|
85
|
-
All
|
|
85
|
+
All roadmap.md items complete.
|
|
86
86
|
|
|
87
87
|
Action: complete — "Fixed WebSocket message loss during reconnection. Messages now
|
|
88
88
|
buffered during reconnection window and drained on successful reconnect."
|
|
@@ -96,7 +96,7 @@ Action: complete — "Fixed WebSocket message loss during reconnection. Messages
|
|
|
96
96
|
|
|
97
97
|
### Cycle 1 — Spec
|
|
98
98
|
```
|
|
99
|
-
|
|
99
|
+
roadmap.md:
|
|
100
100
|
## Feature: API Rate Limiting
|
|
101
101
|
|
|
102
102
|
### Spec & Planning
|
|
@@ -127,7 +127,7 @@ Agent report: "Spec saved to context/spec-rate-limiting.md.
|
|
|
127
127
|
Standard 429 response with Retry-After header. Config via environment variables.
|
|
128
128
|
Open questions resolved with user: Redis is already in stack, use it."
|
|
129
129
|
|
|
130
|
-
|
|
130
|
+
roadmap.md updated (spec item marked done):
|
|
131
131
|
- [x] ~~Draft spec for API rate limiting~~
|
|
132
132
|
- [ ] Plan implementation
|
|
133
133
|
...
|
|
@@ -151,7 +151,7 @@ Agents spawned:
|
|
|
151
151
|
```
|
|
152
152
|
Plan review: PASS.
|
|
153
153
|
|
|
154
|
-
|
|
154
|
+
roadmap.md updated (plan review done, starting implementation):
|
|
155
155
|
- [x] ~~Draft spec~~, [x] ~~Plan~~, [x] ~~Review plan~~
|
|
156
156
|
- [ ] Implement rate limiting middleware
|
|
157
157
|
- [ ] Implement rate limit configuration
|
|
@@ -174,7 +174,7 @@ Agents spawned:
|
|
|
174
174
|
|
|
175
175
|
### Cycle 1 — Plan + baseline
|
|
176
176
|
```
|
|
177
|
-
|
|
177
|
+
roadmap.md:
|
|
178
178
|
## Refactor: Extract Token Service
|
|
179
179
|
|
|
180
180
|
- [ ] Plan auth refactor — extract token service
|
|
@@ -197,7 +197,7 @@ Agents spawned (parallel):
|
|
|
197
197
|
```
|
|
198
198
|
Plan complete, baseline captured (47 tests passing).
|
|
199
199
|
|
|
200
|
-
|
|
200
|
+
roadmap.md updated:
|
|
201
201
|
- [x] ~~Plan auth refactor~~
|
|
202
202
|
- [x] ~~Capture behavioral baseline~~ (47 tests passing)
|
|
203
203
|
- [ ] Create TokenService class with extracted logic
|
|
@@ -232,6 +232,6 @@ Agents spawned (parallel):
|
|
|
232
232
|
### Cycle 5 — Complete
|
|
233
233
|
```
|
|
234
234
|
All 47 tests passing. Review clean.
|
|
235
|
-
All
|
|
235
|
+
All roadmap.md items complete.
|
|
236
236
|
Complete — "Extracted token logic into TokenService. All existing tests pass."
|
|
237
237
|
```
|