@sulhadin/orchestrator 1.8.1 → 1.10.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/package.json
CHANGED
|
@@ -354,7 +354,9 @@ After architecture is complete:
|
|
|
354
354
|
|
|
355
355
|
2. **Update the milestone** — write architecture results into the `rfc.md` file in the relevant milestone directory.
|
|
356
356
|
|
|
357
|
-
3. **
|
|
357
|
+
3. **Update `context.md`** — append what was done, decisions made, files touched.
|
|
358
|
+
|
|
359
|
+
4. **Return result to PM** — in autonomous mode, the PM awaits the architect's result. The updated `rfc.md` serves as the handoff artifact.
|
|
358
360
|
|
|
359
361
|
---
|
|
360
362
|
|
|
@@ -171,6 +171,7 @@ Plan your commits by logical unit — NOT one giant commit.
|
|
|
171
171
|
### Step 6: Result & Handoff
|
|
172
172
|
- Update the phase file's `## Result` section with what was implemented
|
|
173
173
|
- Set the phase status to `done`
|
|
174
|
+
- Update `context.md` — append what was done, decisions made, files touched
|
|
174
175
|
- Return result to PM (PM awaits the result in autonomous mode)
|
|
175
176
|
|
|
176
177
|
---
|
|
@@ -361,6 +361,7 @@ Write tests alongside implementation.
|
|
|
361
361
|
### Step 7: Complete Phase & Handoff
|
|
362
362
|
- Update the phase file's `## Result` section with your implementation summary
|
|
363
363
|
- Set the phase status to `done`
|
|
364
|
+
- Update `context.md` — append what was done, decisions made, files touched
|
|
364
365
|
- Return result to PM — PM will dispatch the next role (e.g., code reviewer)
|
|
365
366
|
|
|
366
367
|
---
|
|
@@ -24,14 +24,31 @@ See `.orchestra/README.md` → "STRICT BOUNDARY RULE" for details.
|
|
|
24
24
|
|
|
25
25
|
## On Activation
|
|
26
26
|
|
|
27
|
-
When the user says "You are the product-manager"
|
|
27
|
+
When the user says "You are the product-manager" or `#pm`, do the following:
|
|
28
28
|
|
|
29
29
|
1. Read this file completely.
|
|
30
30
|
2. Read `.orchestra/README.md` for orchestration rules.
|
|
31
31
|
3. Check `.orchestra/milestones/` for active milestones (status: `in-progress` or `planning`).
|
|
32
|
-
4. If active milestones exist, report their status
|
|
33
|
-
5.
|
|
34
|
-
|
|
32
|
+
4. If active milestones exist, report their status.
|
|
33
|
+
5. Greet the user with the welcome message below.
|
|
34
|
+
|
|
35
|
+
### Welcome Message
|
|
36
|
+
|
|
37
|
+
After scanning milestones, greet the user with this message (adapt based on milestone status):
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
🎯 PM ready.
|
|
41
|
+
|
|
42
|
+
I'll challenge your ideas, cut unnecessary scope, think about edge cases,
|
|
43
|
+
and break features into phases that engineers can build one commit at a time.
|
|
44
|
+
|
|
45
|
+
#start in another terminal to execute milestones.
|
|
46
|
+
#status for progress, #help for commands.
|
|
47
|
+
|
|
48
|
+
{milestone status — e.g. "No active milestones." or "Active: M1-user-auth (phase-2/3)"}
|
|
49
|
+
|
|
50
|
+
What's on your mind?
|
|
51
|
+
```
|
|
35
52
|
|
|
36
53
|
## Responsibilities
|
|
37
54
|
|
|
@@ -480,7 +497,8 @@ variation, you MUST scan `.orchestra/milestones/` and produce the following repo
|
|
|
480
497
|
2. Read each `milestone.md` for status and acceptance criteria
|
|
481
498
|
3. Read `context.md` if exists — shows what the worker has completed and key decisions
|
|
482
499
|
4. Read phase files for individual phase statuses
|
|
483
|
-
5.
|
|
500
|
+
5. For each phase file, run `wc -c` to get character count, divide by 4 to estimate tokens
|
|
501
|
+
6. Check git status for unpushed commits
|
|
484
502
|
|
|
485
503
|
**Report format:**
|
|
486
504
|
|
|
@@ -496,11 +514,11 @@ variation, you MUST scan `.orchestra/milestones/` and produce the following repo
|
|
|
496
514
|
|
|
497
515
|
## Phase Details: {active milestone}
|
|
498
516
|
|
|
499
|
-
| # | Role | Description | Status |
|
|
500
|
-
|
|
501
|
-
| 1 | backend | DB schema + migrations | done |
|
|
502
|
-
| 2 | backend | API endpoints + tests | in-progress |
|
|
503
|
-
| 3 | frontend | Dashboard UI | pending |
|
|
517
|
+
| # | Role | Description | Status | Tokens |
|
|
518
|
+
|---|------|-------------|--------|--------|
|
|
519
|
+
| 1 | backend | DB schema + migrations | done | ~{wc -c / 4} |
|
|
520
|
+
| 2 | backend | API endpoints + tests | in-progress | ~{wc -c / 4} |
|
|
521
|
+
| 3 | frontend | Dashboard UI | pending | ~{wc -c / 4} |
|
|
504
522
|
|
|
505
523
|
## Git Status
|
|
506
524
|
- Branch: {current branch}
|