@evolith/smart-cli 0.0.3-beta → 1.1.1

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 (496) hide show
  1. package/ARCHITECTURE.md +1 -1
  2. package/LICENSE +21 -0
  3. package/README.es.md +81 -17
  4. package/README.md +930 -158
  5. package/dist/app.module.js +81 -6
  6. package/dist/app.module.js.map +1 -1
  7. package/dist/commands/adr/adr.command.d.ts +9 -3
  8. package/dist/commands/adr/adr.command.js +82 -88
  9. package/dist/commands/adr/adr.command.js.map +1 -1
  10. package/dist/commands/agents/agents.command.d.ts +14 -0
  11. package/dist/commands/agents/agents.command.js +61 -0
  12. package/dist/commands/agents/agents.command.js.map +1 -0
  13. package/dist/commands/agents/index.d.ts +1 -0
  14. package/dist/commands/agents/index.js +6 -0
  15. package/dist/commands/agents/index.js.map +1 -0
  16. package/dist/commands/alias/alias.command.d.ts +16 -0
  17. package/dist/commands/alias/alias.command.js +95 -0
  18. package/dist/commands/alias/alias.command.js.map +1 -0
  19. package/dist/commands/api/api.catalog.d.ts +38 -0
  20. package/dist/commands/api/api.catalog.js +167 -0
  21. package/dist/commands/api/api.catalog.js.map +1 -0
  22. package/dist/commands/api/api.command.d.ts +21 -0
  23. package/dist/commands/api/api.command.js +162 -0
  24. package/dist/commands/api/api.command.js.map +1 -0
  25. package/dist/commands/architecture/scaffold/index.d.ts +2 -0
  26. package/dist/commands/architecture/scaffold/index.js +6 -0
  27. package/dist/commands/architecture/scaffold/index.js.map +1 -0
  28. package/dist/commands/architecture/scaffold/scaffold-strategy.d.ts +15 -0
  29. package/dist/commands/architecture/scaffold/scaffold-strategy.js +20 -0
  30. package/dist/commands/architecture/scaffold/scaffold-strategy.js.map +1 -0
  31. package/dist/commands/architecture/scaffold.command.d.ts +12 -3
  32. package/dist/commands/architecture/scaffold.command.js +210 -51
  33. package/dist/commands/architecture/scaffold.command.js.map +1 -1
  34. package/dist/commands/completion/completion.command.d.ts +12 -4
  35. package/dist/commands/completion/completion.command.js +159 -53
  36. package/dist/commands/completion/completion.command.js.map +1 -1
  37. package/dist/commands/docs/docs.command.d.ts +6 -3
  38. package/dist/commands/docs/docs.command.js +75 -16
  39. package/dist/commands/docs/docs.command.js.map +1 -1
  40. package/dist/commands/drift/drift.command.d.ts +7 -3
  41. package/dist/commands/drift/drift.command.js +82 -49
  42. package/dist/commands/drift/drift.command.js.map +1 -1
  43. package/dist/commands/fixtures/fixtures.command.d.ts +21 -0
  44. package/dist/commands/fixtures/fixtures.command.js +310 -0
  45. package/dist/commands/fixtures/fixtures.command.js.map +1 -0
  46. package/dist/commands/gate/gate.command.d.ts +29 -0
  47. package/dist/commands/gate/gate.command.js +193 -0
  48. package/dist/commands/gate/gate.command.js.map +1 -0
  49. package/dist/commands/history/history.command.d.ts +3 -3
  50. package/dist/commands/history/history.command.js +24 -55
  51. package/dist/commands/history/history.command.js.map +1 -1
  52. package/dist/commands/init/agents.command.d.ts +6 -4
  53. package/dist/commands/init/agents.command.js +142 -314
  54. package/dist/commands/init/agents.command.js.map +1 -1
  55. package/dist/commands/init/init.command.d.ts +9 -3
  56. package/dist/commands/init/init.command.js +39 -198
  57. package/dist/commands/init/init.command.js.map +1 -1
  58. package/dist/commands/init/init.wizard.d.ts +19 -0
  59. package/dist/commands/init/init.wizard.js +181 -0
  60. package/dist/commands/init/init.wizard.js.map +1 -0
  61. package/dist/commands/init/upgrade.command.d.ts +6 -3
  62. package/dist/commands/init/upgrade.command.js +34 -66
  63. package/dist/commands/init/upgrade.command.js.map +1 -1
  64. package/dist/commands/mcp/mcp-serve.command.d.ts +7 -5
  65. package/dist/commands/mcp/mcp-serve.command.js +84 -37
  66. package/dist/commands/mcp/mcp-serve.command.js.map +1 -1
  67. package/dist/commands/phase/phase-advance.command.d.ts +30 -0
  68. package/dist/commands/phase/phase-advance.command.js +206 -0
  69. package/dist/commands/phase/phase-advance.command.js.map +1 -0
  70. package/dist/commands/profile/profile.command.d.ts +18 -0
  71. package/dist/commands/profile/profile.command.js +198 -0
  72. package/dist/commands/profile/profile.command.js.map +1 -0
  73. package/dist/commands/sdlc/gate-status.command.d.ts +8 -3
  74. package/dist/commands/sdlc/gate-status.command.js +114 -66
  75. package/dist/commands/sdlc/gate-status.command.js.map +1 -1
  76. package/dist/commands/sdlc/generate-domain.command.d.ts +6 -3
  77. package/dist/commands/sdlc/generate-domain.command.js +126 -16
  78. package/dist/commands/sdlc/generate-domain.command.js.map +1 -1
  79. package/dist/commands/sdlc/handoff.command.d.ts +9 -4
  80. package/dist/commands/sdlc/handoff.command.js +106 -104
  81. package/dist/commands/sdlc/handoff.command.js.map +1 -1
  82. package/dist/commands/sdlc/sdlc.command.d.ts +4 -3
  83. package/dist/commands/sdlc/sdlc.command.js +17 -9
  84. package/dist/commands/sdlc/sdlc.command.js.map +1 -1
  85. package/dist/commands/standards/standards.command.d.ts +6 -3
  86. package/dist/commands/standards/standards.command.js +52 -77
  87. package/dist/commands/standards/standards.command.js.map +1 -1
  88. package/dist/commands/update/update.command.d.ts +21 -0
  89. package/dist/commands/update/update.command.js +214 -0
  90. package/dist/commands/update/update.command.js.map +1 -0
  91. package/dist/commands/upgrade/index.d.ts +1 -0
  92. package/dist/commands/upgrade/index.js +6 -0
  93. package/dist/commands/upgrade/index.js.map +1 -0
  94. package/dist/commands/upgrade/upgrade.command.d.ts +14 -0
  95. package/dist/commands/upgrade/upgrade.command.js +58 -0
  96. package/dist/commands/upgrade/upgrade.command.js.map +1 -0
  97. package/dist/commands/validate/validate.command.d.ts +24 -4
  98. package/dist/commands/validate/validate.command.js +309 -65
  99. package/dist/commands/validate/validate.command.js.map +1 -1
  100. package/dist/config/alias.service.d.ts +14 -0
  101. package/dist/{core/sync/sync.service.js → config/alias.service.js} +54 -32
  102. package/dist/config/alias.service.js.map +1 -0
  103. package/dist/contributions/contribution-validator.d.ts +16 -0
  104. package/dist/contributions/contribution-validator.js +34 -0
  105. package/dist/contributions/contribution-validator.js.map +1 -0
  106. package/dist/contributions/index.d.ts +1 -0
  107. package/dist/contributions/index.js +6 -0
  108. package/dist/contributions/index.js.map +1 -0
  109. package/dist/{domain/services → infrastructure/adapters}/agent-registry.service.d.ts +6 -2
  110. package/dist/{domain/services → infrastructure/adapters}/agent-registry.service.js +33 -10
  111. package/dist/infrastructure/adapters/agent-registry.service.js.map +1 -0
  112. package/dist/{core → infrastructure}/architecture/nx-workspace.strategy.d.ts +9 -1
  113. package/dist/infrastructure/architecture/nx-workspace.strategy.js +125 -0
  114. package/dist/infrastructure/architecture/nx-workspace.strategy.js.map +1 -0
  115. package/dist/infrastructure/catalog/catalog-loader.d.ts +1 -2
  116. package/dist/infrastructure/catalog/catalog-loader.js +14 -5
  117. package/dist/infrastructure/catalog/catalog-loader.js.map +1 -1
  118. package/dist/infrastructure/cli/base-command.d.ts +14 -0
  119. package/dist/infrastructure/cli/base-command.js +41 -0
  120. package/dist/infrastructure/cli/base-command.js.map +1 -0
  121. package/dist/infrastructure/cli/command-executor.d.ts +1 -1
  122. package/dist/infrastructure/cli/command-executor.js +4 -3
  123. package/dist/infrastructure/cli/command-executor.js.map +1 -1
  124. package/dist/infrastructure/config/config.service.d.ts +34 -0
  125. package/dist/infrastructure/config/config.service.js +126 -0
  126. package/dist/infrastructure/config/config.service.js.map +1 -0
  127. package/dist/infrastructure/filesystem/file-manager.service.d.ts +12 -0
  128. package/dist/{core → infrastructure}/filesystem/file-manager.service.js +8 -25
  129. package/dist/infrastructure/filesystem/file-manager.service.js.map +1 -0
  130. package/dist/infrastructure/formatters/output-formatter.service.js +2 -1
  131. package/dist/infrastructure/formatters/output-formatter.service.js.map +1 -1
  132. package/dist/{core → infrastructure}/observability/command-watcher.js +31 -0
  133. package/dist/infrastructure/observability/command-watcher.js.map +1 -0
  134. package/dist/{core → infrastructure}/observability/error-reporter.js +5 -5
  135. package/dist/infrastructure/observability/error-reporter.js.map +1 -0
  136. package/dist/infrastructure/observability/index.d.ts +11 -0
  137. package/dist/{core → infrastructure}/observability/index.js +8 -1
  138. package/dist/infrastructure/observability/index.js.map +1 -0
  139. package/dist/infrastructure/observability/otel-tracing.d.ts +4 -0
  140. package/dist/infrastructure/observability/otel-tracing.js +34 -0
  141. package/dist/infrastructure/observability/otel-tracing.js.map +1 -0
  142. package/dist/infrastructure/observability/structured-logger.js.map +1 -0
  143. package/dist/infrastructure/observability/timing.js.map +1 -0
  144. package/dist/infrastructure/observability/tool-usage-telemetry.service.js.map +1 -0
  145. package/dist/infrastructure/plugins/plugin-loader.d.ts +10 -0
  146. package/dist/infrastructure/plugins/plugin-loader.js +145 -0
  147. package/dist/infrastructure/plugins/plugin-loader.js.map +1 -0
  148. package/dist/infrastructure/plugins/plugin.module.d.ts +4 -0
  149. package/dist/infrastructure/plugins/plugin.module.js +28 -0
  150. package/dist/infrastructure/plugins/plugin.module.js.map +1 -0
  151. package/dist/infrastructure/prompts/init-prompt-group.d.ts +3 -0
  152. package/dist/infrastructure/prompts/init-prompt-group.js +115 -0
  153. package/dist/infrastructure/prompts/init-prompt-group.js.map +1 -0
  154. package/dist/infrastructure/prompts/init-prompt-options.d.ts +10 -0
  155. package/dist/infrastructure/prompts/init-prompt-options.js +40 -0
  156. package/dist/infrastructure/prompts/init-prompt-options.js.map +1 -0
  157. package/dist/infrastructure/prompts/progress.service.d.ts +24 -0
  158. package/dist/infrastructure/prompts/progress.service.js +180 -0
  159. package/dist/infrastructure/prompts/progress.service.js.map +1 -0
  160. package/dist/infrastructure/prompts/prompt.service.d.ts +42 -0
  161. package/dist/infrastructure/prompts/prompt.service.js +142 -0
  162. package/dist/infrastructure/prompts/prompt.service.js.map +1 -0
  163. package/dist/infrastructure/prompts/wizard.service.d.ts +27 -0
  164. package/dist/infrastructure/prompts/wizard.service.js +163 -0
  165. package/dist/infrastructure/prompts/wizard.service.js.map +1 -0
  166. package/dist/{core/abstractions → infrastructure}/providers/config-parser.provider.d.ts +1 -1
  167. package/dist/infrastructure/providers/config-parser.provider.js.map +1 -0
  168. package/dist/{core/abstractions → infrastructure}/providers/logger.provider.d.ts +1 -1
  169. package/dist/infrastructure/providers/logger.provider.js.map +1 -0
  170. package/dist/{core/abstractions → infrastructure}/providers/mock-filesystem.provider.d.ts +6 -2
  171. package/dist/{core/abstractions → infrastructure}/providers/mock-filesystem.provider.js +8 -1
  172. package/dist/infrastructure/providers/mock-filesystem.provider.js.map +1 -0
  173. package/dist/{core/abstractions → infrastructure}/providers/node-filesystem.provider.d.ts +6 -2
  174. package/dist/{core/abstractions → infrastructure}/providers/node-filesystem.provider.js +13 -0
  175. package/dist/infrastructure/providers/node-filesystem.provider.js.map +1 -0
  176. package/dist/main.js +18 -1
  177. package/dist/main.js.map +1 -1
  178. package/dist/plugins/index.d.ts +1 -0
  179. package/dist/plugins/index.js +6 -0
  180. package/dist/plugins/index.js.map +1 -0
  181. package/dist/plugins/plugin-registry.d.ts +22 -0
  182. package/dist/plugins/plugin-registry.js +33 -0
  183. package/dist/plugins/plugin-registry.js.map +1 -0
  184. package/package.json +53 -26
  185. package/shell/hooks.bash +68 -0
  186. package/shell/hooks.fish +57 -0
  187. package/shell/hooks.zsh +68 -0
  188. package/dist/app.module.spec.d.ts +0 -1
  189. package/dist/app.module.spec.js +0 -305
  190. package/dist/app.module.spec.js.map +0 -1
  191. package/dist/application/services/index.d.ts +0 -63
  192. package/dist/application/services/index.js +0 -345
  193. package/dist/application/services/index.js.map +0 -1
  194. package/dist/application/services/phase-transition.use-case.spec.d.ts +0 -1
  195. package/dist/application/services/phase-transition.use-case.spec.js +0 -297
  196. package/dist/application/services/phase-transition.use-case.spec.js.map +0 -1
  197. package/dist/application/services/services.test.d.ts +0 -1
  198. package/dist/application/services/services.test.js +0 -176
  199. package/dist/application/services/services.test.js.map +0 -1
  200. package/dist/application/use-cases/validate-satellite.use-case.d.ts +0 -18
  201. package/dist/application/use-cases/validate-satellite.use-case.js +0 -92
  202. package/dist/application/use-cases/validate-satellite.use-case.js.map +0 -1
  203. package/dist/application/use-cases/validate-satellite.use-case.spec.d.ts +0 -1
  204. package/dist/application/use-cases/validate-satellite.use-case.spec.js +0 -102
  205. package/dist/application/use-cases/validate-satellite.use-case.spec.js.map +0 -1
  206. package/dist/commands/adr/adr.command.spec.d.ts +0 -1
  207. package/dist/commands/adr/adr.command.spec.js +0 -409
  208. package/dist/commands/adr/adr.command.spec.js.map +0 -1
  209. package/dist/commands/architecture/scaffold.command.spec.d.ts +0 -1
  210. package/dist/commands/architecture/scaffold.command.spec.js +0 -207
  211. package/dist/commands/architecture/scaffold.command.spec.js.map +0 -1
  212. package/dist/commands/commands.test.d.ts +0 -1
  213. package/dist/commands/commands.test.js +0 -131
  214. package/dist/commands/commands.test.js.map +0 -1
  215. package/dist/commands/completion/completion.command.spec.d.ts +0 -1
  216. package/dist/commands/completion/completion.command.spec.js +0 -240
  217. package/dist/commands/completion/completion.command.spec.js.map +0 -1
  218. package/dist/commands/docs/docs.command.spec.d.ts +0 -1
  219. package/dist/commands/docs/docs.command.spec.js +0 -87
  220. package/dist/commands/docs/docs.command.spec.js.map +0 -1
  221. package/dist/commands/drift/drift.command.spec.d.ts +0 -1
  222. package/dist/commands/drift/drift.command.spec.js +0 -327
  223. package/dist/commands/drift/drift.command.spec.js.map +0 -1
  224. package/dist/commands/history/history.command.spec.d.ts +0 -1
  225. package/dist/commands/history/history.command.spec.js +0 -392
  226. package/dist/commands/history/history.command.spec.js.map +0 -1
  227. package/dist/commands/init/agents.command.spec.d.ts +0 -1
  228. package/dist/commands/init/agents.command.spec.js +0 -550
  229. package/dist/commands/init/agents.command.spec.js.map +0 -1
  230. package/dist/commands/init/init.command.spec.d.ts +0 -1
  231. package/dist/commands/init/init.command.spec.js +0 -272
  232. package/dist/commands/init/init.command.spec.js.map +0 -1
  233. package/dist/commands/init/upgrade.command.spec.d.ts +0 -1
  234. package/dist/commands/init/upgrade.command.spec.js +0 -378
  235. package/dist/commands/init/upgrade.command.spec.js.map +0 -1
  236. package/dist/commands/mcp/mcp-serve.command.spec.d.ts +0 -1
  237. package/dist/commands/mcp/mcp-serve.command.spec.js +0 -58
  238. package/dist/commands/mcp/mcp-serve.command.spec.js.map +0 -1
  239. package/dist/commands/sdlc/generate-domain.command.spec.d.ts +0 -1
  240. package/dist/commands/sdlc/generate-domain.command.spec.js +0 -47
  241. package/dist/commands/sdlc/generate-domain.command.spec.js.map +0 -1
  242. package/dist/commands/sdlc/handoff.command.spec.d.ts +0 -1
  243. package/dist/commands/sdlc/handoff.command.spec.js +0 -395
  244. package/dist/commands/sdlc/handoff.command.spec.js.map +0 -1
  245. package/dist/commands/sdlc/sdlc.command.spec.d.ts +0 -1
  246. package/dist/commands/sdlc/sdlc.command.spec.js +0 -45
  247. package/dist/commands/sdlc/sdlc.command.spec.js.map +0 -1
  248. package/dist/commands/standards/standards.command.spec.d.ts +0 -1
  249. package/dist/commands/standards/standards.command.spec.js +0 -311
  250. package/dist/commands/standards/standards.command.spec.js.map +0 -1
  251. package/dist/commands/validate/validate.command.spec.d.ts +0 -1
  252. package/dist/commands/validate/validate.command.spec.js +0 -368
  253. package/dist/commands/validate/validate.command.spec.js.map +0 -1
  254. package/dist/config/runtimes.json +0 -196
  255. package/dist/config/tool-catalog.json +0 -343
  256. package/dist/core/abstractions/index.d.ts +0 -6
  257. package/dist/core/abstractions/index.js +0 -23
  258. package/dist/core/abstractions/index.js.map +0 -1
  259. package/dist/core/abstractions/interfaces.d.ts +0 -60
  260. package/dist/core/abstractions/interfaces.js +0 -5
  261. package/dist/core/abstractions/interfaces.js.map +0 -1
  262. package/dist/core/abstractions/providers/config-parser.provider.js.map +0 -1
  263. package/dist/core/abstractions/providers/logger.provider.js.map +0 -1
  264. package/dist/core/abstractions/providers/logger.provider.spec.d.ts +0 -1
  265. package/dist/core/abstractions/providers/logger.provider.spec.js +0 -212
  266. package/dist/core/abstractions/providers/logger.provider.spec.js.map +0 -1
  267. package/dist/core/abstractions/providers/mock-filesystem.provider.js.map +0 -1
  268. package/dist/core/abstractions/providers/node-filesystem.provider.js.map +0 -1
  269. package/dist/core/agents/agent-ruleset-builder.d.ts +0 -30
  270. package/dist/core/agents/agent-ruleset-builder.js +0 -75
  271. package/dist/core/agents/agent-ruleset-builder.js.map +0 -1
  272. package/dist/core/agents/agent-ruleset-builder.spec.d.ts +0 -1
  273. package/dist/core/agents/agent-ruleset-builder.spec.js +0 -135
  274. package/dist/core/agents/agent-ruleset-builder.spec.js.map +0 -1
  275. package/dist/core/architecture/nx-workspace.strategy.js +0 -107
  276. package/dist/core/architecture/nx-workspace.strategy.js.map +0 -1
  277. package/dist/core/architecture/workspace-manager.strategy.d.ts +0 -7
  278. package/dist/core/architecture/workspace-manager.strategy.js +0 -3
  279. package/dist/core/architecture/workspace-manager.strategy.js.map +0 -1
  280. package/dist/core/config/config.service.d.ts +0 -15
  281. package/dist/core/config/config.service.js +0 -55
  282. package/dist/core/config/config.service.js.map +0 -1
  283. package/dist/core/config/config.service.spec.d.ts +0 -1
  284. package/dist/core/config/config.service.spec.js +0 -43
  285. package/dist/core/config/config.service.spec.js.map +0 -1
  286. package/dist/core/di/container.d.ts +0 -25
  287. package/dist/core/di/container.js +0 -87
  288. package/dist/core/di/container.js.map +0 -1
  289. package/dist/core/di/container.spec.d.ts +0 -1
  290. package/dist/core/di/container.spec.js +0 -301
  291. package/dist/core/di/container.spec.js.map +0 -1
  292. package/dist/core/errors/index.d.ts +0 -26
  293. package/dist/core/errors/index.js +0 -67
  294. package/dist/core/errors/index.js.map +0 -1
  295. package/dist/core/filesystem/file-manager.service.d.ts +0 -4
  296. package/dist/core/filesystem/file-manager.service.js.map +0 -1
  297. package/dist/core/filesystem/file-manager.service.spec.d.ts +0 -1
  298. package/dist/core/filesystem/file-manager.service.spec.js +0 -103
  299. package/dist/core/filesystem/file-manager.service.spec.js.map +0 -1
  300. package/dist/core/mcp/mcp-server.service.d.ts +0 -7
  301. package/dist/core/mcp/mcp-server.service.js +0 -31
  302. package/dist/core/mcp/mcp-server.service.js.map +0 -1
  303. package/dist/core/mcp/metrics.service.d.ts +0 -37
  304. package/dist/core/mcp/metrics.service.js +0 -72
  305. package/dist/core/mcp/metrics.service.js.map +0 -1
  306. package/dist/core/mcp/metrics.service.spec.d.ts +0 -1
  307. package/dist/core/mcp/metrics.service.spec.js +0 -159
  308. package/dist/core/mcp/metrics.service.spec.js.map +0 -1
  309. package/dist/core/mcp/prompts/index.d.ts +0 -22
  310. package/dist/core/mcp/prompts/index.js +0 -211
  311. package/dist/core/mcp/prompts/index.js.map +0 -1
  312. package/dist/core/mcp/prompts/index.spec.d.ts +0 -1
  313. package/dist/core/mcp/prompts/index.spec.js +0 -150
  314. package/dist/core/mcp/prompts/index.spec.js.map +0 -1
  315. package/dist/core/mcp/resources/index.d.ts +0 -11
  316. package/dist/core/mcp/resources/index.js +0 -209
  317. package/dist/core/mcp/resources/index.js.map +0 -1
  318. package/dist/core/mcp/resources/index.spec.d.ts +0 -1
  319. package/dist/core/mcp/resources/index.spec.js +0 -212
  320. package/dist/core/mcp/resources/index.spec.js.map +0 -1
  321. package/dist/core/mcp/server.d.ts +0 -31
  322. package/dist/core/mcp/server.js +0 -719
  323. package/dist/core/mcp/server.js.map +0 -1
  324. package/dist/core/mcp/server.spec.d.ts +0 -1
  325. package/dist/core/mcp/server.spec.js +0 -563
  326. package/dist/core/mcp/server.spec.js.map +0 -1
  327. package/dist/core/mcp/tools/agent.d.ts +0 -41
  328. package/dist/core/mcp/tools/agent.js +0 -195
  329. package/dist/core/mcp/tools/agent.js.map +0 -1
  330. package/dist/core/mcp/tools/agent.spec.d.ts +0 -1
  331. package/dist/core/mcp/tools/agent.spec.js +0 -171
  332. package/dist/core/mcp/tools/agent.spec.js.map +0 -1
  333. package/dist/core/mcp/tools/architecture.d.ts +0 -29
  334. package/dist/core/mcp/tools/architecture.js +0 -234
  335. package/dist/core/mcp/tools/architecture.js.map +0 -1
  336. package/dist/core/mcp/tools/architecture.spec.d.ts +0 -1
  337. package/dist/core/mcp/tools/architecture.spec.js +0 -145
  338. package/dist/core/mcp/tools/architecture.spec.js.map +0 -1
  339. package/dist/core/mcp/tools/moscow.d.ts +0 -30
  340. package/dist/core/mcp/tools/moscow.js +0 -113
  341. package/dist/core/mcp/tools/moscow.js.map +0 -1
  342. package/dist/core/mcp/tools/moscow.spec.d.ts +0 -1
  343. package/dist/core/mcp/tools/moscow.spec.js +0 -209
  344. package/dist/core/mcp/tools/moscow.spec.js.map +0 -1
  345. package/dist/core/mcp/tools/sdlc.d.ts +0 -32
  346. package/dist/core/mcp/tools/sdlc.js +0 -190
  347. package/dist/core/mcp/tools/sdlc.js.map +0 -1
  348. package/dist/core/mcp/tools/sdlc.spec.d.ts +0 -1
  349. package/dist/core/mcp/tools/sdlc.spec.js +0 -170
  350. package/dist/core/mcp/tools/sdlc.spec.js.map +0 -1
  351. package/dist/core/mcp/tools/tool-utils.d.ts +0 -4
  352. package/dist/core/mcp/tools/tool-utils.js +0 -18
  353. package/dist/core/mcp/tools/tool-utils.js.map +0 -1
  354. package/dist/core/mcp/tools/validate.d.ts +0 -18
  355. package/dist/core/mcp/tools/validate.js +0 -56
  356. package/dist/core/mcp/tools/validate.js.map +0 -1
  357. package/dist/core/mcp/tools/validate.spec.d.ts +0 -1
  358. package/dist/core/mcp/tools/validate.spec.js +0 -130
  359. package/dist/core/mcp/tools/validate.spec.js.map +0 -1
  360. package/dist/core/mcp/watcher.service.d.ts +0 -8
  361. package/dist/core/mcp/watcher.service.js +0 -82
  362. package/dist/core/mcp/watcher.service.js.map +0 -1
  363. package/dist/core/mcp/watcher.service.spec.d.ts +0 -1
  364. package/dist/core/mcp/watcher.service.spec.js +0 -171
  365. package/dist/core/mcp/watcher.service.spec.js.map +0 -1
  366. package/dist/core/observability/command-watcher.js.map +0 -1
  367. package/dist/core/observability/error-reporter.js.map +0 -1
  368. package/dist/core/observability/error-reporter.spec.d.ts +0 -1
  369. package/dist/core/observability/error-reporter.spec.js +0 -291
  370. package/dist/core/observability/error-reporter.spec.js.map +0 -1
  371. package/dist/core/observability/index.d.ts +0 -4
  372. package/dist/core/observability/index.js.map +0 -1
  373. package/dist/core/observability/observability.test.d.ts +0 -1
  374. package/dist/core/observability/observability.test.js +0 -224
  375. package/dist/core/observability/observability.test.js.map +0 -1
  376. package/dist/core/observability/structured-logger.js.map +0 -1
  377. package/dist/core/observability/structured-logger.spec.d.ts +0 -1
  378. package/dist/core/observability/structured-logger.spec.js +0 -197
  379. package/dist/core/observability/structured-logger.spec.js.map +0 -1
  380. package/dist/core/observability/timing.js.map +0 -1
  381. package/dist/core/observability/timing.spec.d.ts +0 -1
  382. package/dist/core/observability/timing.spec.js +0 -216
  383. package/dist/core/observability/timing.spec.js.map +0 -1
  384. package/dist/core/services/command-executor.service.d.ts +0 -3
  385. package/dist/core/services/command-executor.service.js +0 -12
  386. package/dist/core/services/command-executor.service.js.map +0 -1
  387. package/dist/core/services/command-history.service.d.ts +0 -38
  388. package/dist/core/services/command-history.service.js +0 -146
  389. package/dist/core/services/command-history.service.js.map +0 -1
  390. package/dist/core/services/command-history.service.spec.d.ts +0 -1
  391. package/dist/core/services/command-history.service.spec.js +0 -166
  392. package/dist/core/services/command-history.service.spec.js.map +0 -1
  393. package/dist/core/services/command-providers.d.ts +0 -1
  394. package/dist/core/services/command-providers.js +0 -17
  395. package/dist/core/services/command-providers.js.map +0 -1
  396. package/dist/core/services/runtime-catalog.service.d.ts +0 -2
  397. package/dist/core/services/runtime-catalog.service.js +0 -7
  398. package/dist/core/services/runtime-catalog.service.js.map +0 -1
  399. package/dist/core/sync/sync.service.d.ts +0 -4
  400. package/dist/core/sync/sync.service.js.map +0 -1
  401. package/dist/core/sync/sync.service.spec.d.ts +0 -1
  402. package/dist/core/sync/sync.service.spec.js +0 -63
  403. package/dist/core/sync/sync.service.spec.js.map +0 -1
  404. package/dist/core/upgrade/satellite-upgrade.service.d.ts +0 -48
  405. package/dist/core/upgrade/satellite-upgrade.service.js +0 -358
  406. package/dist/core/upgrade/satellite-upgrade.service.js.map +0 -1
  407. package/dist/core/upgrade/satellite-upgrade.service.spec.d.ts +0 -1
  408. package/dist/core/upgrade/satellite-upgrade.service.spec.js +0 -163
  409. package/dist/core/upgrade/satellite-upgrade.service.spec.js.map +0 -1
  410. package/dist/core/validators/architecture-drift.service.d.ts +0 -68
  411. package/dist/core/validators/architecture-drift.service.js +0 -266
  412. package/dist/core/validators/architecture-drift.service.js.map +0 -1
  413. package/dist/core/validators/architecture-drift.service.spec.d.ts +0 -1
  414. package/dist/core/validators/architecture-drift.service.spec.js +0 -315
  415. package/dist/core/validators/architecture-drift.service.spec.js.map +0 -1
  416. package/dist/core/validators/deep-architecture-analyzer.d.ts +0 -58
  417. package/dist/core/validators/deep-architecture-analyzer.js +0 -333
  418. package/dist/core/validators/deep-architecture-analyzer.js.map +0 -1
  419. package/dist/core/validators/deep-architecture-analyzer.spec.d.ts +0 -1
  420. package/dist/core/validators/deep-architecture-analyzer.spec.js +0 -216
  421. package/dist/core/validators/deep-architecture-analyzer.spec.js.map +0 -1
  422. package/dist/core/validators/phase-gate-validator.service.d.ts +0 -71
  423. package/dist/core/validators/phase-gate-validator.service.js +0 -273
  424. package/dist/core/validators/phase-gate-validator.service.js.map +0 -1
  425. package/dist/core/validators/phase-gate-validator.service.spec.d.ts +0 -1
  426. package/dist/core/validators/phase-gate-validator.service.spec.js +0 -326
  427. package/dist/core/validators/phase-gate-validator.service.spec.js.map +0 -1
  428. package/dist/core/validators/ruleset-validator-architecture.spec.d.ts +0 -1
  429. package/dist/core/validators/ruleset-validator-architecture.spec.js +0 -178
  430. package/dist/core/validators/ruleset-validator-architecture.spec.js.map +0 -1
  431. package/dist/core/validators/ruleset-validator.service.d.ts +0 -80
  432. package/dist/core/validators/ruleset-validator.service.js +0 -657
  433. package/dist/core/validators/ruleset-validator.service.js.map +0 -1
  434. package/dist/core/validators/ruleset-validator.service.spec.d.ts +0 -1
  435. package/dist/core/validators/ruleset-validator.service.spec.js +0 -469
  436. package/dist/core/validators/ruleset-validator.service.spec.js.map +0 -1
  437. package/dist/domain/entities/index.d.ts +0 -72
  438. package/dist/domain/entities/index.js +0 -119
  439. package/dist/domain/entities/index.js.map +0 -1
  440. package/dist/domain/interfaces.d.ts +0 -224
  441. package/dist/domain/interfaces.js +0 -3
  442. package/dist/domain/interfaces.js.map +0 -1
  443. package/dist/domain/services/adr.service.d.ts +0 -50
  444. package/dist/domain/services/adr.service.js +0 -125
  445. package/dist/domain/services/adr.service.js.map +0 -1
  446. package/dist/domain/services/adr.service.spec.d.ts +0 -1
  447. package/dist/domain/services/adr.service.spec.js +0 -141
  448. package/dist/domain/services/adr.service.spec.js.map +0 -1
  449. package/dist/domain/services/agent-registry.service.js.map +0 -1
  450. package/dist/domain/services/agent-registry.service.spec.d.ts +0 -1
  451. package/dist/domain/services/agent-registry.service.spec.js +0 -162
  452. package/dist/domain/services/agent-registry.service.spec.js.map +0 -1
  453. package/dist/domain/services/index.d.ts +0 -34
  454. package/dist/domain/services/index.js +0 -128
  455. package/dist/domain/services/index.js.map +0 -1
  456. package/dist/domain/services/moscow-prioritization.service.d.ts +0 -44
  457. package/dist/domain/services/moscow-prioritization.service.js +0 -213
  458. package/dist/domain/services/moscow-prioritization.service.js.map +0 -1
  459. package/dist/domain/services/moscow-prioritization.service.spec.d.ts +0 -1
  460. package/dist/domain/services/moscow-prioritization.service.spec.js +0 -285
  461. package/dist/domain/services/moscow-prioritization.service.spec.js.map +0 -1
  462. package/dist/domain/services/services.test.d.ts +0 -1
  463. package/dist/domain/services/services.test.js +0 -236
  464. package/dist/domain/services/services.test.js.map +0 -1
  465. package/dist/domain/services/standards.service.d.ts +0 -47
  466. package/dist/domain/services/standards.service.js +0 -129
  467. package/dist/domain/services/standards.service.js.map +0 -1
  468. package/dist/domain/services/standards.service.spec.d.ts +0 -1
  469. package/dist/domain/services/standards.service.spec.js +0 -600
  470. package/dist/domain/services/standards.service.spec.js.map +0 -1
  471. package/dist/domain/services/tool-usage-telemetry.service.js.map +0 -1
  472. package/dist/domain/services/tool-usage-telemetry.service.spec.d.ts +0 -1
  473. package/dist/domain/services/tool-usage-telemetry.service.spec.js +0 -180
  474. package/dist/domain/services/tool-usage-telemetry.service.spec.js.map +0 -1
  475. package/dist/infrastructure/catalog/catalog-loader.test.d.ts +0 -1
  476. package/dist/infrastructure/catalog/catalog-loader.test.js +0 -184
  477. package/dist/infrastructure/catalog/catalog-loader.test.js.map +0 -1
  478. package/dist/infrastructure/cli/command-executor.test.d.ts +0 -1
  479. package/dist/infrastructure/cli/command-executor.test.js +0 -98
  480. package/dist/infrastructure/cli/command-executor.test.js.map +0 -1
  481. package/dist/infrastructure/formatters/output-formatter.service.spec.d.ts +0 -1
  482. package/dist/infrastructure/formatters/output-formatter.service.spec.js +0 -164
  483. package/dist/infrastructure/formatters/output-formatter.service.spec.js.map +0 -1
  484. package/dist/test/mocks/index.d.ts +0 -44
  485. package/dist/test/mocks/index.js +0 -135
  486. package/dist/test/mocks/index.js.map +0 -1
  487. /package/dist/{core → infrastructure}/observability/command-watcher.d.ts +0 -0
  488. /package/dist/{core → infrastructure}/observability/error-reporter.d.ts +0 -0
  489. /package/dist/{core → infrastructure}/observability/structured-logger.d.ts +0 -0
  490. /package/dist/{core → infrastructure}/observability/structured-logger.js +0 -0
  491. /package/dist/{core → infrastructure}/observability/timing.d.ts +0 -0
  492. /package/dist/{core → infrastructure}/observability/timing.js +0 -0
  493. /package/dist/{domain/services → infrastructure/observability}/tool-usage-telemetry.service.d.ts +0 -0
  494. /package/dist/{domain/services → infrastructure/observability}/tool-usage-telemetry.service.js +0 -0
  495. /package/dist/{core/abstractions → infrastructure}/providers/config-parser.provider.js +0 -0
  496. /package/dist/{core/abstractions → infrastructure}/providers/logger.provider.js +0 -0
package/ARCHITECTURE.md CHANGED
@@ -696,4 +696,4 @@ agents:
696
696
 
697
697
  - [MCP Integration Guide](./docs/MCP-INTEGRATION.md)
698
698
  - [Command Reference](./docs/planning/cli-command-catalog.md)
699
- - [ADR-0069: MCP Server Protocol Implementation](../../reference/architecture/adrs/core/0069-mcp-server-protocol-implementation.md)
699
+ - [ADR-0069: MCP Server Protocol Implementation](../../reference/architecture/adrs/core/0069-ai-agent-context-protocol-integration.md)
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 BeyondNet Code
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.es.md CHANGED
@@ -11,13 +11,27 @@ Interfaz de línea de comandos para gobernanza, validación de estándares e int
11
11
 
12
12
  ## Instalación
13
13
 
14
- ### npm (Recomendado)
14
+ El CLI se publica en npm registry y es compatible con todos los gestores de paquetes JavaScript.
15
+
16
+ ### npm
15
17
 
16
18
  ```bash
17
19
  npm install -g @evolith/smart-cli
18
20
  ```
19
21
 
20
- ### Manual
22
+ ### pnpm
23
+
24
+ ```bash
25
+ pnpm add -g @evolith/smart-cli
26
+ ```
27
+
28
+ ### yarn
29
+
30
+ ```bash
31
+ yarn global add @evolith/smart-cli
32
+ ```
33
+
34
+ ### Binario Manual
21
35
 
22
36
  Descarga el binario más reciente desde [GitHub Releases](https://github.com/beyondnetcode/evolith_arch32/releases) y agrégalo a tu PATH.
23
37
 
@@ -25,7 +39,21 @@ Descarga el binario más reciente desde [GitHub Releases](https://github.com/bey
25
39
 
26
40
  ```bash
27
41
  smart-cli --version
28
- # smart-cli version 0.0.1-beta
42
+ # smart-cli version 1.1.0
43
+ ```
44
+
45
+ ### Solución de Problemas
46
+
47
+ **Errores de permisos en macOS/Linux:**
48
+ ```bash
49
+ # Si obtienes errores EACCES, intenta:
50
+ sudo npm install -g @evolith/smart-cli --unsafe-perm
51
+ ```
52
+
53
+ **Usando nvm (Node Version Manager):**
54
+ ```bash
55
+ # Asegúrate de que el path global esté en PATH
56
+ export PATH=$(npm config get prefix)/bin:$PATH
29
57
  ```
30
58
 
31
59
  ## Inicio Rápido
@@ -73,8 +101,12 @@ Opciones:
73
101
  --format <formato> Formato de salida: json, table, yaml, markdown
74
102
  --output <archivo> Escribir salida a archivo
75
103
  --ruleset <id> Validar ruleset específico (acl, open-core, inheritance)
104
+ --engine <engine> Motor de evaluación de políticas: native u opa (por defecto: native)
76
105
  ```
77
106
 
107
+ **Evaluación de Políticas Dual-Engine:**
108
+ La CLI soporta la evaluación de políticas utilizando el motor integrado en TypeScript (`native`) o módulos WebAssembly de Open Policy Agent (`opa`). Ver [Core ADR-0041](../../reference/architecture/adrs/core/0041-dual-engine-policy-evaluation.es.md) para más detalles.
109
+
78
110
  **Ejemplos:**
79
111
 
80
112
  ```bash
@@ -229,6 +261,16 @@ smart-cli mcp serve
229
261
 
230
262
  El servidor se comunica vía stdio JSON-RPC.
231
263
 
264
+ ### Smoke Test MCP
265
+
266
+ Usar el smoke test antes de releases o cambios de protocolo MCP:
267
+
268
+ ```bash
269
+ npm run mcp:smoke
270
+ ```
271
+
272
+ El smoke verifica `initialize`, `tools/list`, `resources/list`, `prompts/list` y una llamada real `tools/call` mediante la CLI compilada.
273
+
232
274
  También puedes iniciar en modo HTTP:
233
275
 
234
276
  ```bash
@@ -243,12 +285,21 @@ smart-cli mcp serve --transport http --port 3000
243
285
  | `evolith-agent-install` | Instalar nuevo agente |
244
286
  | `evolith-agent-list` | Listar agentes instalados |
245
287
  | `evolith-agent-validate` | Validar ruleset del agente |
246
- | `evolith-architecture-validate` | Validar arquitectura |
247
- | `evolith-sdlc-handoff` | Generar transición de fase |
248
- | `evolith-sdlc-status` | Mostrar estado de fase SDLC |
249
- | `evolith-config-get` | Obtener valor de configuración |
250
- | `evolith-config-set` | Establecer valor de configuración |
288
+ | `evolith-agent-upgrade` | Actualizar un agente existente |
289
+ | `evolith-agent-remove` | Eliminar un agente |
290
+ | `evolith-architecture-validate` | Validar arquitectura (F1/F2/F3) con análisis profundo opcional |
291
+ | `evolith-sdlc-handoff` | Generar manifiesto de artefactos de transición de fase |
292
+ | `evolith-sdlc-status` | Mostrar estado de phase gate SDLC |
293
+ | `evolith-config-get` | Obtener valor de configuración de `evolith.yaml` |
294
+ | `evolith-config-set` | Establecer valor de configuración en `evolith.yaml` |
251
295
  | `evolith-metrics` | Obtener métricas del servidor MCP |
296
+ | `evolith-moscow-create` | Crear un nuevo análisis de priorización MoSCoW |
297
+ | `evolith-moscow-load` | Cargar un análisis MoSCoW existente |
298
+ | `evolith-moscow-update` | Actualizar un ítem en un análisis MoSCoW |
299
+ | `evolith-moscow-remove` | Eliminar un ítem de un análisis MoSCoW |
300
+ | `evolith-moscow-list` | Listar todos los análisis MoSCoW de un repositorio |
301
+ | `evolith-moscow-validate` | Validar la corrección de un análisis MoSCoW |
302
+ | `evolith-moscow-report` | Generar un reporte markdown desde un análisis MoSCoW |
252
303
 
253
304
  ### Configuración para Cursor AI
254
305
 
@@ -297,15 +348,15 @@ Resultado: ✓ El repositorio cumple con los estándares de Evolith
297
348
  Reglas verificadas: 12
298
349
  Todas las puertas pasaron
299
350
 
300
- Tú: Muéstrame los ADR
301
- Agente: Déjame obtener la lista de ADR...
351
+ Tú: Muéstrame el estado SDLC
352
+ Agente: Déjame verificar el estado de los phase gates...
302
353
 
303
- await mcp.callTool('evolith-adr-list', {})
354
+ await mcp.callTool('evolith-sdlc-status', {
355
+ path: '/user/project'
356
+ })
304
357
 
305
- Resultado: Se encontraron 5 ADR:
306
- - ADR-0001: Plantilla de Registro de Decisión de Arquitectura
307
- - ADR-0002: Arquitectura Hexagonal (aceptado)
308
- - ADR-0003: Pirámide de Pruebas (aceptado)
358
+ Resultado: Fase 1 3 gates pasados, 0 fallados
359
+ Todos los artefactos de evidencia presentes
309
360
  ```
310
361
 
311
362
  ## Configuración
@@ -315,7 +366,7 @@ Evolith usa un archivo `evolith.yaml` en la raíz del repositorio:
315
366
  ```yaml
316
367
  coreRef:
317
368
  version: "1.0.0"
318
- path: "../evolith"
369
+ path: "../../evolith"
319
370
 
320
371
  governance:
321
372
  version: "1.0"
@@ -389,9 +440,15 @@ npm link # Enlazar globalmente para pruebas
389
440
  ### Ejecutar Pruebas
390
441
 
391
442
  ```bash
443
+ # Ejecutar todas las pruebas
392
444
  npm test
445
+
446
+ # Ejecutar con reporte de cobertura
447
+ npm run test:cov
393
448
  ```
394
449
 
450
+ **Cobertura (v0.0.3-beta):** 88.7% statements · 89.8% lines · 77.0% branches · 83.6% functions · 1 369 tests
451
+
395
452
  ### Estructura del Proyecto
396
453
 
397
454
  ```
@@ -407,6 +464,13 @@ sdk/cli/
407
464
  └── docs/ # Documentación
408
465
  ```
409
466
 
467
+ ## Documentación
468
+
469
+ - [Guía de Demo SMART CLI](docs/SMART-CLI-DEMO.es.md) - Guía completa que cubre todos los comandos, flujo SDLC, tipos de producto, integración MCP y validación de arquitectura
470
+ - [Visión](docs/VISION.es.md) - Visión y hoja de ruta de la CLI
471
+ - [Modelos de Datos](docs/data-models.es.md) - Modelos de datos del dominio
472
+ - [Integración MCP](docs/MCP-INTEGRATION.md) - Detalles de integración del servidor MCP
473
+
410
474
  ## Contribuir
411
475
 
412
476
  1. Haz fork del repositorio
@@ -422,4 +486,4 @@ ISC
422
486
 
423
487
  - [Documentación](https://github.com/beyondnetcode/evolith_arch32#readme)
424
488
  - [Rastreador de Incidencias](https://github.com/beyondnetcode/evolith_arch32/issues)
425
- - [Discusiones](https://github.com/beyondnetcode/evolith_arch32/discussions)
489
+ - [Discusiones](https://github.com/beyondnetcode/evolith_arch32/discussions)