@jterrats/open-orchestra 0.4.2-beta.1 → 0.4.2-beta.2
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/AGENTS.md +5 -3
- package/dist/advisory-artifacts.d.ts +14 -0
- package/dist/advisory-artifacts.js +100 -0
- package/dist/advisory-artifacts.js.map +1 -0
- package/dist/assets/web-console.js +139 -0
- package/dist/cli.js +10 -6
- package/dist/cli.js.map +1 -1
- package/dist/command-manifest.d.ts +3 -0
- package/dist/command-manifest.js +9 -1
- package/dist/command-manifest.js.map +1 -1
- package/dist/commands.d.ts +1 -0
- package/dist/commands.js +28 -2
- package/dist/commands.js.map +1 -1
- package/dist/constants.js +2 -0
- package/dist/constants.js.map +1 -1
- package/dist/context-budget.d.ts +4 -0
- package/dist/context-budget.js +119 -0
- package/dist/context-budget.js.map +1 -0
- package/dist/mcp-oauth-proxy.d.ts +32 -0
- package/dist/mcp-oauth-proxy.js +120 -0
- package/dist/mcp-oauth-proxy.js.map +1 -1
- package/dist/runtime-commands.js +10 -0
- package/dist/runtime-commands.js.map +1 -1
- package/dist/runtime-execution-renderer.js +2 -0
- package/dist/runtime-execution-renderer.js.map +1 -1
- package/dist/runtime-execution.d.ts +4 -2
- package/dist/runtime-execution.js +11 -4
- package/dist/runtime-execution.js.map +1 -1
- package/dist/setup-agents-import.d.ts +42 -0
- package/dist/setup-agents-import.js +337 -0
- package/dist/setup-agents-import.js.map +1 -0
- package/dist/tool-commands.js +8 -0
- package/dist/tool-commands.js.map +1 -1
- package/dist/types.d.ts +36 -0
- package/dist/types.js.map +1 -1
- package/dist/web-api.js +124 -1
- package/dist/web-api.js.map +1 -1
- package/dist/web-console.js +1 -1
- package/dist/workflow-services.d.ts +3 -1
- package/dist/workflow-services.js +4 -2
- package/dist/workflow-services.js.map +1 -1
- package/dist/workflow-templates.d.ts +1 -0
- package/dist/workflow-templates.js +1 -0
- package/dist/workflow-templates.js.map +1 -1
- package/dist/workspace.js +6 -0
- package/dist/workspace.js.map +1 -1
- package/docs/command-contracts.md +22 -0
- package/docs/mcp-oauth-proxy-evaluation.md +14 -0
- package/docs/runtime-adapters.md +4 -0
- package/docs/setup-agents-bridge.md +61 -0
- package/docs/traceability-flow.md +89 -0
- package/package.json +7 -6
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# Story To Release Traceability
|
|
2
|
+
|
|
3
|
+
Open Orchestra keeps delivery traceability in `.agent-workflow/`. The goal is
|
|
4
|
+
to connect a backlog story to technical work, verification evidence, reviews,
|
|
5
|
+
and release readiness without relying on chat history.
|
|
6
|
+
|
|
7
|
+
## Product Owner Refinement
|
|
8
|
+
|
|
9
|
+
Start with a task that has a backlog item, goal, scope, acceptance criteria,
|
|
10
|
+
risks, and test strategy:
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
orchestra task add --id STORY-1 --title "..." --owner product_owner --backlog HU-1 --acceptance "criterion one,criterion two"
|
|
14
|
+
orchestra task update --id STORY-1 --goal "..." --scope "..." --risks "..." --test-strategy "..."
|
|
15
|
+
orchestra readiness --task STORY-1
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
The task record is the story anchor. Keep acceptance criteria user-visible and
|
|
19
|
+
avoid hiding product requirements in handoff notes.
|
|
20
|
+
|
|
21
|
+
## Developer Delivery
|
|
22
|
+
|
|
23
|
+
Before implementation, the developer reads the context bundle and records
|
|
24
|
+
material decisions:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
orchestra context --task STORY-1 --json
|
|
28
|
+
orchestra decision add --task STORY-1 --owner developer --title "..." --context "..." --decision "..." --consequences "..."
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Implementation evidence belongs on the task:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
orchestra evidence add --task STORY-1 --role developer --type command --summary "unit tests passed" --command "npm test" --exit-code 0
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## QA Verification
|
|
38
|
+
|
|
39
|
+
QA verifies acceptance criteria, regression areas, edge cases, and data setup.
|
|
40
|
+
Browser automation should use Playwright evidence when the behavior is
|
|
41
|
+
user-facing:
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
orchestra playwright plan --task STORY-1
|
|
45
|
+
orchestra playwright evidence --task STORY-1 --kind trace --path test-results/story-1.zip --summary "acceptance flow trace"
|
|
46
|
+
orchestra review --task STORY-1 --role qa --result approve --findings "..." --recommendation "..."
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Developer-to-QA handoff should include touched files, commands, known gaps, and
|
|
50
|
+
recommended Playwright coverage.
|
|
51
|
+
|
|
52
|
+
## Advisory Conversion
|
|
53
|
+
|
|
54
|
+
Advisory mode stores portable planning artifacts under
|
|
55
|
+
`.agent-workflow/advisory/`. Convert `project-task.json` into a real project
|
|
56
|
+
task only after the target repository and scope are confirmed.
|
|
57
|
+
|
|
58
|
+
Setup-agents imports preserve external references under
|
|
59
|
+
`task.externalRefs.setupAgents`, including evidence IDs, handoff IDs, acceptance
|
|
60
|
+
status, and contract version.
|
|
61
|
+
|
|
62
|
+
## Release Readiness
|
|
63
|
+
|
|
64
|
+
Release readiness composes task readiness, architecture, QA, risk, evidence,
|
|
65
|
+
handoffs, reviews, and locks:
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
orchestra gate --gate release-readiness --task STORY-1
|
|
69
|
+
orchestra release check --json
|
|
70
|
+
orchestra release candidate --version <version> --json
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
The release manager should only accept unresolved risks when they are recorded
|
|
74
|
+
as explicit reviews, decisions, or release evidence.
|
|
75
|
+
|
|
76
|
+
## Generated Reference Separation
|
|
77
|
+
|
|
78
|
+
Generated runtime files such as `AGENTS.md`, `ORCHESTRA.md`, and runtime adapter
|
|
79
|
+
blocks guide agents. Delivery truth remains in `.agent-workflow/` artifacts:
|
|
80
|
+
|
|
81
|
+
- `tasks.json` for backlog and ownership state.
|
|
82
|
+
- `decisions/` for why choices were made.
|
|
83
|
+
- `handoffs/` for role-to-role transfer.
|
|
84
|
+
- `evidence/` for command, file, screenshot, trace, video, log, or report proof.
|
|
85
|
+
- `reviews/` for approvals, blocks, and accepted risks.
|
|
86
|
+
- `releases/` for release candidate and rollback evidence.
|
|
87
|
+
|
|
88
|
+
Do not treat generated prompt text as delivery evidence unless it is explicitly
|
|
89
|
+
attached through `orchestra evidence add`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jterrats/open-orchestra",
|
|
3
|
-
"version": "0.4.2-beta.
|
|
3
|
+
"version": "0.4.2-beta.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"orchestra": "bin/orchestra.js"
|
|
@@ -9,8 +9,9 @@
|
|
|
9
9
|
"build": "tsc && npm run build:web",
|
|
10
10
|
"typecheck": "tsc --noEmit",
|
|
11
11
|
"test": "npm run build && node --test test/**/*.js extensions/**/*.test.cjs",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
12
|
+
"test:e2e": "npm run build && playwright test",
|
|
13
|
+
"lint": "eslint . && prettier --check \"{bin,e2e,scripts,test,src}/**/*.js\" \"extensions/**/*.{cjs,json,md}\" \"src/**/*.ts\" \"*.{js,json}\"",
|
|
14
|
+
"format": "prettier --write \"{bin,e2e,scripts,test,src}/**/*.js\" \"extensions/**/*.{cjs,json,md}\" \"src/**/*.ts\" \"*.{js,json}\"",
|
|
14
15
|
"secret-scan": "node scripts/secret-scan.js",
|
|
15
16
|
"validate:workflow": "sh -c 'test ! -d .agent-workflow || (npm run build && node bin/orchestra.js validate)'",
|
|
16
17
|
"precommit": "npm run lint && npm run typecheck && npm run secret-scan && npm test && npm run validate:workflow",
|
|
@@ -23,15 +24,15 @@
|
|
|
23
24
|
},
|
|
24
25
|
"devDependencies": {
|
|
25
26
|
"@eslint/js": "^10.0.1",
|
|
27
|
+
"@playwright/test": "^1.59.1",
|
|
26
28
|
"@types/node": "^25.6.0",
|
|
29
|
+
"chart.js": "^4.5.1",
|
|
27
30
|
"esbuild": "^0.28.0",
|
|
28
31
|
"eslint": "^10.2.1",
|
|
29
32
|
"prettier": "^3.8.3",
|
|
30
33
|
"typescript": "^6.0.3",
|
|
31
|
-
"typescript-eslint": "^8.59.0"
|
|
32
|
-
"chart.js": "^4.5.1"
|
|
34
|
+
"typescript-eslint": "^8.59.0"
|
|
33
35
|
},
|
|
34
|
-
"dependencies": {},
|
|
35
36
|
"description": "Local control plane for AI-assisted development orchestration, evidence gates, and agent workflows.",
|
|
36
37
|
"repository": {
|
|
37
38
|
"type": "git",
|