@jterrats/open-orchestra 0.5.4 → 0.5.5
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/autonomous-phase-lifecycle.js +3 -2
- package/dist/autonomous-phase-lifecycle.js.map +1 -1
- package/dist/autonomous-run-store.js +2 -1
- package/dist/autonomous-run-store.js.map +1 -1
- package/dist/benchmark.js +69 -9
- package/dist/benchmark.js.map +1 -1
- package/dist/collaboration-flows.js +3 -15
- package/dist/collaboration-flows.js.map +1 -1
- package/dist/command-manifest.js +2 -2
- package/dist/command-manifest.js.map +1 -1
- package/dist/defaults.d.ts +4 -0
- package/dist/defaults.js +4 -0
- package/dist/defaults.js.map +1 -1
- package/dist/delegation-decision.js +2 -10
- package/dist/delegation-decision.js.map +1 -1
- package/dist/gemini-provider.js +7 -22
- package/dist/gemini-provider.js.map +1 -1
- package/dist/metrics-commands.js +16 -2
- package/dist/metrics-commands.js.map +1 -1
- package/dist/model-providers.js +7 -23
- package/dist/model-providers.js.map +1 -1
- package/dist/ollama-provider.js +8 -23
- package/dist/ollama-provider.js.map +1 -1
- package/dist/phase-executor.js +5 -0
- package/dist/phase-executor.js.map +1 -1
- package/dist/phase-playbooks.d.ts +9 -0
- package/dist/phase-playbooks.js +138 -0
- package/dist/phase-playbooks.js.map +1 -0
- package/dist/planning-commands.js +6 -0
- package/dist/planning-commands.js.map +1 -1
- package/dist/provider-utils.d.ts +10 -0
- package/dist/provider-utils.js +31 -0
- package/dist/provider-utils.js.map +1 -0
- package/dist/role-aliases.d.ts +2 -0
- package/dist/role-aliases.js +20 -0
- package/dist/role-aliases.js.map +1 -0
- package/dist/runtime-execution-renderer.d.ts +4 -3
- package/dist/runtime-execution-renderer.js +8 -2
- package/dist/runtime-execution-renderer.js.map +1 -1
- package/dist/runtime-execution.js +5 -1
- package/dist/runtime-execution.js.map +1 -1
- package/dist/subagent-protocol.js +2 -13
- package/dist/subagent-protocol.js.map +1 -1
- package/dist/types/metrics.d.ts +2 -0
- package/dist/types/model-config.d.ts +2 -0
- package/dist/types/skills.d.ts +7 -0
- package/dist/types.d.ts +1 -1
- package/dist/types.js.map +1 -1
- package/dist/web-api.js +6 -0
- package/dist/web-api.js.map +1 -1
- package/dist/workflow-gates.js +2 -11
- package/dist/workflow-gates.js.map +1 -1
- package/dist/workflow-run-commands.js +31 -3
- package/dist/workflow-run-commands.js.map +1 -1
- package/dist/workflow-services.js +2 -14
- package/dist/workflow-services.js.map +1 -1
- package/dist/workflow-templates.d.ts +2 -1
- package/dist/workflow-templates.js +4 -2
- package/dist/workflow-templates.js.map +1 -1
- package/dist/workspace.js +4 -0
- package/dist/workspace.js.map +1 -1
- package/docs/autonomous-workflow.md +43 -1
- package/package.json +1 -1
|
@@ -35,7 +35,7 @@ When a gate is reached, the run writes a review artifact to `.agent-workflow/app
|
|
|
35
35
|
|
|
36
36
|
## Provider-Backed Phase Execution
|
|
37
37
|
|
|
38
|
-
By default, workflow phases remain deterministic because the default provider is `none`. When a role or default provider route is configured to a non-`none` provider, each phase builds a prompt from task context, rendered skills, and prior handoff content, then writes the provider output to `.agent-workflow/runs/<task>/<phase>/`.
|
|
38
|
+
By default, workflow phases remain deterministic because the default provider is `none`. When a role or default provider route is configured to a non-`none` provider, each phase builds a prompt from task context, rendered skills, the active phase playbook, and prior handoff content, then writes the provider output to `.agent-workflow/runs/<task>/<phase>/`.
|
|
39
39
|
|
|
40
40
|
```bash
|
|
41
41
|
orchestra model set-role --role architect --provider fake --model fake-model
|
|
@@ -45,6 +45,39 @@ orchestra model provenance list --task FEAT-001 --json
|
|
|
45
45
|
|
|
46
46
|
Provider execution records `MODEL_PROVENANCE_RECORDED` events. The benchmark layer uses those events to report token and cost signals.
|
|
47
47
|
|
|
48
|
+
## Phase Playbooks
|
|
49
|
+
|
|
50
|
+
`orchestra init` creates editable phase playbooks in `.agent-workflow/playbooks/`:
|
|
51
|
+
|
|
52
|
+
```text
|
|
53
|
+
.agent-workflow/playbooks/
|
|
54
|
+
pm.md
|
|
55
|
+
po.md
|
|
56
|
+
architect.md
|
|
57
|
+
developer.md
|
|
58
|
+
qa.md
|
|
59
|
+
release.md
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Use playbooks for phase-specific guidance that should not live in always-loaded runtime instructions. Examples: QA evidence expectations, release go/no-go criteria, architecture decision format, or developer handoff requirements.
|
|
63
|
+
|
|
64
|
+
Playbooks are provider-agnostic. They are loaded into provider-backed phase prompts, `workflow render --phase <phase>`, runtime briefs, and runtime delegation packets. Only the active phase playbook is loaded.
|
|
65
|
+
|
|
66
|
+
Configuration is convention-over-config by default, with optional overrides:
|
|
67
|
+
|
|
68
|
+
```json
|
|
69
|
+
{
|
|
70
|
+
"workflow": {
|
|
71
|
+
"playbooksDir": ".agent-workflow/playbooks",
|
|
72
|
+
"phasePlaybooks": {
|
|
73
|
+
"developer": "custom-developer.md"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
If a playbook file is missing, Orchestra uses deterministic fallback guidance and surfaces a warning in rendered content.
|
|
80
|
+
|
|
48
81
|
## Architect Sizing Gate
|
|
49
82
|
|
|
50
83
|
Regardless of `--gates` mode, the architect phase always requires a sizing decision before the developer phase starts. In provider-backed mode the architect phase can record that decision automatically; otherwise, if no sizing decision is found, the run stops with the exact command to resolve it:
|
|
@@ -77,6 +110,15 @@ orchestra workflow run --task FEAT-001 --gates phase
|
|
|
77
110
|
# Resume a paused run after approving a gate
|
|
78
111
|
orchestra workflow run --task FEAT-001 --resume <run-id>
|
|
79
112
|
|
|
113
|
+
# Start a fresh run from an already-claimed phase
|
|
114
|
+
orchestra workflow run --task FEAT-001 --from-phase developer
|
|
115
|
+
|
|
116
|
+
# Resume an existing run from an explicit phase when automatic resume needs an override
|
|
117
|
+
orchestra workflow run --task FEAT-001 --resume <run-id> --from-phase qa
|
|
118
|
+
|
|
119
|
+
# Render a runtime brief with the active phase playbook
|
|
120
|
+
orchestra workflow render --task FEAT-001 --phase developer
|
|
121
|
+
|
|
80
122
|
# Cap the number of QA→developer retry iterations (default: 5)
|
|
81
123
|
orchestra workflow run --task FEAT-001 --gates none --max-iterations 3
|
|
82
124
|
|