@evalops/maestro 0.10.50 → 0.10.51

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 (406) hide show
  1. package/dist/agent/agent-outcome.d.ts +54 -0
  2. package/dist/agent/agent-outcome.d.ts.map +1 -0
  3. package/dist/agent/agent-outcome.js +142 -0
  4. package/dist/agent/agent-outcome.js.map +1 -0
  5. package/dist/agent/agent-resume.d.ts.map +1 -1
  6. package/dist/agent/agent-resume.js +3 -3
  7. package/dist/agent/agent-resume.js.map +1 -1
  8. package/dist/agent/agent-run-summary.d.ts +37 -0
  9. package/dist/agent/agent-run-summary.d.ts.map +1 -0
  10. package/dist/agent/agent-run-summary.js +15 -0
  11. package/dist/agent/agent-run-summary.js.map +1 -0
  12. package/dist/agent/agent-work-board.d.ts +82 -0
  13. package/dist/agent/agent-work-board.d.ts.map +1 -0
  14. package/dist/agent/agent-work-board.js +312 -0
  15. package/dist/agent/agent-work-board.js.map +1 -0
  16. package/dist/agent/auto-compaction.d.ts +7 -2
  17. package/dist/agent/auto-compaction.d.ts.map +1 -1
  18. package/dist/agent/auto-compaction.js +23 -10
  19. package/dist/agent/auto-compaction.js.map +1 -1
  20. package/dist/agent/mission-artifacts.d.ts +62 -0
  21. package/dist/agent/mission-artifacts.d.ts.map +1 -0
  22. package/dist/agent/mission-artifacts.js +438 -0
  23. package/dist/agent/mission-artifacts.js.map +1 -0
  24. package/dist/agent/mission-manifest.d.ts +139 -3
  25. package/dist/agent/mission-manifest.d.ts.map +1 -1
  26. package/dist/agent/mission-manifest.js +549 -3
  27. package/dist/agent/mission-manifest.js.map +1 -1
  28. package/dist/agent/mission-store.d.ts +80 -0
  29. package/dist/agent/mission-store.d.ts.map +1 -0
  30. package/dist/agent/mission-store.js +603 -0
  31. package/dist/agent/mission-store.js.map +1 -0
  32. package/dist/agent/modes.d.ts +2 -2
  33. package/dist/agent/modes.d.ts.map +1 -1
  34. package/dist/agent/modes.js +10 -3
  35. package/dist/agent/modes.js.map +1 -1
  36. package/dist/agent/providers/codex-app-server.d.ts.map +1 -1
  37. package/dist/agent/providers/codex-app-server.js +1 -3
  38. package/dist/agent/providers/codex-app-server.js.map +1 -1
  39. package/dist/agent/providers/google-gemini-cli.js +203 -107
  40. package/dist/agent/providers/google.js +100 -41
  41. package/dist/agent/providers/scripted.d.ts.map +1 -1
  42. package/dist/agent/providers/scripted.js +1 -3
  43. package/dist/agent/providers/scripted.js.map +1 -1
  44. package/dist/agent/providers/validation.d.ts.map +1 -1
  45. package/dist/agent/providers/validation.js +1 -3
  46. package/dist/agent/providers/validation.js.map +1 -1
  47. package/dist/agent/providers/vertex.js +203 -107
  48. package/dist/agent/snapshot-store.d.ts +32 -0
  49. package/dist/agent/snapshot-store.d.ts.map +1 -0
  50. package/dist/agent/snapshot-store.js +195 -0
  51. package/dist/agent/snapshot-store.js.map +1 -0
  52. package/dist/agent/specialist-profiles.d.ts +36 -0
  53. package/dist/agent/specialist-profiles.d.ts.map +1 -0
  54. package/dist/agent/specialist-profiles.js +159 -0
  55. package/dist/agent/specialist-profiles.js.map +1 -0
  56. package/dist/agent/subagent-specs.d.ts +4 -1
  57. package/dist/agent/subagent-specs.d.ts.map +1 -1
  58. package/dist/agent/subagent-specs.js +81 -8
  59. package/dist/agent/subagent-specs.js.map +1 -1
  60. package/dist/agent/swarm/coverage-gate.d.ts +37 -0
  61. package/dist/agent/swarm/coverage-gate.d.ts.map +1 -0
  62. package/dist/agent/swarm/coverage-gate.js +48 -0
  63. package/dist/agent/swarm/coverage-gate.js.map +1 -0
  64. package/dist/agent/swarm/executor.d.ts +1 -0
  65. package/dist/agent/swarm/executor.d.ts.map +1 -1
  66. package/dist/agent/swarm/executor.js +151 -15
  67. package/dist/agent/swarm/executor.js.map +1 -1
  68. package/dist/agent/swarm/orchestrator-prompt.d.ts +25 -0
  69. package/dist/agent/swarm/orchestrator-prompt.d.ts.map +1 -0
  70. package/dist/agent/swarm/orchestrator-prompt.js +48 -0
  71. package/dist/agent/swarm/orchestrator-prompt.js.map +1 -0
  72. package/dist/agent/swarm/plan-parser.d.ts.map +1 -1
  73. package/dist/agent/swarm/plan-parser.js +27 -2
  74. package/dist/agent/swarm/plan-parser.js.map +1 -1
  75. package/dist/agent/swarm/types.d.ts +17 -0
  76. package/dist/agent/swarm/types.d.ts.map +1 -1
  77. package/dist/agent/swarm/types.js.map +1 -1
  78. package/dist/agent/swarm/validation-directive.d.ts +21 -0
  79. package/dist/agent/swarm/validation-directive.d.ts.map +1 -0
  80. package/dist/agent/swarm/validation-directive.js +25 -0
  81. package/dist/agent/swarm/validation-directive.js.map +1 -0
  82. package/dist/agent/transport/tool-execution-bridge.d.ts.map +1 -1
  83. package/dist/agent/transport/tool-execution-bridge.js +4 -1
  84. package/dist/agent/transport/tool-execution-bridge.js.map +1 -1
  85. package/dist/api/enterprise-routes.d.ts.map +1 -1
  86. package/dist/api/enterprise-routes.js +87 -10
  87. package/dist/api/enterprise-routes.js.map +1 -1
  88. package/dist/api/org-settings-merge.d.ts +12 -0
  89. package/dist/api/org-settings-merge.d.ts.map +1 -0
  90. package/dist/api/org-settings-merge.js +38 -0
  91. package/dist/api/org-settings-merge.js.map +1 -0
  92. package/dist/api/user-settings-merge.d.ts +16 -0
  93. package/dist/api/user-settings-merge.d.ts.map +1 -0
  94. package/dist/api/user-settings-merge.js +37 -0
  95. package/dist/api/user-settings-merge.js.map +1 -0
  96. package/dist/app-server/daemon-lifecycle-api.d.ts.map +1 -1
  97. package/dist/app-server/daemon-lifecycle-api.js +1 -3
  98. package/dist/app-server/daemon-lifecycle-api.js.map +1 -1
  99. package/dist/app-server/external-agent-import-api.d.ts.map +1 -1
  100. package/dist/app-server/external-agent-import-api.js +1 -3
  101. package/dist/app-server/external-agent-import-api.js.map +1 -1
  102. package/dist/app-server/network-governance-api.d.ts.map +1 -1
  103. package/dist/app-server/network-governance-api.js +1 -3
  104. package/dist/app-server/network-governance-api.js.map +1 -1
  105. package/dist/app-server/plugin-bundle-api.d.ts.map +1 -1
  106. package/dist/app-server/plugin-bundle-api.js +1 -3
  107. package/dist/app-server/plugin-bundle-api.js.map +1 -1
  108. package/dist/app-server/policy-control-api.d.ts.map +1 -1
  109. package/dist/app-server/policy-control-api.js +1 -3
  110. package/dist/app-server/policy-control-api.js.map +1 -1
  111. package/dist/app-server/protocol-modes-api.d.ts.map +1 -1
  112. package/dist/app-server/protocol-modes-api.js +1 -3
  113. package/dist/app-server/protocol-modes-api.js.map +1 -1
  114. package/dist/cli/args.d.ts +2 -0
  115. package/dist/cli/args.d.ts.map +1 -1
  116. package/dist/cli/args.js +15 -0
  117. package/dist/cli/args.js.map +1 -1
  118. package/dist/cli/commands/a2a.d.ts.map +1 -1
  119. package/dist/cli/commands/a2a.js +1 -3
  120. package/dist/cli/commands/a2a.js.map +1 -1
  121. package/dist/cli/commands/agents.d.ts +4 -0
  122. package/dist/cli/commands/agents.d.ts.map +1 -1
  123. package/dist/cli/commands/agents.js +149 -0
  124. package/dist/cli/commands/agents.js.map +1 -1
  125. package/dist/cli/commands/mission.d.ts +4 -0
  126. package/dist/cli/commands/mission.d.ts.map +1 -0
  127. package/dist/cli/commands/mission.js +196 -0
  128. package/dist/cli/commands/mission.js.map +1 -0
  129. package/dist/cli/commands/value.d.ts +10 -0
  130. package/dist/cli/commands/value.d.ts.map +1 -0
  131. package/dist/cli/commands/value.js +33 -0
  132. package/dist/cli/commands/value.js.map +1 -0
  133. package/dist/cli/headless-protocol.d.ts.map +1 -1
  134. package/dist/cli/headless-protocol.js +1 -3
  135. package/dist/cli/headless-protocol.js.map +1 -1
  136. package/dist/cli/help.d.ts.map +1 -1
  137. package/dist/cli/help.js +10 -0
  138. package/dist/cli/help.js.map +1 -1
  139. package/dist/cli/system-prompt.d.ts.map +1 -1
  140. package/dist/cli/system-prompt.js +38 -7
  141. package/dist/cli/system-prompt.js.map +1 -1
  142. package/dist/cli-runtime.js +7756 -2800
  143. package/dist/cli-tui/client-tools/client-tool-controller.d.ts.map +1 -1
  144. package/dist/cli-tui/client-tools/client-tool-controller.js +1 -3
  145. package/dist/cli-tui/client-tools/client-tool-controller.js.map +1 -1
  146. package/dist/cli-tui/commands/undo-handlers.d.ts.map +1 -1
  147. package/dist/cli-tui/commands/undo-handlers.js +7 -2
  148. package/dist/cli-tui/commands/undo-handlers.js.map +1 -1
  149. package/dist/cli-tui/tui-renderer/skills-controller.d.ts +3 -0
  150. package/dist/cli-tui/tui-renderer/skills-controller.d.ts.map +1 -1
  151. package/dist/cli-tui/tui-renderer/skills-controller.js +77 -33
  152. package/dist/cli-tui/tui-renderer/skills-controller.js.map +1 -1
  153. package/dist/codex/app-server-client.d.ts.map +1 -1
  154. package/dist/codex/app-server-client.js +1 -3
  155. package/dist/codex/app-server-client.js.map +1 -1
  156. package/dist/codex/compatibility.d.ts.map +1 -1
  157. package/dist/codex/compatibility.js +1 -3
  158. package/dist/codex/compatibility.js.map +1 -1
  159. package/dist/codex/subagent-dispatch-table.d.ts +8 -0
  160. package/dist/codex/subagent-dispatch-table.d.ts.map +1 -1
  161. package/dist/codex/subagent-dispatch-table.js +23 -0
  162. package/dist/codex/subagent-dispatch-table.js.map +1 -1
  163. package/dist/context/manifest.d.ts.map +1 -1
  164. package/dist/context/manifest.js +1 -3
  165. package/dist/context/manifest.js.map +1 -1
  166. package/dist/conversation/render-model.d.ts +0 -36
  167. package/dist/conversation/render-model.d.ts.map +1 -1
  168. package/dist/conversation/render-model.js +1 -3
  169. package/dist/conversation/render-model.js.map +1 -1
  170. package/dist/customer-value/ambient-learning.d.ts +75 -0
  171. package/dist/customer-value/ambient-learning.d.ts.map +1 -0
  172. package/dist/customer-value/ambient-learning.js +472 -0
  173. package/dist/customer-value/ambient-learning.js.map +1 -0
  174. package/dist/customer-value/internal-helpers.d.ts +13 -0
  175. package/dist/customer-value/internal-helpers.d.ts.map +1 -0
  176. package/dist/customer-value/internal-helpers.js +70 -0
  177. package/dist/customer-value/internal-helpers.js.map +1 -0
  178. package/dist/customer-value/report.d.ts +282 -0
  179. package/dist/customer-value/report.d.ts.map +1 -0
  180. package/dist/customer-value/report.js +2085 -0
  181. package/dist/customer-value/report.js.map +1 -0
  182. package/dist/db/schema.d.ts +5 -1
  183. package/dist/db/schema.d.ts.map +1 -1
  184. package/dist/db/schema.js.map +1 -1
  185. package/dist/evalops/agent-bootstrap.d.ts.map +1 -1
  186. package/dist/evalops/agent-bootstrap.js +1 -3
  187. package/dist/evalops/agent-bootstrap.js.map +1 -1
  188. package/dist/evalops/agent-mcp-metadata.d.ts.map +1 -1
  189. package/dist/evalops/agent-mcp-metadata.js +1 -3
  190. package/dist/evalops/agent-mcp-metadata.js.map +1 -1
  191. package/dist/index.d.ts +1 -0
  192. package/dist/index.d.ts.map +1 -1
  193. package/dist/index.js +1 -0
  194. package/dist/index.js.map +1 -1
  195. package/dist/installers/maestro-review-workflow.d.ts +38 -0
  196. package/dist/installers/maestro-review-workflow.d.ts.map +1 -0
  197. package/dist/installers/maestro-review-workflow.js +163 -0
  198. package/dist/installers/maestro-review-workflow.js.map +1 -0
  199. package/dist/load-env.d.ts.map +1 -1
  200. package/dist/load-env.js +2 -1
  201. package/dist/load-env.js.map +1 -1
  202. package/dist/main.d.ts.map +1 -1
  203. package/dist/main.js +92 -3
  204. package/dist/main.js.map +1 -1
  205. package/dist/mcp/config.d.ts.map +1 -1
  206. package/dist/mcp/config.js +1 -3
  207. package/dist/mcp/config.js.map +1 -1
  208. package/dist/mcp/elicitation.d.ts.map +1 -1
  209. package/dist/mcp/elicitation.js +1 -3
  210. package/dist/mcp/elicitation.js.map +1 -1
  211. package/dist/mcp/official-registry.d.ts.map +1 -1
  212. package/dist/mcp/official-registry.js +1 -3
  213. package/dist/mcp/official-registry.js.map +1 -1
  214. package/dist/mcp/workspace-trust.d.ts.map +1 -1
  215. package/dist/mcp/workspace-trust.js +1 -3
  216. package/dist/mcp/workspace-trust.js.map +1 -1
  217. package/dist/memory/service-client.d.ts.map +1 -1
  218. package/dist/memory/service-client.js +1 -3
  219. package/dist/memory/service-client.js.map +1 -1
  220. package/dist/models/config-loader.d.ts.map +1 -1
  221. package/dist/models/config-loader.js +1 -3
  222. package/dist/models/config-loader.js.map +1 -1
  223. package/dist/node_modules/@evalops/contracts/dist/index.d.ts +1 -0
  224. package/dist/node_modules/@evalops/contracts/dist/index.d.ts.map +1 -1
  225. package/dist/node_modules/@evalops/contracts/dist/index.js +1 -0
  226. package/dist/node_modules/@evalops/contracts/dist/index.js.map +1 -1
  227. package/dist/node_modules/@evalops/contracts/dist/maestro-settings.d.ts +61 -0
  228. package/dist/node_modules/@evalops/contracts/dist/maestro-settings.d.ts.map +1 -0
  229. package/dist/node_modules/@evalops/contracts/dist/maestro-settings.js +183 -0
  230. package/dist/node_modules/@evalops/contracts/dist/maestro-settings.js.map +1 -0
  231. package/dist/node_modules/@evalops/contracts/package.json +1 -1
  232. package/dist/node_modules/@evalops/tui/package.json +1 -1
  233. package/dist/oauth/connectors.d.ts.map +1 -1
  234. package/dist/oauth/connectors.js +1 -3
  235. package/dist/oauth/connectors.js.map +1 -1
  236. package/dist/oauth/evalops.d.ts.map +1 -1
  237. package/dist/oauth/evalops.js +1 -3
  238. package/dist/oauth/evalops.js.map +1 -1
  239. package/dist/platform/a2a-client.d.ts.map +1 -1
  240. package/dist/platform/a2a-client.js +1 -3
  241. package/dist/platform/a2a-client.js.map +1 -1
  242. package/dist/platform/a2a-cockpit.d.ts +1 -0
  243. package/dist/platform/a2a-cockpit.d.ts.map +1 -1
  244. package/dist/platform/a2a-cockpit.js +42 -11
  245. package/dist/platform/a2a-cockpit.js.map +1 -1
  246. package/dist/platform/a2a-completion-audit.d.ts +1 -1
  247. package/dist/platform/a2a-completion-audit.d.ts.map +1 -1
  248. package/dist/platform/a2a-completion-audit.js +7 -11
  249. package/dist/platform/a2a-completion-audit.js.map +1 -1
  250. package/dist/platform/a2a-maestro-peer.js +16 -0
  251. package/dist/platform/a2a-maestro-peer.js.map +1 -1
  252. package/dist/platform/a2a-peer-pairing.d.ts.map +1 -1
  253. package/dist/platform/a2a-peer-pairing.js +1 -3
  254. package/dist/platform/a2a-peer-pairing.js.map +1 -1
  255. package/dist/platform/a2a-peer-registry.d.ts.map +1 -1
  256. package/dist/platform/a2a-peer-registry.js +1 -3
  257. package/dist/platform/a2a-peer-registry.js.map +1 -1
  258. package/dist/platform/a2a-task-ledger.d.ts +20 -0
  259. package/dist/platform/a2a-task-ledger.d.ts.map +1 -1
  260. package/dist/platform/a2a-task-ledger.js +207 -11
  261. package/dist/platform/a2a-task-ledger.js.map +1 -1
  262. package/dist/platform/a2a-work-graph.d.ts.map +1 -1
  263. package/dist/platform/a2a-work-graph.js +1 -3
  264. package/dist/platform/a2a-work-graph.js.map +1 -1
  265. package/dist/platform/operating-layer.d.ts.map +1 -1
  266. package/dist/platform/operating-layer.js +14 -8
  267. package/dist/platform/operating-layer.js.map +1 -1
  268. package/dist/platform/tool-execution-client.d.ts.map +1 -1
  269. package/dist/platform/tool-execution-client.js +19 -2
  270. package/dist/platform/tool-execution-client.js.map +1 -1
  271. package/dist/providers/auth.d.ts.map +1 -1
  272. package/dist/providers/auth.js +1 -3
  273. package/dist/providers/auth.js.map +1 -1
  274. package/dist/runtime/env.d.ts +9 -1
  275. package/dist/runtime/env.d.ts.map +1 -1
  276. package/dist/runtime/env.js +63 -1
  277. package/dist/runtime/env.js.map +1 -1
  278. package/dist/safety/policy.d.ts.map +1 -1
  279. package/dist/safety/policy.js +1 -4
  280. package/dist/safety/policy.js.map +1 -1
  281. package/dist/sandbox/docker-sandbox.d.ts.map +1 -1
  282. package/dist/sandbox/docker-sandbox.js +6 -1
  283. package/dist/sandbox/docker-sandbox.js.map +1 -1
  284. package/dist/server/handlers/hosted-runner-drain.d.ts.map +1 -1
  285. package/dist/server/handlers/hosted-runner-drain.js +1 -3
  286. package/dist/server/handlers/hosted-runner-drain.js.map +1 -1
  287. package/dist/server/handlers/platform-a2a-push.d.ts.map +1 -1
  288. package/dist/server/handlers/platform-a2a-push.js +53 -2
  289. package/dist/server/handlers/platform-a2a-push.js.map +1 -1
  290. package/dist/server/handlers/runtime-app-server-ws.d.ts.map +1 -1
  291. package/dist/server/handlers/runtime-app-server-ws.js +1 -3
  292. package/dist/server/handlers/runtime-app-server-ws.js.map +1 -1
  293. package/dist/server/headless-runtime-service.d.ts +16 -0
  294. package/dist/server/headless-runtime-service.d.ts.map +1 -1
  295. package/dist/server/headless-runtime-service.js +232 -206
  296. package/dist/server/headless-runtime-service.js.map +1 -1
  297. package/dist/server/hosted-agent-runtime-progress.d.ts.map +1 -1
  298. package/dist/server/hosted-agent-runtime-progress.js +12 -3
  299. package/dist/server/hosted-agent-runtime-progress.js.map +1 -1
  300. package/dist/server/pending-request-payload.d.ts.map +1 -1
  301. package/dist/server/pending-request-payload.js +1 -3
  302. package/dist/server/pending-request-payload.js.map +1 -1
  303. package/dist/server/route-auth.d.ts.map +1 -1
  304. package/dist/server/route-auth.js +2 -0
  305. package/dist/server/route-auth.js.map +1 -1
  306. package/dist/server/session-serialization.d.ts.map +1 -1
  307. package/dist/server/session-serialization.js +1 -3
  308. package/dist/server/session-serialization.js.map +1 -1
  309. package/dist/services/compliance/normalize.d.ts.map +1 -1
  310. package/dist/services/compliance/normalize.js +1 -3
  311. package/dist/services/compliance/normalize.js.map +1 -1
  312. package/dist/services/intelligent-router/normalize.d.ts.map +1 -1
  313. package/dist/services/intelligent-router/normalize.js +1 -3
  314. package/dist/services/intelligent-router/normalize.js.map +1 -1
  315. package/dist/services/revenue-attribution/normalize.d.ts.map +1 -1
  316. package/dist/services/revenue-attribution/normalize.js +1 -3
  317. package/dist/services/revenue-attribution/normalize.js.map +1 -1
  318. package/dist/services/traces/normalize.d.ts.map +1 -1
  319. package/dist/services/traces/normalize.js +1 -3
  320. package/dist/services/traces/normalize.js.map +1 -1
  321. package/dist/services/workspace-config/normalize.d.ts.map +1 -1
  322. package/dist/services/workspace-config/normalize.js +1 -3
  323. package/dist/services/workspace-config/normalize.js.map +1 -1
  324. package/dist/skills/composer.d.ts.map +1 -1
  325. package/dist/skills/composer.js +13 -1
  326. package/dist/skills/composer.js.map +1 -1
  327. package/dist/skills/index.d.ts +1 -0
  328. package/dist/skills/index.d.ts.map +1 -1
  329. package/dist/skills/index.js +1 -0
  330. package/dist/skills/index.js.map +1 -1
  331. package/dist/skills/learned-guidelines.d.ts +33 -0
  332. package/dist/skills/learned-guidelines.d.ts.map +1 -0
  333. package/dist/skills/learned-guidelines.js +291 -0
  334. package/dist/skills/learned-guidelines.js.map +1 -0
  335. package/dist/skills/linter.d.ts.map +1 -1
  336. package/dist/skills/linter.js +1 -3
  337. package/dist/skills/linter.js.map +1 -1
  338. package/dist/skills/runtime-activation.d.ts +1 -0
  339. package/dist/skills/runtime-activation.d.ts.map +1 -1
  340. package/dist/skills/runtime-activation.js +2 -3
  341. package/dist/skills/runtime-activation.js.map +1 -1
  342. package/dist/skills/tool.d.ts.map +1 -1
  343. package/dist/skills/tool.js +26 -21
  344. package/dist/skills/tool.js.map +1 -1
  345. package/dist/skills/trust-cache.d.ts +7 -0
  346. package/dist/skills/trust-cache.d.ts.map +1 -1
  347. package/dist/skills/trust-cache.js +16 -0
  348. package/dist/skills/trust-cache.js.map +1 -1
  349. package/dist/telemetry/agent-workforce-native-event.d.ts.map +1 -1
  350. package/dist/telemetry/agent-workforce-native-event.js +1 -3
  351. package/dist/telemetry/agent-workforce-native-event.js.map +1 -1
  352. package/dist/telemetry/maestro-event-bus.d.ts.map +1 -1
  353. package/dist/telemetry/maestro-event-bus.js +42 -81
  354. package/dist/telemetry/maestro-event-bus.js.map +1 -1
  355. package/dist/telemetry/maestro-platform-replay-fixture.d.ts.map +1 -1
  356. package/dist/telemetry/maestro-platform-replay-fixture.js +1 -3
  357. package/dist/telemetry/maestro-platform-replay-fixture.js.map +1 -1
  358. package/dist/telemetry.d.ts.map +1 -1
  359. package/dist/telemetry.js +54 -43
  360. package/dist/telemetry.js.map +1 -1
  361. package/dist/theme/theme-loader.d.ts.map +1 -1
  362. package/dist/theme/theme-loader.js +1 -3
  363. package/dist/theme/theme-loader.js.map +1 -1
  364. package/dist/tools/apply-patch.d.ts.map +1 -1
  365. package/dist/tools/apply-patch.js +76 -8
  366. package/dist/tools/apply-patch.js.map +1 -1
  367. package/dist/tools/diff-preview.d.ts.map +1 -1
  368. package/dist/tools/diff-preview.js +10 -1
  369. package/dist/tools/diff-preview.js.map +1 -1
  370. package/dist/tools/edit.d.ts.map +1 -1
  371. package/dist/tools/edit.js +17 -0
  372. package/dist/tools/edit.js.map +1 -1
  373. package/dist/tools/write.d.ts.map +1 -1
  374. package/dist/tools/write.js +9 -0
  375. package/dist/tools/write.js.map +1 -1
  376. package/dist/undo/tracker.d.ts +5 -0
  377. package/dist/undo/tracker.d.ts.map +1 -1
  378. package/dist/undo/tracker.js +13 -0
  379. package/dist/undo/tracker.js.map +1 -1
  380. package/dist/utils/fs.d.ts +1 -1
  381. package/dist/utils/fs.d.ts.map +1 -1
  382. package/dist/utils/fs.js +29 -2
  383. package/dist/utils/fs.js.map +1 -1
  384. package/dist/utils/git-stash.d.ts.map +1 -1
  385. package/dist/utils/git-stash.js +15 -8
  386. package/dist/utils/git-stash.js.map +1 -1
  387. package/dist/utils/json.d.ts +11 -0
  388. package/dist/utils/json.d.ts.map +1 -1
  389. package/dist/utils/json.js +9 -0
  390. package/dist/utils/json.js.map +1 -1
  391. package/dist/utils/shell-env.d.ts.map +1 -1
  392. package/dist/utils/shell-env.js +2 -0
  393. package/dist/utils/shell-env.js.map +1 -1
  394. package/dist/utils/url-extractor-git.d.ts +26 -0
  395. package/dist/utils/url-extractor-git.d.ts.map +1 -0
  396. package/dist/utils/url-extractor-git.js +259 -0
  397. package/dist/utils/url-extractor-git.js.map +1 -0
  398. package/dist/utils/url-extractor.d.ts.map +1 -1
  399. package/dist/utils/url-extractor.js +23 -251
  400. package/dist/utils/url-extractor.js.map +1 -1
  401. package/dist/version.json +2 -2
  402. package/package.json +310 -306
  403. package/skills/incident-triage/SKILL.md +19 -1
  404. package/skills/install-code-review/SKILL.md +69 -0
  405. package/skills/security-review/SKILL.md +68 -0
  406. package/skills/security-review/reference/rubric.md +85 -0
@@ -25,11 +25,29 @@ Use this skill to turn scattered incident evidence into a concise operator plan.
25
25
  ## Workflow
26
26
 
27
27
  1. Confirm the symptom, start time, affected surface, and urgency.
28
- 2. Load `reference/triage.md` for the detailed timeline and mitigation checklist.
28
+ 2. Load learned guidelines (see below) and `reference/triage.md` for the detailed timeline and mitigation checklist.
29
29
  3. Gather only scoped evidence from granted tools and local files. Keep customer data and internal handles out of the normal answer.
30
30
  4. Build a timeline with known, inferred, and unknown entries separated.
31
31
  5. Identify the likely owner, immediate mitigation, verification signal, and follow-up issue.
32
32
  6. End with current state, blast radius, next action, and what evidence was withheld or unavailable.
33
+ 7. Record what you learned (see below) so the next incident starts from it.
34
+
35
+ ## Learned Guidelines
36
+
37
+ This skill accumulates alert-type knowledge across runs in
38
+ `~/.maestro/skills/incident-triage/guidelines.md`.
39
+
40
+ - **At the start of a run**, read that file if it exists and treat its entries as
41
+ priors to verify — which tools, dashboards, owners, and mitigations a given
42
+ alert type needed last time. Confirm they still hold; do not trust them
43
+ blindly.
44
+ - **At the end of a run**, append one concise entry mapping the alert type or
45
+ symptom you handled to the tools/interfaces, likely owner, and mitigation that
46
+ actually worked. Keep entries short and free of secrets and customer data.
47
+
48
+ Programmatic callers can use `loadLearnedGuidelines` /
49
+ `appendLearnedGuideline` / `formatLearnedGuidelinesForPrompt` from
50
+ the main Maestro package (`src/skills/learned-guidelines.ts`).
33
51
 
34
52
  ## Toolbox
35
53
 
@@ -0,0 +1,69 @@
1
+ ---
2
+ name: install-code-review
3
+ description: Install automated Maestro code review in a GitHub repository's CI — add a pull_request workflow that runs `maestro exec` and posts a merge-readiness review as a PR comment. Use when the user wants to set up automated PR review, wire Maestro into CI/CD, or "install code review".
4
+ license: Complete terms in LICENSE.txt
5
+ compatibility: "Maestro skill packages with write/bash access to a checked-out GitHub repository."
6
+ allowed-tools:
7
+ - read
8
+ - write
9
+ - bash
10
+ builtin-tools:
11
+ - read
12
+ - write
13
+ mode: build
14
+ metadata:
15
+ version: "0.1.0"
16
+ category: evalops-operations
17
+ artifactSchema: evalops.maestro.skill.install_code_review.v1
18
+ ---
19
+
20
+ # Install Code Review
21
+
22
+ Wire Maestro into a repository's CI so every pull request gets an automated
23
+ merge-readiness review. Use the published generator exports
24
+ (`buildMaestroReviewWorkflow` / `writeMaestroReviewWorkflow`) so installs work
25
+ in arbitrary repositories, not just in the Maestro monorepo. In this monorepo,
26
+ the same implementation also lives at
27
+ `packages/github-agent/src/workflows/maestro-review-workflow.ts` and is
28
+ re-exported by `@evalops/github-agent`.
29
+
30
+ ## Workflow
31
+
32
+ 1. **Confirm the target.** Verify you are in a Git repository with a GitHub
33
+ remote, and that `.github/workflows/` is the right place (some repos vendor
34
+ workflows elsewhere). Confirm the default branch.
35
+ 2. **Choose options.** Ask only what you cannot infer: the model provider
36
+ (default inferred from the provider secret/env name, otherwise `anthropic`),
37
+ provider API key secret name (default inferred from the provider runtime env
38
+ var), and, if the user wants a pinned model, the model id. Pass
39
+ `maestroPackage` from `MAESTRO_PACKAGE_NAME` when set, otherwise use the
40
+ default `maestro` package, and Node to 20. For custom providers, set the runtime
41
+ API-key environment variable explicitly if it is not the provider id
42
+ uppercased with `_API_KEY` appended.
43
+ 3. **Write the workflow.** Generate `.github/workflows/maestro-review.yml` from
44
+ the published generator (do not hand-roll the YAML — use the generator so the
45
+ file is deterministic and reviews cleanly). The workflow triggers on
46
+ `pull_request` (opened, synchronize, reopened), runs `maestro exec` with the
47
+ `pr-review` skill, and posts the result with `gh pr comment`.
48
+ 4. **Document the secret.** Tell the user exactly which repository secret to add
49
+ (the API key), which runtime env var the workflow maps it to, and that the
50
+ workflow uses the built-in `GITHUB_TOKEN` for the PR comment. Do not write any
51
+ secret value into the repo.
52
+ 5. **Land it.** Create a branch, commit the workflow, and open a PR titled
53
+ "Install Maestro code review" — never commit the workflow directly to the
54
+ default branch. Summarize what was added and the one secret the user must
55
+ set for it to run.
56
+
57
+ ## Output
58
+
59
+ Report the workflow path written, the required secret name, the trigger events,
60
+ and the PR you opened. If the repo already has a `maestro-review.yml`, show the
61
+ diff and ask before overwriting.
62
+
63
+ ## Guardrails
64
+
65
+ - Request only the permissions the job needs: `contents: read` and
66
+ `pull-requests: write`.
67
+ - Never embed an API key in the workflow or commit a token.
68
+ - Keep the review step non-interactive (`maestro exec`); never assume a TTY in
69
+ CI.
@@ -0,0 +1,68 @@
1
+ ---
2
+ name: security-review
3
+ description: Correctness-first, depth-first security audit of a single repository using STRIDE, OWASP Top 10, the OWASP LLM Top 10, and supply-chain analysis. Use when the user asks for a security review, a vulnerability audit, a threat model, or a pre-release security pass.
4
+ license: Complete terms in LICENSE.txt
5
+ compatibility: "Maestro skill packages with read/search/bash access to a single checked-out repository."
6
+ allowed-tools:
7
+ - read
8
+ - search
9
+ - bash
10
+ builtin-tools:
11
+ - read
12
+ - search
13
+ mode: review
14
+ isolatedContext: true
15
+ metadata:
16
+ version: "0.1.0"
17
+ category: evalops-operations
18
+ artifactSchema: evalops.maestro.skill.security_review.v1
19
+ ---
20
+
21
+ # Security Review
22
+
23
+ Produce a depth-first security audit of one repository. Depth beats breadth: a
24
+ small number of substantiated, exploitable findings is worth more than a long
25
+ list of pattern matches. Every finding must trace a concrete path from an
26
+ untrusted input to a dangerous sink, with `file:line` evidence. Do not report a
27
+ finding you cannot substantiate by reading the code.
28
+
29
+ ## Workflow
30
+
31
+ 1. **Scope.** Identify the languages, frameworks, entry points (HTTP routes,
32
+ CLI, queue consumers, webhooks), trust boundaries, and where untrusted input
33
+ enters. Note authentication and authorization surfaces.
34
+ 2. **Threat model (STRIDE).** Enumerate threats per trust boundary using the
35
+ STRIDE categories in `reference/rubric.md`. This drives where you look; it is
36
+ not itself a finding list.
37
+ 3. **Trace data flow.** For each candidate issue, follow the data from source
38
+ (untrusted input) to sink (query, exec, deserialization, file path, template,
39
+ model prompt, response). Confirm there is no effective sanitization on the
40
+ path before recording a finding.
41
+ 4. **Apply the catalogs.** Check against OWASP Top 10, the OWASP LLM Top 10 (for
42
+ any LLM/agent surface), and supply-chain risks — all detailed in
43
+ `reference/rubric.md`. Load that file when you need the full checklists. If a
44
+ catalog check surfaces a new candidate, send it back through step 3 and report
45
+ it only after the source→sink trace is substantiated.
46
+ 5. **Rate and write up.** Assign severity with the rubric. Each finding gets:
47
+ title, severity, location (`file:line`), the source→sink path, impact, and a
48
+ concrete, minimal fix.
49
+ 6. **Report.** Lead with findings ordered by severity. If you find nothing
50
+ exploitable, say so plainly and name the residual risk you could not rule out
51
+ (e.g. dependencies you did not audit, code paths you could not reach).
52
+
53
+ ## Findings Artifact
54
+
55
+ Emit findings as `evalops.maestro.skill.security_review.v1`: a list of findings,
56
+ each with `id`, `title`, `severity` (critical | high | medium | low | info),
57
+ `category` (stride/owasp/owasp-llm/supply-chain), `location`, `path`, `impact`,
58
+ and `fix`. Include a short `summary` with counts by severity and the scope you
59
+ actually covered.
60
+
61
+ ## Discipline
62
+
63
+ - No speculative findings. If you cannot show the vulnerable path, it is not a
64
+ finding — at most a note in residual risk.
65
+ - Prefer reading the real code over running scanners; if you run a scanner (e.g.
66
+ `semgrep`, `npm audit`), treat its output as leads to verify, not findings.
67
+ - Never exfiltrate secrets you discover. Report the location and the exposure,
68
+ redact the value.
@@ -0,0 +1,85 @@
1
+ # Security Review Rubric
2
+
3
+ Load this file when you need the full checklists and the severity rubric. It is
4
+ intentionally kept out of the main skill body so the agent only pays for it when
5
+ a review is actually underway.
6
+
7
+ ## Severity
8
+
9
+ | Severity | Meaning |
10
+ | --- | --- |
11
+ | critical | Remotely exploitable with no auth, or trivial privilege escalation / RCE / full data exfiltration. Fix before release. |
12
+ | high | Exploitable with some precondition (auth, specific input, race). Real impact on confidentiality, integrity, or availability. |
13
+ | medium | Exploitable only with significant preconditions, or limited blast radius. Defense-in-depth gap. |
14
+ | low | Hardening issue, weak default, or risk that requires an unlikely chain. |
15
+ | info | Observation worth recording; not exploitable on its own. |
16
+
17
+ Rate by realistic impact and exploitability of the **traced path**, not by the
18
+ category. A SQL string concatenation behind three layers of validation is not a
19
+ critical.
20
+
21
+ ## STRIDE (threat model)
22
+
23
+ Walk each trust boundary and ask what each category enables:
24
+
25
+ - **Spoofing** — can an actor claim another identity? (auth, session, tokens,
26
+ signature verification, TLS validation)
27
+ - **Tampering** — can data or code be modified in transit or at rest? (integrity
28
+ checks, signed artifacts, mass-assignment, mutable shared state)
29
+ - **Repudiation** — can an action be denied? (audit logging, tamper-evident
30
+ logs)
31
+ - **Information disclosure** — can secrets or data leak? (error messages, debug
32
+ endpoints, directory listing, verbose logs, IDOR)
33
+ - **Denial of service** — can an actor exhaust resources? (unbounded input,
34
+ regex catastrophic backtracking, zip bombs, missing rate limits)
35
+ - **Elevation of privilege** — can an actor gain capabilities? (authorization
36
+ gaps, path traversal, deserialization, command injection)
37
+
38
+ ## OWASP Top 10 (2021)
39
+
40
+ 1. Broken access control (IDOR, missing authz on object/function, path
41
+ traversal, forced browsing).
42
+ 2. Cryptographic failures (plaintext secrets, weak/legacy algorithms, missing
43
+ TLS verification, predictable randomness).
44
+ 3. Injection (SQL/NoSQL, OS command, LDAP, XPath, template injection, XSS).
45
+ 4. Insecure design (missing threat model, unsafe-by-default flows).
46
+ 5. Security misconfiguration (debug on, default creds, permissive CORS, open S3,
47
+ verbose errors).
48
+ 6. Vulnerable and outdated components (see Supply Chain below).
49
+ 7. Identification and authentication failures (weak session handling, credential
50
+ stuffing exposure, missing MFA on sensitive flows).
51
+ 8. Software and data integrity failures (unsigned updates, insecure
52
+ deserialization, CI/CD trust).
53
+ 9. Security logging and monitoring failures (no audit trail on sensitive
54
+ actions).
55
+ 10. Server-side request forgery (unvalidated outbound URLs / fetchers).
56
+
57
+ ## OWASP LLM Top 10
58
+
59
+ Apply to any prompt, agent, tool-calling, or RAG surface:
60
+
61
+ 1. Prompt injection (direct and indirect, including via retrieved/tool content).
62
+ 2. Sensitive information disclosure (secrets or PII leaking into prompts,
63
+ completions, or logs).
64
+ 3. Supply chain (untrusted models, plugins, datasets).
65
+ 4. Data and model poisoning.
66
+ 5. Improper output handling (model output flowing unsanitized into a sink — SQL,
67
+ shell, HTML, downstream tool calls).
68
+ 6. Excessive agency (tools with more authority than the task needs; missing
69
+ human approval on destructive actions).
70
+ 7. System prompt leakage (secrets or trust-bearing instructions in the system
71
+ prompt).
72
+ 8. Vector and embedding weaknesses (injection or poisoning via the retrieval
73
+ store).
74
+ 9. Misinformation / overreliance (acting on unverified model claims).
75
+ 10. Unbounded consumption (token/cost exhaustion, denial of wallet).
76
+
77
+ ## Supply Chain
78
+
79
+ - Pinned, integrity-checked dependencies (lockfiles, hashes) vs. floating
80
+ ranges.
81
+ - Known-vulnerable versions (`npm audit`, `pip-audit`, `osv-scanner` as leads).
82
+ - Install/build scripts that execute on `install` (postinstall hooks).
83
+ - Typosquat / dependency-confusion risk on internal package names.
84
+ - CI/CD: secrets in workflow logs, unpinned actions, write tokens on PRs from
85
+ forks.