@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.
- package/AGENTS.md +5 -3
- package/README.md +29 -5
- package/dist/advisory-artifacts.d.ts +20 -0
- package/dist/advisory-artifacts.js +136 -0
- package/dist/advisory-artifacts.js.map +1 -0
- package/dist/assets/web-console.js +436 -4
- package/dist/cli.js +16 -117
- package/dist/cli.js.map +1 -1
- package/dist/command-manifest.d.ts +6 -0
- package/dist/command-manifest.js +141 -43
- package/dist/command-manifest.js.map +1 -1
- package/dist/command-utils.d.ts +5 -0
- package/dist/command-utils.js +23 -0
- package/dist/command-utils.js.map +1 -1
- package/dist/commands.d.ts +7 -42
- package/dist/commands.js +214 -1356
- package/dist/commands.js.map +1 -1
- package/dist/constants.js +3 -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/delivery-commands.d.ts +10 -0
- package/dist/delivery-commands.js +152 -0
- package/dist/delivery-commands.js.map +1 -0
- package/dist/github.d.ts +50 -1
- package/dist/github.js +234 -0
- package/dist/github.js.map +1 -1
- package/dist/health-checks.d.ts +1 -0
- package/dist/health-checks.js +11 -1
- package/dist/health-checks.js.map +1 -1
- package/dist/health-commands.js +2 -0
- package/dist/health-commands.js.map +1 -1
- 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/memory.d.ts +2 -1
- package/dist/memory.js +71 -10
- package/dist/memory.js.map +1 -1
- package/dist/package-update-check.d.ts +5 -1
- package/dist/package-update-check.js +20 -8
- package/dist/package-update-check.js.map +1 -1
- package/dist/planning-commands.d.ts +14 -0
- package/dist/planning-commands.js +372 -0
- package/dist/planning-commands.js.map +1 -0
- package/dist/release-candidate.d.ts +2 -0
- package/dist/release-candidate.js +9 -14
- package/dist/release-candidate.js.map +1 -1
- package/dist/release-commands.d.ts +2 -0
- package/dist/release-commands.js +58 -6
- package/dist/release-commands.js.map +1 -1
- package/dist/release-readiness.d.ts +49 -0
- package/dist/release-readiness.js +172 -0
- package/dist/release-readiness.js.map +1 -0
- package/dist/runtime-commands.js +11 -4
- 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 +335 -0
- package/dist/setup-agents-import.js.map +1 -0
- package/dist/skills-catalog-service.d.ts +2 -0
- package/dist/skills-catalog-service.js +8 -0
- package/dist/skills-catalog-service.js.map +1 -0
- package/dist/skills-catalog.d.ts +2 -0
- package/dist/skills-catalog.js +389 -0
- package/dist/skills-catalog.js.map +1 -0
- package/dist/skills-commands.js +1 -11
- package/dist/skills-commands.js.map +1 -1
- package/dist/skills-events.d.ts +9 -0
- package/dist/skills-events.js +50 -0
- package/dist/skills-events.js.map +1 -0
- package/dist/skills-memory.d.ts +18 -0
- package/dist/skills-memory.js +127 -0
- package/dist/skills-memory.js.map +1 -0
- package/dist/skills-planning.d.ts +2 -0
- package/dist/skills-planning.js +87 -0
- package/dist/skills-planning.js.map +1 -0
- package/dist/skills-render.d.ts +14 -0
- package/dist/skills-render.js +83 -0
- package/dist/skills-render.js.map +1 -0
- package/dist/skills-validation.d.ts +2 -0
- package/dist/skills-validation.js +49 -0
- package/dist/skills-validation.js.map +1 -0
- package/dist/skills.d.ts +6 -42
- package/dist/skills.js +6 -773
- package/dist/skills.js.map +1 -1
- package/dist/task-graph-commands.d.ts +14 -0
- package/dist/task-graph-commands.js +367 -0
- package/dist/task-graph-commands.js.map +1 -0
- package/dist/tool-commands.js +8 -0
- package/dist/tool-commands.js.map +1 -1
- package/dist/types/context.d.ts +12 -0
- package/dist/types/context.js +2 -0
- package/dist/types/context.js.map +1 -0
- package/dist/types/metrics.d.ts +114 -0
- package/dist/types/metrics.js +2 -0
- package/dist/types/metrics.js.map +1 -0
- package/dist/types/model-config.d.ts +212 -0
- package/dist/types/model-config.js +2 -0
- package/dist/types/model-config.js.map +1 -0
- package/dist/types/runtime.d.ts +93 -0
- package/dist/types/runtime.js +2 -0
- package/dist/types/runtime.js.map +1 -0
- package/dist/types/skills.d.ts +147 -0
- package/dist/types/skills.js +2 -0
- package/dist/types/skills.js.map +1 -0
- package/dist/types/tasks.d.ts +171 -0
- package/dist/types/tasks.js +2 -0
- package/dist/types/tasks.js.map +1 -0
- package/dist/types/workflow-run.d.ts +79 -0
- package/dist/types/workflow-run.js +2 -0
- package/dist/types/workflow-run.js.map +1 -0
- package/dist/types.d.ts +13 -798
- package/dist/types.js +1 -1
- package/dist/types.js.map +1 -1
- package/dist/upgrade-commands.d.ts +2 -0
- package/dist/upgrade-commands.js +65 -0
- package/dist/upgrade-commands.js.map +1 -0
- package/dist/web-api-read-routes.d.ts +5 -0
- package/dist/web-api-read-routes.js +37 -0
- package/dist/web-api-read-routes.js.map +1 -0
- package/dist/web-api.d.ts +1 -3
- package/dist/web-api.js +145 -44
- package/dist/web-api.js.map +1 -1
- package/dist/web-console-sections.d.ts +2 -0
- package/dist/web-console-sections.js +7 -0
- package/dist/web-console-sections.js.map +1 -0
- package/dist/web-console.js +23 -3
- package/dist/web-console.js.map +1 -1
- package/dist/workflow-approval-service.d.ts +9 -0
- package/dist/workflow-approval-service.js +126 -0
- package/dist/workflow-approval-service.js.map +1 -0
- package/dist/workflow-approval-utils.d.ts +10 -0
- package/dist/workflow-approval-utils.js +82 -0
- package/dist/workflow-approval-utils.js.map +1 -0
- package/dist/workflow-budget-utils.d.ts +7 -0
- package/dist/workflow-budget-utils.js +96 -0
- package/dist/workflow-budget-utils.js.map +1 -0
- package/dist/workflow-evidence-service.d.ts +7 -0
- package/dist/workflow-evidence-service.js +100 -0
- package/dist/workflow-evidence-service.js.map +1 -0
- package/dist/workflow-run-commands.d.ts +8 -0
- package/dist/workflow-run-commands.js +479 -0
- package/dist/workflow-run-commands.js.map +1 -0
- package/dist/workflow-services.d.ts +8 -18
- package/dist/workflow-services.js +30 -481
- package/dist/workflow-services.js.map +1 -1
- package/dist/workflow-summary-service.d.ts +4 -0
- package/dist/workflow-summary-service.js +82 -0
- package/dist/workflow-summary-service.js.map +1 -0
- 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.d.ts +18 -1
- package/dist/workspace.js +72 -4
- 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/orchestra-mvp.md +158 -114
- package/docs/package-naming.md +20 -0
- package/docs/persona-workflows.md +209 -0
- package/docs/runtime-adapters.md +19 -14
- package/docs/runtime-llm-flow.md +29 -28
- package/docs/setup-agents-bridge.md +61 -0
- package/docs/traceability-flow.md +89 -0
- package/package.json +9 -7
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
export type TaskStatus = "pending" | "ready" | "in_progress" | "blocked" | "review" | "approved" | "rejected" | "done" | "canceled" | "archived";
|
|
2
|
+
export type ReviewResult = "approve" | "block" | "changes";
|
|
3
|
+
export type Severity = "info" | "low" | "medium" | "high" | "critical";
|
|
4
|
+
export type EvidenceType = "command" | "file" | "screenshot" | "trace" | "video" | "log" | "report";
|
|
5
|
+
export interface MechanicalOverride {
|
|
6
|
+
rationale: string;
|
|
7
|
+
}
|
|
8
|
+
export interface ArchitectureApproval {
|
|
9
|
+
proposal?: string;
|
|
10
|
+
userApproved?: boolean;
|
|
11
|
+
approvedBy?: string;
|
|
12
|
+
approvedAt?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface QaGateMetadata {
|
|
15
|
+
plan?: string;
|
|
16
|
+
executionStatus?: "not_run" | "passed" | "failed" | "deferred";
|
|
17
|
+
deferredRationale?: string;
|
|
18
|
+
deferredOwner?: string;
|
|
19
|
+
}
|
|
20
|
+
export type RiskImpactArea = "security" | "sre" | "dba" | "data" | "devops" | "compliance" | "accessibility" | "ux";
|
|
21
|
+
export interface RiskAcceptance {
|
|
22
|
+
acceptedBy?: string;
|
|
23
|
+
rationale?: string;
|
|
24
|
+
}
|
|
25
|
+
export interface RiskGateMetadata {
|
|
26
|
+
impactAreas?: RiskImpactArea[];
|
|
27
|
+
acceptance?: RiskAcceptance;
|
|
28
|
+
}
|
|
29
|
+
export interface Task {
|
|
30
|
+
id: string;
|
|
31
|
+
title: string;
|
|
32
|
+
ownerRole: string;
|
|
33
|
+
status: TaskStatus;
|
|
34
|
+
dependencies: string[];
|
|
35
|
+
backlogItem?: string;
|
|
36
|
+
goal?: string;
|
|
37
|
+
scope?: string;
|
|
38
|
+
acceptanceCriteria?: string[];
|
|
39
|
+
definitionOfReady?: string[];
|
|
40
|
+
definitionOfDone?: string[];
|
|
41
|
+
assumptions?: string[];
|
|
42
|
+
risks?: string[];
|
|
43
|
+
paths?: string[];
|
|
44
|
+
testStrategy?: string;
|
|
45
|
+
blockedReason?: string;
|
|
46
|
+
mechanicalOverride?: MechanicalOverride;
|
|
47
|
+
architectureApproval?: ArchitectureApproval;
|
|
48
|
+
qaGate?: QaGateMetadata;
|
|
49
|
+
riskGate?: RiskGateMetadata;
|
|
50
|
+
externalRefs?: ExternalTaskReferences;
|
|
51
|
+
createdAt?: string;
|
|
52
|
+
updatedAt?: string;
|
|
53
|
+
}
|
|
54
|
+
export interface ExternalTaskReferences {
|
|
55
|
+
setupAgents?: SetupAgentsTaskReference;
|
|
56
|
+
}
|
|
57
|
+
export interface SetupAgentsTaskReference {
|
|
58
|
+
sourceId: string;
|
|
59
|
+
sourcePath?: string;
|
|
60
|
+
profileId?: string;
|
|
61
|
+
mode?: string;
|
|
62
|
+
contractVersion?: string;
|
|
63
|
+
acceptanceStatus?: string;
|
|
64
|
+
acceptedBy?: string;
|
|
65
|
+
evidenceIds?: string[];
|
|
66
|
+
handoffIds?: string[];
|
|
67
|
+
}
|
|
68
|
+
export interface LockEntry {
|
|
69
|
+
id: string;
|
|
70
|
+
taskId: string;
|
|
71
|
+
ownerRole: string;
|
|
72
|
+
path: string;
|
|
73
|
+
reason: string;
|
|
74
|
+
createdAt: string;
|
|
75
|
+
expiresAt?: string;
|
|
76
|
+
}
|
|
77
|
+
export interface EventEntry {
|
|
78
|
+
id: string;
|
|
79
|
+
type: string;
|
|
80
|
+
timestamp: string;
|
|
81
|
+
actor: string;
|
|
82
|
+
summary: string;
|
|
83
|
+
taskId: string | null;
|
|
84
|
+
artifacts?: string[];
|
|
85
|
+
metadata: Record<string, unknown>;
|
|
86
|
+
}
|
|
87
|
+
export interface EventInput {
|
|
88
|
+
type: string;
|
|
89
|
+
actor: string;
|
|
90
|
+
summary: string;
|
|
91
|
+
taskId?: string;
|
|
92
|
+
artifacts?: string[];
|
|
93
|
+
metadata?: Record<string, unknown>;
|
|
94
|
+
}
|
|
95
|
+
export type AddTaskInput = Pick<Task, "id" | "title" | "ownerRole" | "dependencies" | "backlogItem" | "goal" | "scope" | "acceptanceCriteria" | "definitionOfReady" | "definitionOfDone" | "assumptions" | "risks" | "paths" | "testStrategy" | "architectureApproval" | "qaGate" | "riskGate" | "externalRefs">;
|
|
96
|
+
export interface UpdateTaskInput {
|
|
97
|
+
id: string;
|
|
98
|
+
title?: string;
|
|
99
|
+
ownerRole?: string;
|
|
100
|
+
goal?: string;
|
|
101
|
+
scope?: string;
|
|
102
|
+
paths?: string[];
|
|
103
|
+
acceptanceCriteria?: string[];
|
|
104
|
+
assumptions?: string[];
|
|
105
|
+
risks?: string[];
|
|
106
|
+
testStrategy?: string;
|
|
107
|
+
status?: TaskStatus;
|
|
108
|
+
blockedReason?: string;
|
|
109
|
+
}
|
|
110
|
+
export interface ClaimLockInput {
|
|
111
|
+
id?: string;
|
|
112
|
+
taskId: string;
|
|
113
|
+
ownerRole: string;
|
|
114
|
+
path: string;
|
|
115
|
+
reason: string;
|
|
116
|
+
expiresAt?: string;
|
|
117
|
+
}
|
|
118
|
+
export interface HandoffInput {
|
|
119
|
+
task: string;
|
|
120
|
+
from: string;
|
|
121
|
+
to: string;
|
|
122
|
+
changed: string;
|
|
123
|
+
behavior: string;
|
|
124
|
+
tests: string;
|
|
125
|
+
commands: string;
|
|
126
|
+
status?: string;
|
|
127
|
+
gaps?: string;
|
|
128
|
+
risks?: string;
|
|
129
|
+
playwright?: string;
|
|
130
|
+
updateOwner?: boolean;
|
|
131
|
+
}
|
|
132
|
+
export interface ReviewInput {
|
|
133
|
+
task: string;
|
|
134
|
+
role: string;
|
|
135
|
+
result: string;
|
|
136
|
+
severity: string;
|
|
137
|
+
findings: string;
|
|
138
|
+
recommendation: string;
|
|
139
|
+
}
|
|
140
|
+
export interface EvidenceInput {
|
|
141
|
+
task: string;
|
|
142
|
+
role: string;
|
|
143
|
+
type: string;
|
|
144
|
+
summary: string;
|
|
145
|
+
path?: string | boolean | string[];
|
|
146
|
+
command?: string | boolean | string[];
|
|
147
|
+
exitCode?: string | boolean | string[];
|
|
148
|
+
}
|
|
149
|
+
export interface PlaywrightEvidenceInput {
|
|
150
|
+
task: string;
|
|
151
|
+
kind: "screenshot" | "trace" | "video" | "report";
|
|
152
|
+
path: string;
|
|
153
|
+
summary: string;
|
|
154
|
+
runId?: string;
|
|
155
|
+
}
|
|
156
|
+
export interface ArtifactResult {
|
|
157
|
+
artifact: string;
|
|
158
|
+
content: string;
|
|
159
|
+
}
|
|
160
|
+
export interface DecisionInput {
|
|
161
|
+
task: string;
|
|
162
|
+
title: string;
|
|
163
|
+
context: string;
|
|
164
|
+
decision: string;
|
|
165
|
+
consequences: string;
|
|
166
|
+
status: "proposed" | "accepted" | "superseded";
|
|
167
|
+
owner: string;
|
|
168
|
+
}
|
|
169
|
+
export interface DecisionRecord extends DecisionInput {
|
|
170
|
+
artifact: string;
|
|
171
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tasks.js","sourceRoot":"","sources":["../../src/types/tasks.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
export type AutonomousGateMode = "none" | "phase" | "all";
|
|
2
|
+
export type AutonomousPhaseStatus = "pending" | "running" | "done" | "skipped" | "failed" | "gate_paused" | "qa_failed" | "blocked" | "awaiting_clarification" | "canceled";
|
|
3
|
+
export interface AutonomousPhase {
|
|
4
|
+
phase: string;
|
|
5
|
+
role: string;
|
|
6
|
+
status: AutonomousPhaseStatus;
|
|
7
|
+
taskId: string;
|
|
8
|
+
gateId?: string;
|
|
9
|
+
handoffArtifact?: string;
|
|
10
|
+
reviewArtifact?: string;
|
|
11
|
+
approvedBy?: string;
|
|
12
|
+
approvedAt?: string;
|
|
13
|
+
approvalRationale?: string;
|
|
14
|
+
startedAt: string;
|
|
15
|
+
completedAt?: string;
|
|
16
|
+
skippedAt?: string;
|
|
17
|
+
notes?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface WorkflowGateApprovalInput {
|
|
20
|
+
runId: string;
|
|
21
|
+
gateId: string;
|
|
22
|
+
approver: string;
|
|
23
|
+
rationale: string;
|
|
24
|
+
}
|
|
25
|
+
export interface WorkflowGateApprovalResult {
|
|
26
|
+
run: AutonomousRun;
|
|
27
|
+
gateId: string;
|
|
28
|
+
approver: string;
|
|
29
|
+
approvedAt: string;
|
|
30
|
+
alreadyApproved: boolean;
|
|
31
|
+
}
|
|
32
|
+
export interface AutonomousRun {
|
|
33
|
+
id: string;
|
|
34
|
+
taskId: string;
|
|
35
|
+
gates: AutonomousGateMode;
|
|
36
|
+
maxIterations: number;
|
|
37
|
+
phaseSequence?: string[];
|
|
38
|
+
qaIterations: number;
|
|
39
|
+
phases: AutonomousPhase[];
|
|
40
|
+
status: "running" | "paused" | "done" | "failed" | "canceled";
|
|
41
|
+
createdAt: string;
|
|
42
|
+
updatedAt: string;
|
|
43
|
+
}
|
|
44
|
+
export interface AutonomousRunResult {
|
|
45
|
+
run: AutonomousRun;
|
|
46
|
+
file: string;
|
|
47
|
+
cwd: string;
|
|
48
|
+
}
|
|
49
|
+
export interface BenchmarkPhaseDuration {
|
|
50
|
+
phase: string;
|
|
51
|
+
startedAt: string;
|
|
52
|
+
completedAt?: string;
|
|
53
|
+
durationMs: number | null;
|
|
54
|
+
}
|
|
55
|
+
export type ClarificationStatus = "open" | "answered";
|
|
56
|
+
export type ClarificationTarget = string;
|
|
57
|
+
export interface ClarificationRecord {
|
|
58
|
+
id: string;
|
|
59
|
+
runId: string;
|
|
60
|
+
taskId: string;
|
|
61
|
+
fromRole: string;
|
|
62
|
+
toRole: string;
|
|
63
|
+
question: string;
|
|
64
|
+
answer?: string;
|
|
65
|
+
status: ClarificationStatus;
|
|
66
|
+
createdAt: string;
|
|
67
|
+
answeredAt?: string;
|
|
68
|
+
}
|
|
69
|
+
export interface ClarificationInput {
|
|
70
|
+
runId: string;
|
|
71
|
+
taskId: string;
|
|
72
|
+
fromRole: string;
|
|
73
|
+
to: ClarificationTarget;
|
|
74
|
+
question: string;
|
|
75
|
+
}
|
|
76
|
+
export interface ClarificationAnswerInput {
|
|
77
|
+
id: string;
|
|
78
|
+
answer: string;
|
|
79
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-run.js","sourceRoot":"","sources":["../../src/types/workflow-run.ts"],"names":[],"mappings":""}
|