@su-record/vibe 3.0.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (341) hide show
  1. package/hooks/scripts/__tests__/.vibe/command-log.txt +3 -78
  2. package/hooks/scripts/__tests__/.vibe/memories/memories.db +0 -0
  3. package/hooks/scripts/__tests__/.vibe/memories/memories.db-shm +0 -0
  4. package/hooks/scripts/__tests__/.vibe/memories/memories.db-wal +0 -0
  5. package/hooks/scripts/__tests__/clone-behaviors.test.js +64 -0
  6. package/hooks/scripts/__tests__/clone-merge-responsive.test.js +106 -0
  7. package/hooks/scripts/clone-extract.js +242 -28
  8. package/hooks/scripts/clone-merge-responsive.js +184 -0
  9. package/hooks/scripts/clone-spec.js +33 -8
  10. package/hooks/scripts/clone-validate.js +15 -9
  11. package/package.json +5 -2
  12. package/skills/clone/SKILL.md +132 -55
  13. package/skills/vibe.clone/SKILL.md +39 -19
  14. package/dist/cli/llm/gemini-commands.d.ts +0 -25
  15. package/dist/cli/llm/gemini-commands.d.ts.map +0 -1
  16. package/dist/cli/llm/gemini-commands.js +0 -143
  17. package/dist/cli/llm/gemini-commands.js.map +0 -1
  18. package/dist/cli/postinstall/codex-agents.d.ts +0 -24
  19. package/dist/cli/postinstall/codex-agents.d.ts.map +0 -1
  20. package/dist/cli/postinstall/codex-agents.js +0 -114
  21. package/dist/cli/postinstall/codex-agents.js.map +0 -1
  22. package/dist/cli/postinstall/codex-instruction.d.ts +0 -10
  23. package/dist/cli/postinstall/codex-instruction.d.ts.map +0 -1
  24. package/dist/cli/postinstall/codex-instruction.js +0 -56
  25. package/dist/cli/postinstall/codex-instruction.js.map +0 -1
  26. package/dist/cli/postinstall/gemini-agents.d.ts +0 -12
  27. package/dist/cli/postinstall/gemini-agents.d.ts.map +0 -1
  28. package/dist/cli/postinstall/gemini-agents.js +0 -80
  29. package/dist/cli/postinstall/gemini-agents.js.map +0 -1
  30. package/dist/cli/postinstall/gemini-instruction.d.ts +0 -10
  31. package/dist/cli/postinstall/gemini-instruction.d.ts.map +0 -1
  32. package/dist/cli/postinstall/gemini-instruction.js +0 -59
  33. package/dist/cli/postinstall/gemini-instruction.js.map +0 -1
  34. package/dist/infra/lib/ContextCompressor.d.ts +0 -104
  35. package/dist/infra/lib/ContextCompressor.d.ts.map +0 -1
  36. package/dist/infra/lib/ContextCompressor.js +0 -297
  37. package/dist/infra/lib/ContextCompressor.js.map +0 -1
  38. package/dist/infra/lib/ContextCompressor.test.d.ts +0 -2
  39. package/dist/infra/lib/ContextCompressor.test.d.ts.map +0 -1
  40. package/dist/infra/lib/ContextCompressor.test.js +0 -25
  41. package/dist/infra/lib/ContextCompressor.test.js.map +0 -1
  42. package/dist/infra/lib/ProgressTracker.d.ts +0 -73
  43. package/dist/infra/lib/ProgressTracker.d.ts.map +0 -1
  44. package/dist/infra/lib/ProgressTracker.js +0 -267
  45. package/dist/infra/lib/ProgressTracker.js.map +0 -1
  46. package/dist/infra/lib/TokenBudgetTracker.d.ts +0 -68
  47. package/dist/infra/lib/TokenBudgetTracker.d.ts.map +0 -1
  48. package/dist/infra/lib/TokenBudgetTracker.js +0 -191
  49. package/dist/infra/lib/TokenBudgetTracker.js.map +0 -1
  50. package/dist/infra/lib/autonomy/AuditStore.d.ts +0 -63
  51. package/dist/infra/lib/autonomy/AuditStore.d.ts.map +0 -1
  52. package/dist/infra/lib/autonomy/AuditStore.js +0 -185
  53. package/dist/infra/lib/autonomy/AuditStore.js.map +0 -1
  54. package/dist/infra/lib/autonomy/AutonomyConfig.d.ts +0 -84
  55. package/dist/infra/lib/autonomy/AutonomyConfig.d.ts.map +0 -1
  56. package/dist/infra/lib/autonomy/AutonomyConfig.js +0 -49
  57. package/dist/infra/lib/autonomy/AutonomyConfig.js.map +0 -1
  58. package/dist/infra/lib/autonomy/AutonomyOrchestrator.d.ts +0 -78
  59. package/dist/infra/lib/autonomy/AutonomyOrchestrator.d.ts.map +0 -1
  60. package/dist/infra/lib/autonomy/AutonomyOrchestrator.js +0 -246
  61. package/dist/infra/lib/autonomy/AutonomyOrchestrator.js.map +0 -1
  62. package/dist/infra/lib/autonomy/BackgroundMonitor.d.ts +0 -36
  63. package/dist/infra/lib/autonomy/BackgroundMonitor.d.ts.map +0 -1
  64. package/dist/infra/lib/autonomy/BackgroundMonitor.js +0 -138
  65. package/dist/infra/lib/autonomy/BackgroundMonitor.js.map +0 -1
  66. package/dist/infra/lib/autonomy/CollaborationProtocol.d.ts +0 -56
  67. package/dist/infra/lib/autonomy/CollaborationProtocol.d.ts.map +0 -1
  68. package/dist/infra/lib/autonomy/CollaborationProtocol.js +0 -122
  69. package/dist/infra/lib/autonomy/CollaborationProtocol.js.map +0 -1
  70. package/dist/infra/lib/autonomy/ConfirmationManager.d.ts +0 -42
  71. package/dist/infra/lib/autonomy/ConfirmationManager.d.ts.map +0 -1
  72. package/dist/infra/lib/autonomy/ConfirmationManager.js +0 -200
  73. package/dist/infra/lib/autonomy/ConfirmationManager.js.map +0 -1
  74. package/dist/infra/lib/autonomy/ConfirmationStore.d.ts +0 -55
  75. package/dist/infra/lib/autonomy/ConfirmationStore.d.ts.map +0 -1
  76. package/dist/infra/lib/autonomy/ConfirmationStore.js +0 -130
  77. package/dist/infra/lib/autonomy/ConfirmationStore.js.map +0 -1
  78. package/dist/infra/lib/autonomy/EventBus.d.ts +0 -20
  79. package/dist/infra/lib/autonomy/EventBus.d.ts.map +0 -1
  80. package/dist/infra/lib/autonomy/EventBus.js +0 -119
  81. package/dist/infra/lib/autonomy/EventBus.js.map +0 -1
  82. package/dist/infra/lib/autonomy/EventOutbox.d.ts +0 -32
  83. package/dist/infra/lib/autonomy/EventOutbox.d.ts.map +0 -1
  84. package/dist/infra/lib/autonomy/EventOutbox.js +0 -152
  85. package/dist/infra/lib/autonomy/EventOutbox.js.map +0 -1
  86. package/dist/infra/lib/autonomy/NotificationDispatcher.d.ts +0 -24
  87. package/dist/infra/lib/autonomy/NotificationDispatcher.d.ts.map +0 -1
  88. package/dist/infra/lib/autonomy/NotificationDispatcher.js +0 -112
  89. package/dist/infra/lib/autonomy/NotificationDispatcher.js.map +0 -1
  90. package/dist/infra/lib/autonomy/PolicyEngine.d.ts +0 -76
  91. package/dist/infra/lib/autonomy/PolicyEngine.d.ts.map +0 -1
  92. package/dist/infra/lib/autonomy/PolicyEngine.js +0 -208
  93. package/dist/infra/lib/autonomy/PolicyEngine.js.map +0 -1
  94. package/dist/infra/lib/autonomy/ProactiveAnalyzer.d.ts +0 -61
  95. package/dist/infra/lib/autonomy/ProactiveAnalyzer.d.ts.map +0 -1
  96. package/dist/infra/lib/autonomy/ProactiveAnalyzer.js +0 -236
  97. package/dist/infra/lib/autonomy/ProactiveAnalyzer.js.map +0 -1
  98. package/dist/infra/lib/autonomy/RiskClassifier.d.ts +0 -35
  99. package/dist/infra/lib/autonomy/RiskClassifier.d.ts.map +0 -1
  100. package/dist/infra/lib/autonomy/RiskClassifier.js +0 -147
  101. package/dist/infra/lib/autonomy/RiskClassifier.js.map +0 -1
  102. package/dist/infra/lib/autonomy/SecuritySentinel.d.ts +0 -51
  103. package/dist/infra/lib/autonomy/SecuritySentinel.d.ts.map +0 -1
  104. package/dist/infra/lib/autonomy/SecuritySentinel.js +0 -162
  105. package/dist/infra/lib/autonomy/SecuritySentinel.js.map +0 -1
  106. package/dist/infra/lib/autonomy/SuggestionStore.d.ts +0 -54
  107. package/dist/infra/lib/autonomy/SuggestionStore.d.ts.map +0 -1
  108. package/dist/infra/lib/autonomy/SuggestionStore.js +0 -144
  109. package/dist/infra/lib/autonomy/SuggestionStore.js.map +0 -1
  110. package/dist/infra/lib/autonomy/TaskDecomposer.d.ts +0 -38
  111. package/dist/infra/lib/autonomy/TaskDecomposer.d.ts.map +0 -1
  112. package/dist/infra/lib/autonomy/TaskDecomposer.js +0 -175
  113. package/dist/infra/lib/autonomy/TaskDecomposer.js.map +0 -1
  114. package/dist/infra/lib/autonomy/__tests__/audit-store.test.d.ts +0 -2
  115. package/dist/infra/lib/autonomy/__tests__/audit-store.test.d.ts.map +0 -1
  116. package/dist/infra/lib/autonomy/__tests__/audit-store.test.js +0 -198
  117. package/dist/infra/lib/autonomy/__tests__/audit-store.test.js.map +0 -1
  118. package/dist/infra/lib/autonomy/__tests__/event-bus.test.d.ts +0 -2
  119. package/dist/infra/lib/autonomy/__tests__/event-bus.test.d.ts.map +0 -1
  120. package/dist/infra/lib/autonomy/__tests__/event-bus.test.js +0 -225
  121. package/dist/infra/lib/autonomy/__tests__/event-bus.test.js.map +0 -1
  122. package/dist/infra/lib/autonomy/__tests__/event-core.test.d.ts +0 -2
  123. package/dist/infra/lib/autonomy/__tests__/event-core.test.d.ts.map +0 -1
  124. package/dist/infra/lib/autonomy/__tests__/event-core.test.js +0 -194
  125. package/dist/infra/lib/autonomy/__tests__/event-core.test.js.map +0 -1
  126. package/dist/infra/lib/autonomy/__tests__/governance.test.d.ts +0 -2
  127. package/dist/infra/lib/autonomy/__tests__/governance.test.d.ts.map +0 -1
  128. package/dist/infra/lib/autonomy/__tests__/governance.test.js +0 -540
  129. package/dist/infra/lib/autonomy/__tests__/governance.test.js.map +0 -1
  130. package/dist/infra/lib/autonomy/__tests__/integration.test.d.ts +0 -2
  131. package/dist/infra/lib/autonomy/__tests__/integration.test.d.ts.map +0 -1
  132. package/dist/infra/lib/autonomy/__tests__/integration.test.js +0 -480
  133. package/dist/infra/lib/autonomy/__tests__/integration.test.js.map +0 -1
  134. package/dist/infra/lib/autonomy/__tests__/proactive.test.d.ts +0 -2
  135. package/dist/infra/lib/autonomy/__tests__/proactive.test.d.ts.map +0 -1
  136. package/dist/infra/lib/autonomy/__tests__/proactive.test.js +0 -410
  137. package/dist/infra/lib/autonomy/__tests__/proactive.test.js.map +0 -1
  138. package/dist/infra/lib/autonomy/__tests__/sentinel.test.d.ts +0 -2
  139. package/dist/infra/lib/autonomy/__tests__/sentinel.test.d.ts.map +0 -1
  140. package/dist/infra/lib/autonomy/__tests__/sentinel.test.js +0 -486
  141. package/dist/infra/lib/autonomy/__tests__/sentinel.test.js.map +0 -1
  142. package/dist/infra/lib/autonomy/index.d.ts +0 -18
  143. package/dist/infra/lib/autonomy/index.d.ts.map +0 -1
  144. package/dist/infra/lib/autonomy/index.js +0 -22
  145. package/dist/infra/lib/autonomy/index.js.map +0 -1
  146. package/dist/infra/lib/autonomy/schemas.d.ts +0 -317
  147. package/dist/infra/lib/autonomy/schemas.d.ts.map +0 -1
  148. package/dist/infra/lib/autonomy/schemas.js +0 -90
  149. package/dist/infra/lib/autonomy/schemas.js.map +0 -1
  150. package/dist/infra/lib/claude/index.d.ts +0 -5
  151. package/dist/infra/lib/claude/index.d.ts.map +0 -1
  152. package/dist/infra/lib/claude/index.js +0 -5
  153. package/dist/infra/lib/claude/index.js.map +0 -1
  154. package/dist/infra/lib/claude/storage.d.ts +0 -12
  155. package/dist/infra/lib/claude/storage.d.ts.map +0 -1
  156. package/dist/infra/lib/claude/storage.js +0 -54
  157. package/dist/infra/lib/claude/storage.js.map +0 -1
  158. package/dist/infra/lib/gemini/auth.d.ts +0 -18
  159. package/dist/infra/lib/gemini/auth.d.ts.map +0 -1
  160. package/dist/infra/lib/gemini/auth.js +0 -32
  161. package/dist/infra/lib/gemini/auth.js.map +0 -1
  162. package/dist/infra/lib/gemini/capabilities.d.ts +0 -28
  163. package/dist/infra/lib/gemini/capabilities.d.ts.map +0 -1
  164. package/dist/infra/lib/gemini/capabilities.js +0 -178
  165. package/dist/infra/lib/gemini/capabilities.js.map +0 -1
  166. package/dist/infra/lib/gemini/chat.d.ts +0 -35
  167. package/dist/infra/lib/gemini/chat.d.ts.map +0 -1
  168. package/dist/infra/lib/gemini/chat.js +0 -161
  169. package/dist/infra/lib/gemini/chat.js.map +0 -1
  170. package/dist/infra/lib/gemini/completion.d.ts +0 -12
  171. package/dist/infra/lib/gemini/completion.d.ts.map +0 -1
  172. package/dist/infra/lib/gemini/completion.js +0 -13
  173. package/dist/infra/lib/gemini/completion.js.map +0 -1
  174. package/dist/infra/lib/gemini/constants.d.ts +0 -8
  175. package/dist/infra/lib/gemini/constants.d.ts.map +0 -1
  176. package/dist/infra/lib/gemini/constants.js +0 -11
  177. package/dist/infra/lib/gemini/constants.js.map +0 -1
  178. package/dist/infra/lib/gemini/index.d.ts +0 -13
  179. package/dist/infra/lib/gemini/index.d.ts.map +0 -1
  180. package/dist/infra/lib/gemini/index.js +0 -12
  181. package/dist/infra/lib/gemini/index.js.map +0 -1
  182. package/dist/infra/lib/gemini/models.d.ts +0 -11
  183. package/dist/infra/lib/gemini/models.d.ts.map +0 -1
  184. package/dist/infra/lib/gemini/models.js +0 -38
  185. package/dist/infra/lib/gemini/models.js.map +0 -1
  186. package/dist/infra/lib/gemini/orchestration.d.ts +0 -33
  187. package/dist/infra/lib/gemini/orchestration.d.ts.map +0 -1
  188. package/dist/infra/lib/gemini/orchestration.js +0 -62
  189. package/dist/infra/lib/gemini/orchestration.js.map +0 -1
  190. package/dist/infra/lib/gemini/types.d.ts +0 -115
  191. package/dist/infra/lib/gemini/types.d.ts.map +0 -1
  192. package/dist/infra/lib/gemini/types.js +0 -5
  193. package/dist/infra/lib/gemini/types.js.map +0 -1
  194. package/dist/infra/orchestrator/AgentAnnouncer.d.ts +0 -64
  195. package/dist/infra/orchestrator/AgentAnnouncer.d.ts.map +0 -1
  196. package/dist/infra/orchestrator/AgentAnnouncer.js +0 -127
  197. package/dist/infra/orchestrator/AgentAnnouncer.js.map +0 -1
  198. package/dist/infra/orchestrator/AgentAnnouncer.test.d.ts +0 -5
  199. package/dist/infra/orchestrator/AgentAnnouncer.test.d.ts.map +0 -1
  200. package/dist/infra/orchestrator/AgentAnnouncer.test.js +0 -119
  201. package/dist/infra/orchestrator/AgentAnnouncer.test.js.map +0 -1
  202. package/dist/infra/orchestrator/AgentExecutor.d.ts +0 -22
  203. package/dist/infra/orchestrator/AgentExecutor.d.ts.map +0 -1
  204. package/dist/infra/orchestrator/AgentExecutor.js +0 -272
  205. package/dist/infra/orchestrator/AgentExecutor.js.map +0 -1
  206. package/dist/infra/orchestrator/AgentManager.d.ts +0 -72
  207. package/dist/infra/orchestrator/AgentManager.d.ts.map +0 -1
  208. package/dist/infra/orchestrator/AgentManager.js +0 -183
  209. package/dist/infra/orchestrator/AgentManager.js.map +0 -1
  210. package/dist/infra/orchestrator/AgentManifestCache.d.ts +0 -54
  211. package/dist/infra/orchestrator/AgentManifestCache.d.ts.map +0 -1
  212. package/dist/infra/orchestrator/AgentManifestCache.js +0 -191
  213. package/dist/infra/orchestrator/AgentManifestCache.js.map +0 -1
  214. package/dist/infra/orchestrator/AgentRegistry.d.ts +0 -76
  215. package/dist/infra/orchestrator/AgentRegistry.d.ts.map +0 -1
  216. package/dist/infra/orchestrator/AgentRegistry.js +0 -217
  217. package/dist/infra/orchestrator/AgentRegistry.js.map +0 -1
  218. package/dist/infra/orchestrator/AgentRegistry.test.d.ts +0 -5
  219. package/dist/infra/orchestrator/AgentRegistry.test.d.ts.map +0 -1
  220. package/dist/infra/orchestrator/AgentRegistry.test.js +0 -122
  221. package/dist/infra/orchestrator/AgentRegistry.test.js.map +0 -1
  222. package/dist/infra/orchestrator/BackgroundManager.d.ts +0 -128
  223. package/dist/infra/orchestrator/BackgroundManager.d.ts.map +0 -1
  224. package/dist/infra/orchestrator/BackgroundManager.js +0 -620
  225. package/dist/infra/orchestrator/BackgroundManager.js.map +0 -1
  226. package/dist/infra/orchestrator/BackgroundManager.test.d.ts +0 -6
  227. package/dist/infra/orchestrator/BackgroundManager.test.d.ts.map +0 -1
  228. package/dist/infra/orchestrator/BackgroundManager.test.js +0 -162
  229. package/dist/infra/orchestrator/BackgroundManager.test.js.map +0 -1
  230. package/dist/infra/orchestrator/CheckpointManager.d.ts +0 -54
  231. package/dist/infra/orchestrator/CheckpointManager.d.ts.map +0 -1
  232. package/dist/infra/orchestrator/CheckpointManager.js +0 -121
  233. package/dist/infra/orchestrator/CheckpointManager.js.map +0 -1
  234. package/dist/infra/orchestrator/CodexAgentRuntime.d.ts +0 -12
  235. package/dist/infra/orchestrator/CodexAgentRuntime.d.ts.map +0 -1
  236. package/dist/infra/orchestrator/CodexAgentRuntime.js +0 -94
  237. package/dist/infra/orchestrator/CodexAgentRuntime.js.map +0 -1
  238. package/dist/infra/orchestrator/CodexAgentRuntime.test.d.ts +0 -2
  239. package/dist/infra/orchestrator/CodexAgentRuntime.test.d.ts.map +0 -1
  240. package/dist/infra/orchestrator/CodexAgentRuntime.test.js +0 -37
  241. package/dist/infra/orchestrator/CodexAgentRuntime.test.js.map +0 -1
  242. package/dist/infra/orchestrator/LLMCluster.d.ts +0 -82
  243. package/dist/infra/orchestrator/LLMCluster.d.ts.map +0 -1
  244. package/dist/infra/orchestrator/LLMCluster.js +0 -146
  245. package/dist/infra/orchestrator/LLMCluster.js.map +0 -1
  246. package/dist/infra/orchestrator/MultiLlmResearch.d.ts +0 -31
  247. package/dist/infra/orchestrator/MultiLlmResearch.d.ts.map +0 -1
  248. package/dist/infra/orchestrator/MultiLlmResearch.js +0 -160
  249. package/dist/infra/orchestrator/MultiLlmResearch.js.map +0 -1
  250. package/dist/infra/orchestrator/PhasePipeline.d.ts +0 -122
  251. package/dist/infra/orchestrator/PhasePipeline.d.ts.map +0 -1
  252. package/dist/infra/orchestrator/PhasePipeline.js +0 -385
  253. package/dist/infra/orchestrator/PhasePipeline.js.map +0 -1
  254. package/dist/infra/orchestrator/PhaseResultStore.d.ts +0 -39
  255. package/dist/infra/orchestrator/PhaseResultStore.d.ts.map +0 -1
  256. package/dist/infra/orchestrator/PhaseResultStore.js +0 -151
  257. package/dist/infra/orchestrator/PhaseResultStore.js.map +0 -1
  258. package/dist/infra/orchestrator/SessionStore.d.ts +0 -40
  259. package/dist/infra/orchestrator/SessionStore.d.ts.map +0 -1
  260. package/dist/infra/orchestrator/SessionStore.js +0 -116
  261. package/dist/infra/orchestrator/SessionStore.js.map +0 -1
  262. package/dist/infra/orchestrator/SmartRouter.d.ts +0 -90
  263. package/dist/infra/orchestrator/SmartRouter.d.ts.map +0 -1
  264. package/dist/infra/orchestrator/SmartRouter.js +0 -277
  265. package/dist/infra/orchestrator/SmartRouter.js.map +0 -1
  266. package/dist/infra/orchestrator/SmartRouter.test.d.ts +0 -5
  267. package/dist/infra/orchestrator/SmartRouter.test.d.ts.map +0 -1
  268. package/dist/infra/orchestrator/SmartRouter.test.js +0 -484
  269. package/dist/infra/orchestrator/SmartRouter.test.js.map +0 -1
  270. package/dist/infra/orchestrator/SwarmOrchestrator.d.ts +0 -143
  271. package/dist/infra/orchestrator/SwarmOrchestrator.d.ts.map +0 -1
  272. package/dist/infra/orchestrator/SwarmOrchestrator.js +0 -378
  273. package/dist/infra/orchestrator/SwarmOrchestrator.js.map +0 -1
  274. package/dist/infra/orchestrator/SwarmOrchestrator.test.d.ts +0 -5
  275. package/dist/infra/orchestrator/SwarmOrchestrator.test.d.ts.map +0 -1
  276. package/dist/infra/orchestrator/SwarmOrchestrator.test.js +0 -95
  277. package/dist/infra/orchestrator/SwarmOrchestrator.test.js.map +0 -1
  278. package/dist/infra/orchestrator/agentDiscovery.d.ts +0 -26
  279. package/dist/infra/orchestrator/agentDiscovery.d.ts.map +0 -1
  280. package/dist/infra/orchestrator/agentDiscovery.js +0 -175
  281. package/dist/infra/orchestrator/agentDiscovery.js.map +0 -1
  282. package/dist/infra/orchestrator/backgroundAgent.d.ts +0 -9
  283. package/dist/infra/orchestrator/backgroundAgent.d.ts.map +0 -1
  284. package/dist/infra/orchestrator/backgroundAgent.js +0 -10
  285. package/dist/infra/orchestrator/backgroundAgent.js.map +0 -1
  286. package/dist/infra/orchestrator/index.d.ts +0 -207
  287. package/dist/infra/orchestrator/index.d.ts.map +0 -1
  288. package/dist/infra/orchestrator/index.js +0 -362
  289. package/dist/infra/orchestrator/index.js.map +0 -1
  290. package/dist/infra/orchestrator/orchestrator.d.ts +0 -60
  291. package/dist/infra/orchestrator/orchestrator.d.ts.map +0 -1
  292. package/dist/infra/orchestrator/orchestrator.js +0 -214
  293. package/dist/infra/orchestrator/orchestrator.js.map +0 -1
  294. package/dist/infra/orchestrator/parallelResearch.d.ts +0 -27
  295. package/dist/infra/orchestrator/parallelResearch.d.ts.map +0 -1
  296. package/dist/infra/orchestrator/parallelResearch.js +0 -285
  297. package/dist/infra/orchestrator/parallelResearch.js.map +0 -1
  298. package/dist/infra/orchestrator/types.d.ts +0 -205
  299. package/dist/infra/orchestrator/types.d.ts.map +0 -1
  300. package/dist/infra/orchestrator/types.js +0 -87
  301. package/dist/infra/orchestrator/types.js.map +0 -1
  302. package/dist/infra/orchestrator/types.test.d.ts +0 -2
  303. package/dist/infra/orchestrator/types.test.d.ts.map +0 -1
  304. package/dist/infra/orchestrator/types.test.js +0 -57
  305. package/dist/infra/orchestrator/types.test.js.map +0 -1
  306. package/dist/tools/semantic/analyzeDependencyGraph.d.ts +0 -12
  307. package/dist/tools/semantic/analyzeDependencyGraph.d.ts.map +0 -1
  308. package/dist/tools/semantic/analyzeDependencyGraph.js +0 -359
  309. package/dist/tools/semantic/analyzeDependencyGraph.js.map +0 -1
  310. package/dist/tools/semantic/astGrep.d.ts +0 -25
  311. package/dist/tools/semantic/astGrep.d.ts.map +0 -1
  312. package/dist/tools/semantic/astGrep.js +0 -324
  313. package/dist/tools/semantic/astGrep.js.map +0 -1
  314. package/dist/tools/semantic/astGrep.test.d.ts +0 -2
  315. package/dist/tools/semantic/astGrep.test.d.ts.map +0 -1
  316. package/dist/tools/semantic/astGrep.test.js +0 -74
  317. package/dist/tools/semantic/astGrep.test.js.map +0 -1
  318. package/dist/tools/semantic/findReferences.d.ts +0 -9
  319. package/dist/tools/semantic/findReferences.d.ts.map +0 -1
  320. package/dist/tools/semantic/findReferences.js +0 -200
  321. package/dist/tools/semantic/findReferences.js.map +0 -1
  322. package/dist/tools/semantic/findSymbol.d.ts +0 -8
  323. package/dist/tools/semantic/findSymbol.d.ts.map +0 -1
  324. package/dist/tools/semantic/findSymbol.js +0 -204
  325. package/dist/tools/semantic/findSymbol.js.map +0 -1
  326. package/dist/tools/semantic/index.d.ts +0 -9
  327. package/dist/tools/semantic/index.d.ts.map +0 -1
  328. package/dist/tools/semantic/index.js +0 -11
  329. package/dist/tools/semantic/index.js.map +0 -1
  330. package/dist/tools/semantic/lsp.d.ts +0 -68
  331. package/dist/tools/semantic/lsp.d.ts.map +0 -1
  332. package/dist/tools/semantic/lsp.js +0 -561
  333. package/dist/tools/semantic/lsp.js.map +0 -1
  334. package/dist/tools/spec/e2eTestGenerator.d.ts +0 -61
  335. package/dist/tools/spec/e2eTestGenerator.d.ts.map +0 -1
  336. package/dist/tools/spec/e2eTestGenerator.js +0 -255
  337. package/dist/tools/spec/e2eTestGenerator.js.map +0 -1
  338. package/dist/tools/spec/specVersioning.d.ts +0 -76
  339. package/dist/tools/spec/specVersioning.d.ts.map +0 -1
  340. package/dist/tools/spec/specVersioning.js +0 -236
  341. package/dist/tools/spec/specVersioning.js.map +0 -1
@@ -1,486 +0,0 @@
1
- import { describe, it, expect, beforeEach, afterEach } from 'vitest';
2
- import { join } from 'path';
3
- import { tmpdir } from 'os';
4
- import { rmSync } from 'fs';
5
- import { MemoryStorage } from '../../memory/MemoryStorage.js';
6
- import { EventBus } from '../EventBus.js';
7
- import { AuditStore } from '../AuditStore.js';
8
- import { RiskClassifier } from '../RiskClassifier.js';
9
- import { PolicyEngine } from '../PolicyEngine.js';
10
- import { SecuritySentinel } from '../SecuritySentinel.js';
11
- import { isSentinelProtectedPath } from '../SecuritySentinel.js';
12
- let storage;
13
- let bus;
14
- let auditStore;
15
- let testDir;
16
- const asStorage = (s) => s;
17
- beforeEach(() => {
18
- testDir = join(tmpdir(), `sentinel-test-${Date.now()}-${Math.random().toString(36).slice(2)}`);
19
- storage = new MemoryStorage(testDir);
20
- bus = new EventBus();
21
- auditStore = new AuditStore(asStorage(storage));
22
- SecuritySentinel.resetInstance();
23
- });
24
- afterEach(() => {
25
- storage.close();
26
- try {
27
- rmSync(testDir, { recursive: true, force: true });
28
- }
29
- catch {
30
- // ignore cleanup errors on Windows
31
- }
32
- });
33
- function makeAction(overrides = {}) {
34
- return {
35
- agentId: 'test-agent',
36
- actionType: 'file_write',
37
- target: 'src/utils/helper.ts',
38
- params: {},
39
- ...overrides,
40
- };
41
- }
42
- // ══════════════════════════════════════════════════
43
- // Scenario 1: LOW 위험 행위 분류
44
- // ══════════════════════════════════════════════════
45
- describe('Scenario 1: RiskClassifier LOW classification', () => {
46
- it('should classify normal file_write as LOW', () => {
47
- const classifier = new RiskClassifier();
48
- const result = classifier.classify(makeAction());
49
- expect(result.riskLevel).toBe('LOW');
50
- expect(result.score).toBeGreaterThanOrEqual(0);
51
- expect(result.score).toBeLessThanOrEqual(33);
52
- });
53
- it('should classify external_api_call without auth as LOW', () => {
54
- const classifier = new RiskClassifier();
55
- const result = classifier.classify(makeAction({ actionType: 'external_api_call', target: 'https://api.example.com' }));
56
- expect(result.riskLevel).toBe('LOW');
57
- });
58
- it('should classify skill_generate without rule as LOW', () => {
59
- const classifier = new RiskClassifier();
60
- const result = classifier.classify(makeAction({ actionType: 'skill_generate', target: 'my-new-skill' }));
61
- expect(result.riskLevel).toBe('LOW');
62
- });
63
- });
64
- // ══════════════════════════════════════════════════
65
- // Scenario 2: 조건부 HIGH 위험 상승
66
- // ══════════════════════════════════════════════════
67
- describe('Scenario 2: RiskClassifier conditional HIGH escalation', () => {
68
- it('should classify force push as HIGH with factor', () => {
69
- const classifier = new RiskClassifier();
70
- const result = classifier.classify(makeAction({
71
- actionType: 'git_push',
72
- target: 'origin main --force',
73
- params: { force: true },
74
- }));
75
- expect(result.riskLevel).toBe('HIGH');
76
- expect(result.factors).toEqual(expect.arrayContaining([expect.stringContaining('orce push')]));
77
- });
78
- it('should classify security file write as HIGH', () => {
79
- const classifier = new RiskClassifier();
80
- const result = classifier.classify(makeAction({ target: 'src/auth/login.ts' }));
81
- expect(result.riskLevel).toBe('HIGH');
82
- });
83
- it('should classify dangerous bash command as HIGH', () => {
84
- const classifier = new RiskClassifier();
85
- const result = classifier.classify(makeAction({ actionType: 'bash_exec', target: 'rm -rf /tmp/data' }));
86
- expect(result.riskLevel).toBe('HIGH');
87
- });
88
- it('should classify external API call with auth credentials as HIGH', () => {
89
- const classifier = new RiskClassifier();
90
- const result = classifier.classify(makeAction({
91
- actionType: 'external_api_call',
92
- target: 'https://api.example.com',
93
- params: { headers: { Authorization: 'Bearer token123' } },
94
- }));
95
- expect(result.riskLevel).toBe('HIGH');
96
- });
97
- it('should classify config_modify with sentinel as HIGH', () => {
98
- const classifier = new RiskClassifier();
99
- const result = classifier.classify(makeAction({ actionType: 'config_modify', target: 'sentinel.rules' }));
100
- expect(result.riskLevel).toBe('HIGH');
101
- });
102
- it('should classify sentinel file write as HIGH with blocked', () => {
103
- const classifier = new RiskClassifier();
104
- const result = classifier.classify(makeAction({ target: 'src/lib/autonomy/SecuritySentinel.ts' }));
105
- expect(result.riskLevel).toBe('HIGH');
106
- expect(result.score).toBe(100);
107
- expect(result.blocked).toBe(true);
108
- });
109
- it('should classify skill_generate with rule as MEDIUM', () => {
110
- const classifier = new RiskClassifier();
111
- const result = classifier.classify(makeAction({ actionType: 'skill_generate', target: 'new-rule-generator' }));
112
- expect(result.riskLevel).toBe('MEDIUM');
113
- });
114
- });
115
- // ══════════════════════════════════════════════════
116
- // MEDIUM 기본 분류
117
- // ══════════════════════════════════════════════════
118
- describe('RiskClassifier MEDIUM classification', () => {
119
- it('should classify file_delete as MEDIUM', () => {
120
- const classifier = new RiskClassifier();
121
- const result = classifier.classify(makeAction({ actionType: 'file_delete', target: 'src/old-file.ts' }));
122
- expect(result.riskLevel).toBe('MEDIUM');
123
- });
124
- it('should classify bash_exec (safe command) as MEDIUM', () => {
125
- const classifier = new RiskClassifier();
126
- const result = classifier.classify(makeAction({ actionType: 'bash_exec', target: 'echo hello' }));
127
- expect(result.riskLevel).toBe('MEDIUM');
128
- });
129
- it('should classify dependency_install as MEDIUM', () => {
130
- const classifier = new RiskClassifier();
131
- const result = classifier.classify(makeAction({ actionType: 'dependency_install', target: 'lodash' }));
132
- expect(result.riskLevel).toBe('MEDIUM');
133
- });
134
- it('should classify mass delete (5+) as HIGH', () => {
135
- const classifier = new RiskClassifier();
136
- const result = classifier.classify(makeAction({ actionType: 'file_delete', target: 'src/old-file.ts' }), { recentDeleteCount: 5 });
137
- expect(result.riskLevel).toBe('HIGH');
138
- });
139
- });
140
- // ══════════════════════════════════════════════════
141
- // Custom rules
142
- // ══════════════════════════════════════════════════
143
- describe('RiskClassifier custom rules', () => {
144
- it('should apply custom rule override', () => {
145
- const classifier = new RiskClassifier([
146
- { actionType: 'file_write', targetPattern: '\\.test\\.ts$', riskLevel: 'HIGH' },
147
- ]);
148
- const result = classifier.classify(makeAction({ target: 'src/utils/helper.test.ts' }));
149
- expect(result.riskLevel).toBe('HIGH');
150
- expect(result.factors[0]).toContain('Custom rule');
151
- });
152
- it('should fallback to default when custom rule does not match', () => {
153
- const classifier = new RiskClassifier([
154
- { actionType: 'file_write', targetPattern: '\\.test\\.ts$', riskLevel: 'HIGH' },
155
- ]);
156
- const result = classifier.classify(makeAction());
157
- expect(result.riskLevel).toBe('LOW');
158
- });
159
- it('should skip invalid custom rules', () => {
160
- const classifier = new RiskClassifier([
161
- { actionType: '', riskLevel: 'LOW' },
162
- ]);
163
- const result = classifier.classify(makeAction());
164
- expect(result.riskLevel).toBe('LOW');
165
- });
166
- });
167
- // ══════════════════════════════════════════════════
168
- // Input sanitization
169
- // ══════════════════════════════════════════════════
170
- describe('RiskClassifier input sanitization', () => {
171
- it('should strip control characters from input', () => {
172
- const classifier = new RiskClassifier();
173
- const result = classifier.classify(makeAction({
174
- agentId: 'test\u0000agent',
175
- target: 'src/\u001Futils/helper.ts',
176
- }));
177
- expect(result.riskLevel).toBe('LOW');
178
- });
179
- });
180
- // ══════════════════════════════════════════════════
181
- // Scenario 3: PolicyEngine 기본 정책 평가
182
- // ══════════════════════════════════════════════════
183
- describe('Scenario 3: PolicyEngine evaluation', () => {
184
- it('should load 5 default policies', () => {
185
- const engine = new PolicyEngine(asStorage(storage));
186
- expect(engine.getPolicyCount()).toBe(5);
187
- });
188
- it('should block force push via deny-force-push policy', () => {
189
- const engine = new PolicyEngine(asStorage(storage));
190
- const action = makeAction({
191
- actionType: 'git_push',
192
- target: 'origin main',
193
- params: { force: true },
194
- });
195
- const risk = {
196
- riskLevel: 'HIGH',
197
- score: 80,
198
- factors: ['Force push detected'],
199
- reasoning: 'Git force push',
200
- };
201
- const decision = engine.evaluate(action, risk);
202
- expect(decision.allowed).toBe(false);
203
- expect(decision.matchedPolicies).toContain('deny-force-push');
204
- });
205
- it('should block sentinel file modification via deny-sentinel-modify', () => {
206
- const engine = new PolicyEngine(asStorage(storage));
207
- const action = makeAction({ target: 'src/lib/autonomy/EventBus.ts' });
208
- const risk = {
209
- riskLevel: 'HIGH',
210
- score: 100,
211
- factors: [],
212
- reasoning: 'Sentinel file',
213
- };
214
- const decision = engine.evaluate(action, risk);
215
- expect(decision.allowed).toBe(false);
216
- expect(decision.matchedPolicies).toContain('deny-sentinel-modify');
217
- });
218
- it('should require confirmation for high-risk actions', () => {
219
- const engine = new PolicyEngine(asStorage(storage));
220
- const action = makeAction({
221
- actionType: 'bash_exec',
222
- target: 'npm install some-pkg',
223
- });
224
- const risk = {
225
- riskLevel: 'HIGH',
226
- score: 80,
227
- factors: [],
228
- reasoning: 'High risk bash',
229
- };
230
- const decision = engine.evaluate(action, risk);
231
- expect(decision.allowed).toBe(false);
232
- expect(decision.requiredAction).toBe('confirm');
233
- expect(decision.matchedPolicies).toContain('require-approval-high-risk');
234
- });
235
- it('should allow low-risk actions', () => {
236
- const engine = new PolicyEngine(asStorage(storage));
237
- const action = makeAction();
238
- const risk = {
239
- riskLevel: 'LOW',
240
- score: 15,
241
- factors: [],
242
- reasoning: 'Standard file write',
243
- };
244
- const decision = engine.evaluate(action, risk);
245
- expect(decision.allowed).toBe(true);
246
- expect(decision.matchedPolicies).toContain('audit-all-actions');
247
- });
248
- it('should prioritize deny over require-approval', () => {
249
- const engine = new PolicyEngine(asStorage(storage));
250
- const action = makeAction({
251
- actionType: 'file_delete',
252
- target: 'src/old.ts',
253
- });
254
- const risk = {
255
- riskLevel: 'HIGH',
256
- score: 80,
257
- factors: ['Mass delete'],
258
- reasoning: 'Mass deletion',
259
- };
260
- const decision = engine.evaluate(action, risk);
261
- expect(decision.allowed).toBe(false);
262
- expect(decision.requiredAction).toBe('block');
263
- });
264
- });
265
- // ══════════════════════════════════════════════════
266
- // Scenario 9: 커스텀 정책 오버라이드
267
- // ══════════════════════════════════════════════════
268
- describe('Scenario 9: Custom policy override', () => {
269
- it('should add and evaluate custom policies', () => {
270
- const engine = new PolicyEngine(asStorage(storage));
271
- engine.addPolicy({
272
- name: 'deny-test-files',
273
- description: 'Block writing to test files',
274
- rules: [
275
- { field: 'target', operator: 'matches', value: '\\.test\\.ts$' },
276
- ],
277
- action: 'block',
278
- priority: 200,
279
- });
280
- const action = makeAction({ target: 'src/utils/helper.test.ts' });
281
- const risk = {
282
- riskLevel: 'LOW',
283
- score: 15,
284
- factors: [],
285
- reasoning: 'Standard',
286
- };
287
- const decision = engine.evaluate(action, risk);
288
- expect(decision.allowed).toBe(false);
289
- expect(decision.matchedPolicies).toContain('deny-test-files');
290
- });
291
- it('should respect custom policy priority alongside defaults', () => {
292
- const engine = new PolicyEngine(asStorage(storage));
293
- expect(engine.getPolicyCount()).toBe(5);
294
- engine.addPolicy({
295
- name: 'custom-allow-test',
296
- rules: [],
297
- action: 'allow',
298
- priority: 0,
299
- });
300
- expect(engine.getPolicyCount()).toBe(6);
301
- });
302
- });
303
- // ══════════════════════════════════════════════════
304
- // Scenario 4: SecuritySentinel intercept 성능
305
- // ══════════════════════════════════════════════════
306
- describe('Scenario 4: SecuritySentinel intercept performance', () => {
307
- it('should complete intercept within 10ms on average', () => {
308
- bus.on('policy_check', () => { });
309
- bus.on('error', () => { });
310
- const sentinel = SecuritySentinel.getInstance({
311
- storage: asStorage(storage),
312
- eventBus: bus,
313
- auditStore,
314
- projectRoot: testDir,
315
- });
316
- const actions = Array.from({ length: 100 }, (_, i) => makeAction({ agentId: `agent-${i}`, target: `src/utils/file-${i}.ts` }));
317
- const start = performance.now();
318
- for (const action of actions) {
319
- sentinel.intercept(action);
320
- }
321
- const elapsed = performance.now() - start;
322
- const avgMs = elapsed / 100;
323
- expect(avgMs).toBeLessThan(10);
324
- });
325
- });
326
- // ══════════════════════════════════════════════════
327
- // Scenario 5: Sentinel 파일 보호
328
- // ══════════════════════════════════════════════════
329
- describe('Scenario 5: Sentinel file protection', () => {
330
- it('should block modification of src/lib/autonomy/ files', () => {
331
- const sentinel = SecuritySentinel.getInstance({
332
- storage: asStorage(storage),
333
- eventBus: bus,
334
- auditStore,
335
- projectRoot: testDir,
336
- });
337
- const result = sentinel.intercept(makeAction({ target: 'src/lib/autonomy/SecuritySentinel.ts' }));
338
- expect(result.allowed).toBe(false);
339
- expect(result.policyDecision.reason).toContain('Sentinel files are protected');
340
- });
341
- it('should block path traversal attempts targeting sentinel', () => {
342
- const sentinel = SecuritySentinel.getInstance({
343
- storage: asStorage(storage),
344
- eventBus: bus,
345
- auditStore,
346
- projectRoot: testDir,
347
- });
348
- const result = sentinel.intercept(makeAction({ target: '../other-project/../vibe/src/lib/autonomy/EventBus.ts' }));
349
- // Path normalization should resolve this outside project or to sentinel path
350
- expect(result.allowed).toBe(false);
351
- });
352
- it('should allow modification of non-sentinel files', () => {
353
- bus.on('policy_check', () => { });
354
- const sentinel = SecuritySentinel.getInstance({
355
- storage: asStorage(storage),
356
- eventBus: bus,
357
- auditStore,
358
- projectRoot: testDir,
359
- });
360
- const result = sentinel.intercept(makeAction({ target: 'src/utils/helper.ts' }));
361
- expect(result.allowed).toBe(true);
362
- });
363
- it('isSentinelProtectedPath should detect sentinel paths', () => {
364
- expect(isSentinelProtectedPath('src/lib/autonomy/EventBus.ts')).toBe(true);
365
- expect(isSentinelProtectedPath('src/lib/autonomy/foo/bar.ts')).toBe(true);
366
- expect(isSentinelProtectedPath('src/utils/helper.ts')).toBe(false);
367
- expect(isSentinelProtectedPath('./src/lib/autonomy/test.ts')).toBe(true);
368
- });
369
- });
370
- // ══════════════════════════════════════════════════
371
- // Scenario 7: 차단 사유 메시지
372
- // ══════════════════════════════════════════════════
373
- describe('Scenario 7: Block reason messages', () => {
374
- it('should include specific reason for sentinel file block', () => {
375
- const sentinel = SecuritySentinel.getInstance({
376
- storage: asStorage(storage),
377
- eventBus: bus,
378
- auditStore,
379
- projectRoot: testDir,
380
- });
381
- const result = sentinel.intercept(makeAction({ target: 'src/lib/autonomy/index.ts' }));
382
- expect(result.allowed).toBe(false);
383
- expect(result.policyDecision.reason).toContain('Sentinel files are protected');
384
- });
385
- it('should include matched policy names in decision', () => {
386
- bus.on('policy_check', () => { });
387
- const sentinel = SecuritySentinel.getInstance({
388
- storage: asStorage(storage),
389
- eventBus: bus,
390
- auditStore,
391
- projectRoot: testDir,
392
- });
393
- const result = sentinel.intercept(makeAction({
394
- actionType: 'git_push',
395
- target: 'origin main',
396
- params: { force: true },
397
- }));
398
- expect(result.allowed).toBe(false);
399
- expect(result.policyDecision.matchedPolicies.length).toBeGreaterThan(0);
400
- });
401
- });
402
- // ══════════════════════════════════════════════════
403
- // Scenario 8: 모든 행위 감사 기록
404
- // ══════════════════════════════════════════════════
405
- describe('Scenario 8: All actions audited', () => {
406
- it('should record allowed actions in audit store', () => {
407
- bus.on('policy_check', () => { });
408
- const sentinel = SecuritySentinel.getInstance({
409
- storage: asStorage(storage),
410
- eventBus: bus,
411
- auditStore,
412
- projectRoot: testDir,
413
- });
414
- const result = sentinel.intercept(makeAction());
415
- expect(result.auditId).toBeDefined();
416
- const records = auditStore.query({ eventType: 'policy_check' });
417
- expect(records.length).toBeGreaterThanOrEqual(1);
418
- const found = records.find((r) => r.id === result.auditId);
419
- expect(found).toBeDefined();
420
- expect(found.outcome).toBe('allowed');
421
- });
422
- it('should record blocked actions in audit store', () => {
423
- const sentinel = SecuritySentinel.getInstance({
424
- storage: asStorage(storage),
425
- eventBus: bus,
426
- auditStore,
427
- projectRoot: testDir,
428
- });
429
- const result = sentinel.intercept(makeAction({ target: 'src/lib/autonomy/test.ts' }));
430
- expect(result.auditId).toBeDefined();
431
- const records = auditStore.query({ eventType: 'policy_check' });
432
- const found = records.find((r) => r.id === result.auditId);
433
- expect(found).toBeDefined();
434
- expect(found.outcome).toBe('blocked');
435
- });
436
- it('should emit policy_check event on EventBus', () => {
437
- const events = [];
438
- bus.on('policy_check', (event) => { events.push(event); });
439
- const sentinel = SecuritySentinel.getInstance({
440
- storage: asStorage(storage),
441
- eventBus: bus,
442
- auditStore,
443
- projectRoot: testDir,
444
- });
445
- sentinel.intercept(makeAction());
446
- expect(events.length).toBeGreaterThanOrEqual(1);
447
- });
448
- });
449
- // ══════════════════════════════════════════════════
450
- // SecuritySentinel immutability
451
- // ══════════════════════════════════════════════════
452
- describe('SecuritySentinel immutability', () => {
453
- it('should return true for isImmutable()', () => {
454
- const sentinel = SecuritySentinel.getInstance({
455
- storage: asStorage(storage),
456
- eventBus: bus,
457
- auditStore,
458
- projectRoot: testDir,
459
- });
460
- expect(sentinel.isImmutable()).toBe(true);
461
- });
462
- it('should return sentinel file list', () => {
463
- const sentinel = SecuritySentinel.getInstance({
464
- storage: asStorage(storage),
465
- eventBus: bus,
466
- auditStore,
467
- projectRoot: testDir,
468
- });
469
- const files = sentinel.getSentinelFiles();
470
- expect(files.length).toBeGreaterThan(0);
471
- expect(files).toContain('src/lib/autonomy/SecuritySentinel.ts');
472
- });
473
- });
474
- // ══════════════════════════════════════════════════
475
- // Module exports
476
- // ══════════════════════════════════════════════════
477
- describe('Phase 2 module exports', () => {
478
- it('should export all Phase 2 classes', async () => {
479
- const mod = await import('../index.js');
480
- expect(mod.RiskClassifier).toBeDefined();
481
- expect(mod.PolicyEngine).toBeDefined();
482
- expect(mod.SecuritySentinel).toBeDefined();
483
- expect(mod.isSentinelProtectedPath).toBeDefined();
484
- });
485
- });
486
- //# sourceMappingURL=sentinel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CAAC,CAAC,WAAW,EAAE,CAAC;IACpD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,18 +0,0 @@
1
- export { EventBus, type EventListener } from './EventBus.js';
2
- export { AuditStore, type AuditEventRow, type AuditQueryFilters, type AuditStats, type AuditRecordInput, } from './AuditStore.js';
3
- export { EventOutbox } from './EventOutbox.js';
4
- export { RiskLevel, ActionType, OutcomeType, ConfirmationStatus, AgentActionEventSchema, PolicyCheckEventSchema, RiskAssessedEventSchema, ConfirmationEventSchema, AuditLogEventSchema, ErrorEventSchema, EventSchemaMap, type AutonomyEventType, type EventPayload, type EventInput, type EnrichedEvent, type AgentActionEvent, type PolicyCheckEvent, type RiskAssessedEvent, type ConfirmationEvent, type AuditLogEvent, type ErrorEvent, } from './schemas.js';
5
- export { RiskClassifier, type RiskAssessment, type ClassificationContext, type CustomRiskRule, } from './RiskClassifier.js';
6
- export { PolicyEngine, type PolicyRule, type PolicyAction, type PolicyDecision, type PolicyRow, } from './PolicyEngine.js';
7
- export { SecuritySentinel, isSentinelProtectedPath, type InterceptResult, type SentinelDeps, } from './SecuritySentinel.js';
8
- export { ConfirmationStore, InvalidTransitionError, type ConfirmationRow, type CreateConfirmationInput, } from './ConfirmationStore.js';
9
- export { ConfirmationManager, type ConfirmationResult, } from './ConfirmationManager.js';
10
- export { NotificationDispatcher, type NotificationChannel, type NotificationResult, } from './NotificationDispatcher.js';
11
- export { SuggestionStore, type SuggestionRow, type SuggestionType, type CreateSuggestionInput, type SuggestionStats, } from './SuggestionStore.js';
12
- export { ProactiveAnalyzer, SecurityScanner, PerformanceDetector, QualityChecker, DependencyMonitor, type AnalysisModule, type AnalysisContext, type AnalysisTrigger, type Suggestion, } from './ProactiveAnalyzer.js';
13
- export { BackgroundMonitor } from './BackgroundMonitor.js';
14
- export { TaskDecomposer, CircularDependencyError, type DecomposedTask, type TaskStep, type StepType, type StepStatus, type Complexity, } from './TaskDecomposer.js';
15
- export { CollaborationProtocol, MessageSizeError, AgentTimeoutError, type AgentMessage, type MessageType, type AgentRole, type AgentAssignment, type HandoffContext, type HandoffResult, } from './CollaborationProtocol.js';
16
- export { AutonomyOrchestrator, type AutonomyMode, type StepResult, type ExecutionResult, type TaskProgress, type StepExecutor, type OrchestratorDeps, } from './AutonomyOrchestrator.js';
17
- export { SentinelConfigSchema, AutonomyConfigSchema, FullConfigSchema, AutonomyModeEnum, loadConfig, getDefaultConfig, type SentinelConfig, type AutonomyConfig, type FullConfig, } from './AutonomyConfig.js';
18
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/infra/lib/autonomy/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,EACL,UAAU,EACV,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,UAAU,EACf,KAAK,gBAAgB,GACtB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EACL,SAAS,EACT,UAAU,EACV,WAAW,EACX,kBAAkB,EAClB,sBAAsB,EACtB,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACvB,mBAAmB,EACnB,gBAAgB,EAChB,cAAc,EACd,KAAK,iBAAiB,EACtB,KAAK,YAAY,EACjB,KAAK,UAAU,EACf,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,UAAU,GAChB,MAAM,cAAc,CAAC;AAGtB,OAAO,EACL,cAAc,EACd,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,cAAc,GACpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,YAAY,EACZ,KAAK,UAAU,EACf,KAAK,YAAY,EACjB,K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,YAAY,EACjB,KAAK,gBAAgB,GACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,EAChB,UAAU,EACV,gBAAgB,EAChB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,UAAU,GAChB,MAAM,qBAAqB,CAAC"}
@@ -1,22 +0,0 @@
1
- export { EventBus } from './EventBus.js';
2
- export { AuditStore, } from './AuditStore.js';
3
- export { EventOutbox } from './EventOutbox.js';
4
- export { RiskLevel, ActionType, OutcomeType, ConfirmationStatus, AgentActionEventSchema, PolicyCheckEventSchema, RiskAssessedEventSchema, ConfirmationEventSchema, AuditLogEventSchema, ErrorEventSchema, EventSchemaMap, } from './schemas.js';
5
- // Phase 2: Security Sentinel
6
- export { RiskClassifier, } from './RiskClassifier.js';
7
- export { PolicyEngine, } from './PolicyEngine.js';
8
- export { SecuritySentinel, isSentinelProtectedPath, } from './SecuritySentinel.js';
9
- // Phase 3: Owner Governance
10
- export { ConfirmationStore, InvalidTransitionError, } from './ConfirmationStore.js';
11
- export { ConfirmationManager, } from './ConfirmationManager.js';
12
- export { NotificationDispatcher, } from './NotificationDispatcher.js';
13
- // Phase 4: Proactive Intelligence
14
- export { SuggestionStore, } from './SuggestionStore.js';
15
- export { ProactiveAnalyzer, SecurityScanner, PerformanceDetector, QualityChecker, DependencyMonitor, } from './ProactiveAnalyzer.js';
16
- export { BackgroundMonitor } from './BackgroundMonitor.js';
17
- // Phase 5: Agent Collaboration
18
- export { TaskDecomposer, CircularDependencyError, } from './TaskDecomposer.js';
19
- export { CollaborationProtocol, MessageSizeError, AgentTimeoutError, } from './CollaborationProtocol.js';
20
- export { AutonomyOrchestrator, } from './AutonomyOrchestrator.js';
21
- export { SentinelConfigSchema, AutonomyConfigSchema, FullConfigSchema, AutonomyModeEnum, loadConfig, getDefaultConfig, } from './AutonomyConfig.js';
22
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/infra/lib/autonomy/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAsB,MAAM,eAAe,CAAC;AAC7D,OAAO,EACL,UAAU,GAKX,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EACL,SAAS,EACT,UAAU,EACV,WAAW,EACX,kBAAkB,EAClB,sBAAsB,EACtB,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACvB,mBAAmB,EACnB,gBAAgB,EAChB,cAAc,GAWf,MAAM,cAAc,CAAC;AAEtB,6BAA6B;AAC7B,OAAO,EACL,cAAc,GAIf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,YAAY,GAKb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,gBAAgB,EAChB,uBAAuB,GAGxB,MAAM,uBAAuB,CAAC;AAE/B,4BAA4B;AAC5B,OAAO,EACL,iBAAiB,EACjB,sBAAsB,GAGvB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,mBAAmB,GAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,sBAAsB,GAGvB,MAAM,6BAA6B,CAAC;AAErC,kCAAkC;AAClC,OAAO,EACL,eAAe,GAKhB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,cAAc,EACd,iBAAiB,GAKlB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,+BAA+B;AAC/B,OAAO,EACL,cAAc,EACd,uBAAuB,GAMxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EAChB,iBAAiB,GAOlB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,oBAAoB,GAOrB,MAAM,2BAA2B,CAAC;AACnC,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