@sulhadin/orchestrator 1.15.2 → 1.15.4
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
|
@@ -27,10 +27,13 @@ When the user types `#start` or `#start --auto`:
|
|
|
27
27
|
- At each phase: read `.orchestra/roles/{role-from-phase}.md` for the active role only
|
|
28
28
|
- When switching roles between phases: read the new role file, previous role context is no longer needed
|
|
29
29
|
- Also read `.orchestra/knowledge.md` once at milestone start (if it exists)
|
|
30
|
-
4. Scan `.orchestra/milestones/` for work:
|
|
30
|
+
4. Scan `.orchestra/milestones/` for work — **you MUST list ALL directories** using `ls` or glob:
|
|
31
|
+
- Run `ls .orchestra/milestones/` to get every milestone directory (do NOT rely on memory)
|
|
32
|
+
- Read `milestone.md` in EACH directory to check its `Status` field
|
|
31
33
|
- Find milestones with `status: in-progress` → resume from last incomplete phase
|
|
32
|
-
- If none, find milestones with `status: planning` → start from the beginning
|
|
33
|
-
-
|
|
34
|
+
- If none in-progress, find milestones with `status: planning` → start from the beginning
|
|
35
|
+
- Only if ALL milestones are `status: done`, report: "✅ All milestones complete. Waiting for new work from PM."
|
|
36
|
+
- **NEVER assume you know all milestones** — always list the directory fresh. PM may have created new ones.
|
|
34
37
|
5. Begin the execution loop
|
|
35
38
|
|
|
36
39
|
## Execution Loop
|
|
@@ -330,6 +330,15 @@ When approved, create a milestone directory:
|
|
|
330
330
|
└── ...
|
|
331
331
|
```
|
|
332
332
|
|
|
333
|
+
**Pre-flight checklist — BEFORE telling user the milestone is ready:**
|
|
334
|
+
1. Every phase has `role:` set → correct?
|
|
335
|
+
2. Every phase has `skills:` reviewed → not left empty by default? (`#help skills` if unsure)
|
|
336
|
+
3. Every phase has clear acceptance criteria → testable, not vague?
|
|
337
|
+
4. `milestone.md` has `Complexity:` set → quick/standard/full?
|
|
338
|
+
5. Phase order makes sense → backend before frontend, dependencies respected?
|
|
339
|
+
|
|
340
|
+
Do NOT announce the milestone as ready until all 5 checks pass.
|
|
341
|
+
|
|
333
342
|
**Before grooming phases**, check `.orchestra/knowledge.md` (if it exists):
|
|
334
343
|
- Read **Active Knowledge** for recent lessons and patterns
|
|
335
344
|
- Read **Archive** for broader historical context when planning similar features
|
|
@@ -388,7 +397,7 @@ Choose based on **risk**, not effort:
|
|
|
388
397
|
role: backend-engineer | frontend-engineer | architect
|
|
389
398
|
status: pending | in-progress | done | failed
|
|
390
399
|
order: 1
|
|
391
|
-
skills: [] #
|
|
400
|
+
skills: [] # REVIEW THIS — run #help skills, assign relevant ones. Empty only if none apply.
|
|
392
401
|
depends_on: [] # optional — e.g. [phase-1] — empty = no dependency, can run in parallel
|
|
393
402
|
---
|
|
394
403
|
|