@jmanuelcorral/openteam 0.18.1 → 0.20.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 (162) hide show
  1. package/.opencode/openteam.example.json +23 -14
  2. package/AGENTS.md +16 -2
  3. package/README.es.md +300 -209
  4. package/README.md +300 -139
  5. package/dist/capabilities/classify.d.ts.map +1 -1
  6. package/dist/capabilities/normalize.d.ts.map +1 -1
  7. package/dist/certificates/graph-release-certificate.json +2 -2
  8. package/dist/certificates/graph-shadow-certificate.json +2 -2
  9. package/dist/cli/consoleServe.d.ts +16 -0
  10. package/dist/cli/consoleServe.d.ts.map +1 -1
  11. package/dist/cli/graphOperator.d.ts +10 -1
  12. package/dist/cli/graphOperator.d.ts.map +1 -1
  13. package/dist/cli/lifecycleHistoryProvider.d.ts +21 -0
  14. package/dist/cli/lifecycleHistoryProvider.d.ts.map +1 -0
  15. package/dist/cli.d.ts +3 -1
  16. package/dist/cli.d.ts.map +1 -1
  17. package/dist/cli.js +6841 -1555
  18. package/dist/commands/agents.d.ts +16 -4
  19. package/dist/commands/agents.d.ts.map +1 -1
  20. package/dist/commands/dispatch.d.ts.map +1 -1
  21. package/dist/commands/doctor.d.ts.map +1 -1
  22. package/dist/commands/local.d.ts +4 -5
  23. package/dist/commands/local.d.ts.map +1 -1
  24. package/dist/commands/report.d.ts +6 -6
  25. package/dist/commands/report.d.ts.map +1 -1
  26. package/dist/commands/rolesInit.d.ts +10 -12
  27. package/dist/commands/rolesInit.d.ts.map +1 -1
  28. package/dist/commands/setup.d.ts +5 -13
  29. package/dist/commands/setup.d.ts.map +1 -1
  30. package/dist/commands/yolo.d.ts +2 -4
  31. package/dist/commands/yolo.d.ts.map +1 -1
  32. package/dist/config/errors.d.ts.map +1 -1
  33. package/dist/config/executionPolicyDomains.d.ts +18 -0
  34. package/dist/config/executionPolicyDomains.d.ts.map +1 -0
  35. package/dist/config/migrations.d.ts +9 -2
  36. package/dist/config/migrations.d.ts.map +1 -1
  37. package/dist/config/persist.d.ts.map +1 -1
  38. package/dist/config/runtime.d.ts +2 -0
  39. package/dist/config/runtime.d.ts.map +1 -1
  40. package/dist/config/schema.d.ts +128 -13
  41. package/dist/config/schema.d.ts.map +1 -1
  42. package/dist/console/assets.d.ts +22 -1
  43. package/dist/console/assets.d.ts.map +1 -1
  44. package/dist/console/configView.d.ts +2 -7
  45. package/dist/console/configView.d.ts.map +1 -1
  46. package/dist/console/render.d.ts +12 -0
  47. package/dist/console/render.d.ts.map +1 -1
  48. package/dist/console/types.d.ts +2 -2
  49. package/dist/console/types.d.ts.map +1 -1
  50. package/dist/context/schema.d.ts +13 -7
  51. package/dist/context/schema.d.ts.map +1 -1
  52. package/dist/graph/certificate.d.ts.map +1 -1
  53. package/dist/graph/langgraph/adapter.d.ts +7 -8
  54. package/dist/graph/langgraph/adapter.d.ts.map +1 -1
  55. package/dist/graph/langgraph/certification.d.ts +5 -0
  56. package/dist/graph/langgraph/certification.d.ts.map +1 -1
  57. package/dist/graph/langgraph/checkpointReplay.d.ts.map +1 -1
  58. package/dist/graph/langgraph/engine.d.ts +2 -2
  59. package/dist/graph/langgraph/engine.d.ts.map +1 -1
  60. package/dist/graph/langgraph/types.d.ts +11 -6
  61. package/dist/graph/langgraph/types.d.ts.map +1 -1
  62. package/dist/graph/privacyPolicy.d.ts +6 -30
  63. package/dist/graph/privacyPolicy.d.ts.map +1 -1
  64. package/dist/index.d.ts +1 -9
  65. package/dist/index.d.ts.map +1 -1
  66. package/dist/index.js +5992 -1390
  67. package/dist/lifecycle/contracts.d.ts +618 -0
  68. package/dist/lifecycle/contracts.d.ts.map +1 -0
  69. package/dist/lifecycle/historyReader.d.ts +11 -0
  70. package/dist/lifecycle/historyReader.d.ts.map +1 -0
  71. package/dist/lifecycle/historySourceError.d.ts +7 -0
  72. package/dist/lifecycle/historySourceError.d.ts.map +1 -0
  73. package/dist/lifecycle/project.d.ts +3 -0
  74. package/dist/lifecycle/project.d.ts.map +1 -0
  75. package/dist/lifecycle/root.d.ts +3 -0
  76. package/dist/lifecycle/root.d.ts.map +1 -0
  77. package/dist/lifecycle/runtimeRecorder.d.ts +6 -0
  78. package/dist/lifecycle/runtimeRecorder.d.ts.map +1 -0
  79. package/dist/lifecycle/schema.d.ts +487 -0
  80. package/dist/lifecycle/schema.d.ts.map +1 -0
  81. package/dist/mcp/teamMemory.d.ts +2 -2
  82. package/dist/mcp/teamMemory.d.ts.map +1 -1
  83. package/dist/messages/commands.d.ts +22 -35
  84. package/dist/messages/commands.d.ts.map +1 -1
  85. package/dist/messages/executionSetup.d.ts +116 -0
  86. package/dist/messages/executionSetup.d.ts.map +1 -0
  87. package/dist/messages/index.d.ts +2 -0
  88. package/dist/messages/index.d.ts.map +1 -1
  89. package/dist/messages/lifecycle.d.ts +95 -0
  90. package/dist/messages/lifecycle.d.ts.map +1 -0
  91. package/dist/messages/lifecycleRuntime.d.ts +4 -0
  92. package/dist/messages/lifecycleRuntime.d.ts.map +1 -0
  93. package/dist/messages/lifecycleStorage.d.ts +4 -0
  94. package/dist/messages/lifecycleStorage.d.ts.map +1 -0
  95. package/dist/messages/memoryTool.d.ts +17 -0
  96. package/dist/messages/memoryTool.d.ts.map +1 -0
  97. package/dist/messages/orchestration.d.ts +16 -0
  98. package/dist/messages/orchestration.d.ts.map +1 -0
  99. package/dist/messages/routing.d.ts +9 -0
  100. package/dist/messages/routing.d.ts.map +1 -0
  101. package/dist/opencodeArtifacts/orchestratorAgent.d.ts +3 -5
  102. package/dist/opencodeArtifacts/orchestratorAgent.d.ts.map +1 -1
  103. package/dist/orchestrator/coordinator.d.ts +30 -13
  104. package/dist/orchestrator/coordinator.d.ts.map +1 -1
  105. package/dist/orchestrator/graphEffects.d.ts +10 -11
  106. package/dist/orchestrator/graphEffects.d.ts.map +1 -1
  107. package/dist/orchestrator/graphIngress.d.ts +5 -0
  108. package/dist/orchestrator/graphIngress.d.ts.map +1 -1
  109. package/dist/orchestrator/graphRuntime.d.ts +13 -1
  110. package/dist/orchestrator/graphRuntime.d.ts.map +1 -1
  111. package/dist/orchestrator/outputContract.d.ts +5 -6
  112. package/dist/orchestrator/outputContract.d.ts.map +1 -1
  113. package/dist/orchestrator/roles.d.ts +25 -2
  114. package/dist/orchestrator/roles.d.ts.map +1 -1
  115. package/dist/orchestrator/runtimeSelection.d.ts.map +1 -1
  116. package/dist/orchestrator/subsessions.d.ts +52 -1
  117. package/dist/orchestrator/subsessions.d.ts.map +1 -1
  118. package/dist/plugin/availability.d.ts +15 -2
  119. package/dist/plugin/availability.d.ts.map +1 -1
  120. package/dist/plugin/diagnostics.d.ts +1 -0
  121. package/dist/plugin/diagnostics.d.ts.map +1 -1
  122. package/dist/plugin/hooks.d.ts +21 -2
  123. package/dist/plugin/hooks.d.ts.map +1 -1
  124. package/dist/plugin/memoryTool.d.ts +3 -3
  125. package/dist/plugin/memoryTool.d.ts.map +1 -1
  126. package/dist/plugin/modelOwnership.d.ts +15 -0
  127. package/dist/plugin/modelOwnership.d.ts.map +1 -0
  128. package/dist/plugin/orchestrateTool.d.ts +53 -3
  129. package/dist/plugin/orchestrateTool.d.ts.map +1 -1
  130. package/dist/router/chooseModel.d.ts.map +1 -1
  131. package/dist/router/cost.d.ts +1 -1
  132. package/dist/router/cost.d.ts.map +1 -1
  133. package/dist/router/executionPolicy.d.ts +44 -0
  134. package/dist/router/executionPolicy.d.ts.map +1 -0
  135. package/dist/router/frontierBaseline.d.ts.map +1 -1
  136. package/dist/router/types.d.ts +10 -4
  137. package/dist/router/types.d.ts.map +1 -1
  138. package/dist/storage/lifecycle/codec.d.ts +19 -0
  139. package/dist/storage/lifecycle/codec.d.ts.map +1 -0
  140. package/dist/storage/lifecycle/fsLifecycleJournal.d.ts +3 -0
  141. package/dist/storage/lifecycle/fsLifecycleJournal.d.ts.map +1 -0
  142. package/dist/storage/lifecycle/fsLifecycleSupport.d.ts +17 -0
  143. package/dist/storage/lifecycle/fsLifecycleSupport.d.ts.map +1 -0
  144. package/dist/storage/lifecycle/fsLifecycleWriterLivenessProbe.d.ts +3 -0
  145. package/dist/storage/lifecycle/fsLifecycleWriterLivenessProbe.d.ts.map +1 -0
  146. package/dist/telemetry/aggregate.d.ts +4 -4
  147. package/dist/telemetry/aggregate.d.ts.map +1 -1
  148. package/dist/telemetry/diagnostics.d.ts.map +1 -1
  149. package/dist/telemetry/events.d.ts +6 -6
  150. package/dist/telemetry/otel.d.ts.map +1 -1
  151. package/dist/telemetry/types.d.ts +3 -3
  152. package/dist/web/configApi.d.ts +3 -1
  153. package/dist/web/configApi.d.ts.map +1 -1
  154. package/dist/web/graphRoute.d.ts +39 -1
  155. package/dist/web/graphRoute.d.ts.map +1 -1
  156. package/dist/web/server.d.ts +19 -0
  157. package/dist/web/server.d.ts.map +1 -1
  158. package/dist/web/start.d.ts +11 -0
  159. package/dist/web/start.d.ts.map +1 -1
  160. package/dist/web/watch.d.ts +17 -2
  161. package/dist/web/watch.d.ts.map +1 -1
  162. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../src/messages/commands.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,2CAA2C;AAC3C,eAAO,MAAM,kBAAkB;aAC7B,MAAM,EAAE,qDAAqD;aAC7D,OAAO;iBACL,OAAO,EAAE,UAAU;iBACnB,MAAM,EAAE,aAAa;iBACrB,SAAS,EAAE,WAAW;iBACtB,KAAK,EAAE,OAAO;;aAEhB,iBAAiB,EAAE,0BAA0B;aAC7C,YAAY,EAAE,UAAU;aACxB,WAAW,YAAY,MAAM,KAAG,MAAM;aACtC,kBAAkB,YAAY,MAAM,gBAAgB,MAAM,KAAG,MAAM;aAEnE,SAAS,UAAU,MAAM,KAAG,MAAM;aAClC,KAAK,UAAU,MAAM,KAAG,MAAM;CAEtB,CAAC;AAEX,wCAAwC;AACxC,eAAO,MAAM,gBAAgB;aAC3B,aAAa,EAAE,yBAAyB;aACxC,YAAY,QAAQ,MAA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AAG,MAAM;aAEtE,OAAO,EACL,6EAA6E;CACvE,CAAC;AAEX,+EAA+E;AAC/E,eAAO,MAAM,iBAAiB;aAC5B,IAAI,EAAE,4FAA4F;aAClG,MAAM,EAAE,sBAAsB;aAC9B,KAAK,EAAE,qBAAqB;aAC5B,QAAQ,SAAS,MAAM,KAAG,MAAM;aAChC,cAAc,EACZ,gGAAgG;aAClG,iBAAiB,SAAS,MAAM,SAAS,MAAM,KAAG,MAAM;aAExD,uBAAuB,EACrB,qEAAqE;aACvE,WAAW,UAAU,MAAM,KAAG,MAAM;aAEpC,SAAS,EAAE,cAAc;aACzB,QAAQ,EACN,0GAA0G;aAC5G,eAAe,WAAW,MAAM,KAAG,MAAM;aAEzC,WAAW,EAAE,oDAAoD;aACjE,SAAS,WAAW,MAAM,KAAG,MAAM;aAEnC,aAAa,WAAW,MAAM,KAAG,MAAM;aAEvC,WAAW,YAAY,MAAM,KAAG,MAAM;aACtC,cAAc,YAAY,MAAM,KAAG,MAAM;aAEzC,mBAAmB,EAAE,mBAAmB;aACxC,cAAc,SAAS,MAAM,KAAG,MAAM;aAEtC,cAAc,YAAY,MAAM,KAAG,MAAM;aAEzC,KAAK,EAAE,sBAAsB;CACrB,CAAC"}
@@ -0,0 +1,116 @@
1
+ export declare const executionSetupMessages: {
2
+ readonly setupIntro: "openteam setup — configure local, frontier, or mixed team execution";
3
+ readonly runtimeQuestion: "Which local runtimes do you want to enable? (choose 'None' for frontier-only)";
4
+ readonly runtimeNoneLabel: "None — use frontier models only";
5
+ readonly runtimeNoneHint: "no local runtime (frontier execution)";
6
+ readonly executionModeQuestion: "Team execution mode";
7
+ readonly executionModeChoices: {
8
+ readonly local: {
9
+ readonly label: "local — every agent stays on configured local providers";
10
+ readonly hint: "requires at least one enabled local runtime";
11
+ };
12
+ readonly frontier: {
13
+ readonly label: "frontier — every agent uses frontier providers";
14
+ readonly hint: "does not require a local runtime";
15
+ };
16
+ readonly mixed: {
17
+ readonly label: "mixed — policies may select local or frontier models";
18
+ readonly hint: "the global mode is an upper bound; per-agent policies may narrow it";
19
+ };
20
+ };
21
+ readonly frontierOnlyNote: string;
22
+ readonly frontierOnlyTitle: "Frontier execution";
23
+ readonly localOnlyNote: (model: string) => string;
24
+ readonly localOnlyTitle: "Local execution";
25
+ readonly localRequiredError: "local execution requires an enabled local runtime";
26
+ readonly mixedPrimaryQuestion: "Primary coordinator model";
27
+ readonly mixedPrimaryLocal: (model: string) => string;
28
+ readonly mixedPrimaryFrontier: "Choose a frontier model";
29
+ readonly frontierModelQuestion: "Frontier model (type to search; cheapest capable entries first)";
30
+ readonly primaryPolicySummary: (params: {
31
+ executionMode: string;
32
+ primaryModel: string;
33
+ fallbacks: string;
34
+ }) => string[];
35
+ readonly noFallbacks: "none";
36
+ readonly yoloQuestion: "Enable YOLO mode? (opencode auto-approves all permissions)";
37
+ readonly configuredSummary: (params: {
38
+ executionMode: string;
39
+ primaryModel: string;
40
+ frontierBaseline: string;
41
+ localRuntimes: string;
42
+ yolo: boolean;
43
+ opencodePath: string;
44
+ configPath: string;
45
+ agentPath: string;
46
+ agentDir: string;
47
+ roleAgentCount: number;
48
+ commandDir: string;
49
+ commandCount: number;
50
+ gitignorePath: string;
51
+ }) => string[];
52
+ readonly configuredTitle: "openteam configured";
53
+ readonly complete: (paths: string) => string;
54
+ readonly error: (message: string) => string;
55
+ readonly localRuntimeNextStep: " 2. Make sure every configured local runtime is reachable";
56
+ readonly frontierNextStep: " 2. Open opencode in this repo; openteam will use frontier models";
57
+ readonly mixedNextStep: " 2. Make sure local runtimes are reachable; unavailable candidates can use configured fallbacks";
58
+ readonly done: "Done. Open opencode and select the 'openteam' agent.";
59
+ readonly rolePolicy: {
60
+ readonly whyTitle: "Configure execution and model selection";
61
+ readonly why: (count: number) => string;
62
+ readonly modeQuestion: (roleID: string, agentName: string) => string;
63
+ readonly modeInheritLabel: "Inherit the team execution mode";
64
+ readonly modeLocalLabel: "Local only";
65
+ readonly modeFrontierLabel: "Frontier only";
66
+ readonly modelQuestion: (roleID: string) => string;
67
+ readonly modelAutoLabel: "Auto — choose the cheapest capable eligible model";
68
+ readonly modelExactLabel: "Exact provider/model pin";
69
+ readonly modelExactQuestion: (roleID: string) => string;
70
+ readonly modelExactPlaceholder: "provider/model";
71
+ readonly fallbacksQuestion: (roleID: string) => string;
72
+ readonly fallbacksPlaceholder: "provider/model, provider/model";
73
+ readonly configured: (roleIDs: string, path: string) => string;
74
+ readonly invalidModelRef: (value: string) => string;
75
+ };
76
+ };
77
+ export type ExecutionPolicySummaryInput = {
78
+ readonly owner: string;
79
+ readonly executionMode?: string;
80
+ readonly model: string;
81
+ readonly fallbacks: readonly string[];
82
+ };
83
+ export declare const executionPolicyMessages: {
84
+ readonly doctorHelp: " openteam doctor Diagnose runtimes, execution policies, and config";
85
+ readonly agentsHelp: " openteam agents List agents, model identity, and execution policy";
86
+ readonly section: "Configured execution policies:";
87
+ readonly globalMode: (mode: string) => string;
88
+ readonly line: (policy: ExecutionPolicySummaryInput) => string;
89
+ readonly retryLimits: (maxRetries: number, maxModelsPerNode: number) => string;
90
+ readonly inheritedDefaultUnset: "inherits the opencode.json default (not set); execution follows the configured team and agent policy";
91
+ readonly inheritedDefault: (subscription: string) => string;
92
+ readonly unprofiledRoleRouting: " routing: no explicit override — the role inherits its built-in or fallback policy within the global execution-mode upper bound. Roster prose is not executable configuration.";
93
+ readonly unprofiledRoleRemedy: " remedy: run `openteam roles init`, or add executionMode, model, and ordered fallbacks under orchestrator.roles in .opencode/openteam.json.";
94
+ readonly noLocalMixed: " ⚠ No local runtime reachable: mixed execution currently has only frontier candidates.";
95
+ readonly noLocalBlocked: " ✗ No local runtime reachable: local execution is blocked until a configured runtime is available.";
96
+ readonly primaryLocalMismatch: (name: string, providerID: string) => string;
97
+ readonly primaryLocalMismatchCause: " cause: the primary agent artifact and opencode.json no longer agree on the selected provider/model identity.";
98
+ readonly primaryLocalMismatchConsequence: " consequence: opencode cannot start the coordinator, so it cannot read the roster or distribute work.";
99
+ readonly primaryLocalMismatchRemedy: (sourceFile: string) => string;
100
+ };
101
+ export declare const executionPolicyEditorMessages: {
102
+ readonly title: "Execution and model policy";
103
+ readonly globalMode: "Global execution mode";
104
+ readonly primaryModel: "Primary model";
105
+ readonly primaryFallbacks: "Primary fallbacks";
106
+ readonly retryLimits: "Retry limits";
107
+ readonly automatic: "auto";
108
+ readonly inherit: "inherit";
109
+ readonly none: "none";
110
+ readonly retryValue: (maxRetries: number, maxModelsPerNode: number) => string;
111
+ };
112
+ export declare const localModeChangeMessages: {
113
+ readonly localProviderInFrontierDomain: (path: string, domainPath: string, providerID: string, modelID: string) => string;
114
+ readonly frontierProviderInLocalDomain: (path: string, domainPath: string, providerID: string, modelID: string) => string;
115
+ };
116
+ //# sourceMappingURL=executionSetup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"executionSetup.d.ts","sourceRoot":"","sources":["../../src/messages/executionSetup.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB;aACjC,UAAU,EACR,qEAAqE;aACvE,eAAe,EACb,+EAA+E;aACjF,gBAAgB,EAAE,iCAAiC;aACnD,eAAe,EAAE,uCAAuC;aACxD,qBAAqB,EAAE,qBAAqB;aAC5C,oBAAoB;iBAClB,KAAK;qBACH,KAAK,EAAE,yDAAyD;qBAChE,IAAI,EAAE,6CAA6C;;iBAErD,QAAQ;qBACN,KAAK,EAAE,gDAAgD;qBACvD,IAAI,EAAE,kCAAkC;;iBAE1C,KAAK;qBACH,KAAK,EAAE,sDAAsD;qBAC7D,IAAI,EAAE,qEAAqE;;;aAG/E,gBAAgB;aAKhB,iBAAiB,EAAE,oBAAoB;aACvC,aAAa,UAAU,MAAM,KAAG,MAAM;aAMtC,cAAc,EAAE,iBAAiB;aACjC,kBAAkB,EAAE,mDAAmD;aACvE,oBAAoB,EAAE,2BAA2B;aACjD,iBAAiB,UAAU,MAAM,KAAG,MAAM;aAE1C,oBAAoB,EAAE,yBAAyB;aAC/C,qBAAqB,EAC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AAe,MAAM,oBAAoB,MAAM,KAAG,MAAM;CAE1D,CAAC;AAEX,eAAO,MAAM,uBAAuB;aAClC,6BAA6B,SACrB,MAAM,cACA,MAAM,cACN,MAAM,WACT,MAAM,KACd,MAAM;aAET,6BAA6B,SACrB,MAAM,cACA,MAAM,cACN,MAAM,WACT,MAAM,KACd,MAAM;CAED,CAAC"}
@@ -43,4 +43,6 @@
43
43
  * harmful as under-extraction, so the boundary is kept strict.
44
44
  */
45
45
  export * from "./commands";
46
+ export * from "./executionSetup";
47
+ export * from "./lifecycle";
46
48
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/messages/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAEH,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/messages/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC"}
@@ -0,0 +1,95 @@
1
+ /**
2
+ * User-facing messages for the lifecycle history timeline UI.
3
+ * Pure catalog — no I/O, no runtime, no locale loader.
4
+ */
5
+ export declare const lifecycleMessages: {
6
+ readonly screenLabel: "Lifecycle operation tree";
7
+ readonly screenHeading: "Agent timeline";
8
+ readonly screenHeadingLive: "Agent timeline · live";
9
+ readonly screenHeadingHistorical: "Agent timeline · historical";
10
+ readonly screenHeadingCompleted: "Agent timeline · completed";
11
+ readonly screenDescription: "Committed runtime hierarchy for the selected lifecycle run.";
12
+ readonly screenDescriptionLive: "Following committed lifecycle events from the active writer.";
13
+ readonly screenDescriptionHistorical: "Historical hierarchy at the selected exclusive event cursor.";
14
+ readonly screenDescriptionCompleted: "Final committed runtime hierarchy for the completed run.";
15
+ readonly screenDescriptionUnavailable: "Lifecycle history is not available for the current selection.";
16
+ readonly panelEyebrow: "Lifecycle run";
17
+ readonly hierarchyTitle: "Execution hierarchy";
18
+ readonly hierarchyAriaLabel: "Lifecycle operation hierarchy";
19
+ readonly cursorCountTemplate: "{cursor} of {head} events";
20
+ readonly cursorCountSingleTemplate: "{cursor} of {head} event";
21
+ readonly latestEventLabel: "Latest event";
22
+ readonly noEventTimestamp: "No event timestamp in this prefix";
23
+ readonly noRunsYet: "No lifecycle runs yet. The timeline fills when the orchestrator begins a run.";
24
+ readonly runSelectorLabel: "Select run";
25
+ readonly runSelectorAriaLabel: "Lifecycle run selector";
26
+ readonly sliderLabel: "Event cursor";
27
+ readonly sliderAriaLabel: "Timeline cursor — drag to scrub through lifecycle events";
28
+ readonly returnToLive: "Return to live";
29
+ readonly returnToLiveAriaLabel: "Return to live — follow the latest events";
30
+ readonly pausedLabel: "Paused";
31
+ readonly latestLabel: "Latest";
32
+ readonly followingHeadLabel: "Following head";
33
+ readonly live: "Live";
34
+ readonly liveAriaLabel: "Live — following the latest events";
35
+ readonly writerActive: "Writer active";
36
+ readonly writerUnknown: "Writer unknown";
37
+ readonly terminal: "Completed";
38
+ readonly historicalPrefix: "Historical snapshot";
39
+ readonly legacySnapshot: "Legacy snapshot";
40
+ readonly operationLabel: "Operation";
41
+ readonly taskLabel: "Task";
42
+ readonly roleLabel: "Role";
43
+ readonly kindLabel: "Kind";
44
+ readonly agentLabel: "Agent";
45
+ readonly attemptsLabel: "Attempts";
46
+ readonly noAttempts: "No attempts in this prefix";
47
+ readonly attemptLabelTemplate: "Attempt {n}";
48
+ readonly retryLabel: "Retry";
49
+ readonly retryLabelTemplate: "Retry {n}";
50
+ readonly stateLabel: "State";
51
+ readonly modelLabel: "Model";
52
+ readonly noModel: "No model recorded";
53
+ readonly routeLabel: "Route";
54
+ readonly noRoute: "No route recorded";
55
+ readonly selectionLabel: "Selection";
56
+ readonly runtimeLabel: "Runtime";
57
+ readonly sessionLabel: "Session";
58
+ readonly noSession: "No session recorded";
59
+ readonly parentSessionLabel: "Parent session";
60
+ readonly dependsOnLabel: "Depends on";
61
+ readonly missingOperation: "missing operation";
62
+ readonly parentReferenceLabel: "Parent reference";
63
+ readonly unlinkedOperationsLabel: "Unlinked operations";
64
+ readonly unlinkedOperationsNote: "These operations are not connected to the selected root in this prefix.";
65
+ readonly rootOperationMissing: "The selected root operation is not available in this prefix.";
66
+ readonly noOperationsAtCursor: "No operations exist at this cursor.";
67
+ readonly selectedAtLabel: "Selected";
68
+ readonly queuedAtLabel: "Queued";
69
+ readonly startedAtLabel: "Started";
70
+ readonly terminalAtLabel: "Finished";
71
+ readonly failureLabel: "Failure";
72
+ readonly statusCodeLabel: "Status";
73
+ readonly retryableLabel: "Retryable";
74
+ readonly yesLabel: "yes";
75
+ readonly noLabel: "no";
76
+ readonly graphSupplementTitle: "Graph execution snapshot";
77
+ readonly graphSupplementSummary: "Show the separate Graph projection and conversation drill-down";
78
+ readonly legacyIncomplete: "Legacy artifact — chronology, retry history, and session tree unavailable.";
79
+ readonly partialTail: "Recording degraded — the tree shows only the committed prefix returned by history.";
80
+ readonly errorRunNotFound: "Run not found.";
81
+ readonly errorCursorAhead: "Cursor is ahead of current head.";
82
+ readonly errorHistoryIncomplete: "Cursor scrubbing is unavailable for legacy artifacts.";
83
+ readonly errorJournalCorrupt: "Journal is corrupt — history unavailable.";
84
+ readonly errorHistoryUnavailable: "History storage unavailable.";
85
+ readonly errorInvalidCursor: "Invalid cursor value.";
86
+ readonly errorLoading: "Could not load lifecycle history.";
87
+ readonly graphDisabledHistory: "Lifecycle history is unavailable because the graph engine is off.";
88
+ readonly historyDisabled: "Lifecycle history is disabled. Enable it in .opencode/openteam.json.";
89
+ readonly timelineRegionLabel: "Lifecycle timeline";
90
+ readonly runDetailsLabel: "Run details";
91
+ readonly controlsLabel: "Timeline controls";
92
+ readonly eventsCountLabel: (count: number) => string;
93
+ readonly incomingCountLabel: (count: number) => string;
94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AAE,aAAa;aAC9B,aAAa,EAAE,mBAAmB;aAGlC,gBAAgB,UAAU,MAAM,KAAG,MAAM;aAEzC,kBAAkB,UAAU,MAAM,KAAG,MAAM;CAEnC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { BoundedNormalizedSessionFailure, LifecycleRecordingStatus } from "../lifecycle/contracts";
2
+ export declare function normalizedSessionFailureMessage(failure: BoundedNormalizedSessionFailure): string;
3
+ export declare function lifecycleRecordingAdvisory(status: LifecycleRecordingStatus): string | undefined;
4
+ //# sourceMappingURL=lifecycleRuntime.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lifecycleRuntime.d.ts","sourceRoot":"","sources":["../../src/messages/lifecycleRuntime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,+BAA+B,EAC/B,wBAAwB,EACzB,MAAM,wBAAwB,CAAC;AAEhC,wBAAgB,+BAA+B,CAC7C,OAAO,EAAE,+BAA+B,GACvC,MAAM,CAER;AAED,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,wBAAwB,GAC/B,MAAM,GAAG,SAAS,CAOpB"}
@@ -0,0 +1,4 @@
1
+ export declare const lifecycleStorageMessages: {
2
+ readonly configuredRootEscapesWorkspace: "Configured lifecycle root must remain beneath the workspace root.";
3
+ };
4
+ //# sourceMappingURL=lifecycleStorage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lifecycleStorage.d.ts","sourceRoot":"","sources":["../../src/messages/lifecycleStorage.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB;aACnC,8BAA8B,EAC5B,mEAAmE;CAC7D,CAAC"}
@@ -0,0 +1,17 @@
1
+ export declare const memoryToolMessages: {
2
+ readonly toolDescription: "Persists durable memory records extracted from a conversation. Reserved for the scribe role: runs extraction on a local runtime only and never falls back to a frontier provider. Records are redacted per config (storeContent=false by default) before they are appended to the log.";
3
+ readonly messagesDescription: "Conversation messages to extract stable knowledge from";
4
+ readonly messageRoleDescription: "Message role: system, user or assistant";
5
+ readonly messageContentDescription: "Message content.";
6
+ readonly roleIDDescription: "Roster role writing the memory; only the scribe is permitted";
7
+ readonly validationError: (details: string) => string;
8
+ readonly scribeOnly: (actualRoleID: string) => string;
9
+ readonly disabled: "openteam memory: semantic memory is disabled; nothing was recorded.";
10
+ readonly frontierDomainRefusal: 'openteam memory: refused — memory extraction requires local model execution, but router.executionMode is "frontier". Set router.executionMode to "local" or "mixed" and configure a reachable local runtime.';
11
+ readonly localRuntimeUnavailable: "openteam memory: memory extraction requires a local runtime that is reachable and will not fall back to a frontier provider. Configure Ollama, LM Studio, Lemonade, or Foundry Local and run `openteam doctor`.";
12
+ readonly localRuntimeBaseURLMissing: "openteam memory: refused — no local runtime with a base URL is configured and enabled; memory extraction is local-only.";
13
+ readonly extractionFailure: (reason: string) => string;
14
+ readonly noRecords: "openteam memory: no records were extracted; nothing was recorded.";
15
+ readonly recordsWritten: (count: number, logPath: string) => string;
16
+ };
17
+ //# sourceMappingURL=memoryTool.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"memoryTool.d.ts","sourceRoot":"","sources":["../../src/messages/memoryTool.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB;aAC7B,eAAe,EACb,wRAAwR;aAC1R,mBAAmB,EAAE,wDAAwD;aAC7E,sBAAsB,EAAE,yCAAyC;aACjE,yBAAyB,EAAE,kBAAkB;aAC7C,iBAAiB,EACf,8DAA8D;aAChE,eAAe,YAAY,MAAM,KAAG,MAAM;aAE1C,UAAU,iBAAiB,MAAM,KAAG,MAAM;aAE1C,QAAQ,EACN,qEAAqE;aACvE,qBAAqB,EACnB,8MAA8M;aAChN,uBAAuB,EACrB,iNAAiN;aACnN,0BAA0B,EACxB,yHAAyH;aAC3H,iBAAiB,WAAW,MAAM,KAAG,MAAM;aAE3C,SAAS,EACP,mEAAmE;aACrE,cAAc,UAAU,MAAM,WAAW,MAAM,KAAG,MAAM;CAEhD,CAAC"}
@@ -0,0 +1,16 @@
1
+ export declare const SESSION_CREATE_MISSING_ID = "create response did not include a session id";
2
+ export declare function orchestrationSummaryHeading(roleCount: number, completed: boolean): string;
3
+ export declare function orchestrationReportGuidance(completed: boolean): string;
4
+ export declare function deprecatedPrivacyMode(paths: readonly string[], message?: string): string;
5
+ export declare function promptTimedOut(timeoutMs: number): string;
6
+ export declare function promptStopUnconfirmed(cause: "abort-error" | "abort-timeout" | "abort-rejected" | "status-error" | "status-timeout" | "status-missing" | "status-busy" | "status-retry" | "request-unsettled"): string;
7
+ export declare const REPORT_INCOMPLETE_REASON = "report-incomplete-at-model-bound";
8
+ export declare const REPORT_STALE_REASON = "report-unchanged-for-current-attempt";
9
+ export declare const UNAUTHORIZED_MODEL_SWITCH_REASON = "routing-model-switch-not-authorized";
10
+ export declare function invalidRoleIdentifier(roleID: string): string;
11
+ export declare function missingAgentDefinition(agentName: string, roleID: string): string;
12
+ export declare function dependencyValidationError(code: string, detail: string): string;
13
+ export declare function coordinatorRoutingBlocked(roleID: string, reason?: string): string;
14
+ export declare function primaryRoutingBlocked(reason?: string): string;
15
+ export declare function incapableFixedModel(roleID: string, providerID: string, modelID: string): string;
16
+ //# sourceMappingURL=orchestration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"orchestration.d.ts","sourceRoot":"","sources":["../../src/messages/orchestration.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB,iDACU,CAAC;AAEjD,wBAAgB,2BAA2B,CACzC,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,OAAO,GACjB,MAAM,CAER;AAED,wBAAgB,2BAA2B,CAAC,SAAS,EAAE,OAAO,GAAG,MAAM,CAStE;AAED,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,SAAS,MAAM,EAAE,EACxB,OAAO,GAAE,MAA8C,GACtD,MAAM,CAGR;AAED,wBAAgB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAExD;AAED,wBAAgB,qBAAqB,CACnC,KAAK,EACD,aAAa,GACb,eAAe,GACf,gBAAgB,GAChB,cAAc,GACd,gBAAgB,GAChB,gBAAgB,GAChB,aAAa,GACb,cAAc,GACd,mBAAmB,GACtB,MAAM,CAER;AAED,eAAO,MAAM,wBAAwB,qCAAqC,CAAC;AAC3E,eAAO,MAAM,mBAAmB,yCAAyC,CAAC;AAC1E,eAAO,MAAM,gCAAgC,wCACN,CAAC;AAExC,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAE5D;AAED,wBAAgB,sBAAsB,CACpC,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,GACb,MAAM,CAKR;AAED,wBAAgB,yBAAyB,CACvC,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,GACb,MAAM,CAER;AAkCD,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,MAAM,EACd,MAAM,SAAgC,GACrC,MAAM,CAKR;AAED,wBAAgB,qBAAqB,CACnC,MAAM,SAAgC,GACrC,MAAM,CAER;AAED,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM,GACd,MAAM,CAMR"}
@@ -0,0 +1,9 @@
1
+ export declare const routingMessages: {
2
+ readonly conflictingLegacyModes: "router.localOnly and router.frontierOnly cannot both be true";
3
+ readonly conflictingRouterModes: (executionMode: string, legacyMode: string) => string;
4
+ readonly agentModeBroadensGlobal: (agentMode: string, routerMode: string) => string;
5
+ readonly requiredLocalModeConflict: "requiresLocalRuntime=true conflicts with a non-local agent executionMode";
6
+ readonly privacyModeDeprecated: 'privacyMode is deprecated and ignored; it no longer protects prompt content from frontier egress. Set router.executionMode to "local" to prohibit frontier routing.';
7
+ readonly unknownCost: "unknown";
8
+ };
9
+ //# sourceMappingURL=routing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"routing.d.ts","sourceRoot":"","sources":["../../src/messages/routing.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe;aAC1B,sBAAsB,EACpB,8DAA8D;aAChE,sBAAsB,kBAAkB,MAAM,cAAc,MAAM,KAAG,MAAM;aAE3E,uBAAuB,cAAc,MAAM,cAAc,MAAM,KAAG,MAAM;aAExE,yBAAyB,EACvB,0EAA0E;aAC5E,qBAAqB,EACnB,qKAAqK;aACvK,WAAW,EAAE,SAAS;CACd,CAAC"}
@@ -22,11 +22,9 @@ export declare const OPENTEAM_ROSTER_PATH = ".opencode/openteam/roster.md";
22
22
  * resolved**, real and resolvable `provider/model`. This value is load-bearing —
23
23
  * opencode resolves the primary agent against it directly — so the caller is
24
24
  * responsible for choosing a reference whose provider it actually configured:
25
- * the cheapest-capable frontier baseline in normal mode, or the local runtime's
26
- * thinking model in local-only mode. Never pass the inert `baseline.hardDefault`
27
- * placeholder here; that value is only correct as a baseline, not as an agent
28
- * `model:`. The openteam plugin still routes per message, so subagents this one
29
- * creates can inherit the default and be routed local-first.
25
+ * the selected primary model. Never pass an inert baseline placeholder here;
26
+ * that value is only correct as a baseline, not as an agent `model:`. The
27
+ * openteam plugin still applies each primary/worker execution policy at runtime.
30
28
  */
31
29
  export declare function buildOrchestratorAgent(model: ModelRef, options?: {
32
30
  yolo?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"orchestratorAgent.d.ts","sourceRoot":"","sources":["../../src/opencodeArtifacts/orchestratorAgent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEjD;;;GAGG;AACH,eAAO,MAAM,uBAAuB,gCAAgC,CAAC;AAErE;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,iCAAiC,CAAC;AAInE;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,QAAQ,EACf,OAAO,GAAE;IAAE,IAAI,CAAC,EAAE,OAAO,CAAA;CAAO,GAC/B,MAAM,CAmTR"}
1
+ {"version":3,"file":"orchestratorAgent.d.ts","sourceRoot":"","sources":["../../src/opencodeArtifacts/orchestratorAgent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEjD;;;GAGG;AACH,eAAO,MAAM,uBAAuB,gCAAgC,CAAC;AAErE;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,iCAAiC,CAAC;AAInE;;;;;;;;;;;;;GAaG;AACH,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,QAAQ,EACf,OAAO,GAAE;IAAE,IAAI,CAAC,EAAE,OAAO,CAAA;CAAO,GAC/B,MAAM,CA+SR"}
@@ -2,8 +2,10 @@ import { z } from "zod";
2
2
  import type { BudgetState } from "../capabilities/budget";
3
3
  import type { ModelCapabilityProfile } from "../capabilities/types";
4
4
  import type { OpenTeamConfig } from "../config/schema";
5
+ import type { BoundedNormalizedSessionFailure, LifecycleRunRecorder } from "../lifecycle/contracts";
5
6
  import type { RuntimeConcurrencyLimiter } from "../local/concurrency";
6
7
  import type { LocalRuntimeId } from "../local/types";
8
+ import { type AgentExecutionPolicy } from "../router/executionPolicy";
7
9
  import type { AvailableModel, RoutingDecision, TaskSignals } from "../router/types";
8
10
  import { type EventSink } from "../telemetry/eventLog";
9
11
  import { type DiagnosticEvent, type MeetingEvent, type QueueEvent, type RouteEvent } from "../telemetry/events";
@@ -16,6 +18,7 @@ export type RoleTaskInput = {
16
18
  prompt: string;
17
19
  profiles?: ModelCapabilityProfile[];
18
20
  availableModels?: AvailableModel[];
21
+ executionPolicy?: AgentExecutionPolicy;
19
22
  budgetState?: BudgetState;
20
23
  parentSessionID?: string;
21
24
  config: OpenTeamConfig;
@@ -41,6 +44,9 @@ export type CoordinatorDeps = {
41
44
  now: () => number;
42
45
  newDecisionID: () => string;
43
46
  timeoutMs?: number;
47
+ abortGraceMs: number;
48
+ statusPollMs: number;
49
+ delay: (ms: number) => Promise<void>;
44
50
  /** Optional warn sink; defaults to `console.warn`. Injectable for tests. */
45
51
  warn?: (message?: unknown) => void;
46
52
  /**
@@ -111,8 +117,10 @@ export type CoordinatorDeps = {
111
117
  * I/O port — reading the report file is filesystem access, so it lives at the
112
118
  * composition root, not here. Given a resolved report path it returns the
113
119
  * file's text, or `undefined` on any error (missing/unreadable). The
114
- * coordinator parses only a bounded status token from the text
115
- * (`parseReportStatus`); the report BODY never crosses `assertReferenceOnly`.
120
+ * coordinator reads that text only to validate its status and substantive
121
+ * body (`parseReportStatus` and `reportHasSubstance`). It never copies report
122
+ * content into role results, routing telemetry, diagnostics, or the
123
+ * reference-only projection.
116
124
  *
117
125
  * REQUIRED, not optional. Iteration is governed by the configured bound
118
126
  * (`orchestrator.maxRetries`), NOT by whether this port happens to be wired:
@@ -121,10 +129,19 @@ export type CoordinatorDeps = {
121
129
  * the port required means dropping the forwarding from the plugin boundary to
122
130
  * the coordinator is a COMPILE error, not a silent regression to never-iterate
123
131
  * — mirroring the same guarantee `reportArtifactExists` already has. The port
124
- * is read only when the budget permits a re-dispatch, so a single-pass node
125
- * never calls it.
132
+ * is read after every pass, including a single-pass node, because the final
133
+ * pass must prove substantive completion before dependencies may advance.
126
134
  */
127
135
  readReportArtifact: (reportPath: string) => Promise<string | undefined>;
136
+ reportArtifactExists: (reportPath: string) => Promise<boolean>;
137
+ };
138
+ export type RoleLifecycleContext = {
139
+ readonly recorder: LifecycleRunRecorder;
140
+ readonly rootOperationID: string;
141
+ };
142
+ export type RunRoleTasksOptions = {
143
+ readonly batchID?: string;
144
+ readonly lifecycle?: RoleLifecycleContext;
128
145
  };
129
146
  export type CorrelatedCostRecord = CostRecord & {
130
147
  decisionID: string;
@@ -134,6 +151,7 @@ export type CorrelatedCostRecord = CostRecord & {
134
151
  taskID?: string;
135
152
  failureReason?: string;
136
153
  failureStage?: SubsessionResult["failureStage"];
154
+ normalizedFailure?: BoundedNormalizedSessionFailure;
137
155
  };
138
156
  export type RoleTaskResult = {
139
157
  decision: RoutingDecision;
@@ -196,10 +214,9 @@ export type BatchReachability = {
196
214
  readonly set: ReadonlySet<LocalRuntimeId> | undefined;
197
215
  };
198
216
  /**
199
- * The task signals the coordinator actually routes with for a role, including
200
- * any synthesized explicit override. Exported so the override decision has a
201
- * single production definition that tests can drive directly; `routingInput`
202
- * is its only production caller.
217
+ * The task signals the coordinator actually routes with for a role. Exported
218
+ * so the role requirement adjustment has a single production definition that
219
+ * tests can drive directly; `routingInput` is its only production caller.
203
220
  *
204
221
  * Pure: no I/O, clock, random, or env.
205
222
  */
@@ -292,10 +309,10 @@ export declare function buildQueueEvent(observation: QueueWaitObservation, sessi
292
309
  * coordinator clock) and the resolved `sessionID`.
293
310
  *
294
311
  * Reference-only by construction: it carries the `roleID` and an integer
295
- * `passCount` and nothing else, so the report BODY — which the coordinator never
296
- * reads past a boolean substance check — cannot leak into telemetry. It is the
297
- * same `diagnostic` event class the plugin already records (e.g.
298
- * `graph-gate-advisory`), just attributed to the node it concerns.
312
+ * `passCount` and nothing else. Report text is read separately to validate
313
+ * status and substance, but no body content is copied into this telemetry
314
+ * event. It is the same `diagnostic` event class the plugin already records
315
+ * (e.g. `graph-gate-advisory`), just attributed to the node it concerns.
299
316
  */
300
317
  export declare function buildNodeBudgetExhaustedEvent(roleID: string, passCount: number, sessionID: string, ts: number): DiagnosticEvent;
301
318
  export declare function runRoleTask(input: RoleTaskInput, deps: CoordinatorDeps): Promise<RoleTaskResult>;
@@ -311,5 +328,5 @@ export type RoleBatchResult = {
311
328
  * wave 0. Pure and deterministic: same inputs produce the same waves.
312
329
  */
313
330
  export declare function topologicalWaves(inputs: readonly RoleTaskInput[]): RoleTaskInput[][];
314
- export declare function runRoleTasks(inputs: readonly RoleTaskInput[], deps: CoordinatorDeps): Promise<RoleBatchResult>;
331
+ export declare function runRoleTasks(inputs: readonly RoleTaskInput[], deps: CoordinatorDeps, options?: RunRoleTasksOptions): Promise<RoleBatchResult>;
315
332
  //# sourceMappingURL=coordinator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"coordinator.d.ts","source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,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GACrE,UAAU,CAyBZ;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,6BAA6B,CAC3C,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,EACjB,EAAE,EAAE,MAAM,GACT,eAAe,CAWjB;AA2OD,wBAAsB,WAAW,CAC/B,KAAK,EAAE,aAAa,EACpB,IAAI,EAAE,eAAe,GACpB,OAAO,CAAC,cAAc,CAAC,CAQzB;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,OAAO,EAAE,cAAc,EAAE,CAAC;IACnC,oFAAoF;IACpF,QAAQ,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,CAAC;CACvC,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,SAAS,aAAa,EAAE,GAC/B,aAAa,EAAE,EAAE,CA2BnB;AAskBD,wBAAsB,YAAY,CAChC,MAAM,EAAE,SAAS,aAAa,EAAE,EAChC,IAAI,EAAE,eAAe,EACrB,OAAO,GAAE,mBAAwB,GAChC,OAAO,CAAC,eAAe,CAAC,CA2H1B"}
@@ -1,5 +1,5 @@
1
1
  import type { ContextRef, PrivacyClass } from "../context/schema";
2
- import { type PrivacyMode, type RouteKind } from "../graph/privacyPolicy";
2
+ import type { PrivacyMode, RouteKind } from "../graph/privacyPolicy";
3
3
  import type { ErrorClass, GraphNode } from "../graph/schema";
4
4
  /**
5
5
  * `GraphEffectExecutor` — port for the only effect that the Graph runtime
@@ -19,6 +19,8 @@ export type EffectRequest = {
19
19
  readonly node: GraphNode;
20
20
  readonly operationID: string;
21
21
  readonly attemptID: string;
22
+ /** Route already selected and domain-checked by the unified router. */
23
+ readonly routeKind?: RouteKind;
22
24
  };
23
25
  /** Effect receipt: success with a referenced artifact, or classified failure. */
24
26
  export type EffectReceipt = {
@@ -33,9 +35,8 @@ export interface GraphEffectExecutor {
33
35
  execute(request: EffectRequest): Promise<EffectReceipt>;
34
36
  }
35
37
  /**
36
- * Privacy context for a dispatch: node privacy class, effective config mode,
37
- * and the route preferred by the router. Leaves the reference-only/frontier
38
- * decision to the effects seam before and after invoking the executor.
38
+ * @deprecated Legacy dispatch metadata. `privacyClass` and `mode` are retained
39
+ * for compatibility but do not authorize or override `routeKind`.
39
40
  */
40
41
  export type EffectDispatchContext = {
41
42
  readonly privacyClass: PrivacyClass;
@@ -43,15 +44,13 @@ export type EffectDispatchContext = {
43
44
  readonly routeKind: RouteKind;
44
45
  };
45
46
  /**
46
- * Resolves the **effective** route for a dispatch (GE-037). If policy forbids
47
- * frontier for the privacy class under the active mode, degrades to `local`
48
- * instead of throwing: a `sensitive` node with `forceLocalOnSensitive` produces
49
- * **zero** frontier dispatches. Pure and deterministic.
47
+ * Preserves the route selected by the unified router. Legacy privacy metadata
48
+ * is accepted for compatibility but has no routing authority.
50
49
  */
51
- export declare function resolveDispatchRoute(privacyClass: PrivacyClass, mode: PrivacyMode, preferred: RouteKind): RouteKind;
50
+ export declare function resolveDispatchRoute(_privacyClass: PrivacyClass, _mode: PrivacyMode, preferred: RouteKind): RouteKind;
52
51
  /**
53
- * Privacy gate **before** invoking the executor: throws `PrivacyPolicyError` if
54
- * a `sensitive` node under `forceLocalOnSensitive` attempts a frontier route.
52
+ * @deprecated Compatibility no-op. The unified router owns execution-domain
53
+ * enforcement; Graph must not reinterpret the selected route from content.
55
54
  */
56
55
  export declare function assertDispatchAllowed(ctx: EffectDispatchContext): void;
57
56
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"graphEffects.d.ts","sourceRoot":"","sources":["../../src/orchestrator/graphEffects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,EAGL,KAAK,WAAW,EAChB,KAAK,SAAS,EACf,M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S,GACnB,SAAS,CAEX;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,qBAAqB,GAAG,IAAI,CAEtE;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI,CAEvE"}
@@ -19,6 +19,7 @@
19
19
  * into a total (never throws) and reference-only result.
20
20
  */
21
21
  import type { ResolvedGraphConfig } from "../config/resolve";
22
+ import type { LifecycleRecordingStatus, LifecycleRunSource, RuntimeLifecycleRecorder } from "../lifecycle/contracts";
22
23
  import type { GraphJournal } from "../storage/graph/provider";
23
24
  import type { WorkspaceLease } from "../storage/graph/workspaceLease";
24
25
  import type { GraphEffectExecutor } from "./graphEffects";
@@ -80,6 +81,7 @@ export type IngressOutcome = ({
80
81
  readonly kind: "accepted";
81
82
  readonly runID: string;
82
83
  readonly step: RuntimeStepOutcome;
84
+ readonly recording?: LifecycleRecordingStatus;
83
85
  } | {
84
86
  readonly kind: "revision";
85
87
  readonly runID: string;
@@ -94,6 +96,7 @@ export type IngressOutcome = ({
94
96
  readonly runID: string;
95
97
  readonly cancelledNodeIDs: readonly string[];
96
98
  readonly abortNodeIDs: readonly string[];
99
+ readonly recording?: LifecycleRecordingStatus;
97
100
  } | {
98
101
  readonly kind: "error";
99
102
  readonly code: IngressErrorCode;
@@ -120,6 +123,8 @@ export type GraphIngressDeps = {
120
123
  readonly lease: WorkspaceLease;
121
124
  readonly effects: GraphEffectExecutor;
122
125
  readonly holder: string;
126
+ readonly lifecycleRecorder?: RuntimeLifecycleRecorder | undefined;
127
+ readonly lifecycleSource?: LifecycleRunSource;
123
128
  readonly revisionLimit?: number;
124
129
  };
125
130
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"graphIngress.d.ts","sourceRoot":"","sources":["../../src/orchestrator/graphIngress.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAm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