@sulhadin/orchestrator 1.8.1 → 1.9.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sulhadin/orchestrator",
3
- "version": "1.8.1",
3
+ "version": "1.9.0",
4
4
  "description": "AI Team Orchestration System — multi-role coordination for Claude Code",
5
5
  "bin": {
6
6
  "orchestrator": "bin/index.js"
@@ -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. **Return result to PM** in autonomous mode, the PM awaits the architect's result. The updated `rfc.md` serves as the handoff artifact.
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
  ---
@@ -480,7 +480,8 @@ variation, you MUST scan `.orchestra/milestones/` and produce the following repo
480
480
  2. Read each `milestone.md` for status and acceptance criteria
481
481
  3. Read `context.md` if exists — shows what the worker has completed and key decisions
482
482
  4. Read phase files for individual phase statuses
483
- 5. Check git status for unpushed commits
483
+ 5. For each phase file, run `wc -c` to get character count, divide by 4 to estimate tokens
484
+ 6. Check git status for unpushed commits
484
485
 
485
486
  **Report format:**
486
487
 
@@ -496,11 +497,11 @@ variation, you MUST scan `.orchestra/milestones/` and produce the following repo
496
497
 
497
498
  ## Phase Details: {active milestone}
498
499
 
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 |
500
+ | # | Role | Description | Status | Tokens |
501
+ |---|------|-------------|--------|--------|
502
+ | 1 | backend | DB schema + migrations | done | ~{wc -c / 4} |
503
+ | 2 | backend | API endpoints + tests | in-progress | ~{wc -c / 4} |
504
+ | 3 | frontend | Dashboard UI | pending | ~{wc -c / 4} |
504
505
 
505
506
  ## Git Status
506
507
  - Branch: {current branch}