@shepai/cli 1.170.0-pr513.cff27cb → 1.171.0-pr527.e2ee839

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 (588) hide show
  1. package/apis/json-schema/ActionDispositionEntry.yaml +14 -0
  2. package/apis/json-schema/DependencyFinding.yaml +28 -0
  3. package/apis/json-schema/DependencyRiskType.yaml +11 -0
  4. package/apis/json-schema/DependencyRules.yaml +38 -0
  5. package/apis/json-schema/EffectivePolicySnapshot.yaml +24 -0
  6. package/apis/json-schema/Feature.yaml +5 -17
  7. package/apis/json-schema/ReleaseIntegrityCheck.yaml +22 -0
  8. package/apis/json-schema/ReleaseIntegrityCheckType.yaml +9 -0
  9. package/apis/json-schema/ReleaseIntegrityResult.yaml +16 -0
  10. package/apis/json-schema/ReleaseRules.yaml +21 -0
  11. package/apis/json-schema/SdlcLifecycle.yaml +0 -1
  12. package/apis/json-schema/SecurityActionCategory.yaml +10 -0
  13. package/apis/json-schema/SecurityActionDisposition.yaml +8 -0
  14. package/apis/json-schema/SecurityConfig.yaml +17 -0
  15. package/apis/json-schema/SecurityEvent.yaml +36 -0
  16. package/apis/json-schema/SecurityMode.yaml +8 -0
  17. package/apis/json-schema/SecurityPolicy.yaml +24 -0
  18. package/apis/json-schema/SecuritySeverity.yaml +9 -0
  19. package/apis/json-schema/Settings.yaml +3 -0
  20. package/apis/json-schema/WorkflowConfig.yaml +5 -10
  21. package/dist/packages/core/src/application/ports/output/agents/agent-executor.interface.d.ts +15 -1
  22. package/dist/packages/core/src/application/ports/output/agents/agent-executor.interface.d.ts.map +1 -1
  23. package/dist/packages/core/src/application/ports/output/agents/feature-agent-process.interface.d.ts +4 -2
  24. package/dist/packages/core/src/application/ports/output/agents/feature-agent-process.interface.d.ts.map +1 -1
  25. package/dist/packages/core/src/application/ports/output/repositories/security-event.repository.interface.d.ts +76 -0
  26. package/dist/packages/core/src/application/ports/output/repositories/security-event.repository.interface.d.ts.map +1 -0
  27. package/dist/packages/core/src/application/ports/output/repositories/security-event.repository.interface.js +11 -0
  28. package/dist/packages/core/src/application/ports/output/services/github-repository-service.interface.d.ts +38 -0
  29. package/dist/packages/core/src/application/ports/output/services/github-repository-service.interface.d.ts.map +1 -1
  30. package/dist/packages/core/src/application/ports/output/services/github-repository-service.interface.js +9 -0
  31. package/dist/packages/core/src/application/ports/output/services/security-policy-service.interface.d.ts +77 -0
  32. package/dist/packages/core/src/application/ports/output/services/security-policy-service.interface.d.ts.map +1 -0
  33. package/dist/packages/core/src/application/ports/output/services/security-policy-service.interface.js +13 -0
  34. package/dist/packages/core/src/application/ports/output/services/spec-initializer.interface.d.ts +14 -4
  35. package/dist/packages/core/src/application/ports/output/services/spec-initializer.interface.d.ts.map +1 -1
  36. package/dist/packages/core/src/application/use-cases/agents/approve-agent-run.use-case.d.ts.map +1 -1
  37. package/dist/packages/core/src/application/use-cases/agents/approve-agent-run.use-case.js +4 -2
  38. package/dist/packages/core/src/application/use-cases/agents/reject-agent-run.use-case.d.ts.map +1 -1
  39. package/dist/packages/core/src/application/use-cases/agents/reject-agent-run.use-case.js +4 -2
  40. package/dist/packages/core/src/application/use-cases/features/adopt-branch.use-case.d.ts.map +1 -1
  41. package/dist/packages/core/src/application/use-cases/features/adopt-branch.use-case.js +2 -3
  42. package/dist/packages/core/src/application/use-cases/features/check-and-unblock-features.use-case.d.ts.map +1 -1
  43. package/dist/packages/core/src/application/use-cases/features/check-and-unblock-features.use-case.js +4 -2
  44. package/dist/packages/core/src/application/use-cases/features/create/create-feature.use-case.d.ts.map +1 -1
  45. package/dist/packages/core/src/application/use-cases/features/create/create-feature.use-case.js +8 -18
  46. package/dist/packages/core/src/application/use-cases/features/create/types.d.ts +2 -3
  47. package/dist/packages/core/src/application/use-cases/features/create/types.d.ts.map +1 -1
  48. package/dist/packages/core/src/application/use-cases/features/delete-feature.use-case.d.ts.map +1 -1
  49. package/dist/packages/core/src/application/use-cases/features/delete-feature.use-case.js +0 -13
  50. package/dist/packages/core/src/application/use-cases/features/resume-feature.use-case.d.ts.map +1 -1
  51. package/dist/packages/core/src/application/use-cases/features/resume-feature.use-case.js +4 -2
  52. package/dist/packages/core/src/application/use-cases/features/start-feature.use-case.d.ts.map +1 -1
  53. package/dist/packages/core/src/application/use-cases/features/start-feature.use-case.js +5 -5
  54. package/dist/packages/core/src/application/use-cases/security/enforce-security.use-case.d.ts +71 -0
  55. package/dist/packages/core/src/application/use-cases/security/enforce-security.use-case.d.ts.map +1 -0
  56. package/dist/packages/core/src/application/use-cases/security/enforce-security.use-case.js +215 -0
  57. package/dist/packages/core/src/application/use-cases/security/evaluate-security-policy.use-case.d.ts +24 -0
  58. package/dist/packages/core/src/application/use-cases/security/evaluate-security-policy.use-case.d.ts.map +1 -0
  59. package/dist/packages/core/src/application/use-cases/security/evaluate-security-policy.use-case.js +56 -0
  60. package/dist/packages/core/src/application/use-cases/security/get-security-state.use-case.d.ts +36 -0
  61. package/dist/packages/core/src/application/use-cases/security/get-security-state.use-case.d.ts.map +1 -0
  62. package/dist/packages/core/src/application/use-cases/security/get-security-state.use-case.js +76 -0
  63. package/dist/packages/core/src/application/use-cases/security/record-security-event.use-case.d.ts +14 -0
  64. package/dist/packages/core/src/application/use-cases/security/record-security-event.use-case.d.ts.map +1 -0
  65. package/dist/packages/core/src/application/use-cases/security/record-security-event.use-case.js +46 -0
  66. package/dist/packages/core/src/application/use-cases/upgrade/upgrade-cli.use-case.d.ts +1 -0
  67. package/dist/packages/core/src/application/use-cases/upgrade/upgrade-cli.use-case.d.ts.map +1 -1
  68. package/dist/packages/core/src/application/use-cases/upgrade/upgrade-cli.use-case.js +59 -2
  69. package/dist/packages/core/src/domain/errors/security-violation.error.d.ts +15 -0
  70. package/dist/packages/core/src/domain/errors/security-violation.error.d.ts.map +1 -0
  71. package/dist/packages/core/src/domain/errors/security-violation.error.js +20 -0
  72. package/dist/packages/core/src/domain/factories/settings-defaults.factory.d.ts.map +1 -1
  73. package/dist/packages/core/src/domain/factories/settings-defaults.factory.js +6 -3
  74. package/dist/packages/core/src/domain/generated/output.d.ts +263 -22
  75. package/dist/packages/core/src/domain/generated/output.d.ts.map +1 -1
  76. package/dist/packages/core/src/domain/generated/output.js +43 -7
  77. package/dist/packages/core/src/domain/lifecycle-gates.d.ts +6 -21
  78. package/dist/packages/core/src/domain/lifecycle-gates.d.ts.map +1 -1
  79. package/dist/packages/core/src/domain/lifecycle-gates.js +6 -25
  80. package/dist/packages/core/src/infrastructure/di/container.d.ts.map +1 -1
  81. package/dist/packages/core/src/infrastructure/di/container.js +57 -5
  82. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/feature.mapper.d.ts +1 -3
  83. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/feature.mapper.d.ts.map +1 -1
  84. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/feature.mapper.js +4 -10
  85. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/security-event.mapper.d.ts +44 -0
  86. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/security-event.mapper.d.ts.map +1 -0
  87. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/security-event.mapper.js +55 -0
  88. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts +4 -2
  89. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts.map +1 -1
  90. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.js +16 -7
  91. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-security-settings-columns.d.ts +18 -0
  92. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-security-settings-columns.d.ts.map +1 -0
  93. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-security-settings-columns.js +31 -0
  94. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/054-create-security-events-table.d.ts +29 -0
  95. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/054-create-security-events-table.d.ts.map +1 -0
  96. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/054-create-security-events-table.js +53 -0
  97. package/dist/packages/core/src/infrastructure/repositories/sqlite-feature.repository.d.ts.map +1 -1
  98. package/dist/packages/core/src/infrastructure/repositories/sqlite-feature.repository.js +3 -5
  99. package/dist/packages/core/src/infrastructure/repositories/sqlite-security-event.repository.d.ts +24 -0
  100. package/dist/packages/core/src/infrastructure/repositories/sqlite-security-event.repository.d.ts.map +1 -0
  101. package/dist/packages/core/src/infrastructure/repositories/sqlite-security-event.repository.js +96 -0
  102. package/dist/packages/core/src/infrastructure/repositories/sqlite-settings.repository.d.ts.map +1 -1
  103. package/dist/packages/core/src/infrastructure/repositories/sqlite-settings.repository.js +15 -6
  104. package/dist/packages/core/src/infrastructure/services/agents/common/executors/claude-code-executor.service.d.ts +2 -0
  105. package/dist/packages/core/src/infrastructure/services/agents/common/executors/claude-code-executor.service.d.ts.map +1 -1
  106. package/dist/packages/core/src/infrastructure/services/agents/common/executors/claude-code-executor.service.js +12 -0
  107. package/dist/packages/core/src/infrastructure/services/agents/common/executors/security-constraint-validator.d.ts +22 -0
  108. package/dist/packages/core/src/infrastructure/services/agents/common/executors/security-constraint-validator.d.ts.map +1 -0
  109. package/dist/packages/core/src/infrastructure/services/agents/common/executors/security-constraint-validator.js +30 -0
  110. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/fast-feature-agent-graph.d.ts +10 -20
  111. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/fast-feature-agent-graph.d.ts.map +1 -1
  112. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-graph.d.ts +34 -68
  113. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-graph.d.ts.map +1 -1
  114. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.d.ts +4 -2
  115. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.d.ts.map +1 -1
  116. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.js +9 -3
  117. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.d.ts +4 -2
  118. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.d.ts.map +1 -1
  119. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.js +39 -19
  120. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/lifecycle-context.d.ts.map +1 -1
  121. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/lifecycle-context.js +0 -1
  122. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.d.ts.map +1 -1
  123. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.js +19 -1
  124. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/security-pre-check.d.ts +45 -0
  125. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/security-pre-check.d.ts.map +1 -0
  126. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/security-pre-check.js +70 -0
  127. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/state.d.ts +4 -5
  128. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/state.d.ts.map +1 -1
  129. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/state.js +6 -13
  130. package/dist/packages/core/src/infrastructure/services/external/github-repository.service.d.ts +10 -1
  131. package/dist/packages/core/src/infrastructure/services/external/github-repository.service.d.ts.map +1 -1
  132. package/dist/packages/core/src/infrastructure/services/external/github-repository.service.js +101 -1
  133. package/dist/packages/core/src/infrastructure/services/security/dependency-risk-evaluator.d.ts +53 -0
  134. package/dist/packages/core/src/infrastructure/services/security/dependency-risk-evaluator.d.ts.map +1 -0
  135. package/dist/packages/core/src/infrastructure/services/security/dependency-risk-evaluator.js +241 -0
  136. package/dist/packages/core/src/infrastructure/services/security/release-integrity-evaluator.d.ts +44 -0
  137. package/dist/packages/core/src/infrastructure/services/security/release-integrity-evaluator.d.ts.map +1 -0
  138. package/dist/packages/core/src/infrastructure/services/security/release-integrity-evaluator.js +194 -0
  139. package/dist/packages/core/src/infrastructure/services/security/security-policy-file-reader.d.ts +28 -0
  140. package/dist/packages/core/src/infrastructure/services/security/security-policy-file-reader.d.ts.map +1 -0
  141. package/dist/packages/core/src/infrastructure/services/security/security-policy-file-reader.js +50 -0
  142. package/dist/packages/core/src/infrastructure/services/security/security-policy-validator.d.ts +26 -0
  143. package/dist/packages/core/src/infrastructure/services/security/security-policy-validator.d.ts.map +1 -0
  144. package/dist/packages/core/src/infrastructure/services/security/security-policy-validator.js +147 -0
  145. package/dist/packages/core/src/infrastructure/services/security/security-policy.service.d.ts +44 -0
  146. package/dist/packages/core/src/infrastructure/services/security/security-policy.service.d.ts.map +1 -0
  147. package/dist/packages/core/src/infrastructure/services/security/security-policy.service.js +174 -0
  148. package/dist/packages/core/src/infrastructure/services/spec/spec-initializer.service.d.ts +2 -1
  149. package/dist/packages/core/src/infrastructure/services/spec/spec-initializer.service.d.ts.map +1 -1
  150. package/dist/packages/core/src/infrastructure/services/spec/spec-initializer.service.js +65 -7
  151. package/dist/src/presentation/cli/commands/feat/index.d.ts.map +1 -1
  152. package/dist/src/presentation/cli/commands/feat/index.js +1 -5
  153. package/dist/src/presentation/cli/commands/feat/new.command.d.ts.map +1 -1
  154. package/dist/src/presentation/cli/commands/feat/new.command.js +5 -18
  155. package/dist/src/presentation/cli/commands/security.command.d.ts +16 -0
  156. package/dist/src/presentation/cli/commands/security.command.d.ts.map +1 -0
  157. package/dist/src/presentation/cli/commands/security.command.js +118 -0
  158. package/dist/src/presentation/cli/commands/upgrade.command.d.ts.map +1 -1
  159. package/dist/src/presentation/cli/commands/upgrade.command.js +68 -3
  160. package/dist/src/presentation/cli/index.js +2 -0
  161. package/dist/src/presentation/web/app/actions/create-feature.d.ts +2 -3
  162. package/dist/src/presentation/web/app/actions/create-feature.d.ts.map +1 -1
  163. package/dist/src/presentation/web/app/actions/create-feature.js +3 -3
  164. package/dist/src/presentation/web/app/actions/get-workflow-defaults.d.ts +1 -2
  165. package/dist/src/presentation/web/app/actions/get-workflow-defaults.d.ts.map +1 -1
  166. package/dist/src/presentation/web/app/actions/get-workflow-defaults.js +1 -2
  167. package/dist/src/presentation/web/app/actions/security.d.ts +28 -0
  168. package/dist/src/presentation/web/app/actions/security.d.ts.map +1 -0
  169. package/dist/src/presentation/web/app/actions/security.js +59 -0
  170. package/dist/src/presentation/web/app/api/agent-events/route.d.ts.map +1 -1
  171. package/dist/src/presentation/web/app/api/agent-events/route.js +0 -1
  172. package/dist/src/presentation/web/app/build-feature-node-data.d.ts.map +1 -1
  173. package/dist/src/presentation/web/app/build-feature-node-data.js +2 -4
  174. package/dist/src/presentation/web/app/build-graph-nodes.d.ts +3 -1
  175. package/dist/src/presentation/web/app/build-graph-nodes.d.ts.map +1 -1
  176. package/dist/src/presentation/web/app/build-graph-nodes.js +4 -4
  177. package/dist/src/presentation/web/components/common/control-center-drawer/drawer-view.d.ts +1 -1
  178. package/dist/src/presentation/web/components/common/control-center-drawer/drawer-view.d.ts.map +1 -1
  179. package/dist/src/presentation/web/components/common/control-center-drawer/drawer-view.js +0 -3
  180. package/dist/src/presentation/web/components/common/control-center-drawer/feature-drawer-client.d.ts.map +1 -1
  181. package/dist/src/presentation/web/components/common/control-center-drawer/feature-drawer-client.js +1 -65
  182. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.d.ts +2 -3
  183. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.d.ts.map +1 -1
  184. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.js +11 -15
  185. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.stories.d.ts.map +1 -1
  186. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.stories.js +1 -2
  187. package/dist/src/presentation/web/components/common/feature-drawer-tabs/feature-drawer-tabs.d.ts +1 -6
  188. package/dist/src/presentation/web/components/common/feature-drawer-tabs/feature-drawer-tabs.d.ts.map +1 -1
  189. package/dist/src/presentation/web/components/common/feature-drawer-tabs/feature-drawer-tabs.js +4 -16
  190. package/dist/src/presentation/web/components/common/feature-node/derive-feature-state.d.ts.map +1 -1
  191. package/dist/src/presentation/web/components/common/feature-node/derive-feature-state.js +0 -2
  192. package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.d.ts +4 -6
  193. package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.d.ts.map +1 -1
  194. package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.js +0 -12
  195. package/dist/src/presentation/web/components/common/feature-node/feature-node.d.ts.map +1 -1
  196. package/dist/src/presentation/web/components/common/feature-node/feature-node.js +3 -7
  197. package/dist/src/presentation/web/components/common/repository-node/repository-drawer.d.ts +3 -1
  198. package/dist/src/presentation/web/components/common/repository-node/repository-drawer.d.ts.map +1 -1
  199. package/dist/src/presentation/web/components/common/repository-node/repository-drawer.js +3 -2
  200. package/dist/src/presentation/web/components/common/repository-node/security-panel.d.ts +6 -0
  201. package/dist/src/presentation/web/components/common/repository-node/security-panel.d.ts.map +1 -0
  202. package/dist/src/presentation/web/components/common/repository-node/security-panel.js +29 -0
  203. package/dist/src/presentation/web/components/common/repository-node/security-panel.stories.d.ts +10 -0
  204. package/dist/src/presentation/web/components/common/repository-node/security-panel.stories.d.ts.map +1 -0
  205. package/dist/src/presentation/web/components/common/repository-node/security-panel.stories.js +53 -0
  206. package/dist/src/presentation/web/components/common/security-badge.d.ts +7 -0
  207. package/dist/src/presentation/web/components/common/security-badge.d.ts.map +1 -0
  208. package/dist/src/presentation/web/components/common/security-badge.js +30 -0
  209. package/dist/src/presentation/web/components/common/security-badge.stories.d.ts +12 -0
  210. package/dist/src/presentation/web/components/common/security-badge.stories.d.ts.map +1 -0
  211. package/dist/src/presentation/web/components/common/security-badge.stories.js +20 -0
  212. package/dist/src/presentation/web/components/features/settings/settings-page-client.d.ts.map +1 -1
  213. package/dist/src/presentation/web/components/features/settings/settings-page-client.js +22 -9
  214. package/dist/src/presentation/web/components/features/settings/supply-chain-security-settings-section.d.ts +6 -0
  215. package/dist/src/presentation/web/components/features/settings/supply-chain-security-settings-section.d.ts.map +1 -0
  216. package/dist/src/presentation/web/components/features/settings/supply-chain-security-settings-section.js +60 -0
  217. package/dist/src/presentation/web/components/features/settings/supply-chain-security-settings-section.stories.d.ts +14 -0
  218. package/dist/src/presentation/web/components/features/settings/supply-chain-security-settings-section.stories.d.ts.map +1 -0
  219. package/dist/src/presentation/web/components/features/settings/supply-chain-security-settings-section.stories.js +116 -0
  220. package/dist/src/presentation/web/components/features/settings/workflow-settings-section.stories.js +3 -3
  221. package/dist/translations/ar/cli.json +22 -24
  222. package/dist/translations/ar/web.json +45 -7
  223. package/dist/translations/de/cli.json +22 -24
  224. package/dist/translations/de/web.json +45 -7
  225. package/dist/translations/en/cli.json +22 -24
  226. package/dist/translations/en/web.json +45 -7
  227. package/dist/translations/es/cli.json +22 -24
  228. package/dist/translations/es/web.json +45 -7
  229. package/dist/translations/fr/cli.json +22 -24
  230. package/dist/translations/fr/web.json +45 -7
  231. package/dist/translations/he/cli.json +22 -24
  232. package/dist/translations/he/web.json +45 -7
  233. package/dist/translations/pt/cli.json +22 -24
  234. package/dist/translations/pt/web.json +45 -7
  235. package/dist/translations/ru/cli.json +22 -24
  236. package/dist/translations/ru/web.json +45 -7
  237. package/dist/tsconfig.build.tsbuildinfo +1 -1
  238. package/package.json +1 -1
  239. package/web/.next/BUILD_ID +1 -1
  240. package/web/.next/build-manifest.json +2 -2
  241. package/web/.next/fallback-build-manifest.json +2 -2
  242. package/web/.next/prerender-manifest.json +3 -3
  243. package/web/.next/required-server-files.js +2 -2
  244. package/web/.next/required-server-files.json +2 -2
  245. package/web/.next/server/app/(dashboard)/@drawer/adopt/page/server-reference-manifest.json +29 -29
  246. package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js +2 -1
  247. package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js.nft.json +1 -1
  248. package/web/.next/server/app/(dashboard)/@drawer/adopt/page_client-reference-manifest.js +1 -1
  249. package/web/.next/server/app/(dashboard)/@drawer/chat/page/server-reference-manifest.json +27 -27
  250. package/web/.next/server/app/(dashboard)/@drawer/chat/page.js +2 -1
  251. package/web/.next/server/app/(dashboard)/@drawer/chat/page.js.nft.json +1 -1
  252. package/web/.next/server/app/(dashboard)/@drawer/chat/page_client-reference-manifest.js +1 -1
  253. package/web/.next/server/app/(dashboard)/@drawer/create/page/server-reference-manifest.json +30 -30
  254. package/web/.next/server/app/(dashboard)/@drawer/create/page.js +2 -1
  255. package/web/.next/server/app/(dashboard)/@drawer/create/page.js.nft.json +1 -1
  256. package/web/.next/server/app/(dashboard)/@drawer/create/page_client-reference-manifest.js +1 -1
  257. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/server-reference-manifest.json +76 -121
  258. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js +2 -2
  259. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js.nft.json +1 -1
  260. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
  261. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/server-reference-manifest.json +76 -121
  262. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js +2 -2
  263. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js.nft.json +1 -1
  264. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page_client-reference-manifest.js +1 -1
  265. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page/server-reference-manifest.json +28 -28
  266. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page.js +2 -1
  267. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page.js.nft.json +1 -1
  268. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page_client-reference-manifest.js +1 -1
  269. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/server-reference-manifest.json +28 -28
  270. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js +2 -1
  271. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js.nft.json +1 -1
  272. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
  273. package/web/.next/server/app/(dashboard)/chat/page/server-reference-manifest.json +27 -27
  274. package/web/.next/server/app/(dashboard)/chat/page.js +2 -1
  275. package/web/.next/server/app/(dashboard)/chat/page.js.nft.json +1 -1
  276. package/web/.next/server/app/(dashboard)/chat/page_client-reference-manifest.js +1 -1
  277. package/web/.next/server/app/(dashboard)/create/page/server-reference-manifest.json +30 -30
  278. package/web/.next/server/app/(dashboard)/create/page.js +2 -1
  279. package/web/.next/server/app/(dashboard)/create/page.js.nft.json +1 -1
  280. package/web/.next/server/app/(dashboard)/create/page_client-reference-manifest.js +1 -1
  281. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/server-reference-manifest.json +76 -121
  282. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js +2 -2
  283. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js.nft.json +1 -1
  284. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
  285. package/web/.next/server/app/(dashboard)/feature/[featureId]/page/server-reference-manifest.json +76 -121
  286. package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js +2 -2
  287. package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js.nft.json +1 -1
  288. package/web/.next/server/app/(dashboard)/feature/[featureId]/page_client-reference-manifest.js +1 -1
  289. package/web/.next/server/app/(dashboard)/page/server-reference-manifest.json +27 -27
  290. package/web/.next/server/app/(dashboard)/page.js +2 -1
  291. package/web/.next/server/app/(dashboard)/page.js.nft.json +1 -1
  292. package/web/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
  293. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page/server-reference-manifest.json +28 -28
  294. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page.js +2 -1
  295. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page.js.nft.json +1 -1
  296. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page_client-reference-manifest.js +1 -1
  297. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/server-reference-manifest.json +28 -28
  298. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js +2 -1
  299. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js.nft.json +1 -1
  300. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
  301. package/web/.next/server/app/_global-error.html +2 -2
  302. package/web/.next/server/app/_global-error.rsc +1 -1
  303. package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  304. package/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  305. package/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  306. package/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  307. package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  308. package/web/.next/server/app/_not-found/page/server-reference-manifest.json +6 -6
  309. package/web/.next/server/app/_not-found/page.js.nft.json +1 -1
  310. package/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  311. package/web/.next/server/app/api/attachments/preview/route.js.nft.json +1 -1
  312. package/web/.next/server/app/api/evidence/route.js.nft.json +1 -1
  313. package/web/.next/server/app/api/graph-data/route.js.nft.json +1 -1
  314. package/web/.next/server/app/api/interactive/chat/[featureId]/messages/route.js.nft.json +1 -1
  315. package/web/.next/server/app/api/sessions/route.js.nft.json +1 -1
  316. package/web/.next/server/app/api/sessions-batch/route.js.nft.json +1 -1
  317. package/web/.next/server/app/features/page/server-reference-manifest.json +6 -6
  318. package/web/.next/server/app/features/page.js.nft.json +1 -1
  319. package/web/.next/server/app/features/page_client-reference-manifest.js +1 -1
  320. package/web/.next/server/app/settings/page/server-reference-manifest.json +33 -18
  321. package/web/.next/server/app/settings/page.js +1 -1
  322. package/web/.next/server/app/settings/page.js.nft.json +1 -1
  323. package/web/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  324. package/web/.next/server/app/skills/page/server-reference-manifest.json +13 -13
  325. package/web/.next/server/app/skills/page.js +2 -1
  326. package/web/.next/server/app/skills/page.js.nft.json +1 -1
  327. package/web/.next/server/app/skills/page_client-reference-manifest.js +1 -1
  328. package/web/.next/server/app/tools/page/server-reference-manifest.json +11 -11
  329. package/web/.next/server/app/tools/page.js +2 -1
  330. package/web/.next/server/app/tools/page.js.nft.json +1 -1
  331. package/web/.next/server/app/tools/page_client-reference-manifest.js +1 -1
  332. package/web/.next/server/app/version/page/server-reference-manifest.json +6 -6
  333. package/web/.next/server/app/version/page.js.nft.json +1 -1
  334. package/web/.next/server/app/version/page_client-reference-manifest.js +1 -1
  335. package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_370c43b1.js +1 -1
  336. package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_370c43b1.js.map +1 -1
  337. package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_4d623b8e.js +1 -1
  338. package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_4d623b8e.js.map +1 -1
  339. package/web/.next/server/chunks/[root-of-the-server]__a402b567._.js +1 -1
  340. package/web/.next/server/chunks/[root-of-the-server]__c78383b1._.js +1 -1
  341. package/web/.next/server/chunks/[root-of-the-server]__c78383b1._.js.map +1 -1
  342. package/web/.next/server/chunks/[root-of-the-server]__cd67a84c._.js +1 -1
  343. package/web/.next/server/chunks/[root-of-the-server]__cd67a84c._.js.map +1 -1
  344. package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_adopt_page_actions_ad0071c9.js +3 -0
  345. package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_adopt_page_actions_ad0071c9.js.map +1 -0
  346. package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_chat_page_actions_90d98b2b.js +3 -0
  347. package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_chat_page_actions_90d98b2b.js.map +1 -0
  348. package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_chat_page_actions_d3828105.js +3 -0
  349. package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_chat_page_actions_d3828105.js.map +1 -0
  350. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js +1 -1
  351. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js.map +1 -1
  352. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_feature-drawer-client_tsx_e9755fc8._.js +3 -3
  353. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_feature-drawer-client_tsx_e9755fc8._.js.map +1 -1
  354. package/web/.next/server/chunks/ssr/[root-of-the-server]__1f389e5d._.js +1 -1
  355. package/web/.next/server/chunks/ssr/[root-of-the-server]__1f389e5d._.js.map +1 -1
  356. package/web/.next/server/chunks/ssr/[root-of-the-server]__357d99f9._.js +1 -1
  357. package/web/.next/server/chunks/ssr/[root-of-the-server]__4ed9b909._.js +1 -1
  358. package/web/.next/server/chunks/ssr/[root-of-the-server]__51ec77a8._.js +3 -0
  359. package/web/.next/server/chunks/ssr/[root-of-the-server]__51ec77a8._.js.map +1 -0
  360. package/web/.next/server/chunks/ssr/[root-of-the-server]__540c615f._.js +4 -0
  361. package/web/.next/server/chunks/ssr/[root-of-the-server]__540c615f._.js.map +1 -0
  362. package/web/.next/server/chunks/ssr/[root-of-the-server]__66047a1b._.js +3 -0
  363. package/web/.next/server/chunks/ssr/[root-of-the-server]__66047a1b._.js.map +1 -0
  364. package/web/.next/server/chunks/ssr/[root-of-the-server]__684a868c._.js +1 -1
  365. package/web/.next/server/chunks/ssr/[root-of-the-server]__684a868c._.js.map +1 -1
  366. package/web/.next/server/chunks/ssr/[root-of-the-server]__69dd3217._.js +1 -1
  367. package/web/.next/server/chunks/ssr/[root-of-the-server]__69dd3217._.js.map +1 -1
  368. package/web/.next/server/chunks/ssr/[root-of-the-server]__6c7d3936._.js +1 -1
  369. package/web/.next/server/chunks/ssr/[root-of-the-server]__6c7d3936._.js.map +1 -1
  370. package/web/.next/server/chunks/ssr/[root-of-the-server]__9a9cb046._.js +3 -0
  371. package/web/.next/server/chunks/ssr/[root-of-the-server]__9a9cb046._.js.map +1 -0
  372. package/web/.next/server/chunks/ssr/[root-of-the-server]__a2d6c0ac._.js +4 -0
  373. package/web/.next/server/chunks/ssr/[root-of-the-server]__a2d6c0ac._.js.map +1 -0
  374. package/web/.next/server/chunks/ssr/[root-of-the-server]__a932cd3a._.js +3 -0
  375. package/web/.next/server/chunks/ssr/[root-of-the-server]__a932cd3a._.js.map +1 -0
  376. package/web/.next/server/chunks/ssr/[root-of-the-server]__aa72e794._.js +3 -0
  377. package/web/.next/server/chunks/ssr/[root-of-the-server]__aa72e794._.js.map +1 -0
  378. package/web/.next/server/chunks/ssr/[root-of-the-server]__b7b96453._.js +1 -1
  379. package/web/.next/server/chunks/ssr/[root-of-the-server]__b7b96453._.js.map +1 -1
  380. package/web/.next/server/chunks/ssr/[root-of-the-server]__c1262d08._.js +1 -1
  381. package/web/.next/server/chunks/ssr/[root-of-the-server]__c16bf5de._.js +1 -1
  382. package/web/.next/server/chunks/ssr/[root-of-the-server]__c16bf5de._.js.map +1 -1
  383. package/web/.next/server/chunks/ssr/_02580450._.js +3 -0
  384. package/web/.next/server/chunks/ssr/_02580450._.js.map +1 -0
  385. package/web/.next/server/chunks/ssr/_05c23ad9._.js +1 -1
  386. package/web/.next/server/chunks/ssr/_05c23ad9._.js.map +1 -1
  387. package/web/.next/server/chunks/ssr/_1594e369._.js +9 -0
  388. package/web/.next/server/chunks/ssr/_1594e369._.js.map +1 -0
  389. package/web/.next/server/chunks/ssr/_16eb4fec._.js +1 -1
  390. package/web/.next/server/chunks/ssr/_16eb4fec._.js.map +1 -1
  391. package/web/.next/server/chunks/ssr/_21d37090._.js +3 -0
  392. package/web/.next/server/chunks/ssr/_21d37090._.js.map +1 -0
  393. package/web/.next/server/chunks/ssr/_45496654._.js +1 -1
  394. package/web/.next/server/chunks/ssr/_45496654._.js.map +1 -1
  395. package/web/.next/server/chunks/ssr/_4cbb7f95._.js +1 -1
  396. package/web/.next/server/chunks/ssr/_4cbb7f95._.js.map +1 -1
  397. package/web/.next/server/chunks/ssr/_5119a3df._.js +1 -1
  398. package/web/.next/server/chunks/ssr/_5119a3df._.js.map +1 -1
  399. package/web/.next/server/chunks/ssr/_56b9d60f._.js +1 -1
  400. package/web/.next/server/chunks/ssr/_56b9d60f._.js.map +1 -1
  401. package/web/.next/server/chunks/ssr/{_0fd635d7._.js → _767748d2._.js} +2 -2
  402. package/web/.next/server/chunks/ssr/_767748d2._.js.map +1 -0
  403. package/web/.next/server/chunks/ssr/_df737cce._.js +1 -1
  404. package/web/.next/server/chunks/ssr/{_34d897da._.js → _ee42a212._.js} +2 -2
  405. package/web/.next/server/chunks/ssr/{_34d897da._.js.map → _ee42a212._.js.map} +1 -1
  406. package/web/.next/server/chunks/ssr/_f8c55130._.js +4 -0
  407. package/web/.next/server/chunks/ssr/_f8c55130._.js.map +1 -0
  408. package/web/.next/server/chunks/ssr/_ff04802c._.js +3 -0
  409. package/web/.next/server/chunks/ssr/_ff04802c._.js.map +1 -0
  410. package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js +1 -1
  411. package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js.map +1 -1
  412. package/web/.next/server/chunks/ssr/f3a1f_components_common_control-center-drawer_repository-drawer-client_tsx_39a00c03._.js +1 -1
  413. package/web/.next/server/chunks/ssr/f3a1f_components_common_control-center-drawer_repository-drawer-client_tsx_39a00c03._.js.map +1 -1
  414. package/web/.next/server/chunks/ssr/src_presentation_web_17d39233._.js +3 -0
  415. package/web/.next/server/chunks/ssr/src_presentation_web_17d39233._.js.map +1 -0
  416. package/web/.next/server/chunks/ssr/src_presentation_web_54b02639._.js +5 -0
  417. package/web/.next/server/chunks/ssr/src_presentation_web_54b02639._.js.map +1 -0
  418. package/web/.next/server/chunks/ssr/src_presentation_web_7b7b9e3b._.js +5 -0
  419. package/web/.next/server/chunks/ssr/src_presentation_web_7b7b9e3b._.js.map +1 -0
  420. package/web/.next/server/chunks/ssr/src_presentation_web_807cba76._.js +3 -0
  421. package/web/.next/server/chunks/ssr/src_presentation_web_807cba76._.js.map +1 -0
  422. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_90b5e66e.js +3 -0
  423. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_90b5e66e.js.map +1 -0
  424. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_4ce30db7.js +3 -0
  425. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_4ce30db7.js.map +1 -0
  426. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_e4032193.js +3 -0
  427. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_e4032193.js.map +1 -0
  428. package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_open-ide_ts_baaca5d5._.js +1 -1
  429. package/web/.next/server/chunks/ssr/src_presentation_web_ca99d62d._.js +1 -1
  430. package/web/.next/server/chunks/ssr/src_presentation_web_ca99d62d._.js.map +1 -1
  431. package/web/.next/server/chunks/ssr/src_presentation_web_components_895e5bfa._.js +1 -1
  432. package/web/.next/server/chunks/ssr/src_presentation_web_components_895e5bfa._.js.map +1 -1
  433. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js +1 -1
  434. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js.map +1 -1
  435. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_skills_8a174cac._.js +1 -1
  436. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_skills_8a174cac._.js.map +1 -1
  437. package/web/.next/server/chunks/ssr/src_presentation_web_db9fa0c2._.js +1 -1
  438. package/web/.next/server/chunks/ssr/src_presentation_web_db9fa0c2._.js.map +1 -1
  439. package/web/.next/server/chunks/ssr/src_presentation_web_e1cd1869._.js +3 -0
  440. package/web/.next/server/chunks/ssr/src_presentation_web_e1cd1869._.js.map +1 -0
  441. package/web/.next/server/chunks/ssr/src_presentation_web_e3a30e30._.js +3 -0
  442. package/web/.next/server/chunks/ssr/src_presentation_web_e3a30e30._.js.map +1 -0
  443. package/web/.next/server/chunks/ssr/translations_23dd5e7e._.js +1 -1
  444. package/web/.next/server/chunks/ssr/translations_23dd5e7e._.js.map +1 -1
  445. package/web/.next/server/pages/500.html +2 -2
  446. package/web/.next/server/server-reference-manifest.js +1 -1
  447. package/web/.next/server/server-reference-manifest.json +226 -319
  448. package/web/.next/static/chunks/051873309d87fb45.css +1 -0
  449. package/web/.next/static/chunks/{52681a7f14138e48.js → 16fa4d3877c28fe2.js} +1 -1
  450. package/web/.next/static/chunks/23d80bb760e7dc4c.js +1 -0
  451. package/web/.next/static/chunks/30a0ba9015f94405.js +7 -0
  452. package/web/.next/static/chunks/{0f30a983f3467cd5.js → 39f6ad3f9005703a.js} +1 -1
  453. package/web/.next/static/chunks/3aba9d2242420cb5.js +1 -0
  454. package/web/.next/static/chunks/{d5bf9c963b5346e1.js → 7a6f56f37aaa17ea.js} +1 -1
  455. package/web/.next/static/chunks/{09a25231e5fc1ab8.js → 7e05e7e25220ee9a.js} +1 -1
  456. package/web/.next/static/chunks/{4219ddfde68a6d0b.js → 89dd90bf14488ec0.js} +1 -1
  457. package/web/.next/static/chunks/{e93ae5725b0babeb.js → 9374d251360e808b.js} +1 -1
  458. package/web/.next/static/chunks/{fc595d95626ac9bb.js → 9423dc2310202fda.js} +1 -1
  459. package/web/.next/static/chunks/a794cf7a1a5648dd.js +1 -0
  460. package/web/.next/static/chunks/{37f9543560c58ea6.js → a8edb9423086e83f.js} +1 -1
  461. package/web/.next/static/chunks/ae81796726a9bba3.js +1 -0
  462. package/web/.next/static/chunks/{9a78b4c5dcd28196.js → b9c62932ed987239.js} +2 -2
  463. package/web/.next/static/chunks/{478adf5d5156f002.js → d1c3e0ee8e788c87.js} +1 -1
  464. package/web/.next/static/chunks/e8c3c12f92e9a521.js +5 -0
  465. package/web/.next/static/chunks/f3d5e0ae13def35a.js +1 -0
  466. package/web/.next/static/chunks/{2a9af061f4fbe7f5.js → fb8dadb64c0ffc6b.js} +1 -1
  467. package/web/.next/static/chunks/fd232b88b5b50b2e.js +1 -0
  468. package/apis/json-schema/FeatureMode.yaml +0 -8
  469. package/dist/packages/core/src/application/use-cases/features/promote/promote-exploration.use-case.d.ts +0 -40
  470. package/dist/packages/core/src/application/use-cases/features/promote/promote-exploration.use-case.d.ts.map +0 -1
  471. package/dist/packages/core/src/application/use-cases/features/promote/promote-exploration.use-case.js +0 -125
  472. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/051-replace-fast-with-mode.d.ts +0 -19
  473. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/051-replace-fast-with-mode.d.ts.map +0 -1
  474. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/051-replace-fast-with-mode.js +0 -46
  475. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/052-replace-default-fast-mode-with-default-mode.d.ts +0 -17
  476. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/052-replace-default-fast-mode-with-default-mode.d.ts.map +0 -1
  477. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/052-replace-default-fast-mode-with-default-mode.js +0 -37
  478. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-exploration-max-iterations.d.ts +0 -12
  479. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-exploration-max-iterations.d.ts.map +0 -1
  480. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-exploration-max-iterations.js +0 -17
  481. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/exploration-agent-graph.d.ts +0 -362
  482. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/exploration-agent-graph.d.ts.map +0 -1
  483. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/exploration-agent-graph.js +0 -72
  484. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/apply-feedback.node.d.ts +0 -18
  485. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/apply-feedback.node.d.ts.map +0 -1
  486. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/apply-feedback.node.js +0 -52
  487. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/apply-feedback.prompt.d.ts +0 -24
  488. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/apply-feedback.prompt.d.ts.map +0 -1
  489. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/apply-feedback.prompt.js +0 -38
  490. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/prototype-generate.prompt.d.ts +0 -31
  491. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/prototype-generate.prompt.d.ts.map +0 -1
  492. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/prototype-generate.prompt.js +0 -240
  493. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prototype-generate.node.d.ts +0 -21
  494. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prototype-generate.node.d.ts.map +0 -1
  495. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prototype-generate.node.js +0 -134
  496. package/dist/src/presentation/cli/commands/feat/feedback.command.d.ts +0 -12
  497. package/dist/src/presentation/cli/commands/feat/feedback.command.d.ts.map +0 -1
  498. package/dist/src/presentation/cli/commands/feat/feedback.command.js +0 -64
  499. package/dist/src/presentation/cli/commands/feat/promote.command.d.ts +0 -13
  500. package/dist/src/presentation/cli/commands/feat/promote.command.d.ts.map +0 -1
  501. package/dist/src/presentation/cli/commands/feat/promote.command.js +0 -41
  502. package/dist/src/presentation/web/app/actions/discard-exploration.d.ts +0 -9
  503. package/dist/src/presentation/web/app/actions/discard-exploration.d.ts.map +0 -1
  504. package/dist/src/presentation/web/app/actions/discard-exploration.js +0 -29
  505. package/dist/src/presentation/web/app/actions/promote-exploration.d.ts +0 -11
  506. package/dist/src/presentation/web/app/actions/promote-exploration.d.ts.map +0 -1
  507. package/dist/src/presentation/web/app/actions/promote-exploration.js +0 -21
  508. package/dist/src/presentation/web/app/actions/submit-exploration-feedback.d.ts +0 -12
  509. package/dist/src/presentation/web/app/actions/submit-exploration-feedback.d.ts.map +0 -1
  510. package/dist/src/presentation/web/app/actions/submit-exploration-feedback.js +0 -40
  511. package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.d.ts +0 -8
  512. package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.d.ts.map +0 -1
  513. package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.js +0 -33
  514. package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.stories.d.ts +0 -10
  515. package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.stories.d.ts.map +0 -1
  516. package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.stories.js +0 -33
  517. package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.d.ts +0 -11
  518. package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.d.ts.map +0 -1
  519. package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.js +0 -34
  520. package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.stories.d.ts +0 -16
  521. package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.stories.d.ts.map +0 -1
  522. package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.stories.js +0 -70
  523. package/dist/src/presentation/web/components/ui/toggle-group.d.ts +0 -10
  524. package/dist/src/presentation/web/components/ui/toggle-group.d.ts.map +0 -1
  525. package/dist/src/presentation/web/components/ui/toggle-group.js +0 -22
  526. package/dist/src/presentation/web/components/ui/toggle.d.ts +0 -10
  527. package/dist/src/presentation/web/components/ui/toggle.d.ts.map +0 -1
  528. package/dist/src/presentation/web/components/ui/toggle.js +0 -26
  529. package/web/.next/server/chunks/ssr/[root-of-the-server]__03c66352._.js +0 -4
  530. package/web/.next/server/chunks/ssr/[root-of-the-server]__03c66352._.js.map +0 -1
  531. package/web/.next/server/chunks/ssr/[root-of-the-server]__1cd4327c._.js +0 -4
  532. package/web/.next/server/chunks/ssr/[root-of-the-server]__1cd4327c._.js.map +0 -1
  533. package/web/.next/server/chunks/ssr/[root-of-the-server]__403afc23._.js +0 -4
  534. package/web/.next/server/chunks/ssr/[root-of-the-server]__403afc23._.js.map +0 -1
  535. package/web/.next/server/chunks/ssr/[root-of-the-server]__92ffd5ee._.js +0 -4
  536. package/web/.next/server/chunks/ssr/[root-of-the-server]__92ffd5ee._.js.map +0 -1
  537. package/web/.next/server/chunks/ssr/[root-of-the-server]__b020c17d._.js +0 -4
  538. package/web/.next/server/chunks/ssr/[root-of-the-server]__b020c17d._.js.map +0 -1
  539. package/web/.next/server/chunks/ssr/[root-of-the-server]__df550e85._.js +0 -3
  540. package/web/.next/server/chunks/ssr/[root-of-the-server]__df550e85._.js.map +0 -1
  541. package/web/.next/server/chunks/ssr/[root-of-the-server]__df5602bf._.js +0 -4
  542. package/web/.next/server/chunks/ssr/[root-of-the-server]__df5602bf._.js.map +0 -1
  543. package/web/.next/server/chunks/ssr/[root-of-the-server]__e9f4767a._.js +0 -4
  544. package/web/.next/server/chunks/ssr/[root-of-the-server]__e9f4767a._.js.map +0 -1
  545. package/web/.next/server/chunks/ssr/_02e01240._.js +0 -4
  546. package/web/.next/server/chunks/ssr/_02e01240._.js.map +0 -1
  547. package/web/.next/server/chunks/ssr/_0fd635d7._.js.map +0 -1
  548. package/web/.next/server/chunks/ssr/_18886033._.js +0 -4
  549. package/web/.next/server/chunks/ssr/_18886033._.js.map +0 -1
  550. package/web/.next/server/chunks/ssr/_22e00a14._.js +0 -4
  551. package/web/.next/server/chunks/ssr/_22e00a14._.js.map +0 -1
  552. package/web/.next/server/chunks/ssr/_30ddea9d._.js +0 -9
  553. package/web/.next/server/chunks/ssr/_30ddea9d._.js.map +0 -1
  554. package/web/.next/server/chunks/ssr/_43ba79e7._.js +0 -3
  555. package/web/.next/server/chunks/ssr/_43ba79e7._.js.map +0 -1
  556. package/web/.next/server/chunks/ssr/_6e79a2cc._.js +0 -3
  557. package/web/.next/server/chunks/ssr/_6e79a2cc._.js.map +0 -1
  558. package/web/.next/server/chunks/ssr/_a5a5901d._.js +0 -4
  559. package/web/.next/server/chunks/ssr/_a5a5901d._.js.map +0 -1
  560. package/web/.next/server/chunks/ssr/_ad09f271._.js +0 -4
  561. package/web/.next/server/chunks/ssr/_ad09f271._.js.map +0 -1
  562. package/web/.next/server/chunks/ssr/_c3f595c6._.js +0 -4
  563. package/web/.next/server/chunks/ssr/_c3f595c6._.js.map +0 -1
  564. package/web/.next/server/chunks/ssr/_cac4abe6._.js +0 -3
  565. package/web/.next/server/chunks/ssr/_cac4abe6._.js.map +0 -1
  566. package/web/.next/server/chunks/ssr/_ea9e1556._.js +0 -4
  567. package/web/.next/server/chunks/ssr/_ea9e1556._.js.map +0 -1
  568. package/web/.next/server/chunks/ssr/_f1ba9be6._.js +0 -6
  569. package/web/.next/server/chunks/ssr/_f1ba9be6._.js.map +0 -1
  570. package/web/.next/server/chunks/ssr/_f33cd07e._.js +0 -6
  571. package/web/.next/server/chunks/ssr/_f33cd07e._.js.map +0 -1
  572. package/web/.next/server/chunks/ssr/_f8b45233._.js +0 -4
  573. package/web/.next/server/chunks/ssr/_f8b45233._.js.map +0 -1
  574. package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_approve-feature_ts_9453ce8b._.js +0 -3
  575. package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_approve-feature_ts_9453ce8b._.js.map +0 -1
  576. package/web/.next/static/chunks/0769c695d6b663c7.js +0 -1
  577. package/web/.next/static/chunks/2ceebcc839ee0d4b.js +0 -1
  578. package/web/.next/static/chunks/5743a9c1c63e5261.js +0 -5
  579. package/web/.next/static/chunks/5cf9745e2ef3837c.js +0 -1
  580. package/web/.next/static/chunks/5e20f692bbfcfb94.js +0 -7
  581. package/web/.next/static/chunks/8b0a9cb5109fe899.js +0 -1
  582. package/web/.next/static/chunks/c80e8e3d0cf5baa6.css +0 -1
  583. package/web/.next/static/chunks/d60cee2e7318f425.js +0 -1
  584. package/web/.next/static/chunks/da565c85277c2461.js +0 -1
  585. package/web/.next/static/chunks/fb89cf91c10b2e8b.js +0 -1
  586. /package/web/.next/static/{G895CgnbZl4YvWN_DaRC- → t6SUt71jyk_PYf152Imog}/_buildManifest.js +0 -0
  587. /package/web/.next/static/{G895CgnbZl4YvWN_DaRC- → t6SUt71jyk_PYf152Imog}/_clientMiddlewareManifest.json +0 -0
  588. /package/web/.next/static/{G895CgnbZl4YvWN_DaRC- → t6SUt71jyk_PYf152Imog}/_ssgManifest.js +0 -0
@@ -0,0 +1,96 @@
1
+ /**
2
+ * SQLite Security Event Repository Implementation
3
+ *
4
+ * Implements ISecurityEventRepository using SQLite database.
5
+ * Uses prepared statements to prevent SQL injection.
6
+ * Supports 90-day retention cleanup.
7
+ */
8
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
9
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
10
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
11
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
12
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
13
+ };
14
+ var __metadata = (this && this.__metadata) || function (k, v) {
15
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
16
+ };
17
+ import { injectable } from 'tsyringe';
18
+ import { toDatabase, fromDatabase, } from '../persistence/sqlite/mappers/security-event.mapper.js';
19
+ /**
20
+ * SQLite implementation of ISecurityEventRepository.
21
+ * Manages SecurityEvent persistence with repository-scoped queries.
22
+ */
23
+ let SQLiteSecurityEventRepository = class SQLiteSecurityEventRepository {
24
+ db;
25
+ constructor(db) {
26
+ this.db = db;
27
+ }
28
+ async save(event) {
29
+ const row = toDatabase(event);
30
+ const stmt = this.db.prepare(`
31
+ INSERT INTO security_events (
32
+ id, repository_path, feature_id, severity, category,
33
+ disposition, actor, message, remediation_summary, created_at
34
+ ) VALUES (
35
+ @id, @repository_path, @feature_id, @severity, @category,
36
+ @disposition, @actor, @message, @remediation_summary, @created_at
37
+ )
38
+ `);
39
+ stmt.run(row);
40
+ }
41
+ async findByRepository(repositoryPath, options) {
42
+ let sql = 'SELECT * FROM security_events WHERE repository_path = ?';
43
+ const params = [repositoryPath];
44
+ if (options?.severity) {
45
+ sql += ' AND severity = ?';
46
+ params.push(options.severity);
47
+ }
48
+ sql += ' ORDER BY created_at DESC';
49
+ if (options?.limit) {
50
+ sql += ' LIMIT ?';
51
+ params.push(options.limit);
52
+ }
53
+ if (options?.offset) {
54
+ sql += ' OFFSET ?';
55
+ params.push(options.offset);
56
+ }
57
+ const stmt = this.db.prepare(sql);
58
+ const rows = stmt.all(...params);
59
+ return rows.map(fromDatabase);
60
+ }
61
+ async findByFeature(featureId, options) {
62
+ let sql = 'SELECT * FROM security_events WHERE feature_id = ?';
63
+ const params = [featureId];
64
+ if (options?.severity) {
65
+ sql += ' AND severity = ?';
66
+ params.push(options.severity);
67
+ }
68
+ sql += ' ORDER BY created_at DESC';
69
+ if (options?.limit) {
70
+ sql += ' LIMIT ?';
71
+ params.push(options.limit);
72
+ }
73
+ if (options?.offset) {
74
+ sql += ' OFFSET ?';
75
+ params.push(options.offset);
76
+ }
77
+ const stmt = this.db.prepare(sql);
78
+ const rows = stmt.all(...params);
79
+ return rows.map(fromDatabase);
80
+ }
81
+ async deleteOlderThan(date) {
82
+ const stmt = this.db.prepare('DELETE FROM security_events WHERE created_at < ?');
83
+ const result = stmt.run(date.toISOString());
84
+ return result.changes;
85
+ }
86
+ async count(repositoryPath) {
87
+ const stmt = this.db.prepare('SELECT COUNT(*) as cnt FROM security_events WHERE repository_path = ?');
88
+ const row = stmt.get(repositoryPath);
89
+ return row.cnt;
90
+ }
91
+ };
92
+ SQLiteSecurityEventRepository = __decorate([
93
+ injectable(),
94
+ __metadata("design:paramtypes", [Object])
95
+ ], SQLiteSecurityEventRepository);
96
+ export { SQLiteSecurityEventRepository };
@@ -1 +1 @@
1
- {"version":3,"file":"sqlite-settings.repository.d.ts","sourceRoot":"","sources":["../../../../../../packages/core/src/infrastructure/repositories/sqlite-settings.repository.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAC;AAE3C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8EAA8E,CAAC;AACxH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAOjE;;;GAGG;AACH,qBACa,wBAAyB,YAAW,mBAAmB;IACtD,OAAO,CAAC,QAAQ,CAAC,EAAE;gBAAF,EAAE,EAAE,QAAQ,CAAC,QAAQ;IAElD;;;;;;OAMG;IACG,UAAU,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;IAmFnD;;;;OAIG;IACG,IAAI,IAAI,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC;IAgBtC;;;;;OAKG;IACG,MAAM,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;CA2FhD"}
1
+ {"version":3,"file":"sqlite-settings.repository.d.ts","sourceRoot":"","sources":["../../../../../../packages/core/src/infrastructure/repositories/sqlite-settings.repository.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAC;AAE3C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8EAA8E,CAAC;AACxH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAOjE;;;GAGG;AACH,qBACa,wBAAyB,YAAW,mBAAmB;IACtD,OAAO,CAAC,QAAQ,CAAC,EAAE;gBAAF,EAAE,EAAE,QAAQ,CAAC,QAAQ;IAElD;;;;;;OAMG;IACG,UAAU,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;IAuFnD;;;;OAIG;IACG,IAAI,IAAI,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC;IAgBtC;;;;;OAKG;IACG,MAAM,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;CAgGhD"}
@@ -68,12 +68,14 @@ let SQLiteSettingsRepository = class SQLiteSettingsRepository {
68
68
  feature_flag_react_file_manager,
69
69
  feature_flag_inventory,
70
70
  workflow_enable_evidence, workflow_commit_evidence,
71
- hide_ci_status, default_mode,
71
+ hide_ci_status, default_fast_mode,
72
72
  interactive_agent_enabled, interactive_agent_auto_timeout_minutes,
73
73
  interactive_agent_max_concurrent_sessions,
74
74
  auto_archive_delay_minutes,
75
75
  stage_timeout_fast_implement_ms,
76
- fab_position_swapped
76
+ fab_position_swapped,
77
+ skill_injection_enabled, skill_injection_skills,
78
+ security_mode, security_last_evaluation_at, security_policy_source
77
79
  ) VALUES (
78
80
  @id, @created_at, @updated_at,
79
81
  @model_analyze, @model_requirements, @model_plan, @model_implement, @model_default,
@@ -100,12 +102,14 @@ let SQLiteSettingsRepository = class SQLiteSettingsRepository {
100
102
  @feature_flag_react_file_manager,
101
103
  @feature_flag_inventory,
102
104
  @workflow_enable_evidence, @workflow_commit_evidence,
103
- @hide_ci_status, @default_mode,
105
+ @hide_ci_status, @default_fast_mode,
104
106
  @interactive_agent_enabled, @interactive_agent_auto_timeout_minutes,
105
107
  @interactive_agent_max_concurrent_sessions,
106
108
  @auto_archive_delay_minutes,
107
109
  @stage_timeout_fast_implement_ms,
108
- @fab_position_swapped
110
+ @fab_position_swapped,
111
+ @skill_injection_enabled, @skill_injection_skills,
112
+ @security_mode, @security_last_evaluation_at, @security_policy_source
109
113
  )
110
114
  `);
111
115
  // Execute with named parameters (safe from SQL injection)
@@ -205,13 +209,18 @@ let SQLiteSettingsRepository = class SQLiteSettingsRepository {
205
209
  workflow_enable_evidence = @workflow_enable_evidence,
206
210
  workflow_commit_evidence = @workflow_commit_evidence,
207
211
  hide_ci_status = @hide_ci_status,
208
- default_mode = @default_mode,
212
+ default_fast_mode = @default_fast_mode,
209
213
  interactive_agent_enabled = @interactive_agent_enabled,
210
214
  interactive_agent_auto_timeout_minutes = @interactive_agent_auto_timeout_minutes,
211
215
  interactive_agent_max_concurrent_sessions = @interactive_agent_max_concurrent_sessions,
212
216
  auto_archive_delay_minutes = @auto_archive_delay_minutes,
213
217
  stage_timeout_fast_implement_ms = @stage_timeout_fast_implement_ms,
214
- fab_position_swapped = @fab_position_swapped
218
+ fab_position_swapped = @fab_position_swapped,
219
+ skill_injection_enabled = @skill_injection_enabled,
220
+ skill_injection_skills = @skill_injection_skills,
221
+ security_mode = @security_mode,
222
+ security_last_evaluation_at = @security_last_evaluation_at,
223
+ security_policy_source = @security_policy_source
215
224
  WHERE id = @id
216
225
  `);
217
226
  // Execute with named parameters (safe from SQL injection)
@@ -23,6 +23,8 @@ export declare class ClaudeCodeExecutorService implements IAgentExecutor {
23
23
  constructor(spawn: SpawnFunction);
24
24
  /** Debug logging — writes to stdout so it appears in the worker log file */
25
25
  private log;
26
+ /** Executor capabilities for security constraint validation */
27
+ private static readonly CAPABILITIES;
26
28
  execute(prompt: string, options?: AgentExecutionOptions): Promise<AgentExecutionResult>;
27
29
  executeStream(prompt: string, options?: AgentExecutionOptions): AsyncIterable<AgentExecutionStreamEvent>;
28
30
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"claude-code-executor.service.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/core/src/infrastructure/services/agents/common/executors/claude-code-executor.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AACzF,OAAO,KAAK,EACV,cAAc,EACd,qBAAqB,EACrB,oBAAoB,EAEpB,yBAAyB,EAC1B,MAAM,4EAA4E,CAAC;AACpF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAajD;;;GAGG;AACH,qBAAa,yBAA0B,YAAW,cAAc;IAMlD,OAAO,CAAC,QAAQ,CAAC,KAAK;IALlC,QAAQ,CAAC,SAAS,EAAE,SAAS,CAA8B;IAE3D,4EAA4E;IAC5E,OAAO,CAAC,MAAM,CAAS;gBAEM,KAAK,EAAE,aAAa;IAEjD,4EAA4E;IAC5E,OAAO,CAAC,GAAG;IAML,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAoHtF,aAAa,CAClB,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,qBAAqB,GAC9B,aAAa,CAAC,yBAAyB,CAAC;IAgG3C;;;OAGG;IACH,OAAO,CAAC,cAAc;IA0CtB,eAAe,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO;IAI/C,OAAO,CAAC,SAAS;IAejB,OAAO,CAAC,eAAe;IAUvB,OAAO,CAAC,iBAAiB;IAyBzB,OAAO,CAAC,eAAe;IA6BvB;;;OAGG;IACH,OAAO,CAAC,YAAY;IAqBpB,OAAO,CAAC,eAAe;CAkExB"}
1
+ {"version":3,"file":"claude-code-executor.service.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/core/src/infrastructure/services/agents/common/executors/claude-code-executor.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AACzF,OAAO,KAAK,EACV,cAAc,EACd,qBAAqB,EACrB,oBAAoB,EAEpB,yBAAyB,EAC1B,MAAM,4EAA4E,CAAC;AACpF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAiBjD;;;GAGG;AACH,qBAAa,yBAA0B,YAAW,cAAc;IAMlD,OAAO,CAAC,QAAQ,CAAC,KAAK;IALlC,QAAQ,CAAC,SAAS,EAAE,SAAS,CAA8B;IAE3D,4EAA4E;IAC5E,OAAO,CAAC,MAAM,CAAS;gBAEM,KAAK,EAAE,aAAa;IAEjD,4EAA4E;IAC5E,OAAO,CAAC,GAAG;IAMX,+DAA+D;IAC/D,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAGlC;IAEI,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,CAAC;IA2HtF,aAAa,CAClB,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,qBAAqB,GAC9B,aAAa,CAAC,yBAAyB,CAAC;IAsG3C;;;OAGG;IACH,OAAO,CAAC,cAAc;IA0CtB,eAAe,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO;IAI/C,OAAO,CAAC,SAAS;IAejB,OAAO,CAAC,eAAe;IAUvB,OAAO,CAAC,iBAAiB;IAyBzB,OAAO,CAAC,eAAe;IA6BvB;;;OAGG;IACH,OAAO,CAAC,YAAY;IAqBpB,OAAO,CAAC,eAAe;CAkExB"}
@@ -10,6 +10,7 @@
10
10
  */
11
11
  import { getCurrentPhase, getLogPrefix } from '../../feature-agent/log-context.js';
12
12
  import { IS_WINDOWS } from '../../../../platform.js';
13
+ import { validateSecurityConstraints, } from './security-constraint-validator.js';
13
14
  /** Features supported by Claude Code CLI */
14
15
  const SUPPORTED_FEATURES = new Set([
15
16
  'session-resume',
@@ -37,8 +38,16 @@ export class ClaudeCodeExecutorService {
37
38
  const ts = new Date().toISOString();
38
39
  process.stdout.write(`[${ts}] ${getCurrentPhase()}${getLogPrefix()}${message}\n`);
39
40
  }
41
+ /** Executor capabilities for security constraint validation */
42
+ static CAPABILITIES = {
43
+ requiresPermissiveMode: true, // uses --dangerously-skip-permissions
44
+ executorName: 'claude-code',
45
+ };
40
46
  async execute(prompt, options) {
41
47
  this.silent = options?.silent ?? false;
48
+ const warning = validateSecurityConstraints(options?.securityConstraints, ClaudeCodeExecutorService.CAPABILITIES);
49
+ if (warning)
50
+ this.log(warning);
42
51
  // Use stream-json so we get real-time events in the worker log
43
52
  // instead of zero output for minutes with --output-format json
44
53
  const args = this.buildStreamArgs(prompt, options);
@@ -141,6 +150,9 @@ export class ClaudeCodeExecutorService {
141
150
  });
142
151
  }
143
152
  async *executeStream(prompt, options) {
153
+ const warning = validateSecurityConstraints(options?.securityConstraints, ClaudeCodeExecutorService.CAPABILITIES);
154
+ if (warning)
155
+ this.log(warning);
144
156
  const args = this.buildStreamArgs(prompt, options);
145
157
  const spawnOpts = this.buildSpawnOptions(options);
146
158
  const proc = this.spawn('claude', args, spawnOpts);
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Security Constraint Validator
3
+ *
4
+ * Pure function that validates security constraints against executor capabilities.
5
+ * Reusable across all executor types. Throws SecurityViolationError in Enforce mode
6
+ * when constraints are incompatible. Logs warnings in Advisory mode.
7
+ */
8
+ import type { SecurityConstraints } from '../../../../../application/ports/output/agents/agent-executor.interface.js';
9
+ export interface ExecutorCapabilities {
10
+ /** Whether this executor requires --dangerously-skip-permissions or equivalent */
11
+ requiresPermissiveMode: boolean;
12
+ /** Human-readable executor name for error messages */
13
+ executorName: string;
14
+ }
15
+ /**
16
+ * Validate security constraints against executor capabilities.
17
+ *
18
+ * @returns A warning message if Advisory mode detects an issue, or undefined if clean.
19
+ * @throws SecurityViolationError in Enforce mode when constraints are incompatible.
20
+ */
21
+ export declare function validateSecurityConstraints(constraints: SecurityConstraints | undefined, capabilities: ExecutorCapabilities): string | undefined;
22
+ //# sourceMappingURL=security-constraint-validator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"security-constraint-validator.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/core/src/infrastructure/services/agents/common/executors/security-constraint-validator.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4EAA4E,CAAC;AAGtH,MAAM,WAAW,oBAAoB;IACnC,kFAAkF;IAClF,sBAAsB,EAAE,OAAO,CAAC;IAChC,sDAAsD;IACtD,YAAY,EAAE,MAAM,CAAC;CACtB;AAED;;;;;GAKG;AACH,wBAAgB,2BAA2B,CACzC,WAAW,EAAE,mBAAmB,GAAG,SAAS,EAC5C,YAAY,EAAE,oBAAoB,GACjC,MAAM,GAAG,SAAS,CAiBpB"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Security Constraint Validator
3
+ *
4
+ * Pure function that validates security constraints against executor capabilities.
5
+ * Reusable across all executor types. Throws SecurityViolationError in Enforce mode
6
+ * when constraints are incompatible. Logs warnings in Advisory mode.
7
+ */
8
+ import { SecurityMode, SecurityActionCategory } from '../../../../../domain/generated/output.js';
9
+ import { SecurityViolationError } from '../../../../../domain/errors/security-violation.error.js';
10
+ /**
11
+ * Validate security constraints against executor capabilities.
12
+ *
13
+ * @returns A warning message if Advisory mode detects an issue, or undefined if clean.
14
+ * @throws SecurityViolationError in Enforce mode when constraints are incompatible.
15
+ */
16
+ export function validateSecurityConstraints(constraints, capabilities) {
17
+ if (!constraints)
18
+ return undefined;
19
+ if (constraints.mode === SecurityMode.Disabled)
20
+ return undefined;
21
+ if (constraints.sandboxLevel === 'strict' && capabilities.requiresPermissiveMode) {
22
+ const rule = `Executor "${capabilities.executorName}" requires permissive mode but policy demands strict sandbox`;
23
+ const remediation = 'Either switch to an executor that supports strict sandboxing, or relax the sandbox policy to permissive.';
24
+ if (constraints.mode === SecurityMode.Enforce) {
25
+ throw new SecurityViolationError(rule, SecurityActionCategory.SandboxEscalation, remediation);
26
+ }
27
+ return `[security:advisory] ${rule}. ${remediation}`;
28
+ }
29
+ return undefined;
30
+ }
@@ -69,10 +69,8 @@ export declare function createFastFeatureAgentGraph(depsOrExecutor: FastFeatureA
69
69
  ciFixAttempts: number;
70
70
  ciFixHistory: import("../../../../domain/index.js").CiFixRecord[];
71
71
  ciFixStatus: "success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted";
72
- iterationCount: number;
73
- maxIterations: number;
74
- feedbackHistory: string[];
75
- explorationStatus: "generating" | "waiting-feedback" | "applying-feedback" | "promoting" | "discarding" | undefined;
72
+ securityMode: import("../../../../domain/index.js").SecurityMode;
73
+ securityActionDispositions: Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>;
76
74
  }, {
77
75
  featureId?: string | undefined;
78
76
  repositoryPath?: string | undefined;
@@ -106,10 +104,8 @@ export declare function createFastFeatureAgentGraph(depsOrExecutor: FastFeatureA
106
104
  ciFixAttempts?: number | undefined;
107
105
  ciFixHistory?: import("../../../../domain/index.js").CiFixRecord[] | undefined;
108
106
  ciFixStatus?: "success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted" | undefined;
109
- iterationCount?: number | undefined;
110
- maxIterations?: number | undefined;
111
- feedbackHistory?: string[] | undefined;
112
- explorationStatus?: "generating" | "waiting-feedback" | "applying-feedback" | "promoting" | "discarding" | undefined;
107
+ securityMode?: import("../../../../domain/index.js").SecurityMode | undefined;
108
+ securityActionDispositions?: Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>> | undefined;
113
109
  }, "__start__" | "fast-implement", {
114
110
  featureId: {
115
111
  (): import("@langchain/langgraph").LastValue<string>;
@@ -163,10 +159,8 @@ export declare function createFastFeatureAgentGraph(depsOrExecutor: FastFeatureA
163
159
  ciFixAttempts: import("@langchain/langgraph").BinaryOperatorAggregate<number, number>;
164
160
  ciFixHistory: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").CiFixRecord[], import("../../../../domain/index.js").CiFixRecord[]>;
165
161
  ciFixStatus: import("@langchain/langgraph").BinaryOperatorAggregate<"success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted", "success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted">;
166
- iterationCount: import("@langchain/langgraph").BinaryOperatorAggregate<number, number>;
167
- maxIterations: import("@langchain/langgraph").BinaryOperatorAggregate<number, number>;
168
- feedbackHistory: import("@langchain/langgraph").BinaryOperatorAggregate<string[], string[]>;
169
- explorationStatus: import("@langchain/langgraph").BinaryOperatorAggregate<"generating" | "waiting-feedback" | "applying-feedback" | "promoting" | "discarding" | undefined, "generating" | "waiting-feedback" | "applying-feedback" | "promoting" | "discarding" | undefined>;
162
+ securityMode: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").SecurityMode, import("../../../../domain/index.js").SecurityMode>;
163
+ securityActionDispositions: import("@langchain/langgraph").BinaryOperatorAggregate<Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>, Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>>;
170
164
  }, {
171
165
  featureId: {
172
166
  (): import("@langchain/langgraph").LastValue<string>;
@@ -220,10 +214,8 @@ export declare function createFastFeatureAgentGraph(depsOrExecutor: FastFeatureA
220
214
  ciFixAttempts: import("@langchain/langgraph").BinaryOperatorAggregate<number, number>;
221
215
  ciFixHistory: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").CiFixRecord[], import("../../../../domain/index.js").CiFixRecord[]>;
222
216
  ciFixStatus: import("@langchain/langgraph").BinaryOperatorAggregate<"success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted", "success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted">;
223
- iterationCount: import("@langchain/langgraph").BinaryOperatorAggregate<number, number>;
224
- maxIterations: import("@langchain/langgraph").BinaryOperatorAggregate<number, number>;
225
- feedbackHistory: import("@langchain/langgraph").BinaryOperatorAggregate<string[], string[]>;
226
- explorationStatus: import("@langchain/langgraph").BinaryOperatorAggregate<"generating" | "waiting-feedback" | "applying-feedback" | "promoting" | "discarding" | undefined, "generating" | "waiting-feedback" | "applying-feedback" | "promoting" | "discarding" | undefined>;
217
+ securityMode: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").SecurityMode, import("../../../../domain/index.js").SecurityMode>;
218
+ securityActionDispositions: import("@langchain/langgraph").BinaryOperatorAggregate<Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>, Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>>;
227
219
  }, import("@langchain/langgraph").StateDefinition, {
228
220
  "fast-implement": Partial<import("@langchain/langgraph").StateType<{
229
221
  featureId: {
@@ -278,10 +270,8 @@ export declare function createFastFeatureAgentGraph(depsOrExecutor: FastFeatureA
278
270
  ciFixAttempts: import("@langchain/langgraph").BinaryOperatorAggregate<number, number>;
279
271
  ciFixHistory: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").CiFixRecord[], import("../../../../domain/index.js").CiFixRecord[]>;
280
272
  ciFixStatus: import("@langchain/langgraph").BinaryOperatorAggregate<"success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted", "success" | "timeout" | "idle" | "watching" | "fixing" | "exhausted">;
281
- iterationCount: import("@langchain/langgraph").BinaryOperatorAggregate<number, number>;
282
- maxIterations: import("@langchain/langgraph").BinaryOperatorAggregate<number, number>;
283
- feedbackHistory: import("@langchain/langgraph").BinaryOperatorAggregate<string[], string[]>;
284
- explorationStatus: import("@langchain/langgraph").BinaryOperatorAggregate<"generating" | "waiting-feedback" | "applying-feedback" | "promoting" | "discarding" | undefined, "generating" | "waiting-feedback" | "applying-feedback" | "promoting" | "discarding" | undefined>;
273
+ securityMode: import("@langchain/langgraph").BinaryOperatorAggregate<import("../../../../domain/index.js").SecurityMode, import("../../../../domain/index.js").SecurityMode>;
274
+ securityActionDispositions: import("@langchain/langgraph").BinaryOperatorAggregate<Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>, Partial<Record<import("../../../../domain/index.js").SecurityActionCategory, import("../../../../domain/index.js").SecurityActionDisposition>>>;
285
275
  }>>;
286
276
  }, unknown, unknown>;
287
277
  //# sourceMappingURL=fast-feature-agent-graph.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fast-feature-agent-graph.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/infrastructure/services/agents/feature-agent/fast-feature-agent-graph.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAA0B,KAAK,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AACxF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+DAA+D,CAAC;AAGpG,OAAO,EAAmB,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAGlF,OAAO,EAAE,sBAAsB,EAAE,KAAK,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE5E;;;GAGG;AACH,MAAM,WAAW,yBAAyB;IACxC,QAAQ,EAAE,cAAc,CAAC;IACzB,aAAa,CAAC,EAAE,IAAI,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;CACjD;AAkBD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,2BAA2B,CACzC,cAAc,EAAE,yBAAyB,GAAG,cAAc,EAC1D,YAAY,CAAC,EAAE,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA6BnC"}
1
+ {"version":3,"file":"fast-feature-agent-graph.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/infrastructure/services/agents/feature-agent/fast-feature-agent-graph.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAA0B,KAAK,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AACxF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+DAA+D,CAAC;AAGpG,OAAO,EAAmB,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAGlF,OAAO,EAAE,sBAAsB,EAAE,KAAK,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE5E;;;GAGG;AACH,MAAM,WAAW,yBAAyB;IACxC,QAAQ,EAAE,cAAc,CAAC;IACzB,aAAa,CAAC,EAAE,IAAI,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;CACjD;AAkBD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,2BAA2B,CACzC,cAAc,EAAE,yBAAyB,GAAG,cAAc,EAC1D,YAAY,CAAC,EAAE,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA6BnC"}