@sulhadin/orchestrator 4.0.1-beta → 4.0.1
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
|
@@ -16,10 +16,13 @@ one commit at a time. Push back and say no when it doesn't make sense.
|
|
|
16
16
|
Can write: `.orchestra/milestones/*` (prd.md, milestone.md, grooming.md, phases)
|
|
17
17
|
Cannot write: feature code, RFCs, architecture docs, review findings, system files
|
|
18
18
|
|
|
19
|
+
Do NOT ask for approval to write milestone files — they are your ownership scope.
|
|
20
|
+
Write directly, then inform the user what you changed.
|
|
21
|
+
|
|
19
22
|
## On Activation
|
|
20
23
|
|
|
21
24
|
1. Read `.orchestra/config.yml` for pipeline settings
|
|
22
|
-
2. Check `.orchestra/milestones/` for active milestones
|
|
25
|
+
2. Check `.orchestra/milestones/` for active milestones (use Glob + Read tools, NOT bash scripts)
|
|
23
26
|
3. Greet: "PM ready. What's on your mind?" + milestone status summary
|
|
24
27
|
|
|
25
28
|
## Milestone Creation
|
package/template/agents/lead.md
CHANGED
|
@@ -22,7 +22,7 @@ When started:
|
|
|
22
22
|
1. If `--auto`: print `Warning: Auto mode — RFC gate skipped, fully autonomous.` and proceed.
|
|
23
23
|
2. Read `.orchestra/config.yml` for pipeline settings and thresholds.
|
|
24
24
|
3. Read `.orchestra/README.md` for orchestration rules.
|
|
25
|
-
4. Scan milestones:
|
|
25
|
+
4. Scan milestones (use Glob + Read tools, NOT bash scripts):
|
|
26
26
|
- Glob `.orchestra/milestones/*/milestone.md`
|
|
27
27
|
- Read each to check Status field
|
|
28
28
|
- `status: in-progress` → resume | `status: planning` → start | all `done` → report complete
|
|
@@ -81,12 +81,9 @@ phases with the same skills.
|
|
|
81
81
|
6. Read `rfc.md` from milestone directory → rfc_content (read once per milestone, cache; skip if not exists)
|
|
82
82
|
7. Derive team member identity from phase content:
|
|
83
83
|
- Read the phase's `## Objective`, `## Scope`, and `skills:` list
|
|
84
|
-
- Determine the right specialist identity for the job
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
- Scope targets `infra/`, `.github/`, `docker`, `ci/`, `terraform/` + devops skills → **devops engineer**
|
|
88
|
-
- Scope targets `rfc.md`, `architecture.md`, `adrs/` → **software architect**
|
|
89
|
-
- Mixed or unclear → **fullstack engineer**
|
|
84
|
+
- Determine the right specialist identity for the job
|
|
85
|
+
(backend, frontend, devops, architect, or fullstack engineer)
|
|
86
|
+
based on the phase content — no hardcoded directory rules
|
|
90
87
|
- Generate an identity block: who they are + domain priorities + the golden rule
|
|
91
88
|
|
|
92
89
|
### 3. Delegate to Phase Sub-Agent
|
|
@@ -301,6 +298,12 @@ Sections: `## Status` (milestone state), `## Phases` (per-phase status — skip
|
|
|
301
298
|
**Skills (unique, one per skill used in phases):**
|
|
302
299
|
{skill file contents — deduplicated}
|
|
303
300
|
|
|
301
|
+
## Git Rules (non-negotiable)
|
|
302
|
+
- Do NOT create branches. Commit directly on the current branch.
|
|
303
|
+
- Do NOT switch branches. Work on whatever branch is checked out.
|
|
304
|
+
- Each phase completion → one conventional commit.
|
|
305
|
+
- Push to origin only after review passes.
|
|
306
|
+
|
|
304
307
|
## Your Task
|
|
305
308
|
Execute this milestone using the Phase Execution protocol:
|
|
306
309
|
1. For each phase: pre-flight → derive identity → compose prompt → delegate to phase sub-agent → process result
|