@lotagate/cli 0.1.24 → 0.1.26

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 (671) hide show
  1. package/README.md +75 -7
  2. package/SECURITY.md +2 -0
  3. package/bin/lotagate.mjs +50 -8
  4. package/dist/application/agent/agent-constants.d.ts +6 -0
  5. package/dist/application/agent/agent-constants.js +1 -0
  6. package/dist/application/agent/agent-history.d.ts +3 -0
  7. package/dist/application/agent/agent-history.js +5 -0
  8. package/dist/application/agent/agent-input-context.d.ts +12 -0
  9. package/dist/application/agent/agent-input-context.js +5 -0
  10. package/dist/application/agent/agent-limit.d.ts +3 -0
  11. package/dist/application/agent/agent-limit.js +1 -0
  12. package/dist/application/agent/agent-run-tracker.d.ts +30 -0
  13. package/dist/application/agent/agent-run-tracker.js +1 -0
  14. package/dist/application/agent/agent-runtime-context.d.ts +22 -0
  15. package/dist/application/agent/agent-runtime-context.js +1 -0
  16. package/dist/application/agent/agent-session-store-registry.d.ts +16 -0
  17. package/dist/application/agent/agent-session-store-registry.js +1 -0
  18. package/dist/application/agent/agent-session-store.d.ts +23 -0
  19. package/dist/application/agent/agent-session-store.js +6 -0
  20. package/dist/application/agent/capability-profile.d.ts +17 -0
  21. package/dist/application/agent/capability-profile.js +0 -0
  22. package/dist/application/agent/cli-agent-execution-service.d.ts +120 -0
  23. package/dist/application/agent/cli-agent-execution-service.js +1 -0
  24. package/dist/application/agent/cli-agent-preparation-cache.d.ts +39 -0
  25. package/dist/application/agent/cli-agent-preparation-cache.js +1 -0
  26. package/dist/application/agent/cli-agent-run-request.d.ts +12 -0
  27. package/dist/application/agent/cli-agent-run-request.js +0 -0
  28. package/dist/application/agent/context-compaction-persistence.d.ts +8 -0
  29. package/dist/application/agent/context-compaction-persistence.js +1 -0
  30. package/dist/application/agent/context-compaction.d.ts +22 -0
  31. package/dist/application/agent/context-compaction.js +8 -0
  32. package/dist/application/agent/context-token-cache.d.ts +21 -0
  33. package/dist/application/agent/context-token-cache.js +4 -0
  34. package/dist/application/agent/context-usage-service.d.ts +52 -0
  35. package/dist/application/agent/context-usage-service.js +1 -0
  36. package/dist/application/agent/continuation-checkpoint.d.ts +15 -0
  37. package/dist/application/agent/continuation-checkpoint.js +2 -0
  38. package/dist/application/agent/interactive-agent-guidance.d.ts +5 -0
  39. package/dist/application/agent/interactive-agent-guidance.js +2 -0
  40. package/dist/application/agent/prompt-data-safety.d.ts +14 -0
  41. package/dist/application/agent/prompt-data-safety.js +4 -0
  42. package/dist/application/agent/scoped-tool-executor.d.ts +13 -0
  43. package/dist/application/agent/scoped-tool-executor.js +1 -0
  44. package/dist/application/agent/tool-catalog.d.ts +14 -0
  45. package/dist/application/agent/tool-catalog.js +1 -0
  46. package/dist/application/agent/tool-display.d.ts +7 -0
  47. package/dist/application/agent/tool-display.js +1 -0
  48. package/dist/application/agent/tool-hook-lifecycle.d.ts +19 -0
  49. package/dist/application/agent/tool-hook-lifecycle.js +1 -0
  50. package/dist/application/auth/authentication-service.d.ts +20 -0
  51. package/dist/application/auth/authentication-service.js +1 -0
  52. package/dist/application/chat/chat-service.d.ts +12 -0
  53. package/dist/application/chat/chat-service.js +1 -0
  54. package/dist/application/chat/pending-attachment-store.d.ts +15 -0
  55. package/dist/application/chat/pending-attachment-store.js +1 -0
  56. package/dist/application/commands/application-command-executor.d.ts +23 -0
  57. package/dist/application/commands/application-command-executor.js +3 -0
  58. package/dist/application/commands/cli-args.d.ts +6 -0
  59. package/dist/application/commands/cli-args.js +1 -0
  60. package/dist/application/commands/cli-command-services.d.ts +17 -0
  61. package/dist/application/commands/cli-command-services.js +33 -0
  62. package/dist/application/commands/command-cancellation.d.ts +6 -0
  63. package/dist/application/commands/command-cancellation.js +1 -0
  64. package/dist/application/commands/command-catalog.d.ts +6 -0
  65. package/dist/application/commands/command-catalog.js +1 -0
  66. package/dist/application/commands/command-contract.d.ts +60 -0
  67. package/dist/application/commands/command-contract.js +0 -0
  68. package/dist/application/commands/command-hints.d.ts +9 -0
  69. package/dist/application/commands/command-hints.js +1 -0
  70. package/dist/application/commands/command-output.d.ts +4 -0
  71. package/dist/application/commands/command-output.js +0 -0
  72. package/dist/application/commands/command-parser.d.ts +10 -0
  73. package/dist/application/commands/command-parser.js +1 -0
  74. package/dist/application/commands/command-presentation.d.ts +7 -0
  75. package/dist/application/commands/command-presentation.js +3 -0
  76. package/dist/application/commands/command-registry.d.ts +11 -0
  77. package/dist/application/commands/command-registry.js +1 -0
  78. package/dist/application/commands/command-runtime.d.ts +2 -0
  79. package/dist/application/commands/command-runtime.js +1 -0
  80. package/dist/application/commands/goal-command-handlers.d.ts +3 -0
  81. package/dist/application/commands/goal-command-handlers.js +7 -0
  82. package/dist/application/commands/media-command-handlers.d.ts +9 -0
  83. package/dist/application/commands/media-command-handlers.js +9 -0
  84. package/dist/application/commands/media-command-output.d.ts +11 -0
  85. package/dist/application/commands/media-command-output.js +1 -0
  86. package/dist/application/commands/memory-command-handler.d.ts +29 -0
  87. package/dist/application/commands/memory-command-handler.js +12 -0
  88. package/dist/application/commands/runtime-command-handlers.d.ts +7 -0
  89. package/dist/application/commands/runtime-command-handlers.js +14 -0
  90. package/dist/application/commands/stream-output.d.ts +4 -0
  91. package/dist/application/commands/stream-output.js +1 -0
  92. package/dist/application/commands/utility-commands.d.ts +6 -0
  93. package/dist/application/commands/utility-commands.js +10 -0
  94. package/dist/application/config/execution-config.d.ts +4 -0
  95. package/dist/application/config/execution-config.js +1 -0
  96. package/dist/application/extensions/extension-list-contract.d.ts +18 -0
  97. package/dist/application/extensions/extension-list-contract.js +0 -0
  98. package/dist/application/extensions/extension-list-formatters.d.ts +38 -0
  99. package/dist/application/extensions/extension-list-formatters.js +1 -0
  100. package/dist/application/extensions/extension-list-output.d.ts +3 -0
  101. package/dist/application/extensions/extension-list-output.js +3 -0
  102. package/dist/application/extensions/plugin-contribution-registry.d.ts +31 -0
  103. package/dist/application/extensions/plugin-contribution-registry.js +1 -0
  104. package/dist/application/extensions/plugin-detail-contract.d.ts +25 -0
  105. package/dist/application/extensions/plugin-detail-contract.js +0 -0
  106. package/dist/application/extensions/plugin-detail-service.d.ts +3 -0
  107. package/dist/application/extensions/plugin-detail-service.js +1 -0
  108. package/dist/application/extensions/skill-scope-store.d.ts +23 -0
  109. package/dist/application/extensions/skill-scope-store.js +1 -0
  110. package/dist/application/formatting/compact-number.d.ts +2 -0
  111. package/dist/application/formatting/compact-number.js +1 -0
  112. package/dist/application/formatting/compact-table.d.ts +22 -0
  113. package/dist/application/formatting/compact-table.js +2 -0
  114. package/dist/application/intent/completion-gate.d.ts +3 -0
  115. package/dist/application/intent/completion-gate.js +1 -0
  116. package/dist/application/intent/evidence-ledger.d.ts +22 -0
  117. package/dist/application/intent/evidence-ledger.js +1 -0
  118. package/dist/application/intent/evidence-recording-tool-executor.d.ts +16 -0
  119. package/dist/application/intent/evidence-recording-tool-executor.js +1 -0
  120. package/dist/application/intent/intent-compiler.d.ts +11 -0
  121. package/dist/application/intent/intent-compiler.js +2 -0
  122. package/dist/application/intent/intent-execution-gate.d.ts +11 -0
  123. package/dist/application/intent/intent-execution-gate.js +1 -0
  124. package/dist/application/intent/intent-host-context.d.ts +6 -0
  125. package/dist/application/intent/intent-host-context.js +1 -0
  126. package/dist/application/intent/intent-run-controller.d.ts +56 -0
  127. package/dist/application/intent/intent-run-controller.js +3 -0
  128. package/dist/application/intent/project-policy.d.ts +16 -0
  129. package/dist/application/intent/project-policy.js +1 -0
  130. package/dist/application/media/video-operation-poller.d.ts +5 -0
  131. package/dist/application/media/video-operation-poller.js +1 -0
  132. package/dist/application/memory/memory-capture-policy.d.ts +10 -0
  133. package/dist/application/memory/memory-capture-policy.js +1 -0
  134. package/dist/application/memory/memory-consolidation-service.d.ts +12 -0
  135. package/dist/application/memory/memory-consolidation-service.js +1 -0
  136. package/dist/application/memory/memory-context-assembler.d.ts +24 -0
  137. package/dist/application/memory/memory-context-assembler.js +1 -0
  138. package/dist/application/memory/memory-extractor.d.ts +21 -0
  139. package/dist/application/memory/memory-extractor.js +2 -0
  140. package/dist/application/memory/memory-service.d.ts +34 -0
  141. package/dist/application/memory/memory-service.js +1 -0
  142. package/dist/application/model/cached-model-catalog.d.ts +19 -0
  143. package/dist/application/model/cached-model-catalog.js +1 -0
  144. package/dist/application/model/initial-model-selection.d.ts +10 -0
  145. package/dist/application/model/initial-model-selection.js +1 -0
  146. package/dist/application/model/model-catalog-service.d.ts +6 -0
  147. package/dist/application/model/model-catalog-service.js +1 -0
  148. package/dist/application/model/model-context-window.d.ts +3 -0
  149. package/dist/application/model/model-context-window.js +1 -0
  150. package/dist/application/model/model-response-retry.d.ts +15 -0
  151. package/dist/application/model/model-response-retry.js +1 -0
  152. package/dist/application/orchestration/abortable-wait.d.ts +2 -0
  153. package/dist/application/orchestration/abortable-wait.js +1 -0
  154. package/dist/application/orchestration/cli-subagent-service.d.ts +77 -0
  155. package/dist/application/orchestration/cli-subagent-service.js +13 -0
  156. package/dist/application/orchestration/cli-turn-event-projector.d.ts +15 -0
  157. package/dist/application/orchestration/cli-turn-event-projector.js +1 -0
  158. package/dist/application/orchestration/cli-turn-events.d.ts +76 -0
  159. package/dist/application/orchestration/cli-turn-events.js +1 -0
  160. package/dist/application/orchestration/cli-turn-persistence.d.ts +6 -0
  161. package/dist/application/orchestration/cli-turn-persistence.js +1 -0
  162. package/dist/application/orchestration/goal-evaluator.d.ts +18 -0
  163. package/dist/application/orchestration/goal-evaluator.js +3 -0
  164. package/dist/application/orchestration/goal-input.d.ts +3 -0
  165. package/dist/application/orchestration/goal-input.js +1 -0
  166. package/dist/application/orchestration/goal-output.d.ts +2 -0
  167. package/dist/application/orchestration/goal-output.js +2 -0
  168. package/dist/application/orchestration/goal-runner.d.ts +22 -0
  169. package/dist/application/orchestration/goal-runner.js +10 -0
  170. package/dist/application/orchestration/goal-usage.d.ts +9 -0
  171. package/dist/application/orchestration/goal-usage.js +1 -0
  172. package/dist/application/orchestration/headless-agent-turn.d.ts +36 -0
  173. package/dist/application/orchestration/headless-agent-turn.js +4 -0
  174. package/dist/application/orchestration/orchestration-constants.d.ts +3 -0
  175. package/dist/application/orchestration/orchestration-constants.js +1 -0
  176. package/dist/application/orchestration/subagent-coordinator.d.ts +41 -0
  177. package/dist/application/orchestration/subagent-coordinator.js +1 -0
  178. package/dist/application/orchestration/subagent-handoff.d.ts +3 -0
  179. package/dist/application/orchestration/subagent-handoff.js +3 -0
  180. package/dist/application/orchestration/subagent-tool-executor.d.ts +12 -0
  181. package/dist/application/orchestration/subagent-tool-executor.js +1 -0
  182. package/dist/application/orchestration/task-graph.d.ts +13 -0
  183. package/dist/application/orchestration/task-graph.js +1 -0
  184. package/dist/application/orchestration/task-scheduler.d.ts +18 -0
  185. package/dist/application/orchestration/task-scheduler.js +1 -0
  186. package/dist/application/project/project-trust-service.d.ts +13 -0
  187. package/dist/application/project/project-trust-service.js +1 -0
  188. package/dist/application/project-intelligence/project-intelligence-constants.d.ts +56 -0
  189. package/dist/application/project-intelligence/project-intelligence-constants.js +1 -0
  190. package/dist/application/project-intelligence/project-intelligence-service.d.ts +14 -0
  191. package/dist/application/project-intelligence/project-intelligence-service.js +1 -0
  192. package/dist/application/protocol/browser-host-tool-executor.d.ts +51 -0
  193. package/dist/application/protocol/browser-host-tool-executor.js +2 -0
  194. package/dist/application/protocol/computer-host-tool-executor.d.ts +45 -0
  195. package/dist/application/protocol/computer-host-tool-executor.js +2 -0
  196. package/dist/application/protocol/desktop-agent-command.d.ts +9 -0
  197. package/dist/application/protocol/desktop-agent-command.js +3 -0
  198. package/dist/application/protocol/desktop-agent-contracts.d.ts +34 -0
  199. package/dist/application/protocol/desktop-agent-contracts.js +1 -0
  200. package/dist/application/protocol/desktop-agent-helpers.d.ts +5 -0
  201. package/dist/application/protocol/desktop-agent-helpers.js +1 -0
  202. package/dist/application/protocol/desktop-agent-request-parser.d.ts +211 -0
  203. package/dist/application/protocol/desktop-agent-request-parser.js +1 -0
  204. package/dist/application/protocol/desktop-approval-broker.d.ts +26 -0
  205. package/dist/application/protocol/desktop-approval-broker.js +1 -0
  206. package/dist/application/protocol/desktop-attachment-store.d.ts +33 -0
  207. package/dist/application/protocol/desktop-attachment-store.js +1 -0
  208. package/dist/application/protocol/desktop-command-catalog.d.ts +2 -0
  209. package/dist/application/protocol/desktop-command-catalog.js +1 -0
  210. package/dist/application/protocol/desktop-command-contract.d.ts +26 -0
  211. package/dist/application/protocol/desktop-command-contract.js +1 -0
  212. package/dist/application/protocol/desktop-command-executor.d.ts +17 -0
  213. package/dist/application/protocol/desktop-command-executor.js +1 -0
  214. package/dist/application/protocol/desktop-command-output.d.ts +15 -0
  215. package/dist/application/protocol/desktop-command-output.js +1 -0
  216. package/dist/application/protocol/desktop-execution-policy.d.ts +19 -0
  217. package/dist/application/protocol/desktop-execution-policy.js +1 -0
  218. package/dist/application/protocol/desktop-extension-request-handler.d.ts +14 -0
  219. package/dist/application/protocol/desktop-extension-request-handler.js +1 -0
  220. package/dist/application/protocol/desktop-extension-service.d.ts +44 -0
  221. package/dist/application/protocol/desktop-extension-service.js +3 -0
  222. package/dist/application/protocol/desktop-host-bridge.d.ts +33 -0
  223. package/dist/application/protocol/desktop-host-bridge.js +1 -0
  224. package/dist/application/protocol/desktop-host-capabilities.d.ts +12 -0
  225. package/dist/application/protocol/desktop-host-capabilities.js +1 -0
  226. package/dist/application/protocol/desktop-host-tool-executor.d.ts +76 -0
  227. package/dist/application/protocol/desktop-host-tool-executor.js +2 -0
  228. package/dist/application/protocol/desktop-intent-event-writer.d.ts +20 -0
  229. package/dist/application/protocol/desktop-intent-event-writer.js +1 -0
  230. package/dist/application/protocol/desktop-mcp-events.d.ts +10 -0
  231. package/dist/application/protocol/desktop-mcp-events.js +1 -0
  232. package/dist/application/protocol/desktop-orchestration-events.d.ts +2 -0
  233. package/dist/application/protocol/desktop-orchestration-events.js +2 -0
  234. package/dist/application/protocol/desktop-protocol-helpers.d.ts +13 -0
  235. package/dist/application/protocol/desktop-protocol-helpers.js +1 -0
  236. package/dist/application/protocol/json-line-writer.d.ts +31 -0
  237. package/dist/application/protocol/json-line-writer.js +2 -0
  238. package/dist/application/protocol/jsonl-agent-command.d.ts +3 -0
  239. package/dist/application/protocol/jsonl-agent-command.js +3 -0
  240. package/dist/application/protocol/jsonl-protocol.d.ts +82 -0
  241. package/dist/application/protocol/jsonl-protocol.js +2 -0
  242. package/dist/application/protocol/tool-image-content.d.ts +4 -0
  243. package/dist/application/protocol/tool-image-content.js +1 -0
  244. package/dist/application/security/delegated-worker-policy.d.ts +3 -0
  245. package/dist/application/security/delegated-worker-policy.js +1 -0
  246. package/dist/application/security/desktop-tool-scope-policy.d.ts +4 -0
  247. package/dist/application/security/desktop-tool-scope-policy.js +1 -0
  248. package/dist/application/security/tool-action-risk-analyzer.d.ts +13 -0
  249. package/dist/application/security/tool-action-risk-analyzer.js +1 -0
  250. package/dist/application/security/tool-approval-service.d.ts +43 -0
  251. package/dist/application/security/tool-approval-service.js +1 -0
  252. package/dist/application/security/tool-policy-registry.d.ts +20 -0
  253. package/dist/application/security/tool-policy-registry.js +1 -0
  254. package/dist/application/security/tool-risk-classifier.d.ts +19 -0
  255. package/dist/application/security/tool-risk-classifier.js +1 -0
  256. package/dist/application/security/workspace-permission-policy.d.ts +10 -0
  257. package/dist/application/security/workspace-permission-policy.js +1 -0
  258. package/dist/application/session/project-session-access.d.ts +8 -0
  259. package/dist/application/session/project-session-access.js +1 -0
  260. package/dist/application/session/session-compaction-service.d.ts +10 -0
  261. package/dist/application/session/session-compaction-service.js +1 -0
  262. package/dist/application/session/session-turn-lifecycle.d.ts +5 -0
  263. package/dist/application/session/session-turn-lifecycle.js +1 -0
  264. package/dist/application/workspace/session-execution-workspace.d.ts +59 -0
  265. package/dist/application/workspace/session-execution-workspace.js +3 -0
  266. package/dist/application/workspace/workspace-constants.d.ts +17 -0
  267. package/dist/application/workspace/workspace-constants.js +1 -0
  268. package/dist/application/workspace/workspace-file-index.d.ts +14 -0
  269. package/dist/application/workspace/workspace-file-index.js +1 -0
  270. package/dist/application/workspace/workspace-file-reference-resolver.d.ts +20 -0
  271. package/dist/application/workspace/workspace-file-reference-resolver.js +17 -0
  272. package/dist/application/workspace/workspace-instruction-loader.d.ts +8 -0
  273. package/dist/application/workspace/workspace-instruction-loader.js +1 -0
  274. package/dist/bootstrap/composition-root.d.ts +7 -0
  275. package/dist/bootstrap/composition-root.js +1 -0
  276. package/dist/bootstrap/global-cli-options.d.ts +6 -0
  277. package/dist/bootstrap/global-cli-options.js +1 -0
  278. package/dist/bootstrap/native-devtools-stub.d.ts +10 -0
  279. package/dist/bootstrap/native-devtools-stub.js +1 -0
  280. package/dist/bootstrap/native-entry.d.ts +1 -0
  281. package/dist/bootstrap/native-entry.js +2 -0
  282. package/dist/bootstrap/native-tiktoken.d.ts +4 -0
  283. package/dist/bootstrap/native-tiktoken.js +1 -0
  284. package/dist/bootstrap/runtime-factory.d.ts +46 -0
  285. package/dist/bootstrap/runtime-factory.js +1 -0
  286. package/dist/bootstrap/shutdown-manager.d.ts +11 -0
  287. package/dist/bootstrap/shutdown-manager.js +1 -0
  288. package/dist/bootstrap/startup-sequence.d.ts +5 -0
  289. package/dist/bootstrap/startup-sequence.js +1 -0
  290. package/dist/domain/auth/auth-profile.d.ts +14 -0
  291. package/dist/domain/auth/auth-profile.js +1 -0
  292. package/dist/domain/config/config-schema.d.ts +24 -0
  293. package/dist/domain/config/config-schema.js +1 -0
  294. package/dist/domain/errors/cli-command-hint.d.ts +5 -0
  295. package/dist/domain/errors/cli-command-hint.js +0 -0
  296. package/dist/domain/errors/cli-error.d.ts +35 -0
  297. package/dist/domain/errors/cli-error.js +1 -0
  298. package/dist/domain/errors/error-codes.d.ts +51 -0
  299. package/dist/domain/errors/error-codes.js +1 -0
  300. package/dist/domain/extensions/extension-constants.d.ts +1 -0
  301. package/dist/domain/extensions/extension-constants.js +1 -0
  302. package/dist/domain/extensions/extension-scope.d.ts +3 -0
  303. package/dist/domain/extensions/extension-scope.js +1 -0
  304. package/dist/domain/extensions/extension-state.d.ts +5 -0
  305. package/dist/domain/extensions/extension-state.js +1 -0
  306. package/dist/domain/extensions/hook-manifest.d.ts +13 -0
  307. package/dist/domain/extensions/hook-manifest.js +1 -0
  308. package/dist/domain/extensions/host-tool-plugin-ids.d.ts +5 -0
  309. package/dist/domain/extensions/host-tool-plugin-ids.js +1 -0
  310. package/dist/domain/extensions/mcp-config.d.ts +35 -0
  311. package/dist/domain/extensions/mcp-config.js +1 -0
  312. package/dist/domain/extensions/plugin-agent-manifest.d.ts +8 -0
  313. package/dist/domain/extensions/plugin-agent-manifest.js +1 -0
  314. package/dist/domain/extensions/plugin-manifest.d.ts +23 -0
  315. package/dist/domain/extensions/plugin-manifest.js +1 -0
  316. package/dist/domain/extensions/skill-manifest.d.ts +10 -0
  317. package/dist/domain/extensions/skill-manifest.js +3 -0
  318. package/dist/domain/extensions/yaml-subset.d.ts +9 -0
  319. package/dist/domain/extensions/yaml-subset.js +2 -0
  320. package/dist/domain/filesystem/file-change-diff.d.ts +21 -0
  321. package/dist/domain/filesystem/file-change-diff.js +3 -0
  322. package/dist/domain/intent/intent-contract.d.ts +33 -0
  323. package/dist/domain/intent/intent-contract.js +1 -0
  324. package/dist/domain/media/gateway-media-contract.d.ts +23 -0
  325. package/dist/domain/media/gateway-media-contract.js +1 -0
  326. package/dist/domain/media/media-constants.d.ts +3 -0
  327. package/dist/domain/media/media-constants.js +1 -0
  328. package/dist/domain/media/media-contract.d.ts +28 -0
  329. package/dist/domain/media/media-contract.js +0 -0
  330. package/dist/domain/media/media-execution-policy.d.ts +9 -0
  331. package/dist/domain/media/media-execution-policy.js +1 -0
  332. package/dist/domain/memory/memory-constants.d.ts +3 -0
  333. package/dist/domain/memory/memory-constants.js +1 -0
  334. package/dist/domain/memory/memory-kinds.d.ts +15 -0
  335. package/dist/domain/memory/memory-kinds.js +1 -0
  336. package/dist/domain/memory/memory-retrieval-policy.d.ts +3 -0
  337. package/dist/domain/memory/memory-retrieval-policy.js +1 -0
  338. package/dist/domain/memory/memory-search.d.ts +33 -0
  339. package/dist/domain/memory/memory-search.js +2 -0
  340. package/dist/domain/memory/memory.d.ts +48 -0
  341. package/dist/domain/memory/memory.js +1 -0
  342. package/dist/domain/orchestration/goal.d.ts +57 -0
  343. package/dist/domain/orchestration/goal.js +1 -0
  344. package/dist/domain/orchestration/subagent-identity.d.ts +2 -0
  345. package/dist/domain/orchestration/subagent-identity.js +1 -0
  346. package/dist/domain/orchestration/subagent.d.ts +33 -0
  347. package/dist/domain/orchestration/subagent.js +0 -0
  348. package/dist/domain/orchestration/work-plan.d.ts +15 -0
  349. package/dist/domain/orchestration/work-plan.js +0 -0
  350. package/dist/domain/project/project-identity.d.ts +6 -0
  351. package/dist/domain/project/project-identity.js +1 -0
  352. package/dist/domain/runtime/assistant-delta-normalizer.d.ts +11 -0
  353. package/dist/domain/runtime/assistant-delta-normalizer.js +1 -0
  354. package/dist/domain/runtime/assistant-stream-text.d.ts +11 -0
  355. package/dist/domain/runtime/assistant-stream-text.js +1 -0
  356. package/dist/domain/runtime/gateway-request-budget.d.ts +19 -0
  357. package/dist/domain/runtime/gateway-request-budget.js +1 -0
  358. package/dist/domain/runtime/resource-limits.d.ts +92 -0
  359. package/dist/domain/runtime/resource-limits.js +1 -0
  360. package/dist/domain/session/attachment.d.ts +15 -0
  361. package/dist/domain/session/attachment.js +0 -0
  362. package/dist/domain/session/session-schema.d.ts +6 -0
  363. package/dist/domain/session/session-schema.js +1 -0
  364. package/dist/domain/session/session.d.ts +27 -0
  365. package/dist/domain/session/session.js +0 -0
  366. package/dist/domain/settings/settings-document.d.ts +8 -0
  367. package/dist/domain/settings/settings-document.js +1 -0
  368. package/dist/domain/validation/record-schema.d.ts +4 -0
  369. package/dist/domain/validation/record-schema.js +1 -0
  370. package/dist/domain/workspace/workspace-settings.d.ts +14 -0
  371. package/dist/domain/workspace/workspace-settings.js +1 -0
  372. package/dist/infrastructure/agent-sdk/agent-instance-factory.d.ts +22 -0
  373. package/dist/infrastructure/agent-sdk/agent-instance-factory.js +1 -0
  374. package/dist/infrastructure/agent-sdk/model-response-metrics.d.ts +7 -0
  375. package/dist/infrastructure/agent-sdk/model-response-metrics.js +1 -0
  376. package/dist/infrastructure/agent-sdk/model-tool-name-mapper.d.ts +13 -0
  377. package/dist/infrastructure/agent-sdk/model-tool-name-mapper.js +1 -0
  378. package/dist/infrastructure/agent-sdk/sdk-constants.d.ts +2 -0
  379. package/dist/infrastructure/agent-sdk/sdk-constants.js +1 -0
  380. package/dist/infrastructure/agent-sdk/tool-calling-completion-client.d.ts +4 -0
  381. package/dist/infrastructure/agent-sdk/tool-calling-completion-client.js +1 -0
  382. package/dist/infrastructure/agent-sdk/tool-calling-model-client.d.ts +11 -0
  383. package/dist/infrastructure/agent-sdk/tool-calling-model-client.js +1 -0
  384. package/dist/infrastructure/cache/cache-policy.d.ts +9 -0
  385. package/dist/infrastructure/cache/cache-policy.js +1 -0
  386. package/dist/infrastructure/cache/file-cache-store.d.ts +25 -0
  387. package/dist/infrastructure/cache/file-cache-store.js +2 -0
  388. package/dist/infrastructure/clipboard/clipboard-adapter-factory.d.ts +11 -0
  389. package/dist/infrastructure/clipboard/clipboard-adapter-factory.js +1 -0
  390. package/dist/infrastructure/clipboard/clipboard-constants.d.ts +1 -0
  391. package/dist/infrastructure/clipboard/clipboard-constants.js +1 -0
  392. package/dist/infrastructure/clipboard/clipboard-policy.d.ts +8 -0
  393. package/dist/infrastructure/clipboard/clipboard-policy.js +1 -0
  394. package/dist/infrastructure/clipboard/clipboard-text-adapter-factory.d.ts +10 -0
  395. package/dist/infrastructure/clipboard/clipboard-text-adapter-factory.js +1 -0
  396. package/dist/infrastructure/clipboard/image-normalizer.d.ts +12 -0
  397. package/dist/infrastructure/clipboard/image-normalizer.js +1 -0
  398. package/dist/infrastructure/clipboard/windows-clipboard-adapter.d.ts +7 -0
  399. package/dist/infrastructure/clipboard/windows-clipboard-adapter.js +1 -0
  400. package/dist/infrastructure/clipboard/windows-clipboard-text-adapter.d.ts +7 -0
  401. package/dist/infrastructure/clipboard/windows-clipboard-text-adapter.js +1 -0
  402. package/dist/infrastructure/config/config-loader.d.ts +19 -0
  403. package/dist/infrastructure/config/config-loader.js +2 -0
  404. package/dist/infrastructure/config/environment-values.d.ts +2 -0
  405. package/dist/infrastructure/config/environment-values.js +1 -0
  406. package/dist/infrastructure/credentials/composite-credential-store.d.ts +11 -0
  407. package/dist/infrastructure/credentials/composite-credential-store.js +1 -0
  408. package/dist/infrastructure/credentials/encrypted-file-credential-store.d.ts +17 -0
  409. package/dist/infrastructure/credentials/encrypted-file-credential-store.js +3 -0
  410. package/dist/infrastructure/credentials/environment-credential-store.d.ts +11 -0
  411. package/dist/infrastructure/credentials/environment-credential-store.js +1 -0
  412. package/dist/infrastructure/credentials/secret-input.d.ts +7 -0
  413. package/dist/infrastructure/credentials/secret-input.js +3 -0
  414. package/dist/infrastructure/extensions/composite-mcp-config-store.d.ts +9 -0
  415. package/dist/infrastructure/extensions/composite-mcp-config-store.js +1 -0
  416. package/dist/infrastructure/extensions/extension-directory-reader.d.ts +2 -0
  417. package/dist/infrastructure/extensions/extension-directory-reader.js +1 -0
  418. package/dist/infrastructure/extensions/extension-integrity.d.ts +7 -0
  419. package/dist/infrastructure/extensions/extension-integrity.js +1 -0
  420. package/dist/infrastructure/extensions/extension-source-resolver.d.ts +6 -0
  421. package/dist/infrastructure/extensions/extension-source-resolver.js +1 -0
  422. package/dist/infrastructure/extensions/extensions-constants.d.ts +6 -0
  423. package/dist/infrastructure/extensions/extensions-constants.js +1 -0
  424. package/dist/infrastructure/extensions/file-mcp-config-store.d.ts +15 -0
  425. package/dist/infrastructure/extensions/file-mcp-config-store.js +2 -0
  426. package/dist/infrastructure/extensions/hook-runtime.d.ts +18 -0
  427. package/dist/infrastructure/extensions/hook-runtime.js +1 -0
  428. package/dist/infrastructure/extensions/mcp-runtime.d.ts +58 -0
  429. package/dist/infrastructure/extensions/mcp-runtime.js +1 -0
  430. package/dist/infrastructure/extensions/plugin-agent-discovery.d.ts +4 -0
  431. package/dist/infrastructure/extensions/plugin-agent-discovery.js +1 -0
  432. package/dist/infrastructure/extensions/plugin-discovery.d.ts +5 -0
  433. package/dist/infrastructure/extensions/plugin-discovery.js +1 -0
  434. package/dist/infrastructure/extensions/plugin-manager.d.ts +23 -0
  435. package/dist/infrastructure/extensions/plugin-manager.js +2 -0
  436. package/dist/infrastructure/extensions/skill-discovery.d.ts +4 -0
  437. package/dist/infrastructure/extensions/skill-discovery.js +1 -0
  438. package/dist/infrastructure/extensions/skill-installer.d.ts +9 -0
  439. package/dist/infrastructure/extensions/skill-installer.js +1 -0
  440. package/dist/infrastructure/extensions/skill-manager.d.ts +22 -0
  441. package/dist/infrastructure/extensions/skill-manager.js +2 -0
  442. package/dist/infrastructure/extensions/skill-roots.d.ts +19 -0
  443. package/dist/infrastructure/extensions/skill-roots.js +1 -0
  444. package/dist/infrastructure/extensions/skill-tool-executor.d.ts +20 -0
  445. package/dist/infrastructure/extensions/skill-tool-executor.js +2 -0
  446. package/dist/infrastructure/filesystem/atomic-file-store.d.ts +28 -0
  447. package/dist/infrastructure/filesystem/atomic-file-store.js +1 -0
  448. package/dist/infrastructure/filesystem/bounded-file-reader.d.ts +6 -0
  449. package/dist/infrastructure/filesystem/bounded-file-reader.js +1 -0
  450. package/dist/infrastructure/filesystem/bounded-json-reader.d.ts +1 -0
  451. package/dist/infrastructure/filesystem/bounded-json-reader.js +1 -0
  452. package/dist/infrastructure/filesystem/filesystem-constants.d.ts +8 -0
  453. package/dist/infrastructure/filesystem/filesystem-constants.js +1 -0
  454. package/dist/infrastructure/filesystem/fs-errors.d.ts +2 -0
  455. package/dist/infrastructure/filesystem/fs-errors.js +1 -0
  456. package/dist/infrastructure/filesystem/gateway-media-input-reader.d.ts +12 -0
  457. package/dist/infrastructure/filesystem/gateway-media-input-reader.js +1 -0
  458. package/dist/infrastructure/filesystem/local-filesystem-tool-executor.d.ts +25 -0
  459. package/dist/infrastructure/filesystem/local-filesystem-tool-executor.js +3 -0
  460. package/dist/infrastructure/filesystem/path-resolver.d.ts +20 -0
  461. package/dist/infrastructure/filesystem/path-resolver.js +1 -0
  462. package/dist/infrastructure/filesystem/workspace-media-artifact-store.d.ts +13 -0
  463. package/dist/infrastructure/filesystem/workspace-media-artifact-store.js +1 -0
  464. package/dist/infrastructure/logging/daily-rotating-file-writer.d.ts +26 -0
  465. package/dist/infrastructure/logging/daily-rotating-file-writer.js +2 -0
  466. package/dist/infrastructure/logging/log-redactor.d.ts +2 -0
  467. package/dist/infrastructure/logging/log-redactor.js +1 -0
  468. package/dist/infrastructure/logging/logging-constants.d.ts +3 -0
  469. package/dist/infrastructure/logging/logging-constants.js +1 -0
  470. package/dist/infrastructure/logging/logging-policy.d.ts +6 -0
  471. package/dist/infrastructure/logging/logging-policy.js +1 -0
  472. package/dist/infrastructure/logging/structured-logger.d.ts +24 -0
  473. package/dist/infrastructure/logging/structured-logger.js +4 -0
  474. package/dist/infrastructure/memory/file-memory-store.d.ts +37 -0
  475. package/dist/infrastructure/memory/file-memory-store.js +11 -0
  476. package/dist/infrastructure/network/safe-media-downloader.d.ts +23 -0
  477. package/dist/infrastructure/network/safe-media-downloader.js +1 -0
  478. package/dist/infrastructure/observability/tool-execution-logger.d.ts +11 -0
  479. package/dist/infrastructure/observability/tool-execution-logger.js +1 -0
  480. package/dist/infrastructure/platform/host-platform.d.ts +16 -0
  481. package/dist/infrastructure/platform/host-platform.js +1 -0
  482. package/dist/infrastructure/platform/host-process.d.ts +31 -0
  483. package/dist/infrastructure/platform/host-process.js +1 -0
  484. package/dist/infrastructure/platform/platform-constants.d.ts +4 -0
  485. package/dist/infrastructure/platform/platform-constants.js +1 -0
  486. package/dist/infrastructure/platform/platform-paths.d.ts +25 -0
  487. package/dist/infrastructure/platform/platform-paths.js +1 -0
  488. package/dist/infrastructure/platform/process-identity.d.ts +8 -0
  489. package/dist/infrastructure/platform/process-identity.js +1 -0
  490. package/dist/infrastructure/platform/process-termination.d.ts +4 -0
  491. package/dist/infrastructure/platform/process-termination.js +1 -0
  492. package/dist/infrastructure/platform/read-only-executable.d.ts +4 -0
  493. package/dist/infrastructure/platform/read-only-executable.js +1 -0
  494. package/dist/infrastructure/project/file-project-trust-store.d.ts +12 -0
  495. package/dist/infrastructure/project/file-project-trust-store.js +2 -0
  496. package/dist/infrastructure/sdk/chat-completion-adapter.d.ts +8 -0
  497. package/dist/infrastructure/sdk/chat-completion-adapter.js +1 -0
  498. package/dist/infrastructure/sdk/lotagate-client-factory.d.ts +3 -0
  499. package/dist/infrastructure/sdk/lotagate-client-factory.js +1 -0
  500. package/dist/infrastructure/sdk/model-catalog-adapter.d.ts +19 -0
  501. package/dist/infrastructure/sdk/model-catalog-adapter.js +1 -0
  502. package/dist/infrastructure/sdk/sdk-media-gateway-client.d.ts +24 -0
  503. package/dist/infrastructure/sdk/sdk-media-gateway-client.js +1 -0
  504. package/dist/infrastructure/sessions/file-goal-store.d.ts +21 -0
  505. package/dist/infrastructure/sessions/file-goal-store.js +1 -0
  506. package/dist/infrastructure/sessions/file-session-store.d.ts +50 -0
  507. package/dist/infrastructure/sessions/file-session-store.js +4 -0
  508. package/dist/infrastructure/sessions/project-session-paths.d.ts +17 -0
  509. package/dist/infrastructure/sessions/project-session-paths.js +1 -0
  510. package/dist/infrastructure/sessions/session-constants.d.ts +3 -0
  511. package/dist/infrastructure/sessions/session-constants.js +1 -0
  512. package/dist/infrastructure/sessions/session-index.d.ts +16 -0
  513. package/dist/infrastructure/sessions/session-index.js +3 -0
  514. package/dist/infrastructure/sessions/session-journal-health.d.ts +7 -0
  515. package/dist/infrastructure/sessions/session-journal-health.js +1 -0
  516. package/dist/infrastructure/sessions/session-journal.d.ts +22 -0
  517. package/dist/infrastructure/sessions/session-journal.js +6 -0
  518. package/dist/infrastructure/sessions/subagent-journal-store.d.ts +28 -0
  519. package/dist/infrastructure/sessions/subagent-journal-store.js +2 -0
  520. package/dist/infrastructure/shell/shell-tool-executor.d.ts +21 -0
  521. package/dist/infrastructure/shell/shell-tool-executor.js +2 -0
  522. package/dist/infrastructure/tokens/tiktoken-token-estimator.d.ts +18 -0
  523. package/dist/infrastructure/tokens/tiktoken-token-estimator.js +1 -0
  524. package/dist/infrastructure/tokens/token-constants.d.ts +1 -0
  525. package/dist/infrastructure/tokens/token-constants.js +1 -0
  526. package/dist/infrastructure/workspace/workspace-settings-store.d.ts +10 -0
  527. package/dist/infrastructure/workspace/workspace-settings-store.js +4 -0
  528. package/dist/main.d.ts +7 -0
  529. package/dist/main.js +3 -0
  530. package/dist/ports/cache-store.d.ts +10 -0
  531. package/dist/ports/cache-store.js +0 -0
  532. package/dist/ports/chat-model.d.ts +30 -0
  533. package/dist/ports/chat-model.js +0 -0
  534. package/dist/ports/clipboard-adapter.d.ts +7 -0
  535. package/dist/ports/clipboard-adapter.js +0 -0
  536. package/dist/ports/clipboard-text-adapter.d.ts +3 -0
  537. package/dist/ports/clipboard-text-adapter.js +0 -0
  538. package/dist/ports/credential-store.d.ts +7 -0
  539. package/dist/ports/credential-store.js +0 -0
  540. package/dist/ports/goal-store.d.ts +12 -0
  541. package/dist/ports/goal-store.js +0 -0
  542. package/dist/ports/logger.d.ts +8 -0
  543. package/dist/ports/logger.js +0 -0
  544. package/dist/ports/media-gateway-client.d.ts +60 -0
  545. package/dist/ports/media-gateway-client.js +0 -0
  546. package/dist/ports/memory-store.d.ts +26 -0
  547. package/dist/ports/memory-store.js +0 -0
  548. package/dist/ports/model-completion-client.d.ts +8 -0
  549. package/dist/ports/model-completion-client.js +0 -0
  550. package/dist/ports/model-diagnostics.d.ts +17 -0
  551. package/dist/ports/model-diagnostics.js +0 -0
  552. package/dist/ports/project-trust-store.d.ts +12 -0
  553. package/dist/ports/project-trust-store.js +0 -0
  554. package/dist/ports/session-store.d.ts +59 -0
  555. package/dist/ports/session-store.js +0 -0
  556. package/dist/ports/subagent-lifecycle.d.ts +31 -0
  557. package/dist/ports/subagent-lifecycle.js +0 -0
  558. package/dist/ports/tool-activity.d.ts +13 -0
  559. package/dist/ports/tool-activity.js +0 -0
  560. package/dist/presentation/themes/theme.d.ts +19 -0
  561. package/dist/presentation/themes/theme.js +1 -0
  562. package/dist/presentation/tui/agent-initialization-renderer.d.ts +4 -0
  563. package/dist/presentation/tui/agent-initialization-renderer.js +1 -0
  564. package/dist/presentation/tui/context-display.d.ts +21 -0
  565. package/dist/presentation/tui/context-display.js +2 -0
  566. package/dist/presentation/tui/formatters.d.ts +6 -0
  567. package/dist/presentation/tui/formatters.js +1 -0
  568. package/dist/presentation/tui/ink/choice-window.d.ts +5 -0
  569. package/dist/presentation/tui/ink/choice-window.js +1 -0
  570. package/dist/presentation/tui/ink/components/activity-animation.d.ts +3 -0
  571. package/dist/presentation/tui/ink/components/activity-animation.js +1 -0
  572. package/dist/presentation/tui/ink/components/activity-entry.d.ts +6 -0
  573. package/dist/presentation/tui/ink/components/activity-entry.js +1 -0
  574. package/dist/presentation/tui/ink/components/activity-status.d.ts +10 -0
  575. package/dist/presentation/tui/ink/components/activity-status.js +1 -0
  576. package/dist/presentation/tui/ink/components/choice-modal.d.ts +11 -0
  577. package/dist/presentation/tui/ink/components/choice-modal.js +1 -0
  578. package/dist/presentation/tui/ink/components/composer.d.ts +40 -0
  579. package/dist/presentation/tui/ink/components/composer.js +8 -0
  580. package/dist/presentation/tui/ink/components/file-diff.d.ts +6 -0
  581. package/dist/presentation/tui/ink/components/file-diff.js +1 -0
  582. package/dist/presentation/tui/ink/components/modal.d.ts +8 -0
  583. package/dist/presentation/tui/ink/components/modal.js +2 -0
  584. package/dist/presentation/tui/ink/components/shimmer-text.d.ts +8 -0
  585. package/dist/presentation/tui/ink/components/shimmer-text.js +1 -0
  586. package/dist/presentation/tui/ink/components/subagent-activity.d.ts +11 -0
  587. package/dist/presentation/tui/ink/components/subagent-activity.js +1 -0
  588. package/dist/presentation/tui/ink/components/transcript.d.ts +40 -0
  589. package/dist/presentation/tui/ink/components/transcript.js +5 -0
  590. package/dist/presentation/tui/ink/components/welcome-panel.d.ts +6 -0
  591. package/dist/presentation/tui/ink/components/welcome-panel.js +1 -0
  592. package/dist/presentation/tui/ink/lotagate-tui.d.ts +6 -0
  593. package/dist/presentation/tui/ink/lotagate-tui.js +2 -0
  594. package/dist/presentation/tui/ink/markdown-inline-renderer.d.ts +4 -0
  595. package/dist/presentation/tui/ink/markdown-inline-renderer.js +1 -0
  596. package/dist/presentation/tui/ink/markdown-inline.d.ts +13 -0
  597. package/dist/presentation/tui/ink/markdown-inline.js +1 -0
  598. package/dist/presentation/tui/ink/markdown-message.d.ts +6 -0
  599. package/dist/presentation/tui/ink/markdown-message.js +2 -0
  600. package/dist/presentation/tui/ink/markdown-table.d.ts +16 -0
  601. package/dist/presentation/tui/ink/markdown-table.js +1 -0
  602. package/dist/presentation/tui/ink/tui-bridge.d.ts +193 -0
  603. package/dist/presentation/tui/ink/tui-bridge.js +1 -0
  604. package/dist/presentation/tui/terminal-capabilities.d.ts +15 -0
  605. package/dist/presentation/tui/terminal-capabilities.js +1 -0
  606. package/dist/presentation/tui/terminal-mouse.d.ts +5 -0
  607. package/dist/presentation/tui/terminal-mouse.js +1 -0
  608. package/dist/presentation/tui/terminal-screen.d.ts +10 -0
  609. package/dist/presentation/tui/terminal-screen.js +1 -0
  610. package/dist/presentation/tui/tui-agent-event-runner.d.ts +29 -0
  611. package/dist/presentation/tui/tui-agent-event-runner.js +1 -0
  612. package/dist/presentation/tui/tui-agent-turn-controller.d.ts +45 -0
  613. package/dist/presentation/tui/tui-agent-turn-controller.js +1 -0
  614. package/dist/presentation/tui/tui-application-contract.d.ts +11 -0
  615. package/dist/presentation/tui/tui-application-contract.js +1 -0
  616. package/dist/presentation/tui/tui-application.d.ts +61 -0
  617. package/dist/presentation/tui/tui-application.js +3 -0
  618. package/dist/presentation/tui/tui-clipboard-paste-handlers.d.ts +11 -0
  619. package/dist/presentation/tui/tui-clipboard-paste-handlers.js +1 -0
  620. package/dist/presentation/tui/tui-command-context.d.ts +3 -0
  621. package/dist/presentation/tui/tui-command-context.js +0 -0
  622. package/dist/presentation/tui/tui-command-executor.d.ts +38 -0
  623. package/dist/presentation/tui/tui-command-executor.js +4 -0
  624. package/dist/presentation/tui/tui-command-host-factory.d.ts +40 -0
  625. package/dist/presentation/tui/tui-command-host-factory.js +1 -0
  626. package/dist/presentation/tui/tui-context-compaction.d.ts +8 -0
  627. package/dist/presentation/tui/tui-context-compaction.js +1 -0
  628. package/dist/presentation/tui/tui-context-service.d.ts +2 -0
  629. package/dist/presentation/tui/tui-context-service.js +1 -0
  630. package/dist/presentation/tui/tui-extension-loader.d.ts +21 -0
  631. package/dist/presentation/tui/tui-extension-loader.js +1 -0
  632. package/dist/presentation/tui/tui-file-suggestions.d.ts +3 -0
  633. package/dist/presentation/tui/tui-file-suggestions.js +1 -0
  634. package/dist/presentation/tui/tui-goal-controller.d.ts +14 -0
  635. package/dist/presentation/tui/tui-goal-controller.js +1 -0
  636. package/dist/presentation/tui/tui-initial-model.d.ts +3 -0
  637. package/dist/presentation/tui/tui-initial-model.js +1 -0
  638. package/dist/presentation/tui/tui-lifecycle-actions.d.ts +13 -0
  639. package/dist/presentation/tui/tui-lifecycle-actions.js +1 -0
  640. package/dist/presentation/tui/tui-manual-compaction.d.ts +18 -0
  641. package/dist/presentation/tui/tui-manual-compaction.js +1 -0
  642. package/dist/presentation/tui/tui-media-model-selection.d.ts +12 -0
  643. package/dist/presentation/tui/tui-media-model-selection.js +1 -0
  644. package/dist/presentation/tui/tui-prompt-dispatcher.d.ts +16 -0
  645. package/dist/presentation/tui/tui-prompt-dispatcher.js +1 -0
  646. package/dist/presentation/tui/tui-skill-controller.d.ts +11 -0
  647. package/dist/presentation/tui/tui-skill-controller.js +3 -0
  648. package/dist/presentation/tui/tui-tool-approval.d.ts +22 -0
  649. package/dist/presentation/tui/tui-tool-approval.js +1 -0
  650. package/dist/version.d.ts +1 -0
  651. package/dist/version.js +1 -0
  652. package/native-targets.mjs +1 -1
  653. package/package.json +13 -12
  654. package/scripts/install-native.mjs +5 -13
  655. package/skills/architecture-review/SKILL.md +41 -14
  656. package/skills/code-review/SKILL.md +41 -12
  657. package/skills/debugging/SKILL.md +49 -12
  658. package/skills/documentation/SKILL.md +43 -9
  659. package/skills/feature-implementation/SKILL.md +58 -19
  660. package/bin/lotagate.exe +0 -1
  661. package/skills/api-contract-review/SKILL.md +0 -17
  662. package/skills/database-review/SKILL.md +0 -17
  663. package/skills/dependency-review/SKILL.md +0 -16
  664. package/skills/frontend-review/SKILL.md +0 -18
  665. package/skills/incident-response/SKILL.md +0 -18
  666. package/skills/performance-review/SKILL.md +0 -17
  667. package/skills/refactor/SKILL.md +0 -23
  668. package/skills/release-readiness/SKILL.md +0 -16
  669. package/skills/security-review/SKILL.md +0 -16
  670. package/skills/test-plan/SKILL.md +0 -22
  671. package/skills/verify/SKILL.md +0 -13
@@ -10,8 +10,11 @@ const target = targetForRuntime(process.platform, process.arch);
10
10
 
11
11
  if (existsSync(resolve(packageRoot, '.git'))) process.exit(0);
12
12
 
13
- if (target === undefined) await installNodeFallback();
14
- else await installNativeTarget(target);
13
+ if (target === undefined) {
14
+ if (process.platform === 'win32' || process.platform === 'cygwin') fail(`No native LotaGate CLI artifact is available for ${process.platform}/${process.arch}.`);
15
+ } else {
16
+ await installNativeTarget(target);
17
+ }
15
18
 
16
19
  function findInstalledNativePackageRoot(packageName) {
17
20
  const segments = packageName.split('/');
@@ -45,17 +48,6 @@ async function installNativeTarget(nativeTarget) {
45
48
  }
46
49
  }
47
50
 
48
- async function installNodeFallback() {
49
- if (process.platform === 'win32' || process.platform === 'cygwin') fail(`No native LotaGate CLI artifact is available for ${process.platform}/${process.arch}.`);
50
- const destination = resolve(packageRoot, 'bin', 'lotagate.exe');
51
- try {
52
- await installExecutable(resolve(packageRoot, 'bin', 'lotagate.mjs'), destination);
53
- } catch (error) {
54
- await rm(destination, { force: true }).catch(() => undefined);
55
- fail(`Node launcher installation failed: ${error instanceof Error ? error.message : String(error)}`);
56
- }
57
- }
58
-
59
51
  async function installExecutable(source, destination) {
60
52
  const temporary = `${destination}.install-${process.pid}-${Date.now()}`;
61
53
  await mkdir(dirname(destination), { recursive: true });
@@ -1,22 +1,49 @@
1
1
  ---
2
2
  name: architecture-review
3
- description: Trace a feature end to end and assess ownership, boundaries and extensibility.
4
- user-invocable: true
5
- model-invocable: true
3
+ description: Trace a feature or subsystem end to end and assess ownership, dependency boundaries, contracts, risks and extensibility before implementation.
6
4
  allowed-tools: [filesystem.read, filesystem.list]
7
5
  ---
8
6
  # Architecture review
9
7
 
10
- Analyze the requested feature using evidence from the repository.
8
+ Assess the requested feature or subsystem using repository evidence before
9
+ implementation. This skill produces an architecture decision, not a rewrite.
11
10
 
12
- 1. Identify the entry point, owning module and allowed dependency direction.
13
- 2. Trace the flow through validation, application logic, ports, infrastructure
14
- adapters and presentation boundaries.
15
- 3. Reuse existing abstractions before proposing new files or dependencies.
16
- 4. Check for duplicated business rules, leaky infrastructure details and
17
- unclear ownership.
18
- 5. Propose the smallest complete design that preserves contracts and supports
19
- testing, operations and future extension; do not defer required behavior.
11
+ ## Trace the current system
20
12
 
21
- Clearly distinguish confirmed facts from recommendations and runtime
22
- verification requirements.
13
+ 1. Read applicable guidance, package boundaries, entry points, manifests,
14
+ configuration and tests.
15
+ 2. Map the real flow:
16
+ `entry point -> validation -> authorization/trust -> application/domain ->
17
+ port -> infrastructure adapter -> persistence/external service -> mapper ->
18
+ response/rendering`.
19
+ 3. Identify the owner of each rule, allowed dependency direction, public
20
+ contract, runtime schema, lifecycle and failure boundary.
21
+ 4. Search for existing components, services, repositories, clients, policies,
22
+ constants, error types and test helpers before proposing new abstractions.
23
+ 5. Note duplicated rules, circular dependencies, leaky infrastructure types,
24
+ UI-owned authorization, hidden side effects and unclear transaction or
25
+ resource boundaries.
26
+
27
+ ## Evaluate the requested design
28
+
29
+ Assess:
30
+
31
+ - business behavior and contract preservation;
32
+ - authentication, authorization, project trust and tenant/resource ownership;
33
+ - validation, error semantics, observability and operational support;
34
+ - cancellation, timeout, retries, bounded concurrency and cleanup;
35
+ - persistence, cache consistency and migration/rollback needs;
36
+ - test boundaries and realistic failure/empty states;
37
+ - future extension cost without premature generic abstraction.
38
+
39
+ Compare the smallest complete option with viable alternatives. Recommend a new
40
+ file, dependency or layer only when the existing owner cannot support the
41
+ behavior cleanly. Do not defer required correctness or hide a migration risk.
42
+
43
+ ## Report
44
+
45
+ Separate confirmed repository facts, inferred risks, recommendations and items
46
+ requiring runtime verification. Include the affected flow, ownership map,
47
+ contract impact, proposed module boundaries, reuse decisions, alternatives,
48
+ trade-offs, change risk and a staged verification plan. Do not modify files
49
+ unless the user explicitly requests implementation.
@@ -1,20 +1,49 @@
1
1
  ---
2
2
  name: code-review
3
- description: Review a change for correctness, security, maintainability and regression risk.
4
- user-invocable: true
5
- model-invocable: true
3
+ description: Review an implementation or diff for correctness, security, architecture, maintainability and regression risk with evidence-backed findings.
6
4
  allowed-tools: [filesystem.read, filesystem.list]
7
5
  ---
8
6
  # Code review
9
7
 
10
- Review the requested repository scope as a production code review.
8
+ Review the requested scope as a production change. This is an audit skill:
9
+ do not edit files unless the user explicitly asks to implement a finding.
11
10
 
12
- 1. Trace the affected execution flow before forming conclusions.
13
- 2. Inspect the relevant callers, callees, contracts, validation and tests.
14
- 3. Report confirmed defects before style preferences.
15
- 4. For every finding, include severity, confidence, file/location, evidence,
16
- impact and a focused remediation.
17
- 5. Check security boundaries, error paths, cancellation, resource cleanup and
18
- regression coverage.
11
+ ## Review procedure
19
12
 
20
- Do not modify files unless the user explicitly asks for implementation.
13
+ 1. Read applicable guidance and inspect the complete diff, not only the changed
14
+ lines. Identify generated or unrelated changes.
15
+ 2. Trace each changed path from entry point through validation, authorization,
16
+ business logic, persistence/external adapters and user-visible output.
17
+ 3. Inspect callers, callees, DTOs/types, runtime schemas, configuration,
18
+ migrations, error handling, logging, tests and deployment assumptions.
19
+ 4. Check correctness and data integrity first, then security, reliability,
20
+ concurrency, resource cleanup, maintainability and performance.
21
+ 5. Exercise the reasoning against empty, malformed, duplicate, concurrent,
22
+ cancelled, timed-out, unauthorized and partially failed cases.
23
+ 6. Prefer confirmed defects over style preferences. Do not infer a bug from a
24
+ name or estimate performance without measurements.
25
+
26
+ ## Required finding format
27
+
28
+ For every actionable finding, report:
29
+
30
+ - stable ID and category;
31
+ - severity: Critical, High, Medium or Low;
32
+ - confidence: Confirmed, High Confidence, Medium Confidence or Needs Verification;
33
+ - file and exact symbol/location;
34
+ - affected flow and trigger condition;
35
+ - problem, repository evidence, root cause and concrete impact;
36
+ - smallest safe recommendation and existing pattern to follow;
37
+ - alternatives/trade-offs, change risk and verification method.
38
+
39
+ Group symptoms with the same root cause. State explicitly when a behavior is
40
+ correct, when an issue is only a design trade-off, and when runtime/load
41
+ verification is still required. Never expose secrets or reproduce sensitive
42
+ payloads in findings.
43
+
44
+ ## Review conclusion
45
+
46
+ Summarize coverage and limitations, finding count and severity distribution,
47
+ highest-risk issues, systemic causes, quick wins and unverified items. If the
48
+ user requests implementation afterward, convert only confirmed findings into a
49
+ focused patch and preserve the review evidence.
@@ -1,20 +1,57 @@
1
1
  ---
2
2
  name: debugging
3
- description: Diagnose a reproducible failure from evidence and prepare a minimal safe fix.
4
- user-invocable: true
5
- model-invocable: true
3
+ description: Diagnose a reproducible software failure from repository and runtime evidence, then implement a minimal verified fix when requested.
6
4
  allowed-tools: [filesystem.read, filesystem.list, shell.exec]
7
5
  ---
8
6
  # Debugging
9
7
 
10
- Diagnose the reported failure without guessing.
8
+ Find the root cause of the reported failure without guessing or masking the
9
+ symptom. If the user asks for diagnosis only, do not modify source files.
11
10
 
12
- 1. Reproduce or isolate the failure with the narrowest safe command.
13
- 2. Trace the input from its boundary to the failing operation.
14
- 3. Compare the runtime behavior with the declared types, validation and
15
- configuration.
16
- 4. Identify the root cause, affected cases and regression risk.
17
- 5. Add or update a focused regression test before implementing a fix.
18
- 6. Run the narrow test first, then the relevant project checks.
11
+ ## Establish evidence
19
12
 
20
- Do not hide failures, weaken validation or modify unrelated modules.
13
+ 1. Read applicable repository guidance and inspect the current diff before
14
+ changing anything.
15
+ 2. Capture the exact trigger, input shape, environment, command, expected
16
+ result and observed result. Keep credentials and sensitive payloads out of
17
+ notes and logs.
18
+ 3. Reproduce with the narrowest safe test or command. If reproduction is not
19
+ possible, state `Needs runtime verification` and isolate the closest
20
+ deterministic boundary instead of inventing behavior.
21
+ 4. Search callers and callees, then trace the value through parsing,
22
+ validation, state transitions, persistence, external adapters and rendering.
23
+ 5. Compare implementation behavior with types, schemas, configuration,
24
+ authorization/trust rules and documented contracts.
25
+
26
+ ## Classify the cause
27
+
28
+ Separate:
29
+
30
+ - confirmed root cause;
31
+ - contributing condition;
32
+ - affected and unaffected cases;
33
+ - data-integrity, security, concurrency or resource-lifecycle risk;
34
+ - pre-existing failure or environment limitation.
35
+
36
+ Check malformed input, empty state, retries, timeout/cancellation, concurrent
37
+ requests, stale UI responses, permission denial, partial writes and cleanup.
38
+ Do not call a style preference a bug and do not claim a security issue without
39
+ tracing user-controlled data to the sensitive sink.
40
+
41
+ ## Fix only when authorized
42
+
43
+ When implementation is requested:
44
+
45
+ 1. Add a focused regression test that fails for the reported behavior and
46
+ protects the business invariant.
47
+ 2. Apply the smallest fix in the module that owns the behavior. Reuse existing
48
+ validators, error contracts, state machines and utilities.
49
+ 3. Preserve unrelated behavior, public contracts, authorization and
50
+ observability. Do not weaken validation, broaden permissions or swallow
51
+ exceptions to make the test pass.
52
+ 4. Run the focused test first, then typecheck/lint/build and the relevant
53
+ integration or regression suite.
54
+
55
+ Report the trigger, evidence, root cause, fix, tests and any remaining runtime
56
+ verification. Never report a reproduction or test as successful unless it was
57
+ actually run.
@@ -1,16 +1,50 @@
1
1
  ---
2
2
  name: documentation
3
- description: Produce accurate maintainable documentation from verified repository behavior.
4
- user-invocable: true
5
- model-invocable: true
3
+ description: Produce and maintain accurate engineering documentation from verified repository behavior, contracts and operational workflows.
6
4
  allowed-tools: [filesystem.read, filesystem.list, filesystem.write]
7
5
  ---
8
6
  # Documentation
9
7
 
10
- Inspect the implementation, configuration and existing documentation before
11
- writing. Document the supported workflow, prerequisites, configuration,
12
- security boundaries, failure behavior, examples and verification commands.
8
+ Create documentation that helps its intended reader make the correct decision
9
+ or complete the supported workflow. Documentation is part of the product
10
+ contract: never document an assumption as a feature.
13
11
 
14
- Keep documentation aligned with public behavior, avoid secrets and speculative
15
- claims, preserve the project voice, and update the nearest authoritative file
16
- rather than creating duplicate guidance.
12
+ ## Discover the source of truth
13
+
14
+ 1. Read applicable guidance, the nearest README/design document, package
15
+ metadata and the complete implementation path.
16
+ 2. Verify public commands, routes, IPC/API payloads, configuration keys,
17
+ defaults, scopes, permissions, error behavior, lifecycle and supported
18
+ platforms from code, schemas and tests.
19
+ 3. Search for existing documentation and update the nearest authoritative
20
+ source. Do not create duplicate instructions or conflicting quick starts.
21
+ 4. Identify the audience and task: user guide, API reference, architecture
22
+ decision, operations runbook, troubleshooting guide or changelog.
23
+
24
+ ## Write the useful contract
25
+
26
+ Include only verified and task-relevant information:
27
+
28
+ - purpose, scope and explicit non-goals;
29
+ - prerequisites, installation and configuration;
30
+ - normal workflow with copyable, safe examples;
31
+ - inputs, outputs, defaults, limits, scopes and permissions;
32
+ - loading, empty, error, timeout, cancellation and recovery behavior;
33
+ - security boundaries, trust requirements and sensitive-data rules;
34
+ - compatibility, platform limitations, migrations and rollback;
35
+ - documented verification commands and expected outcomes.
36
+
37
+ Use the project voice and stable terminology. Keep titles specific, put the
38
+ most important behavior first, avoid unsupported promises and never include
39
+ credentials, private paths, raw tokens or unbounded sensitive payloads.
40
+
41
+ ## Validate before handoff
42
+
43
+ Cross-check examples against command catalogs, types and schemas. Run the
44
+ narrowest relevant documentation/example test or validation command when one
45
+ exists. Re-read links, code snippets, paths, version values and negative cases.
46
+ If implementation evidence is incomplete, label the statement `Needs
47
+ Verification` instead of guessing.
48
+
49
+ Report the authoritative files updated, verified sources, commands run, known
50
+ limitations and any remaining documentation drift risk.
@@ -1,25 +1,64 @@
1
1
  ---
2
2
  name: feature-implementation
3
- description: Implement a requested feature end to end while preserving architecture, contracts and operational safety.
4
- user-invocable: true
5
- model-invocable: true
3
+ description: Implement an explicitly requested product or engineering feature end to end while preserving architecture, contracts, security and operational safety.
6
4
  allowed-tools: [filesystem.read, filesystem.list, filesystem.exists, filesystem.write, shell.exec]
7
5
  ---
8
6
  # Feature implementation
9
7
 
10
- Implement only an explicitly requested behavior change.
11
-
12
- 1. Read repository guidance, the package manifest, relevant configuration and
13
- the complete affected flow before editing.
14
- 2. Identify the owning layer, reusable abstractions, public contracts and
15
- trust boundaries. Extend an existing abstraction when ownership remains
16
- cohesive.
17
- 3. Define the smallest complete design, including validation, errors,
18
- cancellation, persistence and user-visible states where applicable.
19
- 4. Edit cohesive files with complete content. Preserve unrelated changes and
20
- never write secrets, generated artifacts or unrelated formatting.
21
- 5. Run focused type, lint and behavior checks after the implementation, then
22
- run the relevant integrated regression checks.
23
- 6. Report changed files, preserved contracts, evidence, limitations and risks.
24
-
25
- Do not defer required behavior or claim completion without verification.
8
+ Deliver the explicitly requested behavior as a complete, reviewable change.
9
+ Do not silently broaden the product scope, redesign an unrelated subsystem, or
10
+ turn a one-off example into a new platform abstraction.
11
+
12
+ ## Before editing
13
+
14
+ 1. Read the applicable `AGENTS.md`, package manifest, README, architecture
15
+ notes, build configuration, test configuration and environment examples.
16
+ 2. Inspect the current working tree and preserve unrelated user changes.
17
+ 3. Trace the affected flow end to end:
18
+ - UI: route -> page -> components -> state/hooks -> API/IPC -> response -> render.
19
+ - Backend/CLI: command or route -> validation -> application service -> port -> adapter -> persistence/external system -> response.
20
+ 4. Identify the owning module, dependency direction, public contracts, runtime
21
+ schemas, authorization/trust boundary and existing reusable abstractions.
22
+ 5. Search for equivalent components, services, validators, mappers, constants,
23
+ error types and test utilities before creating anything new.
24
+
25
+ ## Design the smallest complete change
26
+
27
+ Define the behavior before implementation:
28
+
29
+ - normal, loading, empty, malformed-input and failure states;
30
+ - validation at every trust boundary and stable error semantics;
31
+ - authorization, project trust, scope and approval behavior;
32
+ - cancellation, timeout, retry and resource cleanup where I/O is involved;
33
+ - persistence, cache invalidation, ordering and concurrency behavior;
34
+ - accessibility and user-visible feedback for UI changes;
35
+ - migration, compatibility and rollback implications when a contract changes.
36
+
37
+ Keep business rules in their owning domain/application layer. Keep controllers,
38
+ IPC handlers and UI components as orchestration boundaries rather than sources
39
+ of truth. Prefer extending a cohesive existing abstraction over duplicating a
40
+ rule or introducing a generic shared helper with unclear ownership.
41
+
42
+ ## Implement incrementally
43
+
44
+ 1. Make the smallest cohesive edit and keep the diff focused.
45
+ 2. Preserve existing inputs, outputs, error codes, side effects and ordering
46
+ unless the request explicitly changes them.
47
+ 3. Use runtime validation for external data even when TypeScript types exist.
48
+ 4. Bound concurrency, payload size, recursion, retries and memory where the
49
+ feature can process user-controlled or remote data.
50
+ 5. Never log credentials, tokens, raw secrets, unbounded tool input or sensitive
51
+ file contents. Do not edit generated files or lockfiles without a reason.
52
+ 6. Add focused tests for business invariants, failure paths and authorization
53
+ boundaries before combining broader changes.
54
+
55
+ ## Verify and hand off
56
+
57
+ Run the narrowest documented typecheck, lint, unit or integration test after
58
+ each safe unit, then run the relevant package build and regression checks. If a
59
+ check fails, report the exact command and distinguish an introduced failure
60
+ from a pre-existing or environment failure; never hide it.
61
+
62
+ The final report must state what changed, why, files touched, contracts and
63
+ business behavior preserved or intentionally changed, commands and results,
64
+ known limitations, remaining risks and any manual runtime verification needed.
package/bin/lotagate.exe DELETED
@@ -1 +0,0 @@
1
- Native executable installation did not complete. Reinstall @lotagate/cli without --ignore-scripts or --omit=optional.
@@ -1,17 +0,0 @@
1
- ---
2
- name: api-contract-review
3
- description: Review an API contract, adapter or protocol flow for compatibility, validation and failure behavior.
4
- user-invocable: true
5
- model-invocable: true
6
- allowed-tools: [filesystem.read, filesystem.list]
7
- ---
8
- # API contract review
9
-
10
- Trace the request and response from the public boundary through validation,
11
- application logic, adapters and mapping.
12
-
13
- Check input and output schemas, optionality, backward compatibility, error
14
- codes, authentication, authorization, timeouts, retries, cancellation,
15
- pagination, idempotency and sensitive data exposure. Compare the contract with
16
- callers and tests. Report evidence-backed findings and distinguish runtime
17
- verification requirements from confirmed behavior.
@@ -1,17 +0,0 @@
1
- ---
2
- name: database-review
3
- description: Review database access for correctness, integrity, query behavior and concurrency safety.
4
- user-invocable: true
5
- model-invocable: true
6
- allowed-tools: [filesystem.read, filesystem.list]
7
- ---
8
- # Database review
9
-
10
- Trace repositories, queries, transactions and constraints through their
11
- callers. Inspect filtering, tenant isolation, soft deletion, pagination,
12
- indexes, joins, read-modify-write races, unique constraints, lock behavior and
13
- external calls inside transactions.
14
-
15
- Do not recommend an index or schema change without query shape, data-volume and
16
- write-amplification evidence. Label runtime plans and load behavior as needing
17
- verification when no measurements are available.
@@ -1,16 +0,0 @@
1
- ---
2
- name: dependency-review
3
- description: Evaluate a dependency change for necessity, security, compatibility and operational cost.
4
- user-invocable: true
5
- model-invocable: true
6
- allowed-tools: [filesystem.read, filesystem.list, shell.exec]
7
- ---
8
- # Dependency review
9
-
10
- Check whether an existing abstraction, direct dependency, native API or
11
- framework capability already solves the problem. If a new package is still
12
- justified, assess maintenance, license, advisories, transitive dependencies,
13
- runtime cost, compatibility, migration risk and rollback.
14
-
15
- Do not modify manifests or lockfiles unless the user explicitly requests the
16
- dependency change and the evidence supports it.
@@ -1,18 +0,0 @@
1
- ---
2
- name: frontend-review
3
- description: Review a frontend flow for state ownership, rendering behavior, accessibility and resilient user states.
4
- user-invocable: true
5
- model-invocable: true
6
- allowed-tools: [filesystem.read, filesystem.list]
7
- ---
8
- # Frontend review
9
-
10
- Trace route, page, component, state, request and render behavior. Check state
11
- ownership, derived state, effect chains, stale responses, cancellation,
12
- loading/error/empty states, keyboard access, focus, semantics, large lists and
13
- user-visible failure recovery.
14
-
15
- Recommend memoization or component extraction only when the affected subtree,
16
- trigger and measurable benefit are clear. Preserve the established frontend
17
- architecture and avoid presentation code becoming the source of truth for
18
- authorization.
@@ -1,18 +0,0 @@
1
- ---
2
- name: incident-response
3
- description: Investigate an operational failure using a bounded evidence-first response workflow.
4
- user-invocable: true
5
- model-invocable: false
6
- allowed-tools: [filesystem.read, filesystem.list, shell.exec]
7
- ---
8
- # Incident response
9
-
10
- Establish the impact, timeline, affected component and current safety boundary
11
- before changing anything. Preserve evidence and secrets, inspect logs and
12
- configuration through approved paths, and separate confirmed facts from
13
- hypotheses.
14
-
15
- Prioritize containment, reversible mitigation, data integrity and clear
16
- rollback. Record commands, observations, decision points and verification. Do
17
- not delete evidence, rotate credentials, alter production state or apply a
18
- destructive fix without explicit authorization.
@@ -1,17 +0,0 @@
1
- ---
2
- name: performance-review
3
- description: Find evidence-backed performance bottlenecks and define a measurable safe optimization.
4
- user-invocable: true
5
- model-invocable: true
6
- allowed-tools: [filesystem.read, filesystem.list, shell.exec]
7
- ---
8
- # Performance review
9
-
10
- Inspect the complete flow and existing measurements before proposing an
11
- optimization. Prioritize database and external I/O, duplicate requests,
12
- blocking CPU work, unbounded concurrency, memory growth and large payloads.
13
-
14
- For every finding state the evidence, workload, bottleneck, correctness risks,
15
- measurement command and acceptance criterion. Do not invent percentage gains or
16
- recommend caching, memoization, larger pools or infrastructure without an
17
- invalidation and capacity analysis.
@@ -1,23 +0,0 @@
1
- ---
2
- name: refactor
3
- description: Restructure existing code to improve ownership, reuse and testability without changing behavior.
4
- user-invocable: true
5
- model-invocable: true
6
- allowed-tools: [filesystem.read, filesystem.list, filesystem.exists, filesystem.write, shell.exec]
7
- ---
8
- # Refactor
9
-
10
- Refactor only when the requested scope has a concrete maintainability or
11
- correctness benefit.
12
-
13
- 1. Trace all callers, exports, contracts and tests before moving code.
14
- 2. Separate responsibilities by ownership and dependency direction, not by
15
- arbitrary file size.
16
- 3. Reuse existing utilities and preserve public behavior, errors, ordering and
17
- side effects.
18
- 4. Keep each extracted unit cohesive and independently testable.
19
- 5. Use a focused diff and verify after each safe extraction, then run the
20
- broader regression checks.
21
-
22
- Do not combine unrelated cleanup, introduce premature generic abstractions or
23
- hide behavior changes inside a refactor.
@@ -1,16 +0,0 @@
1
- ---
2
- name: release-readiness
3
- description: Assess whether a requested change is ready for release across behavior, security, operations and verification.
4
- user-invocable: true
5
- model-invocable: false
6
- allowed-tools: [filesystem.read, filesystem.list, filesystem.exists, shell.exec]
7
- ---
8
- # Release readiness
9
-
10
- Inspect the diff, package metadata, build and test configuration, public
11
- contracts, migrations, configuration, documentation and deployment assumptions.
12
-
13
- Check backward compatibility, secret handling, authorization, error and
14
- rollback behavior, observability, resource cleanup, versioning and file-size
15
- constraints. Run only documented checks and report blockers, evidence,
16
- pre-existing failures and unverified runtime risks separately.
@@ -1,16 +0,0 @@
1
- ---
2
- name: security-review
3
- description: Review the current workspace for security risks with evidence and safe remediation guidance.
4
- user-invocable: true
5
- model-invocable: false
6
- allowed-tools: [filesystem.exists, filesystem.read, filesystem.list]
7
- ---
8
-
9
- Review the current workspace for security issues. Trace each relevant input to
10
- its sensitive sink before reporting it. Prioritize authentication,
11
- authorization, path traversal, command injection, secret handling, unsafe
12
- deserialization, and dependency boundaries.
13
-
14
- Report only evidence-backed findings. For each finding, include the affected
15
- file and flow, trigger condition, impact, confidence, and the smallest safe
16
- remediation. Do not modify files unless the user explicitly asks for a fix.
@@ -1,22 +0,0 @@
1
- ---
2
- name: test-plan
3
- description: Design a focused test plan covering behavior, errors, security and integration boundaries.
4
- user-invocable: true
5
- model-invocable: true
6
- allowed-tools: [filesystem.read, filesystem.list]
7
- ---
8
- # Test plan
9
-
10
- Create an implementation-ready test plan for the requested change.
11
-
12
- Cover:
13
-
14
- - happy paths and important edge cases;
15
- - runtime validation and stable error behavior;
16
- - authentication, authorization and trust boundaries;
17
- - cancellation, timeout and bounded-concurrency behavior;
18
- - persistence, external adapters and malformed input;
19
- - the narrow unit test, integration test and final regression command.
20
-
21
- For each test, state the setup, action, expected result and why it protects a
22
- business invariant. Prefer behavior assertions over implementation details.
@@ -1,13 +0,0 @@
1
- ---
2
- name: verify
3
- description: Identify and run the narrowest relevant verification for the requested workspace change.
4
- user-invocable: true
5
- model-invocable: false
6
- allowed-tools: [filesystem.exists, filesystem.read, filesystem.list, shell.exec]
7
- ---
8
-
9
- Inspect the workspace documentation and package configuration to determine the
10
- narrowest relevant verification for the requested scope. Run only commands
11
- that are documented by the project. Report each command and its result,
12
- separating pre-existing failures from failures introduced by the requested
13
- change. Do not edit source files as part of verification.