@jmanuelcorral/openteam 0.2.2 → 0.9.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 (306) hide show
  1. package/.opencode/command/openteam.md +2 -1
  2. package/.opencode/openteam.example.json +27 -8
  3. package/AGENTS.md +5 -2
  4. package/README.es.md +155 -59
  5. package/README.md +418 -62
  6. package/dist/capabilities/types.d.ts +3 -3
  7. package/dist/capabilities/types.d.ts.map +1 -1
  8. package/dist/classifier/localClassifier.d.ts +0 -2
  9. package/dist/classifier/localClassifier.d.ts.map +1 -1
  10. package/dist/cli/consoleServe.d.ts +21 -1
  11. package/dist/cli/consoleServe.d.ts.map +1 -1
  12. package/dist/cli/graphOperator.d.ts +22 -0
  13. package/dist/cli/graphOperator.d.ts.map +1 -0
  14. package/dist/cli/graphStatusSnapshot.d.ts +16 -0
  15. package/dist/cli/graphStatusSnapshot.d.ts.map +1 -0
  16. package/dist/cli/migrateAdapter.d.ts +12 -0
  17. package/dist/cli/migrateAdapter.d.ts.map +1 -0
  18. package/dist/cli/purgeAdapter.d.ts +10 -0
  19. package/dist/cli/purgeAdapter.d.ts.map +1 -0
  20. package/dist/cli/setupAdapters.d.ts.map +1 -1
  21. package/dist/cli.js +13394 -6121
  22. package/dist/commands/agents.d.ts +102 -2
  23. package/dist/commands/agents.d.ts.map +1 -1
  24. package/dist/commands/baseline.d.ts.map +1 -1
  25. package/dist/commands/clearCache.d.ts +23 -0
  26. package/dist/commands/clearCache.d.ts.map +1 -0
  27. package/dist/commands/dispatch.d.ts +196 -4
  28. package/dist/commands/dispatch.d.ts.map +1 -1
  29. package/dist/commands/doctor.d.ts +40 -0
  30. package/dist/commands/doctor.d.ts.map +1 -1
  31. package/dist/commands/frontierCatalog.d.ts +8 -14
  32. package/dist/commands/frontierCatalog.d.ts.map +1 -1
  33. package/dist/commands/graph.d.ts +0 -27
  34. package/dist/commands/graph.d.ts.map +1 -1
  35. package/dist/commands/local.d.ts.map +1 -1
  36. package/dist/commands/migrate.d.ts +11 -0
  37. package/dist/commands/migrate.d.ts.map +1 -0
  38. package/dist/commands/purge.d.ts +132 -0
  39. package/dist/commands/purge.d.ts.map +1 -0
  40. package/dist/commands/report.d.ts +1 -0
  41. package/dist/commands/report.d.ts.map +1 -1
  42. package/dist/commands/setup.d.ts +62 -5
  43. package/dist/commands/setup.d.ts.map +1 -1
  44. package/dist/config/errors.d.ts +10 -0
  45. package/dist/config/errors.d.ts.map +1 -0
  46. package/dist/config/legacyMigration.d.ts +82 -0
  47. package/dist/config/legacyMigration.d.ts.map +1 -0
  48. package/dist/config/legacyPaths.d.ts +105 -0
  49. package/dist/config/legacyPaths.d.ts.map +1 -0
  50. package/dist/config/load.d.ts.map +1 -1
  51. package/dist/config/opencode.d.ts +63 -0
  52. package/dist/config/opencode.d.ts.map +1 -0
  53. package/dist/config/persist.d.ts +8 -0
  54. package/dist/config/persist.d.ts.map +1 -1
  55. package/dist/config/resolve.d.ts +1 -1
  56. package/dist/config/resolve.d.ts.map +1 -1
  57. package/dist/config/runtime.d.ts +62 -0
  58. package/dist/config/runtime.d.ts.map +1 -0
  59. package/dist/config/schema.d.ts +142 -79
  60. package/dist/config/schema.d.ts.map +1 -1
  61. package/dist/console/assets.d.ts +2 -2
  62. package/dist/console/assets.d.ts.map +1 -1
  63. package/dist/console/configView.d.ts +74 -0
  64. package/dist/console/configView.d.ts.map +1 -0
  65. package/dist/console/opencodeClient.d.ts +8 -6
  66. package/dist/console/opencodeClient.d.ts.map +1 -1
  67. package/dist/console/protocol.d.ts +30 -6
  68. package/dist/console/protocol.d.ts.map +1 -1
  69. package/dist/console/render.d.ts +30 -1
  70. package/dist/console/render.d.ts.map +1 -1
  71. package/dist/console/types.d.ts +1 -1
  72. package/dist/console/types.d.ts.map +1 -1
  73. package/dist/context/redaction.d.ts +19 -19
  74. package/dist/context/redaction.d.ts.map +1 -1
  75. package/dist/context/schema.d.ts +26 -26
  76. package/dist/context/schema.d.ts.map +1 -1
  77. package/dist/context/types.d.ts +3 -3
  78. package/dist/contract/opencode.d.ts +39 -23
  79. package/dist/contract/opencode.d.ts.map +1 -1
  80. package/dist/graph/certificate.d.ts +37 -16
  81. package/dist/graph/certificate.d.ts.map +1 -1
  82. package/dist/graph/langgraph/adapter.d.ts +56 -0
  83. package/dist/graph/langgraph/adapter.d.ts.map +1 -0
  84. package/dist/graph/langgraph/certification.d.ts +64 -0
  85. package/dist/graph/langgraph/certification.d.ts.map +1 -0
  86. package/dist/graph/langgraph/checkpointReplay.d.ts +49 -0
  87. package/dist/graph/langgraph/checkpointReplay.d.ts.map +1 -0
  88. package/dist/graph/langgraph/checkpointer.d.ts +49 -0
  89. package/dist/graph/langgraph/checkpointer.d.ts.map +1 -0
  90. package/dist/graph/langgraph/engine.d.ts +34 -0
  91. package/dist/graph/langgraph/engine.d.ts.map +1 -0
  92. package/dist/graph/langgraph/graphModel.d.ts +37 -0
  93. package/dist/graph/langgraph/graphModel.d.ts.map +1 -0
  94. package/dist/graph/langgraph/reducer.d.ts +18 -0
  95. package/dist/graph/langgraph/reducer.d.ts.map +1 -0
  96. package/dist/graph/langgraph/retirement.d.ts +59 -0
  97. package/dist/graph/langgraph/retirement.d.ts.map +1 -0
  98. package/dist/graph/langgraph/types.d.ts +65 -0
  99. package/dist/graph/langgraph/types.d.ts.map +1 -0
  100. package/dist/graph/privacyPolicy.d.ts +7 -0
  101. package/dist/graph/privacyPolicy.d.ts.map +1 -1
  102. package/dist/graph/soakLedger.d.ts.map +1 -1
  103. package/dist/graph/types.d.ts +0 -2
  104. package/dist/graph/types.d.ts.map +1 -1
  105. package/dist/index.d.ts +46 -15
  106. package/dist/index.d.ts.map +1 -1
  107. package/dist/index.js +11083 -5009
  108. package/dist/local/cacheAdapter.d.ts +7 -0
  109. package/dist/local/cacheAdapter.d.ts.map +1 -0
  110. package/dist/local/concurrency.d.ts +52 -0
  111. package/dist/local/concurrency.d.ts.map +1 -0
  112. package/dist/local/embeddings.d.ts +10 -10
  113. package/dist/local/embeddings.d.ts.map +1 -1
  114. package/dist/local/extractClient.d.ts +13 -10
  115. package/dist/local/extractClient.d.ts.map +1 -1
  116. package/dist/local/lemonade.d.ts +4 -0
  117. package/dist/local/lemonade.d.ts.map +1 -0
  118. package/dist/local/registry.d.ts +16 -0
  119. package/dist/local/registry.d.ts.map +1 -1
  120. package/dist/local/types.d.ts +1 -1
  121. package/dist/local/types.d.ts.map +1 -1
  122. package/dist/mcp/semanticRecall.d.ts +18 -1
  123. package/dist/mcp/semanticRecall.d.ts.map +1 -1
  124. package/dist/mcp/server.d.ts +41 -1
  125. package/dist/mcp/server.d.ts.map +1 -1
  126. package/dist/memory/embedText.d.ts +4 -0
  127. package/dist/memory/embedText.d.ts.map +1 -0
  128. package/dist/memory/extract.d.ts +33 -18
  129. package/dist/memory/extract.d.ts.map +1 -1
  130. package/dist/memory/fold.d.ts +3 -2
  131. package/dist/memory/fold.d.ts.map +1 -1
  132. package/dist/memory/index.d.ts +1 -0
  133. package/dist/memory/index.d.ts.map +1 -1
  134. package/dist/memory/inject.d.ts.map +1 -1
  135. package/dist/memory/log.d.ts +15 -4
  136. package/dist/memory/log.d.ts.map +1 -1
  137. package/dist/memory/merge.d.ts +18 -1
  138. package/dist/memory/merge.d.ts.map +1 -1
  139. package/dist/memory/traverse.d.ts +80 -0
  140. package/dist/memory/traverse.d.ts.map +1 -0
  141. package/dist/memory/types.d.ts +53 -7
  142. package/dist/memory/types.d.ts.map +1 -1
  143. package/dist/messages/commands.d.ts +84 -0
  144. package/dist/messages/commands.d.ts.map +1 -0
  145. package/dist/messages/index.d.ts +46 -0
  146. package/dist/messages/index.d.ts.map +1 -0
  147. package/dist/opencodeArtifacts/index.d.ts +33 -0
  148. package/dist/opencodeArtifacts/index.d.ts.map +1 -0
  149. package/dist/opencodeArtifacts/orchestratorAgent.d.ts +29 -0
  150. package/dist/opencodeArtifacts/orchestratorAgent.d.ts.map +1 -0
  151. package/dist/opencodeArtifacts/slashCommand.d.ts +31 -0
  152. package/dist/opencodeArtifacts/slashCommand.d.ts.map +1 -0
  153. package/dist/orchestrator/coordinator.d.ts +152 -1
  154. package/dist/orchestrator/coordinator.d.ts.map +1 -1
  155. package/dist/orchestrator/graphCancellation.d.ts +40 -37
  156. package/dist/orchestrator/graphCancellation.d.ts.map +1 -1
  157. package/dist/orchestrator/graphEffects.d.ts +24 -24
  158. package/dist/orchestrator/graphEffects.d.ts.map +1 -1
  159. package/dist/orchestrator/graphFacade.d.ts +16 -16
  160. package/dist/orchestrator/graphFacade.d.ts.map +1 -1
  161. package/dist/orchestrator/graphIngress.d.ts +49 -45
  162. package/dist/orchestrator/graphIngress.d.ts.map +1 -1
  163. package/dist/orchestrator/graphReview.d.ts +24 -23
  164. package/dist/orchestrator/graphReview.d.ts.map +1 -1
  165. package/dist/orchestrator/graphRuntime.d.ts +27 -26
  166. package/dist/orchestrator/graphRuntime.d.ts.map +1 -1
  167. package/dist/orchestrator/graphShadow.d.ts +70 -69
  168. package/dist/orchestrator/graphShadow.d.ts.map +1 -1
  169. package/dist/orchestrator/opencodeSessionAdapter.d.ts +25 -25
  170. package/dist/orchestrator/opencodeSessionAdapter.d.ts.map +1 -1
  171. package/dist/orchestrator/permissions.d.ts.map +1 -1
  172. package/dist/orchestrator/ralphLoop.d.ts +57 -0
  173. package/dist/orchestrator/ralphLoop.d.ts.map +1 -0
  174. package/dist/orchestrator/roles.d.ts +50 -8
  175. package/dist/orchestrator/roles.d.ts.map +1 -1
  176. package/dist/orchestrator/roster.d.ts +103 -0
  177. package/dist/orchestrator/roster.d.ts.map +1 -0
  178. package/dist/orchestrator/rosterPersistence.d.ts +22 -0
  179. package/dist/orchestrator/rosterPersistence.d.ts.map +1 -0
  180. package/dist/orchestrator/runtimeSelection.d.ts +46 -0
  181. package/dist/orchestrator/runtimeSelection.d.ts.map +1 -0
  182. package/dist/orchestrator/sddCompiler.d.ts +34 -34
  183. package/dist/orchestrator/sddCompiler.d.ts.map +1 -1
  184. package/dist/orchestrator/sessionReconciler.d.ts +31 -29
  185. package/dist/orchestrator/sessionReconciler.d.ts.map +1 -1
  186. package/dist/orchestrator/shadowComparator.d.ts +23 -23
  187. package/dist/orchestrator/shadowComparator.d.ts.map +1 -1
  188. package/dist/orchestrator/subsessions.d.ts.map +1 -1
  189. package/dist/orchestrator/worktreeAdapter.d.ts +12 -12
  190. package/dist/orchestrator/worktreeAdapter.d.ts.map +1 -1
  191. package/dist/orchestrator/worktreeDispatch.d.ts +34 -34
  192. package/dist/orchestrator/worktreeDispatch.d.ts.map +1 -1
  193. package/dist/orchestrator/worktreeReconciler.d.ts +37 -36
  194. package/dist/orchestrator/worktreeReconciler.d.ts.map +1 -1
  195. package/dist/plugin/availability.d.ts.map +1 -1
  196. package/dist/plugin/capture.d.ts +12 -12
  197. package/dist/plugin/capture.d.ts.map +1 -1
  198. package/dist/plugin/commandTool.d.ts +1 -1
  199. package/dist/plugin/commandTool.d.ts.map +1 -1
  200. package/dist/plugin/graphShadowIngress.d.ts +50 -48
  201. package/dist/plugin/graphShadowIngress.d.ts.map +1 -1
  202. package/dist/plugin/graphTool.d.ts +25 -23
  203. package/dist/plugin/graphTool.d.ts.map +1 -1
  204. package/dist/plugin/hooks.d.ts +10 -10
  205. package/dist/plugin/hooks.d.ts.map +1 -1
  206. package/dist/plugin/legacyRunProducer.d.ts +22 -22
  207. package/dist/plugin/legacyRunProducer.d.ts.map +1 -1
  208. package/dist/plugin/memoryInject.d.ts +6 -6
  209. package/dist/plugin/memoryInject.d.ts.map +1 -1
  210. package/dist/plugin/memoryTool.d.ts +36 -0
  211. package/dist/plugin/memoryTool.d.ts.map +1 -0
  212. package/dist/plugin/orchestrateTool.d.ts +35 -2
  213. package/dist/plugin/orchestrateTool.d.ts.map +1 -1
  214. package/dist/plugin/reportRunSchema.d.ts +8 -8
  215. package/dist/plugin/reportRunSchema.d.ts.map +1 -1
  216. package/dist/plugin/sessionTracker.d.ts +15 -15
  217. package/dist/plugin/sessionTracker.d.ts.map +1 -1
  218. package/dist/plugin/shadowPipeline.d.ts +2 -1
  219. package/dist/plugin/shadowPipeline.d.ts.map +1 -1
  220. package/dist/plugin/soakObserver.d.ts +18 -11
  221. package/dist/plugin/soakObserver.d.ts.map +1 -1
  222. package/dist/plugin/toolcalls.d.ts +3 -3
  223. package/dist/router/chooseModel.d.ts.map +1 -1
  224. package/dist/router/frontierBaseline.d.ts +3 -3
  225. package/dist/router/modelSelection.d.ts +12 -4
  226. package/dist/router/modelSelection.d.ts.map +1 -1
  227. package/dist/router/types.d.ts +6 -1
  228. package/dist/router/types.d.ts.map +1 -1
  229. package/dist/storage/graph/snapshot.d.ts.map +1 -1
  230. package/dist/storage/graph/soakRecorder.d.ts +14 -1
  231. package/dist/storage/graph/soakRecorder.d.ts.map +1 -1
  232. package/dist/storage/graph/workspaceLease.d.ts +1 -1
  233. package/dist/storage/graph/workspaceLease.d.ts.map +1 -1
  234. package/dist/storage/graph/worktreeRegistry.d.ts +1 -1
  235. package/dist/storage/graph/worktreeRegistry.d.ts.map +1 -1
  236. package/dist/storage/httpStorageProvider.d.ts +2 -2
  237. package/dist/storage/index/bunSqlite.d.ts +1 -0
  238. package/dist/storage/index/bunSqlite.d.ts.map +1 -1
  239. package/dist/storage/index/memoryConsolidate.d.ts +2 -0
  240. package/dist/storage/index/memoryConsolidate.d.ts.map +1 -1
  241. package/dist/storage/index/memoryEmbeddings.d.ts +51 -0
  242. package/dist/storage/index/memoryEmbeddings.d.ts.map +1 -0
  243. package/dist/storage/index/memoryIndex.d.ts +36 -4
  244. package/dist/storage/index/memoryIndex.d.ts.map +1 -1
  245. package/dist/storage/index/memoryRecall.d.ts +1 -1
  246. package/dist/storage/index/memoryRecall.d.ts.map +1 -1
  247. package/dist/storage/index/memoryRuntime.d.ts +2 -0
  248. package/dist/storage/index/memoryRuntime.d.ts.map +1 -1
  249. package/dist/storage/index/sqliteIndex.d.ts +18 -1
  250. package/dist/storage/index/sqliteIndex.d.ts.map +1 -1
  251. package/dist/storage/path.d.ts.map +1 -1
  252. package/dist/telemetry/aggregate.d.ts +12 -12
  253. package/dist/telemetry/aggregate.d.ts.map +1 -1
  254. package/dist/telemetry/cost.d.ts.map +1 -1
  255. package/dist/telemetry/decisions.d.ts +11 -11
  256. package/dist/telemetry/decisions.d.ts.map +1 -1
  257. package/dist/telemetry/eventLog.d.ts +41 -25
  258. package/dist/telemetry/eventLog.d.ts.map +1 -1
  259. package/dist/telemetry/events.d.ts +44 -36
  260. package/dist/telemetry/events.d.ts.map +1 -1
  261. package/dist/telemetry/fanout.d.ts +18 -0
  262. package/dist/telemetry/fanout.d.ts.map +1 -0
  263. package/dist/telemetry/graphProjection.d.ts +12 -12
  264. package/dist/telemetry/graphProjection.d.ts.map +1 -1
  265. package/dist/telemetry/graphRuntimeHealth.d.ts +26 -26
  266. package/dist/telemetry/graphRuntimeHealth.d.ts.map +1 -1
  267. package/dist/telemetry/graphView.d.ts +20 -20
  268. package/dist/telemetry/graphView.d.ts.map +1 -1
  269. package/dist/telemetry/otel.d.ts +86 -0
  270. package/dist/telemetry/otel.d.ts.map +1 -0
  271. package/dist/telemetry/otelConfig.d.ts +128 -0
  272. package/dist/telemetry/otelConfig.d.ts.map +1 -0
  273. package/dist/telemetry/otelExporter.d.ts +7 -0
  274. package/dist/telemetry/otelExporter.d.ts.map +1 -0
  275. package/dist/telemetry/read.d.ts +18 -4
  276. package/dist/telemetry/read.d.ts.map +1 -1
  277. package/dist/telemetry/types.d.ts +3 -2
  278. package/dist/telemetry/types.d.ts.map +1 -1
  279. package/dist/web/configApi.d.ts +154 -0
  280. package/dist/web/configApi.d.ts.map +1 -0
  281. package/dist/web/configRoute.d.ts +57 -0
  282. package/dist/web/configRoute.d.ts.map +1 -0
  283. package/dist/web/console.d.ts +8 -0
  284. package/dist/web/console.d.ts.map +1 -1
  285. package/dist/web/paths.d.ts +4 -3
  286. package/dist/web/paths.d.ts.map +1 -1
  287. package/dist/web/server.d.ts +30 -1
  288. package/dist/web/server.d.ts.map +1 -1
  289. package/dist/web/start.d.ts +15 -0
  290. package/dist/web/start.d.ts.map +1 -1
  291. package/dist/web/storageRoute.d.ts +2 -2
  292. package/package.json +13 -7
  293. package/dist/cli/tunnel.d.ts +0 -89
  294. package/dist/cli/tunnel.d.ts.map +0 -1
  295. package/dist/commands/orchestratorAgent.d.ts +0 -30
  296. package/dist/commands/orchestratorAgent.d.ts.map +0 -1
  297. package/dist/commands/slashCommand.d.ts +0 -39
  298. package/dist/commands/slashCommand.d.ts.map +0 -1
  299. package/dist/orchestrator/ledger.d.ts +0 -28
  300. package/dist/orchestrator/ledger.d.ts.map +0 -1
  301. package/dist/storage/graph/importLegacy.d.ts +0 -62
  302. package/dist/storage/graph/importLegacy.d.ts.map +0 -1
  303. package/dist/storage/graph/migration.d.ts +0 -91
  304. package/dist/storage/graph/migration.d.ts.map +0 -1
  305. package/dist/storage/graph/projections.d.ts +0 -31
  306. package/dist/storage/graph/projections.d.ts.map +0 -1
@@ -1,41 +1,42 @@
1
1
  import { z } from "zod";
2
2
  import type { GraphMode } from "../config/schema";
3
3
  /**
4
- * **Ingesta shadow productiva** (GE-042): observa **una** ejecución legacy real
5
- * y la proyecta a un `LegacyExecutionTraceV1` **reference-only**, sin duplicar
6
- * trabajo.
4
+ * **Production shadow ingestion** (GE-042): observes **one** real legacy
5
+ * execution and projects it to a **reference-only** `LegacyExecutionTraceV1`,
6
+ * without duplicating work.
7
7
  *
8
- * El trace es el input que el espejo sin efectos (GE-043) compila para que el
9
- * comparador de paridad (GE-044) lo contraste. Por eso transporta exactamente
10
- * las dimensiones que el comparador normaliza estado terminal, orden de nodos,
11
- * roles, modelos, de fixes y outcome— y **nada de contenido crudo**: ni
12
- * brief, ni prompt, ni argumentos de tool, ni salida del modelo. Solo ids,
13
- * roles, referencias de modelo/sesión, clases de error y contadores.
8
+ * The trace is the input that the effect-free mirror (GE-043) compiles for the
9
+ * parity comparator (GE-044) to compare. That is why it carries exactly the
10
+ * dimensions the comparator normalizesterminal state, node order, roles,
11
+ * models, number of fixes, and outcome— and **no raw content**: no brief, no
12
+ * prompt, no tool arguments, no model output. Only ids, roles, model/session
13
+ * references, error classes, and counters.
14
14
  *
15
- * Garantías estructurales del boundary:
16
- * - **Sin efectos ni LLM:** este módulo solo mapea una observación ya
17
- * producida; nunca despacha una tool, ejecuta un efecto ni llama al modelo,
18
- * así que no puede duplicar la ejecución legacy que observa.
19
- * - **Sin trace sintético:** una observación que no ejecutó de verdad
20
- * (reanudada o `skipped`) o sin nodos es **inelegible de forma explícita**;
21
- * el builder nunca fabrica un run.
22
- * - **Gate dormant:** solo observa con `graph.mode` en `shadow`/`active` y sin
23
- * `killSwitch`; con `off` (o sección ausente) o kill-switch, inelegible.
24
- * - **Reference-only:** un guard final rechaza cualquier campo crudo y el
25
- * parser de boundary rechaza además claves desconocidas.
15
+ * Structural guarantees of the boundary:
16
+ * - **No effects or LLM:** this module only maps an observation that has
17
+ * already been produced; it never dispatches a tool, executes an effect, or
18
+ * calls the model, so it cannot duplicate the legacy execution it observes.
19
+ * - **No synthetic trace:** an observation that did not truly execute
20
+ * (resumed or `skipped`) or has no nodes is **explicitly ineligible**; the
21
+ * builder never fabricates a run.
22
+ * - **Gate dormant:** observes only with `graph.mode` in `shadow`/`active` and
23
+ * without `killSwitch`; with `off` (or an absent section) or kill-switch,
24
+ * ineligible.
25
+ * - **Reference-only:** a final guard rejects any raw field and the boundary
26
+ * parser also rejects unknown keys.
26
27
  *
27
- * Módulo **puro y determinista**: sin I/O, red, reloj, random ni env vars.
28
+ * **Pure and deterministic** module: no I/O, network, clock, random, or env vars.
28
29
  */
29
- /** Versión del trace de ejecución legacy. */
30
+ /** Version of the legacy execution trace. */
30
31
  export declare const LEGACY_EXECUTION_TRACE_VERSION: 1;
31
- /** Estado terminal normalizado de la ejecución legacy observada. */
32
+ /** Normalized terminal status of the observed legacy execution. */
32
33
  export declare const LegacyExecutionStatusSchema: z.ZodEnum<{
33
34
  cancelled: "cancelled";
34
35
  completed: "completed";
35
36
  failed: "failed";
36
37
  }>;
37
38
  export type LegacyExecutionStatus = z.infer<typeof LegacyExecutionStatusSchema>;
38
- /** Outcome normalizado del review de la ejecución legacy observada. */
39
+ /** Normalized outcome of the observed legacy execution review. */
39
40
  export declare const LegacyReviewOutcomeSchema: z.ZodEnum<{
40
41
  approved: "approved";
41
42
  inconclusive: "inconclusive";
@@ -43,10 +44,10 @@ export declare const LegacyReviewOutcomeSchema: z.ZodEnum<{
43
44
  }>;
44
45
  export type LegacyReviewOutcome = z.infer<typeof LegacyReviewOutcomeSchema>;
45
46
  /**
46
- * Nodo del trace: solo referencias y etiquetas acotadas. `model` es la
47
- * referencia normalizada del modelo (p. ej. `provider/model`); `sessionRef` es
48
- * el id de la subsesión de opencode, nunca su contenido; `errorClass` es la
49
- * taxonomía acotada de fallo que comparte el runtime del grafo.
47
+ * Trace node: only references and bounded tags. `model` is the normalized
48
+ * model reference (e.g. `provider/model`); `sessionRef` is the opencode
49
+ * subsession id, never its content; `errorClass` is the bounded failure
50
+ * taxonomy shared by the graph runtime.
50
51
  */
51
52
  export declare const LegacyTraceNodeV1Schema: z.ZodObject<{
52
53
  id: z.ZodString;
@@ -66,9 +67,9 @@ export declare const LegacyTraceNodeV1Schema: z.ZodObject<{
66
67
  }, z.core.$strict>;
67
68
  export type LegacyTraceNodeV1 = z.infer<typeof LegacyTraceNodeV1Schema>;
68
69
  /**
69
- * Trace versionado y reference-only de una única ejecución legacy productiva.
70
- * `nodes` conserva el **orden** de despacho (implementer, reviewer, fixes...),
71
- * que es una de las dimensiones de paridad.
70
+ * Versioned and reference-only trace of a single productive legacy execution.
71
+ * `nodes` preserves the dispatch **order** (implementer, reviewer, fixes...),
72
+ * which is one of the parity dimensions.
72
73
  */
73
74
  export declare const LegacyExecutionTraceV1Schema: z.ZodObject<{
74
75
  version: z.ZodLiteral<1>;
@@ -103,27 +104,27 @@ export declare const LegacyExecutionTraceV1Schema: z.ZodObject<{
103
104
  parentSessionRef: z.ZodOptional<z.ZodString>;
104
105
  }, z.core.$strict>;
105
106
  export type LegacyExecutionTraceV1 = z.infer<typeof LegacyExecutionTraceV1Schema>;
106
- /** Gate de elegibilidad: subconjunto observado de la config `graph`. */
107
+ /** Eligibility gate: observed subset of the `graph` config. */
107
108
  export type ShadowIngressGate = {
108
109
  readonly mode: GraphMode;
109
110
  readonly killSwitch: boolean;
110
111
  };
111
- /** Motivo **explícito** por el que una observación no produce trace. */
112
+ /** **Explicit** reason why an observation does not produce a trace. */
112
113
  export type ShadowIngressIneligibleReason = "graph-disabled" | "kill-switch" | "not-executed" | "no-observation";
113
- /** Nodo observado de la ejecución legacy real (puerto de entrada acotado). */
114
+ /** Observed node from the real legacy execution (bounded input port). */
114
115
  export type ObservedLegacyNode = {
115
116
  readonly id: string;
116
117
  readonly role: LegacyTraceNodeV1["role"];
117
118
  readonly model: string;
118
- /** Éxito terminal del nodo; deriva el outcome cuando el nodo es reviewer. */
119
+ /** Terminal success of the node; derives the outcome when the node is reviewer. */
119
120
  readonly ok: boolean;
120
121
  readonly sessionRef?: string;
121
122
  readonly errorClass?: LegacyTraceNodeV1["errorClass"];
122
123
  };
123
124
  /**
124
- * Observación de **una** ejecución legacy real, correlada por el orquestador a
125
- * partir de los hooks de evento/tool. `executed: false` marca una reanudación o
126
- * un `skipped` (sin ejecución real): inelegible explícito.
125
+ * Observation of **one** real legacy execution, correlated by the orchestrator
126
+ * from the event/tool hooks. `executed: false` marks a resumption or a
127
+ * `skipped` (no real execution): explicitly ineligible.
127
128
  */
128
129
  export type ObservedLegacyRun = {
129
130
  readonly runID: string;
@@ -133,7 +134,7 @@ export type ObservedLegacyRun = {
133
134
  readonly nodes: readonly ObservedLegacyNode[];
134
135
  readonly parentSessionRef?: string;
135
136
  };
136
- /** Resultado de la ingesta: trace elegible o inelegibilidad explícita. */
137
+ /** Ingestion result: eligible trace or explicit ineligibility. */
137
138
  export type ShadowIngressResult = {
138
139
  readonly eligible: true;
139
140
  readonly trace: LegacyExecutionTraceV1;
@@ -141,25 +142,26 @@ export type ShadowIngressResult = {
141
142
  readonly eligible: false;
142
143
  readonly reason: ShadowIngressIneligibleReason;
143
144
  };
144
- /** El gate está abierto cuando la observación shadow es elegible. */
145
+ /** The gate is open when the shadow observation is eligible. */
145
146
  export declare function shadowIngressGateOpen(gate: ShadowIngressGate | undefined): boolean;
146
147
  /**
147
- * Ingesta la observación de una ejecución legacy real y devuelve un
148
- * `LegacyExecutionTraceV1` reference-only, o la inelegibilidad explícita. No
149
- * ejecuta efectos, no llama al modelo y no fabrica traces: solo proyecta lo
150
- * observado cuando el gate está abierto y la ejecución fue real.
148
+ * Ingests the observation of a real legacy execution and returns a
149
+ * reference-only `LegacyExecutionTraceV1`, or the explicit ineligibility. Does
150
+ * not execute effects, does not call the model, and does not fabricate traces:
151
+ * it only projects what was observed when the gate is open and the execution was
152
+ * real.
151
153
  */
152
154
  export declare function ingestLegacyExecution(observation: ObservedLegacyRun, gate: ShadowIngressGate | undefined): ShadowIngressResult;
153
- /** Error tipado de validación del trace legacy en el boundary. */
155
+ /** Typed validation error for the legacy trace at the boundary. */
154
156
  export declare class LegacyTraceError extends Error {
155
157
  readonly code: "invalid-legacy-trace";
156
158
  readonly issues: string[];
157
159
  constructor(error: z.ZodError);
158
160
  }
159
161
  /**
160
- * Valida y parsea un trace legacy en el boundary (lo consume GE-043). Lanza
161
- * `LegacyTraceError` si la forma es inválida o transporta claves desconocidas,
162
- * incluidos los campos de contenido crudo.
162
+ * Validates and parses a legacy trace at the boundary (consumed by GE-043).
163
+ * Throws `LegacyTraceError` if the shape is invalid or carries unknown keys,
164
+ * including raw content fields.
163
165
  */
164
166
  export declare function parseLegacyExecutionTrace(input: unknown): LegacyExecutionTraceV1;
165
167
  //# sourceMappingURL=graphShadowIngress.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"graphShadowIngress.d.ts","sourceRoot":"","sources":["../../src/plugin/graphShadowIngress.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,E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E,qBAAa,gBAAiB,SAAQ,KAAK;IACzC,QAAQ,CAAC,IAAI,EAAG,sBAAsB,CAAU;IAChD,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC;IAE1B,YAAY,KAAK,EAAE,CAAC,CAAC,QAAQ,EAQ5B;CACF;AAED;;;;GAIG;AACH,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,OAAO,GACb,sBAAsB,CAMxB"}
@@ -3,26 +3,28 @@ import type { GraphIngress, IngressDecision, IngressOutcome, IngressPolicy } fro
3
3
  import type { SessionTracker } from "./sessionTracker";
4
4
  import { type ShadowObserver, type ShadowPipelineDeps } from "./shadowPipeline";
5
5
  /**
6
- * GE-050 — superficie de opencode del ingress activo de SDD.
6
+ * GE-050 — opencode surface for active SDD ingress.
7
7
  *
8
- * En R1 la herramienta se registra pero la puerta interna está cerrada, así que
9
- * responde siempre "no disponible" y **explica el bloqueo más externo**. Se
10
- * registra igualmente porque el punto de entrada es justo lo que faltaba: sin
11
- * él, "activar el grafo" seguiría sin significar nada operativamente y R2 no
12
- * tendría dónde enchufar el piloto.
8
+ * In R1 the tool is registered but the internal gate is closed, so it always
9
+ * responds "unavailable" and **explains the outermost block**. It is still
10
+ * registered because the entry point is exactly what was missing: without it,
11
+ * "activating the graph" would still mean nothing operationally and R2 would
12
+ * have nowhere to plug in the pilot.
13
13
  *
14
- * `ingress` es opcional a propósito: R1 no tiene ejecutor de efectos de sesión
15
- * (lo aporta GE-030/GE-051), y fabricar uno falso en producción sería peor que
16
- * declarar la ausencia. Mientras no exista, ninguna acción mutante es posible.
14
+ * `ingress` is intentionally optional: R1 has no session effect executor
15
+ * (GE-030/GE-051 provides it), and fabricating a fake one in production would
16
+ * be worse than declaring the absence. Until it exists, no mutating action is
17
+ * possible.
17
18
  *
18
- * Este módulo no nombra el otorgante interno de la capability: la puerta solo se
19
- * abre desde el módulo que la declara, y eso se verifica estructuralmente en g5.
19
+ * This module does not name the internal grantor of the capability: the gate is
20
+ * opened only from the module that declares it, and that is verified
21
+ * structurally in g5.
20
22
  */
21
- /** Acciones expuestas por la herramienta `openteam-graph`. */
23
+ /** Actions exposed by the `openteam-graph` tool. */
22
24
  export type GraphToolAction = "status" | "start" | "cancel" | "report-run";
23
25
  export type GraphToolDeps = {
24
26
  readonly policy: IngressPolicy;
25
- /** Ingress real; ausente mientras el runtime activo no esté enchufado. */
27
+ /** Actual ingress; absent while the active runtime is not plugged in. */
26
28
  readonly ingress?: GraphIngress;
27
29
  /** Shadow pipeline deps; absent under mode "off" or when kill switch is active. */
28
30
  readonly shadow?: ShadowPipelineDeps | undefined;
@@ -41,23 +43,23 @@ export type GraphToolSurface = {
41
43
  */
42
44
  readonly observeLegacyExecution: ShadowObserver;
43
45
  };
44
- /** Texto estable para una decisión de enrutado. Puro y total. */
46
+ /** Stable text for a routing decision. Pure and total. */
45
47
  export declare function describeDecision(decision: IngressDecision): string;
46
- /** Texto estable para el resultado de una operación. Puro y total. */
48
+ /** Stable text for the result of an operation. Pure and total. */
47
49
  export declare function describeOutcome(outcome: IngressOutcome): string;
48
- /** Motivo por el que una acción mutante no puede ejecutarse todavía. */
50
+ /** Reason why a mutating action cannot run yet. */
49
51
  export declare function unavailableReason(deps: GraphToolDeps, taskID: string): string;
50
52
  export declare function createGraphTool(deps: GraphToolDeps): GraphToolSurface;
51
53
  /**
52
- * Despacha la acción `report-run`: valida, contrasta y produce una
53
- * observación shadow. Contenido por try/catch: un fallo aquí nunca
54
- * se propaga como excepción al agente.
54
+ * Dispatches the `report-run` action: validates, cross-checks, and produces a
55
+ * shadow observation. Contained by try/catch: a failure here never propagates
56
+ * as an exception to the agent.
55
57
  *
56
- * `tracker` es obligatorio: sin él no hay capacidad de contraverificación
57
- * y todos los nodos quedan como no verificables. El compilador caza la
58
- * omisión; el guard runtime maneja el caso dinámico imposible.
58
+ * `tracker` is mandatory: without it there is no cross-verification capability
59
+ * and all nodes remain non-verifiable. The compiler catches the omission; the
60
+ * runtime guard handles the impossible dynamic case.
59
61
  *
60
- * Exportado para testing directo de la capa de contención externa.
62
+ * Exported for direct testing of the outer containment layer.
61
63
  */
62
64
  export declare function handleReportRun(args: Record<string, unknown>, observe: ShadowObserver, tracker: SessionTracker): Promise<string>;
63
65
  //# sourceMappingURL=graphTool.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"graphTool.d.ts","sourceRoot":"","sources":["../../src/plugin/graphTool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAQ,MAAM,qBAAqB,CAAC;AAEhE,OAAO,KAAK,EACV,YAAY,EACZ,eAAe,EACf,cAAc,EACd,aAAa,EACd,MAAM,8BAA8B,CAAC;AAUtC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,kBAAkB,EAExB,MAAM,kBAAkB,CAAC;AAE1B;;;;;;;;;;;;;;;GAeG;AAEH,8DAA8D;AAC9D,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,YAAY,CAAC;AAE3E,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,CAAC,MAAM,EAAE,aAAa,CAAC;IAC/B,0EAA0E;IAC1E,QAAQ,CAAC,OAAO,CAAC,EAAE,YAAY,CAAC;IAChC,mFAAmF;IACnF,QAAQ,CAAC,MAAM,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACjD,6EAA6E;IAC7E,QAAQ,CAAC,OAAO,EAAE,cAAc,CAAC;CAClC,CAAC;AAEF,yFAAyF;AACzF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,qDAAqD;IACrD,QAAQ,CAAC,UAAU,EAAE,cAAc,CAAC;IACpC;;;;;OAKG;IACH,QAAQ,CAAC,sBAAsB,EAAE,cAAc,CAAC;CACjD,CAAC;AAEF,iEAAiE;AACjE,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,eAAe,GAAG,MAAM,CAclE;AAED,s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MAAM,gBAAgB,GAAG;IAC7B,qDAAqD;IACrD,QAAQ,CAAC,UAAU,EAAE,cAAc,CAAC;IACpC;;;;;OAKG;IACH,QAAQ,CAAC,sBAAsB,EAAE,cAAc,CAAC;CACjD,CAAC;AAaF,0DAA0D;AAC1D,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,eAAe,GAAG,MAAM,CAgBlE;AAED,kEAAkE;AAClE,wBAAgB,eAAe,CAAC,OAAO,EAAE,cAAc,GAAG,MAAM,CAqB/D;AAED,mDAAmD;AACnD,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAK7E;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,aAAa,GAAG,gBAAgB,CA2FrE;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,eAAe,CACnC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,OAAO,EAAE,cAAc,EACvB,OAAO,EAAE,cAAc,GACtB,OAAO,CAAC,MAAM,CAAC,CAwDjB"}
@@ -8,24 +8,24 @@ export type ChatMessageHookOptions = {
8
8
  sink?: EventSink;
9
9
  now?: () => number;
10
10
  /**
11
- * Inyección de memoria M6 (opt-in). Dado el texto del prompt, devuelve un bloque
12
- * de contexto a **prepender** al primer part de texto, o `null` para no inyectar.
13
- * Se invoca **después** de elegir modelo y emitir telemetría, de modo que no
14
- * altera el determinismo del router ni el hash del prompt.
11
+ * M6 memory injection (opt-in). Given the prompt text, returns a context
12
+ * block to **prepend** to the first text part, or `null` to skip injection.
13
+ * It is invoked **after** choosing the model and emitting telemetry, so it
14
+ * does not alter router determinism or the prompt hash.
15
15
  */
16
16
  injectMemory?: (queryText: string) => Promise<string | null>;
17
17
  /**
18
- * Callback de routing (issue #53): notifica la sesión y el modelo enrutado
19
- * tras cada decisión de `chat.message`. Usado por el `SessionTracker` para
20
- * contraverificar los campos auto-reportados del agente en `report-run`.
18
+ * Routing callback (issue #53): notifies the session and the routed model
19
+ * after each `chat.message` decision. Used by the `SessionTracker` to
20
+ * cross-verify the agent's self-reported fields in `report-run`.
21
21
  */
22
22
  onRoute?: (sessionID: string, model: string) => void;
23
23
  };
24
24
  export declare function deriveTaskSignals(input: Parameters<ChatMessageHook>[0], output: Parameters<ChatMessageHook>[1]): TaskSignals;
25
25
  /**
26
- * Prepend el bloque de memoria al primer part de texto del mensaje. Devuelve
27
- * `true` si inyectó. No añade parts nuevos (superficie de contrato acotada:
28
- * mutar `text` de un part existente), y es un no-op si no hay part de texto.
26
+ * Prepends the memory block to the first text part of the message. Returns
27
+ * `true` if injection occurred. Does not add new parts (bounded contract surface:
28
+ * mutating `text` of an existing part), and is a no-op if there is no text part.
29
29
  */
30
30
  export declare function injectMemoryBlock(output: Parameters<ChatMessageHook>[1], block: string): boolean;
31
31
  export declare function createChatMessageHook(config: OpenTeamConfig, getAvailable: AvailabilityProvider, options?: ChatMessageHookOptions): ChatMessageHook;
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../src/plugin/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAEjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD,OAAO,EAGL,KAAK,SAAS,EACf,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE3D,MAAM,MAAM,eAAe,GAAG,WAAW,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC;AAEjE,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,MAAM,CAAC;IACnB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,CAAC,SAAS,EAAE,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GAAG,CAAC,EAAE,MAAM,MAAM,CAAC;IACnB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC7D;;;;OAIG;IACH,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACtD,CAAC;AA8CF,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,EACrC,MAAM,EAAE,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,GACrC,WAAW,CAqBb;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,EACtC,KAAK,EAAE,MAAM,GACZ,OAAO,CAQT;AAED,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,cAAc,EACtB,YAAY,EAAE,oBAAoB,EAClC,OAAO,GAAE,sBAA2B,GACnC,eAAe,CA2EjB;AAED,wBAAgB,WAAW,CACzB,MAAM,EAAE,cAAc,EACtB,YAAY,EAAE,oBAAoB,EAClC,OAAO,GAAE,sBAA2B,GACnC,KAAK,CAIP"}
@@ -3,46 +3,46 @@ import type { ReportRunPayload } from "./reportRunSchema";
3
3
  import type { SessionTracker } from "./sessionTracker";
4
4
  import type { ShadowPipelineResult } from "./shadowPipeline";
5
5
  /**
6
- * **Productor de `ObservedLegacyRun`** (issue #53, ADR Option D §3–4).
6
+ * **`ObservedLegacyRun` producer** (issue #53, ADR Option D §3–4).
7
7
  *
8
- * Recibe un `ReportRunPayload` validado por Zod en la frontera, contrasta
9
- * los campos `model` y `sessionRef` contra la telemetría de sesión/routing
10
- * acumulada por el `SessionTracker`, construye un `ObservedLegacyRun` y lo
11
- * pasa al observador shadow.
8
+ * Receives a `ReportRunPayload` validated by Zod at the boundary, checks
9
+ * the `model` and `sessionRef` fields against the session/routing telemetry
10
+ * accumulated by the `SessionTracker`, builds an `ObservedLegacyRun`, and
11
+ * passes it to the shadow observer.
12
12
  *
13
- * Módulo puro (sin I/O, reloj ni azar). La contención de fallos la da el
14
- * shadow pipeline; aquí solo se construye la observación.
13
+ * Pure module (no I/O, clock, or randomness). Failure containment is provided by the
14
+ * shadow pipeline; here we only build the observation.
15
15
  */
16
16
  /**
17
- * Resultado de la producción de la observación legacy. Extiende el
18
- * `ShadowPipelineResult` con metadatos de contraverificación.
17
+ * Result of producing the legacy observation. Extends the
18
+ * `ShadowPipelineResult` with cross-verification metadata.
19
19
  */
20
20
  export type ProducerResult = {
21
- /** Resultado del pipeline shadow. */
21
+ /** Shadow pipeline result. */
22
22
  readonly pipeline: ShadowPipelineResult;
23
- /** Nodos con modelo no verificable (sessionRef ausente o sin routing). */
23
+ /** Nodes with non-verifiable model (sessionRef absent or no routing). */
24
24
  readonly unverifiedModels: readonly string[];
25
- /** Nodos con modelo verificado y discrepancia. */
25
+ /** Nodes with a verified model and a mismatch. */
26
26
  readonly modelMismatches: readonly string[];
27
- /** Nodos con sessionRef desconocida. */
27
+ /** Nodes with unknown sessionRef. */
28
28
  readonly unknownSessions: readonly string[];
29
29
  };
30
- /** Resultado conciso devuelto a la herramienta como texto. */
30
+ /** Concise result returned to the tool as text. */
31
31
  export type ReportRunResponse = {
32
32
  readonly result: "observed" | "observation-rejected" | "ineligible" | "contained-failure";
33
33
  readonly detail?: string;
34
- /** Avisos de contraverificación, si hubo. */
34
+ /** Cross-verification warnings, if any. */
35
35
  readonly warnings?: readonly string[];
36
36
  };
37
37
  /**
38
- * Produce una `ObservedLegacyRun` a partir de un reporte validado del agente.
39
- * El run se marca como `executed: true` porque la acción solo se invoca al
40
- * completar una ejecución real.
38
+ * Produces an `ObservedLegacyRun` from a validated agent report.
39
+ * The run is marked as `executed: true` because the action is only invoked when
40
+ * a real execution completes.
41
41
  */
42
42
  export declare function buildObservedRun(payload: ReportRunPayload): ObservedLegacyRun;
43
43
  /**
44
- * Contrasta los campos del reporte contra la telemetría acumulada.
45
- * Devuelve avisos de contraverificación (warnings), nunca bloquea.
44
+ * Checks the report fields against the accumulated telemetry.
45
+ * Returns cross-verification warnings, never blocks.
46
46
  */
47
47
  export declare function crossVerify(payload: ReportRunPayload, tracker: SessionTracker): {
48
48
  unverifiedModels: string[];
@@ -50,11 +50,11 @@ export declare function crossVerify(payload: ReportRunPayload, tracker: SessionT
50
50
  unknownSessions: string[];
51
51
  };
52
52
  /**
53
- * Formatea los warnings de contraverificación para la respuesta al agente.
53
+ * Formats the cross-verification warnings for the response to the agent.
54
54
  */
55
55
  export declare function formatWarnings(verification: ReturnType<typeof crossVerify>): string[];
56
56
  /**
57
- * Construye la respuesta de texto que la herramienta devuelve al agente.
57
+ * Builds the text response that the tool returns to the agent.
58
58
  */
59
59
  export declare function formatResponse(response: ReportRunResponse): string;
60
60
  //# sourceMappingURL=legacyRunProducer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"legacyRunProducer.d.ts","sourceRoot":"","sources":["../../src/plugin/legacyRunProducer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,iBAAiB,EAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,EAAqB,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC1E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAE7D;;;;;;;;;;GAUG;AAEH;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,qCAAqC;IACrC,QAAQ,CAAC,QAAQ,EAAE,oBAAoB,CAAC;IACxC,0EAA0E;IAC1E,QAAQ,CAAC,gBAAgB,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7C,kDAAkD;IAClD,QAAQ,CAAC,eAAe,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5C,wCAAwC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AA8B;IAC9B,QAAQ,CAAC,QAAQ,EAAE,oBAAoB,CAAC;IACxC,yEAAyE;IACzE,QAAQ,CAAC,gBAAgB,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7C,kDAAkD;IAClD,QAAQ,CAAC,eAAe,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5C,qCAAqC;IACrC,QAAQ,CAAC,eAAe,EAAE,SAAS,MAAM,EAAE,CAAC;CAC7C,CAAC;AAEF,mDAAmD;AACnD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,CAAC,MAAM,EACX,UAAU,GACV,sBAAsB,GACtB,YAAY,GACZ,mBAAmB,CAAC;IACxB,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,2CAA2C;IAC3C,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACvC,CAAC;AAmBF;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,gBAAgB,GAAG,iBAAiB,CAW7E;AAED;;;GAGG;AACH,wBAAgB,WAAW,CACzB,OAAO,EAAE,gBAAgB,EACzB,OAAO,EAAE,cAAc,GACtB;IACD,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,eAAe,EAAE,MAAM,EAAE,CAAC;CAC3B,CA8BA;AAED;;GAEG;AACH,wBAAgB,cAAc,CAC5B,YAAY,EAAE,UAAU,CAAC,OAAO,WAAW,CAAC,GAC3C,MAAM,EAAE,CAkBV;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,iBAAiB,GAAG,MAAM,CASlE"}
@@ -2,16 +2,16 @@ import type { Embedder } from "../local/embeddings";
2
2
  import { type MemoryInjectionParams } from "../memory/inject";
3
3
  import type { MemoryIndex } from "../storage/index/memoryIndex";
4
4
  /**
5
- * Compone el callback `injectMemory` de M6 (push a `chat.message`) a partir del
6
- * índice de memoria, un `Embedder` local y la política de recall/inyección.
7
- * Aísla el wiring para que `index.ts` sea un caller fino y esto quede cubierto
8
- * por tests. El único I/O es el embedding de la query (dentro de `recallMemory`);
9
- * el formateo del bloque es puro (`buildMemoryBlock`).
5
+ * Composes the M6 `injectMemory` callback (push to `chat.message`) from the
6
+ * memory index, a local `Embedder`, and the recall/injection policy.
7
+ * Isolates the wiring so `index.ts` remains a thin caller and this stays covered
8
+ * by tests. The only I/O is embedding the query (inside `recallMemory`);
9
+ * block formatting is pure (`buildMemoryBlock`).
10
10
  */
11
11
  export type MemoryInjectorDeps = {
12
12
  index: MemoryIndex;
13
13
  embedder: Embedder;
14
- /** Reloj inyectado (epoch ms) para el `asOf` "ahora". */
14
+ /** Injected clock (epoch ms) for the `asOf` "now". */
15
15
  now: () => number;
16
16
  };
17
17
  export type MemoryInjectorPolicy = {
@@ -1 +1 @@
1
- {"version":3,"file":"memoryInject.d.ts","sourceRoot":"","sources":["../../src/plugin/memoryInject.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAoB,KAAK,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAEhF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAGhE;;;;;;GAMG;AAEH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,QAAQ,CAAC;IACnB,yDAAyD;IACzD,GAAG,EAAE,MAAM,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,OAAO,CAAC;IACvB,SAAS,EAAE,qBAAqB,CAAC;CAClC,CAAC;AAEF,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,kBAAkB,EACxB,MAAM,EAAE,oBAAoB,GAC3B,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAe/C"}
1
+ {"version":3,"file":"memoryInject.d.ts","sourceRoot":"","sources":["../../src/plugin/memoryInject.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAoB,KAAK,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAEhF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAGhE;;;;;;GAMG;AAEH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,QAAQ,CAAC;IACnB,sDAAsD;IACtD,GAAG,EAAE,MAAM,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,OAAO,CAAC;IACvB,SAAS,EAAE,qBAAqB,CAAC;CAClC,CAAC;AAEF,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,kBAAkB,EACxB,MAAM,EAAE,oBAAoB,GAC3B,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAe/C"}
@@ -0,0 +1,36 @@
1
+ import { type ToolDefinition } from "@opencode-ai/plugin";
2
+ import { z } from "zod";
3
+ import { type OpenTeamConfig } from "../config/schema";
4
+ import type { FetchLike } from "../local/types";
5
+ import type { StorageProvider } from "../storage/provider";
6
+ export type MemoryToolDeps = {
7
+ config: OpenTeamConfig;
8
+ storage: StorageProvider;
9
+ /** Injected clock (epoch ms). Keeps this module free of ambient time. */
10
+ now: () => number;
11
+ /** #143 reachability probe; injected I/O port. */
12
+ localRuntimeReachable: () => Promise<boolean>;
13
+ /** Local runtime HTTP transport; injected I/O port. */
14
+ fetch: FetchLike;
15
+ warn?: (message?: unknown) => void;
16
+ };
17
+ /** Schema for the `openteam-memory` tool boundary. */
18
+ export declare const MemoryWritePayloadSchema: z.ZodObject<{
19
+ messages: z.ZodArray<z.ZodObject<{
20
+ role: z.ZodEnum<{
21
+ assistant: "assistant";
22
+ system: "system";
23
+ user: "user";
24
+ }>;
25
+ content: z.ZodString;
26
+ }, z.core.$strict>>;
27
+ roleID: z.ZodDefault<z.ZodString>;
28
+ }, z.core.$strict>;
29
+ /**
30
+ * Builds the `openteam-memory` tool. All I/O is injected; the tool itself only
31
+ * orchestrates: gate → local extraction → redaction (inside `extractMemory`) →
32
+ * append-only write. It never throws to the host: every failure path returns an
33
+ * actionable, English, single-line message and leaves the log untouched.
34
+ */
35
+ export declare function createMemoryTool(deps: MemoryToolDeps): ToolDefinition;
36
+ //# sourceMappingURL=memoryTool.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"memoryTool.d.ts","sourceRoot":"","sources":["../../src/plugin/memoryTool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAQ,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,KAAK,cAAc,EAAyB,MAAM,kBAAkB,CAAC;AAG9E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAQhD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AA0B3D,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,cAAc,CAAC;IACvB,OAAO,EAAE,eAAe,CAAC;IACzB,yEAAyE;IACzE,GAAG,EAAE,MAAM,MAAM,CAAC;IAClB,kDAAkD;IAClD,qBAAqB,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IAC9C,uDAAuD;IACvD,KAAK,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CACpC,CAAC;AAUF,sDAAsD;AACtD,eAAO,MAAM,wBAAwB;;;;;;;;;;kBAY1B,CAAC;AAEZ;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,cAAc,GAAG,cAAc,CAuHrE"}
@@ -2,11 +2,13 @@ import { type ToolDefinition } from "@opencode-ai/plugin";
2
2
  import { z } from "zod";
3
3
  import type { GraphMode, OpenTeamConfig } from "../config/schema";
4
4
  import type { GraphEventV1, GraphSpecV1 } from "../graph/schema";
5
+ import type { RuntimeConcurrencyLimiter } from "../local/concurrency";
6
+ import type { LocalRuntimeId } from "../local/types";
5
7
  import { type RoleTaskResult } from "../orchestrator/coordinator";
6
8
  import type { OpencodeSessionClient } from "../orchestrator/subsessions";
7
9
  import type { GraphJournal } from "../storage/graph/provider";
8
10
  import type { EventSink } from "../telemetry/eventLog";
9
- import type { ShadowObserver } from "./shadowPipeline";
11
+ import type { ShadowObserver, ShadowPipelineResult } from "./shadowPipeline";
10
12
  /**
11
13
  * Schema for the `openteam-orchestrate` tool boundary.
12
14
  *
@@ -141,6 +143,31 @@ export type OrchestrateDeps = {
141
143
  readonly journal?: GraphJournal | undefined;
142
144
  /** Shadow pipeline observer. Required when graphMode !== "off". */
143
145
  readonly observeLegacyExecution?: ShadowObserver | undefined;
146
+ /**
147
+ * Reachability probe for local runtimes (#143). A REQUIRED injected I/O port —
148
+ * probing lives in the local runtime adapters. Passed through unconditionally
149
+ * to the coordinator, which consults it only for roles that require a local
150
+ * runtime (scribe, ralph, guardian) to refuse the request before dispatch when
151
+ * none is reachable. Required (not optional) so that dropping the injection at
152
+ * the composition root is a compile error rather than a silent fail-open.
153
+ */
154
+ readonly localRuntimeReachable: () => Promise<boolean>;
155
+ /**
156
+ * Per-runtime reachability probe (#144). A REQUIRED injected I/O port, passed
157
+ * through to the coordinator so a role that declares an ordered `localRuntimes`
158
+ * list can fail over across it and pin to the chosen runtime. Required (not
159
+ * optional) so that dropping the injection at the composition root is a compile
160
+ * error rather than a silent loss of failover — the exact class of unreachable,
161
+ * fully-tested wiring this repo has been bitten by before.
162
+ */
163
+ readonly reachableRuntimeIds: () => Promise<ReadonlySet<LocalRuntimeId>>;
164
+ /**
165
+ * Per-runtime concurrency limiter (#144). A REQUIRED injected dependency, one
166
+ * per plugin instance so caps are enforced across all orchestrate calls. Passed
167
+ * through to the coordinator, which caps concurrent generations per runtime and
168
+ * queues excess work. Required so dropping the wiring is a compile error.
169
+ */
170
+ readonly runtimeLimiter: RuntimeConcurrencyLimiter;
144
171
  };
145
172
  /**
146
173
  * Builds a `GraphSpecV1` from orchestrate payload assignments. Each assignment
@@ -165,11 +192,17 @@ export declare function synthesizeJournalEvents(spec: GraphSpecV1, results: read
165
192
  * string — fs errors can carry full paths, SDK errors can echo request content.
166
193
  * The same discipline applied at `coordinator.ts:328` for subsession failures.
167
194
  */
168
- export type ShadowProducerFailureClass = "invalid-node-id" | "journal-create-failed" | "journal-append-failed" | "observation-failed" | "unknown";
195
+ export type ShadowProducerFailureClass = "invalid-node-id" | "journal-create-failed" | "journal-append-failed" | "observation-ineligible" | "observation-rejected" | "observation-contained-failure" | "observation-failed" | "unknown";
169
196
  /**
170
197
  * Classifies a shadow producer error into a bounded code. Pure.
171
198
  */
172
199
  export declare function classifyShadowFailure(_error: unknown, phase: "create" | "append" | "observe"): ShadowProducerFailureClass;
200
+ /**
201
+ * Maps the bounded shadow pipeline outcome to the bounded diagnostic taxonomy.
202
+ * Pure and exhaustive: adding a new `ShadowPipelineResult.kind` must update
203
+ * this function before typecheck can pass.
204
+ */
205
+ export declare function classifyShadowPipelineResult(result: ShadowPipelineResult): ShadowProducerFailureClass | undefined;
173
206
  /** Result of shadow producer attempt — success or classified failure. */
174
207
  export type ShadowProducerResult = {
175
208
  readonly ok: true;
@@ -1 +1 @@
1
- {"version":3,"file":"orchestrateTool.d.ts","sourceRoot":"","sources":["../../src/plugin/orchestrateTool.ts"],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