@jterrats/open-orchestra 0.4.2-beta.1 → 0.5.0-beta.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.
Files changed (170) hide show
  1. package/AGENTS.md +5 -3
  2. package/README.md +29 -5
  3. package/dist/advisory-artifacts.d.ts +20 -0
  4. package/dist/advisory-artifacts.js +136 -0
  5. package/dist/advisory-artifacts.js.map +1 -0
  6. package/dist/assets/web-console.js +436 -4
  7. package/dist/cli.js +16 -117
  8. package/dist/cli.js.map +1 -1
  9. package/dist/command-manifest.d.ts +6 -0
  10. package/dist/command-manifest.js +141 -43
  11. package/dist/command-manifest.js.map +1 -1
  12. package/dist/command-utils.d.ts +5 -0
  13. package/dist/command-utils.js +23 -0
  14. package/dist/command-utils.js.map +1 -1
  15. package/dist/commands.d.ts +7 -42
  16. package/dist/commands.js +214 -1356
  17. package/dist/commands.js.map +1 -1
  18. package/dist/constants.js +3 -0
  19. package/dist/constants.js.map +1 -1
  20. package/dist/context-budget.d.ts +4 -0
  21. package/dist/context-budget.js +119 -0
  22. package/dist/context-budget.js.map +1 -0
  23. package/dist/delivery-commands.d.ts +10 -0
  24. package/dist/delivery-commands.js +152 -0
  25. package/dist/delivery-commands.js.map +1 -0
  26. package/dist/github.d.ts +50 -1
  27. package/dist/github.js +234 -0
  28. package/dist/github.js.map +1 -1
  29. package/dist/health-checks.d.ts +1 -0
  30. package/dist/health-checks.js +11 -1
  31. package/dist/health-checks.js.map +1 -1
  32. package/dist/health-commands.js +2 -0
  33. package/dist/health-commands.js.map +1 -1
  34. package/dist/mcp-oauth-proxy.d.ts +32 -0
  35. package/dist/mcp-oauth-proxy.js +120 -0
  36. package/dist/mcp-oauth-proxy.js.map +1 -1
  37. package/dist/memory.d.ts +2 -1
  38. package/dist/memory.js +71 -10
  39. package/dist/memory.js.map +1 -1
  40. package/dist/package-update-check.d.ts +5 -1
  41. package/dist/package-update-check.js +20 -8
  42. package/dist/package-update-check.js.map +1 -1
  43. package/dist/planning-commands.d.ts +14 -0
  44. package/dist/planning-commands.js +372 -0
  45. package/dist/planning-commands.js.map +1 -0
  46. package/dist/release-candidate.d.ts +2 -0
  47. package/dist/release-candidate.js +9 -14
  48. package/dist/release-candidate.js.map +1 -1
  49. package/dist/release-commands.d.ts +2 -0
  50. package/dist/release-commands.js +58 -6
  51. package/dist/release-commands.js.map +1 -1
  52. package/dist/release-readiness.d.ts +49 -0
  53. package/dist/release-readiness.js +172 -0
  54. package/dist/release-readiness.js.map +1 -0
  55. package/dist/runtime-commands.js +11 -4
  56. package/dist/runtime-commands.js.map +1 -1
  57. package/dist/runtime-execution-renderer.js +2 -0
  58. package/dist/runtime-execution-renderer.js.map +1 -1
  59. package/dist/runtime-execution.d.ts +4 -2
  60. package/dist/runtime-execution.js +11 -4
  61. package/dist/runtime-execution.js.map +1 -1
  62. package/dist/setup-agents-import.d.ts +42 -0
  63. package/dist/setup-agents-import.js +335 -0
  64. package/dist/setup-agents-import.js.map +1 -0
  65. package/dist/skills-catalog-service.d.ts +2 -0
  66. package/dist/skills-catalog-service.js +8 -0
  67. package/dist/skills-catalog-service.js.map +1 -0
  68. package/dist/skills-catalog.d.ts +2 -0
  69. package/dist/skills-catalog.js +389 -0
  70. package/dist/skills-catalog.js.map +1 -0
  71. package/dist/skills-commands.js +1 -11
  72. package/dist/skills-commands.js.map +1 -1
  73. package/dist/skills-events.d.ts +9 -0
  74. package/dist/skills-events.js +50 -0
  75. package/dist/skills-events.js.map +1 -0
  76. package/dist/skills-memory.d.ts +18 -0
  77. package/dist/skills-memory.js +127 -0
  78. package/dist/skills-memory.js.map +1 -0
  79. package/dist/skills-planning.d.ts +2 -0
  80. package/dist/skills-planning.js +87 -0
  81. package/dist/skills-planning.js.map +1 -0
  82. package/dist/skills-render.d.ts +14 -0
  83. package/dist/skills-render.js +83 -0
  84. package/dist/skills-render.js.map +1 -0
  85. package/dist/skills-validation.d.ts +2 -0
  86. package/dist/skills-validation.js +49 -0
  87. package/dist/skills-validation.js.map +1 -0
  88. package/dist/skills.d.ts +6 -42
  89. package/dist/skills.js +6 -773
  90. package/dist/skills.js.map +1 -1
  91. package/dist/task-graph-commands.d.ts +14 -0
  92. package/dist/task-graph-commands.js +367 -0
  93. package/dist/task-graph-commands.js.map +1 -0
  94. package/dist/tool-commands.js +8 -0
  95. package/dist/tool-commands.js.map +1 -1
  96. package/dist/types/context.d.ts +12 -0
  97. package/dist/types/context.js +2 -0
  98. package/dist/types/context.js.map +1 -0
  99. package/dist/types/metrics.d.ts +114 -0
  100. package/dist/types/metrics.js +2 -0
  101. package/dist/types/metrics.js.map +1 -0
  102. package/dist/types/model-config.d.ts +212 -0
  103. package/dist/types/model-config.js +2 -0
  104. package/dist/types/model-config.js.map +1 -0
  105. package/dist/types/runtime.d.ts +93 -0
  106. package/dist/types/runtime.js +2 -0
  107. package/dist/types/runtime.js.map +1 -0
  108. package/dist/types/skills.d.ts +147 -0
  109. package/dist/types/skills.js +2 -0
  110. package/dist/types/skills.js.map +1 -0
  111. package/dist/types/tasks.d.ts +171 -0
  112. package/dist/types/tasks.js +2 -0
  113. package/dist/types/tasks.js.map +1 -0
  114. package/dist/types/workflow-run.d.ts +79 -0
  115. package/dist/types/workflow-run.js +2 -0
  116. package/dist/types/workflow-run.js.map +1 -0
  117. package/dist/types.d.ts +13 -798
  118. package/dist/types.js +1 -1
  119. package/dist/types.js.map +1 -1
  120. package/dist/upgrade-commands.d.ts +2 -0
  121. package/dist/upgrade-commands.js +65 -0
  122. package/dist/upgrade-commands.js.map +1 -0
  123. package/dist/web-api-read-routes.d.ts +5 -0
  124. package/dist/web-api-read-routes.js +37 -0
  125. package/dist/web-api-read-routes.js.map +1 -0
  126. package/dist/web-api.d.ts +1 -3
  127. package/dist/web-api.js +145 -44
  128. package/dist/web-api.js.map +1 -1
  129. package/dist/web-console-sections.d.ts +2 -0
  130. package/dist/web-console-sections.js +7 -0
  131. package/dist/web-console-sections.js.map +1 -0
  132. package/dist/web-console.js +23 -3
  133. package/dist/web-console.js.map +1 -1
  134. package/dist/workflow-approval-service.d.ts +9 -0
  135. package/dist/workflow-approval-service.js +126 -0
  136. package/dist/workflow-approval-service.js.map +1 -0
  137. package/dist/workflow-approval-utils.d.ts +10 -0
  138. package/dist/workflow-approval-utils.js +82 -0
  139. package/dist/workflow-approval-utils.js.map +1 -0
  140. package/dist/workflow-budget-utils.d.ts +7 -0
  141. package/dist/workflow-budget-utils.js +96 -0
  142. package/dist/workflow-budget-utils.js.map +1 -0
  143. package/dist/workflow-evidence-service.d.ts +7 -0
  144. package/dist/workflow-evidence-service.js +100 -0
  145. package/dist/workflow-evidence-service.js.map +1 -0
  146. package/dist/workflow-run-commands.d.ts +8 -0
  147. package/dist/workflow-run-commands.js +479 -0
  148. package/dist/workflow-run-commands.js.map +1 -0
  149. package/dist/workflow-services.d.ts +8 -18
  150. package/dist/workflow-services.js +30 -481
  151. package/dist/workflow-services.js.map +1 -1
  152. package/dist/workflow-summary-service.d.ts +4 -0
  153. package/dist/workflow-summary-service.js +82 -0
  154. package/dist/workflow-summary-service.js.map +1 -0
  155. package/dist/workflow-templates.d.ts +1 -0
  156. package/dist/workflow-templates.js +1 -0
  157. package/dist/workflow-templates.js.map +1 -1
  158. package/dist/workspace.d.ts +18 -1
  159. package/dist/workspace.js +72 -4
  160. package/dist/workspace.js.map +1 -1
  161. package/docs/command-contracts.md +22 -0
  162. package/docs/mcp-oauth-proxy-evaluation.md +14 -0
  163. package/docs/orchestra-mvp.md +158 -114
  164. package/docs/package-naming.md +20 -0
  165. package/docs/persona-workflows.md +209 -0
  166. package/docs/runtime-adapters.md +19 -14
  167. package/docs/runtime-llm-flow.md +29 -28
  168. package/docs/setup-agents-bridge.md +61 -0
  169. package/docs/traceability-flow.md +89 -0
  170. package/package.json +9 -7
@@ -1 +1 @@
1
- {"version":3,"file":"workspace.js","sourceRoot":"","sources":["../src/workspace.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;A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S,CAAC,YAAY,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC/C,OAAO,gBAAgB,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;AAC/C,CAAC;AAED,SAAS,gBAAgB,CAAC,GAAG,QAAkB;IAC7C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,GAAG,QAAQ,CAAC,CAAC;AACpD,CAAC"}
@@ -0,0 +1,22 @@
1
+ # Command Contracts
2
+
3
+ `orchestra commands manifest --json` is the supported discovery surface for
4
+ automation. Entries include command text, required and optional flags, JSON
5
+ support, compatibility status, and reusable schema/message references.
6
+
7
+ ## Compatibility
8
+
9
+ - `stable`: command supports `--json`; output must be parseable JSON and may add
10
+ fields in minor releases.
11
+ - `experimental`: command is intended for humans or workflow mutation and should
12
+ not be consumed as a stable machine contract unless a future schema is linked.
13
+
14
+ ## Reusable Contracts
15
+
16
+ - `schemas/commands/generic-json-output.schema.json` defines the baseline JSON
17
+ parseability contract for stable commands.
18
+ - `messages/commands/generic-json-output.md` documents the consumer guidance for
19
+ stable JSON commands.
20
+
21
+ Command-specific schemas can replace the generic reference when a command output
22
+ is ready to be locked more tightly.
@@ -26,6 +26,19 @@ Evaluate an opt-in proxy pattern for HTTP MCP servers when a tool only supports
26
26
  - Refresh is evaluated without real credentials by injecting a refresh function into `refreshMcpTokenIfNeeded`.
27
27
  - Tokens refresh only inside the configured refresh window.
28
28
  - The minimum refresh window is 30 seconds to avoid last-second token expiry during tool calls.
29
+ - HTTP MCP requests retry once after a `401` by refreshing the token and
30
+ replaying the request with the new bearer token.
31
+
32
+ ## Discovery And Registration
33
+
34
+ - OAuth metadata is discovered through RFC 8414 at
35
+ `/.well-known/oauth-authorization-server`.
36
+ - Dynamic client registration follows RFC 7591 when `--dynamic-registration` is
37
+ enabled and no `clientId` is configured.
38
+ - Registration stores only the returned client credentials in memory for the
39
+ current start flow unless the caller persists config intentionally.
40
+ - Stdio proxy mode injects bearer tokens server-side; stdio clients never see
41
+ token material.
29
42
 
30
43
  ## Security Review
31
44
 
@@ -39,6 +52,7 @@ Evaluate an opt-in proxy pattern for HTTP MCP servers when a tool only supports
39
52
 
40
53
  ```bash
41
54
  orchestra mcp oauth-proxy evaluate --server-url https://mcp.example.com --enable --approve --approver <name> --json
55
+ orchestra mcp oauth-proxy start --server-url https://mcp.example.com --dynamic-registration --client-name "Open Orchestra" --enable --approve --approver <name>
42
56
  ```
43
57
 
44
58
  The command returns risks and recommendations only; it does not write MCP configuration.
@@ -38,119 +38,150 @@ Open Orchestra should treat skills as demand-loaded capabilities. Main files suc
38
38
 
39
39
  ## Commands
40
40
 
41
+ Use the installed CLI form in project documentation and automation:
42
+
41
43
  ```bash
42
- npm install
43
- npm run build
44
- npm run lint
45
- npm run typecheck
46
- npm run secret-scan
47
- npm test
48
- npm run hooks:install
49
- node bin/orchestra.js init
50
- node bin/orchestra.js status
51
- node bin/orchestra.js status --json
52
- node bin/orchestra.js validate
53
- node bin/orchestra.js validate --json
54
- node bin/orchestra.js task add --id TASK-1 --title "First task" --owner developer --paths src/commands.ts
55
- node bin/orchestra.js task list
56
- node bin/orchestra.js task update --id TASK-1 --status in_progress
57
- node bin/orchestra.js task deps --id TASK-1
58
- node bin/orchestra.js graph plan
59
- node bin/orchestra.js graph plan --json
60
- node bin/orchestra.js graph run-next
61
- node bin/orchestra.js graph run-next --json
62
- node bin/orchestra.js graph run-ready
63
- node bin/orchestra.js graph run-ready --json
64
- node bin/orchestra.js lock claim --task TASK-1 --role developer --path src/commands.ts --reason "editing commands"
65
- node bin/orchestra.js lock list
66
- node bin/orchestra.js lock release --id lock-123
67
- node bin/orchestra.js roles list
68
- node bin/orchestra.js roles list --json
69
- node bin/orchestra.js skills list
70
- node bin/orchestra.js skills list --json
71
- node bin/orchestra.js skills plan --task TASK-1
72
- node bin/orchestra.js skills plan --task TASK-1 --json
73
- node bin/orchestra.js skills render --target generic --task TASK-1
74
- node bin/orchestra.js skills render --target claude --task TASK-1
75
- node bin/orchestra.js skills render --target cursor --skills static-analysis,playwright-evidence
76
- node bin/orchestra.js skills render --target codex --task TASK-1
77
- node bin/orchestra.js skills render --target vscode --task TASK-1 --json
78
- node bin/orchestra.js skills validate
79
- node bin/orchestra.js skills validate --json
80
- node bin/orchestra.js sources list
81
- node bin/orchestra.js sources list --json
82
- node bin/orchestra.js lessons list
83
- node bin/orchestra.js lessons add --operation "shell edit" --failed-action "bad escaping" --error-signature "syntax error" --root-cause "unescaped token" --fix "escape token" --prevention "dry run first" --applies-to node,markdown --verified-by precommit
84
- node bin/orchestra.js lessons promote --to doc --filter escaping
85
- node bin/orchestra.js readiness --task TASK-1
86
- node bin/orchestra.js gate --gate architecture --task TASK-1
87
- node bin/orchestra.js gate --gate qa-release --task TASK-1
88
- node bin/orchestra.js gate --gate risk-review --task TASK-1
89
- node bin/orchestra.js gate --gate release-readiness --task TASK-1
90
- node bin/orchestra.js review list
91
- node bin/orchestra.js decision add --task TASK-1 --owner architect --title "Use service layer" --context "CLI should stay thin" --decision "Move behavior to services" --consequences "Reusable core"
92
- node bin/orchestra.js decision list --task TASK-1
93
- node bin/orchestra.js evidence list
94
- node bin/orchestra.js usage --task TASK-1
95
- node bin/orchestra.js usage --task TASK-1 --json
96
- node bin/orchestra.js budget check --task TASK-1
97
- node bin/orchestra.js budget check --task TASK-1 --json
98
- node bin/orchestra.js config show
99
- node bin/orchestra.js config show --json
100
- node bin/orchestra.js approvals list --task TASK-1
101
- node bin/orchestra.js approvals show --id TASK-1-budget-fallback
102
- node bin/orchestra.js approvals approve --id TASK-1-budget-fallback --approver "user" --rationale "approved cheaper fallback"
103
- node bin/orchestra.js approvals reject --id TASK-1-budget-fallback --approver "user" --rationale "not approved"
104
- node bin/orchestra.js summary
105
- node bin/orchestra.js summary --json
106
- node bin/orchestra.js pr-summary --task TASK-1
107
- node bin/orchestra.js pr-summary --task TASK-1 --json
108
- node bin/orchestra.js context --task TASK-1
109
- node bin/orchestra.js context --task TASK-1 --json
110
- node bin/orchestra.js plan --task TASK-1
111
- node bin/orchestra.js plan --task TASK-1 --json
112
- node bin/orchestra.js run --task TASK-1
113
- node bin/orchestra.js run --task TASK-1 --json
114
- node bin/orchestra.js run --task TASK-1 --approve-budget-fallback --approver "user" --rationale "approved cheaper fallback"
115
- node bin/orchestra.js run --task TASK-1 --json # consumes stored approved budget fallback when present
116
- node bin/orchestra.js playwright plan --task TASK-1
117
- node bin/orchestra.js playwright plan --task TASK-1 --json
118
- node bin/orchestra.js playwright evidence --task TASK-1 --kind trace --path trace.zip --summary "trace captured"
119
- node bin/orchestra.js model providers
120
- node bin/orchestra.js model providers --json
121
- node bin/orchestra.js model set-role --role developer --provider openai --model gpt-example
122
- node bin/orchestra.js model complete-fake --provider primary --model fake-model --prompt "hello" --fallbacks backup --fail-provider primary
123
- node bin/orchestra.js model provenance add --task TASK-1 --role developer --provider openai --model gpt-example --prompt-id prompt-1 --response-id response-1 --finish-reason stop
124
- node bin/orchestra.js model provenance list --task TASK-1 --json
125
-
126
- # Autonomous workflow
127
- node bin/orchestra.js workflow run --task TASK-1 --dry-run --gates phase
128
- node bin/orchestra.js workflow run --task TASK-1 --gates none
129
- node bin/orchestra.js workflow run --task TASK-1 --gates phase
130
- node bin/orchestra.js workflow run --task TASK-1 --gates all
131
- node bin/orchestra.js workflow run --task TASK-1 --resume <run-id>
132
- node bin/orchestra.js workflow runs
133
- node bin/orchestra.js workflow runs --json
134
-
135
- # Clarification loop
136
- node bin/orchestra.js workflow clarify --run <run-id> --from developer --to po --question "..."
137
- node bin/orchestra.js workflow clarify --run <run-id> --from developer --to architect --question "..."
138
- node bin/orchestra.js workflow clarify --run <run-id> --from qa --to po --question "..."
139
- node bin/orchestra.js workflow clarify-respond --run <run-id> --clarification <id> --answer "..."
140
- node bin/orchestra.js workflow clarify-list --run <run-id>
141
- node bin/orchestra.js workflow clarify-list --run <run-id> --json
142
-
143
- # Benchmark & burndown
144
- node bin/orchestra.js estimate --task TASK-1 --sizing m --solo-days 5 --ai-unguided-days 3
145
- node bin/orchestra.js estimate --task TASK-1 --sizing l --solo-days 8 --ai-unguided-days 5 --confidence high --declared-by pm --json
146
- node bin/orchestra.js benchmark --task TASK-1
147
- node bin/orchestra.js benchmark --task TASK-1 --json
148
- node bin/orchestra.js benchmark --summary
149
- node bin/orchestra.js benchmark --summary --json
150
- node bin/orchestra.js burndown --sprint TASK-1,TASK-2,TASK-3
151
- node bin/orchestra.js burndown --sprint TASK-1,TASK-2,TASK-3 --json
44
+ orchestra init
45
+ orchestra health --json
46
+ orchestra commands manifest --json
47
+ orchestra status --json
152
48
  ```
153
49
 
50
+ For installed-package dogfooding, run `npm run test:e2e:init` after installing
51
+ the package under test. The suite resolves `orchestra` from `PATH`, uses real
52
+ temporary workspaces, and avoids Unix shell features so the coverage can run on
53
+ Windows, Linux, and macOS.
54
+
55
+ The first-use E2E path starts from an empty temporary project and exercises the
56
+ installed binary through `orchestra init`, `orchestra health --json`,
57
+ `orchestra task add`, `orchestra status --json`, `orchestra handoff`,
58
+ `orchestra evidence add`, and `orchestra gate --gate release-readiness`. The
59
+ same test intentionally checks the blocked release-readiness output before
60
+ evidence is attached, so missing fields such as QA evidence or a developer to QA
61
+ handoff remain visible as recovery steps.
62
+
63
+ Supported local development platforms are macOS, Linux, and Windows with a
64
+ current Node.js runtime. The core validation scripts are written in Node where
65
+ shell differences matter; in particular, `npm run validate:workflow` does not
66
+ require `sh` and runs the local build plus `orchestra validate` whenever
67
+ `.agent-workflow/` exists. CI runs installed-package dogfooding and workflow
68
+ validation on `ubuntu-latest`, `macos-latest`, and `windows-latest`.
69
+
70
+ When developing Open Orchestra itself, run `npm install`, `npm run build`,
71
+ `npm run lint`, `npm run typecheck`, `npm run secret-scan`, `npm test`, and use
72
+ `node bin/orchestra.js ...` when you need to exercise the local checkout before
73
+ installing or packing it.
74
+
75
+ Core task and graph commands:
76
+
77
+ ```bash
78
+ orchestra task add --id TASK-1 --title "First task" --owner developer --paths src/commands.ts
79
+ orchestra task list --json
80
+ orchestra task update --id TASK-1 --status in_progress
81
+ orchestra task deps --id TASK-1 --json
82
+ orchestra graph plan --json
83
+ orchestra graph run-next --json
84
+ orchestra graph run-ready --json
85
+ orchestra github sync --issue 169 --task GITHUB-SYNC --comment --transport gh --dry-run --json
86
+ orchestra lock claim --task TASK-1 --role developer --path src/commands.ts --reason "editing commands"
87
+ orchestra lock list --json
88
+ ```
89
+
90
+ Issue sync maps visible backlog into workflow state with explicit, reviewable
91
+ mutations. By default `orchestra github sync --issue <number>` uses
92
+ `--transport gh`, reads issue title, body sections, labels, milestone, URL, and
93
+ state through the GitHub CLI, and creates or updates task `GH-<number>`. Use
94
+ `--task <id>` to preserve a named backlog item such as `GITHUB-SYNC`, `--owner`
95
+ and `--status` to override local task metadata, `--comment` to upsert a single
96
+ idempotent issue comment with status and evidence counts, and `--close` only
97
+ when release readiness passes. If release readiness is blocked, closure
98
+ requires `--accepted-risk <text>`. `--dry-run --json` prints planned commands
99
+ without writing local tasks, comments, or issue state.
100
+
101
+ The transport boundary is intentionally tracker-agnostic. The local CLI can
102
+ execute `gh` because it is a child process with stable arguments. MCP-backed
103
+ trackers such as GitHub MCP, Jira, Bitbucket, GitLab, or a custom work tracker
104
+ belong to the agent runtime rather than the Node process, so they should be
105
+ exposed through a tracker skill/adapter that implements equivalent
106
+ issue-read/comment-upsert/close operations. `--transport mcp-skill` records that
107
+ intent and fails locally with recovery guidance unless a runtime injects a
108
+ compatible runner.
109
+
110
+ Default mapping is intentionally small: issue title -> task title, issue URL ->
111
+ backlog item, `## Acceptance Criteria` bullets -> task acceptance criteria,
112
+ labels -> risks, milestone -> scope, and `## Test Evidence Required` -> test
113
+ strategy. Teams can make the mapping explicit per run with command flags until
114
+ project-level mapping policy is added.
115
+
116
+ Context, memory, skills, and runtime rendering:
117
+
118
+ ```bash
119
+ orchestra context --task TASK-1 --json
120
+ orchestra context --task TASK-1 --budget 12000 --json
121
+ orchestra memory query --task TASK-1 --role developer --budget 2000 --json
122
+ orchestra memory hook --point before_plan --task TASK-1 --role qa --json
123
+ orchestra skills plan --task TASK-1 --json
124
+ orchestra skills render --target codex --task TASK-1
125
+ orchestra protocol render --target codex --task TASK-1
126
+ orchestra workflow render --target codex --task TASK-1
127
+ orchestra runtime brief --task TASK-1 --runtime codex-cli --json
128
+ ```
129
+
130
+ Memory hooks are explicit retrieval points for lessons learned and prompt
131
+ registry entries. Bundles are scoped by role (`product_owner`, `architect`,
132
+ `developer`, `qa`, or `release_manager`) and report token budget, estimated
133
+ tokens, kept and omitted sections, and trimming rationale in both JSON and human
134
+ output.
135
+
136
+ Delivery evidence, handoff, and gates:
137
+
138
+ ```bash
139
+ orchestra readiness --task TASK-1
140
+ orchestra handoff --task TASK-1 --from developer --to qa --changed "..." --behavior "..." --tests "..." --commands "..." --update-owner
141
+ orchestra evidence add --task TASK-1 --role developer --type command --summary "npm test passed" --command "npm test" --exit-code 0
142
+ orchestra review --task TASK-1 --role qa --result approve --findings "..." --recommendation "..."
143
+ orchestra gate --gate architecture --task TASK-1
144
+ orchestra gate --gate qa-release --task TASK-1
145
+ orchestra gate --gate risk-review --task TASK-1
146
+ orchestra gate --gate release-readiness --task TASK-1
147
+ ```
148
+
149
+ `orchestra release check --json` includes a structured `releaseReadiness`
150
+ report when the workspace is initialized. It maps each acceptance criterion to
151
+ traceable evidence, flags uncovered AC, unresolved blocker reviews, active
152
+ locks, and missing smoke or rollback evidence. Browser/UI criteria require
153
+ Playwright-style screenshot, trace, or video evidence unless the task has an
154
+ accepted risk.
155
+
156
+ Upgrade dogfooding:
157
+
158
+ ```bash
159
+ orchestra upgrade --json
160
+ orchestra upgrade --beta --json
161
+ orchestra upgrade --smoke --json
162
+ ```
163
+
164
+ Stable installs use `npm install -g @jterrats/open-orchestra@latest`; beta
165
+ dogfooding uses `npm install -g @jterrats/open-orchestra@beta` or the exact
166
+ version reported by `orchestra upgrade --beta`. After upgrading, run the smoke
167
+ command shown by the CLI to verify the installed binary and health report.
168
+
169
+ Model routing, budget, telemetry, and release:
170
+
171
+ ```bash
172
+ orchestra model providers --json
173
+ orchestra model set-role --role developer --provider openai --model gpt-example
174
+ orchestra budget check --task TASK-1 --json
175
+ orchestra telemetry status --json
176
+ orchestra release check --json
177
+ orchestra release candidate --version 1.0.0-beta.1 --json
178
+ orchestra release tag --version 1.0.0-beta.1 --approve --approver "user" --json
179
+ ```
180
+
181
+ Use `orchestra commands manifest --json` as the canonical machine-readable
182
+ command surface. It includes stable JSON contracts, required flags, optional
183
+ flags, and examples generated from the current CLI.
184
+
154
185
  ## Autonomous Workflow Engine
155
186
 
156
187
  `orchestra workflow run` executes a full story lifecycle as a governed multi-phase sequence. Each phase creates a sub-task, generates handoff artifacts, and persists state in an append-only run log.
@@ -265,7 +296,11 @@ The VS Code Control Center scaffold is under `extensions/vscode-open-orchestra`.
265
296
 
266
297
  ## Reusable Core
267
298
 
268
- - `src/types.ts` owns workflow domain contracts shared by CLI and future adapters.
299
+ - `src/types.ts` is the compatibility barrel for public TypeScript contracts
300
+ shared by CLI, web, VS Code, and future adapters. New domain-owned contracts
301
+ should live in focused modules under `src/types/` and be re-exported from the
302
+ barrel; existing consumers should continue importing from `src/types.ts`
303
+ unless they intentionally depend on a narrower internal domain module.
269
304
  - `src/workflow-services.ts` owns reusable workflow behavior for tasks, locks, readiness, handoffs, reviews, evidence, status, and summary.
270
305
  - `orchestra task deps` checks whether task dependencies are approved or done before downstream work starts.
271
306
  - `orchestra graph plan` classifies current tasks as dependency-ready, blocked, or complete before execution.
@@ -274,17 +309,20 @@ The VS Code Control Center scaffold is under `extensions/vscode-open-orchestra`.
274
309
  - Graph scheduling omits tasks with active task locks or path conflicts and reports them as locked.
275
310
  - Graph batch runs write summary artifacts under `.agent-workflow/runs/batches/`.
276
311
  - `orchestra decision` records ADR-like decision artifacts and append-only events for task context.
277
- - `orchestra context` aggregates task state, dependencies, locks, decisions, handoffs, reviews, evidence, gates, model provenance, and risks before an agent starts work.
312
+ - `orchestra context` aggregates task state, dependencies, locks, decisions, handoffs, reviews, evidence, gates, model provenance, memory, and risks before an agent starts work, with a configurable context budget.
313
+ - `orchestra memory query` and `orchestra memory hook` retrieve bounded lessons and prompt-registry memory at lifecycle checkpoints without loading the full history into the prompt.
278
314
  - `orchestra plan` generates an ordered parent-agent execution plan by role without invoking model providers.
279
315
  - `orchestra run` checks task dependencies and usage budgets before execution, then can execute an approved budget fallback with the deterministic fake provider, recording step events and model provenance without network calls.
280
316
  - Budget fallback requests write reviewable approval proposals under `.agent-workflow/approvals/`.
281
- - Stored approved budget fallback proposals can be consumed by a later `orchestra run` without repeating approval flags.
317
+ - Stored approved budget fallback proposals can be consumed by a later `orchestra run` without repeating approval flags. Timeout errors do not fall back to another provider automatically.
282
318
  - Run steps write artifacts under `.agent-workflow/runs/<task>/` so downstream agents can consume prior role output.
319
+ - `orchestra handoff --update-owner` records the handoff and transfers task ownership to the receiving role explicitly.
283
320
  - `orchestra pr-summary` generates PR or release-review context from task state, evidence, reviews, gates, handoffs, locks, rollout notes, and rollback notes.
284
321
  - `orchestra playwright plan` generates deterministic Playwright test plans from task acceptance criteria and QA context.
285
322
  - `orchestra playwright evidence` attaches Playwright screenshots, traces, videos, or reports through the existing evidence workflow.
286
323
  - `orchestra usage` aggregates request counts, token totals, and estimated model cost from recorded model provenance events.
287
324
  - `orchestra budget check` enforces configured usage budgets from local provenance events and fails when limits are exceeded.
325
+ - `orchestra telemetry` is disabled by default and requires explicit consent before export or submission.
288
326
  - `orchestra approvals` lists, shows, approves, and rejects approval proposal artifacts through append-only decision events.
289
327
  - `src/workflow-gates.ts` owns reusable gate evaluators. Current gates include `architecture`, which blocks non-trivial work until proposal, user approval, and architect approval are present; `qa-release`, which requires QA plan, execution status, evidence, and no unresolved critical QA block; `risk-review`, which maps impact areas to required risk-owner reviews; and `release-readiness`, which composes readiness, architecture, QA, risk, evidence, handoff, review, and lock checks.
290
328
  - `src/model-providers.ts` owns provider-agnostic model contracts, an in-memory provider registry, and a fake provider for deterministic tests.
@@ -292,6 +330,12 @@ The VS Code Control Center scaffold is under `extensions/vscode-open-orchestra`.
292
330
  - `orchestra model set-role` configures provider/model routing per role without invoking real model APIs.
293
331
  - `orchestra model complete-fake` simulates provider fallback behavior without invoking real model APIs.
294
332
  - `orchestra model provenance` records model usage metadata in the append-only event log without storing raw prompts, raw responses, or secrets.
333
+ - `orchestra release check`, `release candidate`, `release tag`, and `release evidence` provide a local release-readiness flow for stable, beta, and other prerelease tags.
334
+ - `orchestra health --network` can check for a newer published package version and print the exact `npm install -g @jterrats/open-orchestra@<version>` update command when one is available.
335
+ - Package identity is intentionally split: `@jterrats/open-orchestra` is the
336
+ canonical npm package and `orchestra` is the installed CLI binary. Do not use
337
+ `@jterrats/orchestra` in install snippets unless a future alias package is
338
+ explicitly published and documented.
295
339
  - `src/commands.ts` is the CLI adapter: it parses command options, delegates to services, and renders terminal output.
296
340
  - Services accept an explicit repo root, so future web, GitHub Actions, Playwright, or multi-model orchestration layers can reuse the same core without depending on `process.cwd()`.
297
341
 
@@ -328,7 +372,7 @@ See [benchmark.md](benchmark.md) for the full reference.
328
372
  - Clarification loop (`workflow clarify`) allows developer and QA phases to surface blocking questions to PO or architect without abandoning the run.
329
373
  - Benchmark (`orchestra estimate` + `orchestra benchmark`) compares declared effort baselines against actual cycle time and automatically collected quality signals from the event log.
330
374
  - Sprint burndown (`orchestra burndown`) computes ideal vs actual lines from developer or architect story point estimates.
331
- - No real LLM calls in the autonomous engine phases complete deterministically and generate handoff artifacts; LLM execution per phase is a future layer.
375
+ - Provider-backed workflow execution supports deterministic `fake`, OpenAI Responses API, and Anthropic Messages API adapters when configured. The default provider remains `none`, so workflows stay deterministic unless routing is explicitly enabled.
332
376
  - No automatic code editing.
333
377
  - Python workers are represented in config only and disabled by default.
334
378
  - Static analysis is enforced locally through `.githooks/pre-commit` after running `npm run hooks:install`.
@@ -0,0 +1,20 @@
1
+ # Package Naming Decision
2
+
3
+ Open Orchestra keeps two public names with different meanings:
4
+
5
+ - npm package: `@jterrats/open-orchestra`
6
+ - installed CLI binary: `orchestra`
7
+
8
+ The canonical install command is:
9
+
10
+ ```bash
11
+ npm install -g @jterrats/open-orchestra
12
+ ```
13
+
14
+ Do not document `@jterrats/orchestra` as an install target yet. That package is
15
+ not the canonical published package for this project. If the shorter package
16
+ name is reserved or published later, it should be introduced as an explicit
17
+ alias with a documented ownership, forwarding, and deprecation strategy.
18
+
19
+ Update warnings and release notes must use the package name from `package.json`
20
+ and may continue to refer to the CLI command as `orchestra`.
@@ -0,0 +1,209 @@
1
+ # Persona Workflows
2
+
3
+ Use these paths when you want to operate Open Orchestra by role instead of
4
+ learning the full command catalog first. Commands assume the installed CLI form:
5
+ `orchestra`.
6
+
7
+ ## Product Owner Refinement
8
+
9
+ Goal: turn a backlog item into a task that is ready for architecture and
10
+ delivery.
11
+
12
+ Commands:
13
+
14
+ ```bash
15
+ orchestra health --json
16
+ orchestra task add --id STORY-001 --title "..." --owner product_owner \
17
+ --paths "src,docs,test" --goal "..." --acceptance "..." \
18
+ --risks "..." --test-strategy "..."
19
+ orchestra github sync --issue 123 --task STORY-001 --comment --dry-run --json
20
+ orchestra context --task STORY-001
21
+ ```
22
+
23
+ Expected artifacts:
24
+
25
+ - `.agent-workflow/tasks.json` task entry with backlog item, acceptance
26
+ criteria, assumptions, risks, paths, and test strategy.
27
+ - GitHub sync dry-run or comment evidence when using GitHub issues.
28
+ - Context output showing memory, missing artifacts, and selected workflow.
29
+
30
+ Common blockers:
31
+
32
+ - Missing acceptance criteria or test strategy.
33
+ - GitHub CLI unavailable in local shell.
34
+ - Issue tracker is not GitHub.
35
+
36
+ Recovery:
37
+
38
+ - Add missing readiness fields with `orchestra task update --id STORY-001 ...`.
39
+ - Use `orchestra github sync --transport mcp-skill` only as a runtime-adapter
40
+ boundary; tracker MCP skills for GitHub, Jira, Bitbucket, GitLab, or custom
41
+ trackers must inject equivalent issue/comment/close operations.
42
+ - Continue locally with task metadata when tracker sync is unavailable.
43
+
44
+ Related docs: [first-use flow](../README.md#quick-start),
45
+ [GitHub sync](orchestra-mvp.md), and [memory hooks](orchestra-mvp.md).
46
+
47
+ ## Developer Execution
48
+
49
+ Goal: implement a scoped task with role handoffs, evidence, and workflow gates.
50
+
51
+ Commands:
52
+
53
+ ```bash
54
+ orchestra delegation decide --task STORY-001
55
+ orchestra workflow run --task STORY-001 --gates phase
56
+ orchestra decision add --task STORY-001 --owner architect \
57
+ --title "Story sizing" --decision "m 3 points" \
58
+ --context "..." --consequences "..." --status accepted
59
+ orchestra memory hook --point before_implementation --task STORY-001 \
60
+ --role developer --json
61
+ orchestra evidence add --task STORY-001 --role developer --type command \
62
+ --summary "npm run precommit passed" --command "npm run precommit" \
63
+ --exit-code 0
64
+ ```
65
+
66
+ Expected artifacts:
67
+
68
+ - Workflow run records in `.agent-workflow/workflow-runs.jsonl`.
69
+ - Decisions and handoffs under `.agent-workflow/decisions/` and
70
+ `.agent-workflow/handoffs/`.
71
+ - Command evidence under `.agent-workflow/evidence/`.
72
+
73
+ Common blockers:
74
+
75
+ - Architect sizing missing before development.
76
+ - Active locks on overlapping paths.
77
+ - Context budget too high or memory output too broad.
78
+
79
+ Recovery:
80
+
81
+ - Record the sizing decision printed by the workflow failure.
82
+ - Inspect conflicts with `orchestra graph plan --json`.
83
+ - Query role-scoped memory with `orchestra memory query --role developer`.
84
+
85
+ Related docs: [autonomous workflow](autonomous-workflow.md),
86
+ [runtime flow](runtime-llm-flow.md), and [memory governance](orchestra-mvp.md).
87
+
88
+ ## QA Validation
89
+
90
+ Goal: prove acceptance criteria with traceable evidence and release-ready
91
+ coverage.
92
+
93
+ Commands:
94
+
95
+ ```bash
96
+ orchestra playwright plan --task STORY-001
97
+ orchestra playwright evidence --task STORY-001 --kind screenshot \
98
+ --summary "Browser AC passed" --path path/to/screenshot.png
99
+ orchestra review --task STORY-001 --role qa --result approve \
100
+ --findings "AC covered" --recommendation "Release handoff approved"
101
+ orchestra gate --gate qa-release --task STORY-001
102
+ ```
103
+
104
+ Expected artifacts:
105
+
106
+ - QA review in `.agent-workflow/reviews/`.
107
+ - Unit, integration, manual, or Playwright evidence mapped to acceptance
108
+ criteria.
109
+ - QA gate result showing no missing plan, execution status, or QA evidence.
110
+
111
+ Common blockers:
112
+
113
+ - Browser/UI AC has only report evidence and no Playwright artifact.
114
+ - QA review blocks are unresolved.
115
+ - Evidence summary does not identify the AC it covers.
116
+
117
+ Recovery:
118
+
119
+ - Attach screenshot, trace, or video evidence for browser criteria.
120
+ - Resolve blocker reviews with a new QA review after fixes.
121
+ - Use evidence summaries that name the acceptance criterion or say
122
+ "covers all acceptance criteria."
123
+
124
+ Related docs: [release readiness](orchestra-mvp.md) and
125
+ [Playwright evidence](orchestra-mvp.md).
126
+
127
+ ## Tech Lead Oversight
128
+
129
+ Goal: keep parallel work coordinated and reviewable.
130
+
131
+ Commands:
132
+
133
+ ```bash
134
+ orchestra graph plan --json
135
+ orchestra review --task STORY-001 --role tech_lead --result approve \
136
+ --findings "Diff and tests reviewed" --recommendation "Proceed"
137
+ orchestra pr-summary --task STORY-001
138
+ orchestra commands manifest --json
139
+ ```
140
+
141
+ Expected artifacts:
142
+
143
+ - Graph plan with ready, blocked, locked, and dependency-ready tasks.
144
+ - Tech lead review artifact with severity and recommendation.
145
+ - PR summary with evidence, risks, and remaining gaps.
146
+
147
+ Common blockers:
148
+
149
+ - Multiple agents edit the same path without locks.
150
+ - Command behavior is duplicated outside the manifest.
151
+ - PR lacks command evidence or reviewer context.
152
+
153
+ Recovery:
154
+
155
+ - Split work by stable path boundaries and record locks.
156
+ - Check the manifest before adding commands.
157
+ - Add missing evidence and rerun `orchestra pr-summary --task STORY-001`.
158
+
159
+ Related docs: [command contracts](command-contracts.md),
160
+ [traceability](traceability-flow.md), and [runtime adapters](runtime-adapters.md).
161
+
162
+ ## Release Management
163
+
164
+ Goal: decide whether a story or candidate release can ship.
165
+
166
+ Commands:
167
+
168
+ ```bash
169
+ orchestra release check --json
170
+ orchestra release evidence --kind smoke --summary "smoke passed"
171
+ orchestra release evidence --kind rollback --summary "rollback verified"
172
+ orchestra gate --gate release-readiness --task STORY-001
173
+ orchestra release candidate --version 0.5.0-beta.0 --json
174
+ ```
175
+
176
+ Expected artifacts:
177
+
178
+ - Release check JSON with acceptance coverage, blockers, locks, smoke, and
179
+ rollback gaps.
180
+ - Smoke and rollback evidence events.
181
+ - Candidate release plan under `.agent-workflow/releases/`.
182
+
183
+ Common blockers:
184
+
185
+ - Uncovered acceptance criteria.
186
+ - Active locks or blocker reviews.
187
+ - Missing smoke or rollback evidence.
188
+ - Dirty working tree during release check.
189
+
190
+ Recovery:
191
+
192
+ - Attach required evidence or record an accepted risk on the task.
193
+ - Resolve locks and blocking reviews.
194
+ - Run `orchestra upgrade --smoke --json` after installing a new package version.
195
+
196
+ Related docs: [upgrade dogfooding](orchestra-mvp.md),
197
+ [package naming](package-naming.md), and [release readiness](orchestra-mvp.md).
198
+
199
+ ## Docs Review Checklist
200
+
201
+ Before release, verify:
202
+
203
+ - Persona paths use `orchestra`, not local `node bin/orchestra.js`, unless the
204
+ section is explicitly about repository development.
205
+ - Package references use `@jterrats/open-orchestra`.
206
+ - Links cover first-use onboarding, web console, memory, GitHub sync, release
207
+ readiness, and upgrade dogfooding.
208
+ - Commands list expected artifacts, common blockers, and recovery steps.
209
+ - Site copy reflects implemented capabilities, not planned-only features.