sinapse-ai 1.16.0 → 1.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (354) hide show
  1. package/.claude/hooks/doc-first-gate.cjs +156 -0
  2. package/.claude/hooks/enforce-story-gate.cjs +6 -2
  3. package/.claude/rules/documentation-first.md +6 -0
  4. package/.claude/rules/hook-governance.md +1 -0
  5. package/.sinapse-ai/constitution.md +3 -3
  6. package/.sinapse-ai/core/atlas/atlas-data.js +278 -0
  7. package/.sinapse-ai/core/atlas/flows-pt.js +253 -0
  8. package/.sinapse-ai/core/atlas/flows.js +266 -0
  9. package/.sinapse-ai/core/atlas/index.js +62 -0
  10. package/.sinapse-ai/core/atlas/render-html.js +216 -0
  11. package/.sinapse-ai/core/atlas/render-markdown.js +313 -0
  12. package/.sinapse-ai/core/atlas/render-research-card.js +164 -0
  13. package/.sinapse-ai/core/code-intel/registry-syncer.js +5 -3
  14. package/.sinapse-ai/core/doctor/checks/agent-memory.js +7 -5
  15. package/.sinapse-ai/core/doctor/checks/claude-md.js +13 -0
  16. package/.sinapse-ai/core/doctor/checks/constitution-consistency.js +1 -0
  17. package/.sinapse-ai/core/doctor/checks/hooks-claude-count.js +11 -0
  18. package/.sinapse-ai/core/doctor/checks/settings-json.js +16 -2
  19. package/.sinapse-ai/core/doctor/index.js +27 -0
  20. package/.sinapse-ai/core/execution/build-orchestrator.js +192 -8
  21. package/.sinapse-ai/core/external-executors/delegate-cli.js +6 -2
  22. package/.sinapse-ai/core/health-check/checks/project/constitution-consistency.js +2 -1
  23. package/.sinapse-ai/core/ideation/ideation-engine.js +10 -8
  24. package/.sinapse-ai/core/mcp/config-migrator.js +8 -5
  25. package/.sinapse-ai/core/mcp/global-config-manager.js +4 -1
  26. package/.sinapse-ai/core/mcp/symlink-manager.js +6 -3
  27. package/.sinapse-ai/core/orchestration/brownfield-handler.js +5 -4
  28. package/.sinapse-ai/core/orchestration/build-command.js +136 -0
  29. package/.sinapse-ai/core/orchestration/doc-first-resolver.js +322 -0
  30. package/.sinapse-ai/core/orchestration/executors/epic-4-executor.js +3 -0
  31. package/.sinapse-ai/core/orchestration/gate-evaluator.js +58 -9
  32. package/.sinapse-ai/core/orchestration/route-command.js +97 -0
  33. package/.sinapse-ai/core/orchestration/session-state.js +19 -2
  34. package/.sinapse-ai/core/orchestration/terminal-spawner.js +24 -1
  35. package/.sinapse-ai/core/orchestration/workflow-executor.js +102 -3
  36. package/.sinapse-ai/core/quality-gates/focus-area-recommender.js +15 -11
  37. package/.sinapse-ai/core/registry/build-registry.js +3 -2
  38. package/.sinapse-ai/core/synapse/scripts/generate-constitution.js +1 -0
  39. package/.sinapse-ai/core/synapse/utils/atomic-write.js +34 -9
  40. package/.sinapse-ai/core-config.yaml +5 -1
  41. package/.sinapse-ai/data/capability-detection.js +3 -3
  42. package/.sinapse-ai/data/entity-registry.yaml +288 -90
  43. package/.sinapse-ai/data/mcp-discipline.js +1 -1
  44. package/.sinapse-ai/data/mcp-tool-examples.yaml +8 -8
  45. package/.sinapse-ai/data/tok2-validation.js +1 -1
  46. package/.sinapse-ai/data/tool-registry.yaml +4 -3
  47. package/.sinapse-ai/development/agents/snps-orqx.md +14 -5
  48. package/.sinapse-ai/development/scripts/migrate-task-to-v2.js +1 -1
  49. package/.sinapse-ai/development/scripts/validate-task-v2.js +67 -4
  50. package/.sinapse-ai/development/tasks/advanced-elicitation.md +3 -3
  51. package/.sinapse-ai/development/tasks/analyst-facilitate-brainstorming.md +3 -3
  52. package/.sinapse-ai/development/tasks/analyze-framework.md +1 -8
  53. package/.sinapse-ai/development/tasks/analyze-performance.md +1 -8
  54. package/.sinapse-ai/development/tasks/apply-qa-fixes.md +3 -3
  55. package/.sinapse-ai/development/tasks/architect-analyze-impact.md +3 -3
  56. package/.sinapse-ai/development/tasks/audit-codebase.md +1 -8
  57. package/.sinapse-ai/development/tasks/audit-tailwind-config.md +1 -4
  58. package/.sinapse-ai/development/tasks/audit-utilities.md +1 -8
  59. package/.sinapse-ai/development/tasks/bootstrap-shadcn-library.md +3 -3
  60. package/.sinapse-ai/development/tasks/brownfield-create-epic.md +3 -3
  61. package/.sinapse-ai/development/tasks/brownfield-create-story.md +3 -3
  62. package/.sinapse-ai/development/tasks/build-component.md +2 -5
  63. package/.sinapse-ai/development/tasks/calculate-roi.md +3 -3
  64. package/.sinapse-ai/development/tasks/ci-cd-configuration.md +1 -1
  65. package/.sinapse-ai/development/tasks/cleanup-utilities.md +3 -3
  66. package/.sinapse-ai/development/tasks/collaborative-edit.md +3 -3
  67. package/.sinapse-ai/development/tasks/compose-molecule.md +2 -5
  68. package/.sinapse-ai/development/tasks/consolidate-patterns.md +3 -3
  69. package/.sinapse-ai/development/tasks/correct-course.md +3 -3
  70. package/.sinapse-ai/development/tasks/create-brownfield-story.md +2 -5
  71. package/.sinapse-ai/development/tasks/create-deep-research-prompt.md +2 -5
  72. package/.sinapse-ai/development/tasks/create-doc.md +3 -6
  73. package/.sinapse-ai/development/tasks/create-next-story.md +4 -8
  74. package/.sinapse-ai/development/tasks/create-suite.md +2 -5
  75. package/.sinapse-ai/development/tasks/create-task.md +2 -5
  76. package/.sinapse-ai/development/tasks/create-workflow.md +2 -5
  77. package/.sinapse-ai/development/tasks/db-analyze-hotpaths.md +1 -8
  78. package/.sinapse-ai/development/tasks/db-apply-migration.md +1 -8
  79. package/.sinapse-ai/development/tasks/db-bootstrap.md +1 -8
  80. package/.sinapse-ai/development/tasks/db-domain-modeling.md +1 -8
  81. package/.sinapse-ai/development/tasks/db-dry-run.md +1 -8
  82. package/.sinapse-ai/development/tasks/db-env-check.md +1 -8
  83. package/.sinapse-ai/development/tasks/db-explain.md +1 -8
  84. package/.sinapse-ai/development/tasks/db-impersonate.md +1 -8
  85. package/.sinapse-ai/development/tasks/db-load-csv.md +1 -8
  86. package/.sinapse-ai/development/tasks/db-policy-apply.md +1 -8
  87. package/.sinapse-ai/development/tasks/db-rls-audit.md +1 -8
  88. package/.sinapse-ai/development/tasks/db-rollback.md +1 -8
  89. package/.sinapse-ai/development/tasks/db-run-sql.md +1 -8
  90. package/.sinapse-ai/development/tasks/db-schema-audit.md +1 -8
  91. package/.sinapse-ai/development/tasks/db-seed.md +1 -8
  92. package/.sinapse-ai/development/tasks/db-smoke-test.md +1 -8
  93. package/.sinapse-ai/development/tasks/db-snapshot.md +1 -8
  94. package/.sinapse-ai/development/tasks/db-squad-integration.md +1 -8
  95. package/.sinapse-ai/development/tasks/db-supabase-setup.md +1 -8
  96. package/.sinapse-ai/development/tasks/db-verify-order.md +1 -8
  97. package/.sinapse-ai/development/tasks/deprecate-component.md +3 -3
  98. package/.sinapse-ai/development/tasks/dev-apply-qa-fixes.md +3 -3
  99. package/.sinapse-ai/development/tasks/dev-backlog-debt.md +3 -3
  100. package/.sinapse-ai/development/tasks/dev-develop-story.md +1 -1
  101. package/.sinapse-ai/development/tasks/dev-improve-code-quality.md +3 -3
  102. package/.sinapse-ai/development/tasks/dev-optimize-performance.md +3 -3
  103. package/.sinapse-ai/development/tasks/dev-suggest-refactoring.md +3 -3
  104. package/.sinapse-ai/development/tasks/dev-validate-next-story.md +3 -3
  105. package/.sinapse-ai/development/tasks/document-project.md +3 -3
  106. package/.sinapse-ai/development/tasks/environment-bootstrap.md +0 -4
  107. package/.sinapse-ai/development/tasks/execute-checklist.md +3 -3
  108. package/.sinapse-ai/development/tasks/export-design-tokens-dtcg.md +3 -3
  109. package/.sinapse-ai/development/tasks/extend-pattern.md +1 -8
  110. package/.sinapse-ai/development/tasks/extract-tokens.md +3 -3
  111. package/.sinapse-ai/development/tasks/facilitate-brainstorming-session.md +1 -1
  112. package/.sinapse-ai/development/tasks/generate-ai-frontend-prompt.md +2 -5
  113. package/.sinapse-ai/development/tasks/generate-documentation.md +2 -5
  114. package/.sinapse-ai/development/tasks/generate-migration-strategy.md +2 -5
  115. package/.sinapse-ai/development/tasks/generate-shock-report.md +2 -5
  116. package/.sinapse-ai/development/tasks/github-devops-github-pr-automation.md +3 -3
  117. package/.sinapse-ai/development/tasks/github-devops-repository-cleanup.md +3 -3
  118. package/.sinapse-ai/development/tasks/github-devops-version-management.md +3 -3
  119. package/.sinapse-ai/development/tasks/improve-self.md +1 -16
  120. package/.sinapse-ai/development/tasks/index-docs.md +1 -4
  121. package/.sinapse-ai/development/tasks/init-project-status.md +1 -7
  122. package/.sinapse-ai/development/tasks/integrate-squad.md +3 -3
  123. package/.sinapse-ai/development/tasks/kb-mode-interaction.md +3 -3
  124. package/.sinapse-ai/development/tasks/learn-patterns.md +3 -3
  125. package/.sinapse-ai/development/tasks/modify-agent.md +1 -8
  126. package/.sinapse-ai/development/tasks/modify-task.md +1 -8
  127. package/.sinapse-ai/development/tasks/modify-workflow.md +1 -8
  128. package/.sinapse-ai/development/tasks/po-backlog-add.md +3 -3
  129. package/.sinapse-ai/development/tasks/po-manage-story-backlog.md +3 -3
  130. package/.sinapse-ai/development/tasks/po-pull-story-from-clickup.md +3 -3
  131. package/.sinapse-ai/development/tasks/po-pull-story.md +3 -3
  132. package/.sinapse-ai/development/tasks/po-stories-index.md +3 -3
  133. package/.sinapse-ai/development/tasks/po-sync-story-to-clickup.md +3 -3
  134. package/.sinapse-ai/development/tasks/po-sync-story.md +3 -3
  135. package/.sinapse-ai/development/tasks/pr-automation.md +1 -1
  136. package/.sinapse-ai/development/tasks/propose-modification.md +3 -3
  137. package/.sinapse-ai/development/tasks/qa-backlog-add-followup.md +1 -8
  138. package/.sinapse-ai/development/tasks/qa-create-fix-request.md +1 -4
  139. package/.sinapse-ai/development/tasks/qa-gate.md +1 -8
  140. package/.sinapse-ai/development/tasks/qa-generate-tests.md +1 -8
  141. package/.sinapse-ai/development/tasks/qa-nfr-assess.md +1 -8
  142. package/.sinapse-ai/development/tasks/qa-review-proposal.md +1 -8
  143. package/.sinapse-ai/development/tasks/qa-review-story.md +1 -8
  144. package/.sinapse-ai/development/tasks/qa-risk-profile.md +1 -8
  145. package/.sinapse-ai/development/tasks/qa-run-tests.md +1 -8
  146. package/.sinapse-ai/development/tasks/qa-test-design.md +1 -8
  147. package/.sinapse-ai/development/tasks/qa-trace-requirements.md +1 -8
  148. package/.sinapse-ai/development/tasks/release-management.md +1 -1
  149. package/.sinapse-ai/development/tasks/security-audit.md +1 -4
  150. package/.sinapse-ai/development/tasks/security-scan.md +1 -4
  151. package/.sinapse-ai/development/tasks/setup-database.md +2 -11
  152. package/.sinapse-ai/development/tasks/setup-design-system.md +2 -11
  153. package/.sinapse-ai/development/tasks/shard-doc.md +3 -3
  154. package/.sinapse-ai/development/tasks/sm-create-next-story.md +3 -3
  155. package/.sinapse-ai/development/tasks/spec-gather-requirements.md +11 -0
  156. package/.sinapse-ai/development/tasks/sync-documentation.md +1 -6
  157. package/.sinapse-ai/development/tasks/tailwind-upgrade.md +3 -3
  158. package/.sinapse-ai/development/tasks/test-as-user.md +3 -3
  159. package/.sinapse-ai/development/tasks/undo-last.md +2 -5
  160. package/.sinapse-ai/development/tasks/update-manifest.md +1 -8
  161. package/.sinapse-ai/development/tasks/ux-create-wireframe.md +1 -1
  162. package/.sinapse-ai/development/tasks/ux-ds-scan-artifact.md +3 -3
  163. package/.sinapse-ai/development/tasks/ux-user-research.md +3 -3
  164. package/.sinapse-ai/development/tasks/validate-next-story.md +1 -8
  165. package/.sinapse-ai/development/templates/approval-table.md +106 -0
  166. package/.sinapse-ai/development/templates/chrome-brain/scripts/chrome-ensure.cjs +1 -1
  167. package/.sinapse-ai/development/workflows/spec-pipeline.yaml +1 -0
  168. package/.sinapse-ai/git-hooks/post-commit +0 -0
  169. package/.sinapse-ai/git-hooks/pre-commit +0 -0
  170. package/.sinapse-ai/git-hooks/pre-push +0 -0
  171. package/.sinapse-ai/infrastructure/scripts/changelog-generator.js +5 -1
  172. package/.sinapse-ai/infrastructure/scripts/pattern-extractor.js +11 -2
  173. package/.sinapse-ai/infrastructure/scripts/test-utilities.js +34 -13
  174. package/.sinapse-ai/infrastructure/scripts/usage-analytics.js +9 -5
  175. package/.sinapse-ai/infrastructure/scripts/validate-claude-integration.js +10 -2
  176. package/.sinapse-ai/install-manifest.yaml +364 -320
  177. package/.sinapse-ai/lib/build.json +1 -0
  178. package/.sinapse-ai/product/templates/personalized-task-template-v2.md +4 -2
  179. package/.sinapse-ai/product/templates/prd-tmpl.yaml +6 -2
  180. package/.sinapse-ai/product/templates/statusline/statusline-script.js +7 -3
  181. package/CHANGELOG.md +85 -7
  182. package/README.en.md +5 -5
  183. package/README.md +5 -5
  184. package/bin/cli.js +1 -1
  185. package/bin/commands/install.js +288 -114
  186. package/bin/commands/local.js +11 -0
  187. package/bin/lib/command-generator.js +31 -2
  188. package/bin/sinapse.js +121 -0
  189. package/docs/README.md +1 -1
  190. package/docs/agent-reference-guide.md +1 -1
  191. package/docs/community/README-community-snippet-core.md +1 -1
  192. package/docs/community/README-community-snippet-mcp.md +1 -1
  193. package/docs/community/README-community-snippet-squads.md +1 -1
  194. package/docs/examples/quickstart-recording.md +1 -1
  195. package/docs/framework/README.md +1 -1
  196. package/docs/framework/architecture-overview.md +1 -0
  197. package/docs/framework/atlas/OPERATING-ATLAS.md +537 -0
  198. package/docs/framework/atlas/README.md +34 -0
  199. package/docs/framework/atlas/atlas-data.json +2810 -0
  200. package/docs/framework/atlas/atlas.html +392 -0
  201. package/docs/framework/coding-standards.md +1 -1
  202. package/docs/framework/core-architecture.md +1 -1
  203. package/docs/framework/guiding-principles.md +1 -1
  204. package/docs/framework/source-tree.md +1 -1
  205. package/docs/framework/tech-stack.md +1 -1
  206. package/docs/framework/versioning-and-releases.md +1 -1
  207. package/docs/getting-started.md +1 -1
  208. package/docs/guides/agent-reference.md +1 -1
  209. package/docs/guides/agent-selection-guide.md +1 -1
  210. package/docs/guides/api-reference.md +1 -1
  211. package/docs/guides/contextual-greeting-system-guide.md +1 -1
  212. package/docs/guides/contributing-squads.md +1 -1
  213. package/docs/guides/development-setup.md +1 -1
  214. package/docs/guides/git-workflow-guide.md +1 -1
  215. package/docs/guides/installation-troubleshooting.md +1 -1
  216. package/docs/guides/llm-routing.md +1 -1
  217. package/docs/guides/mcp-global-setup.md +1 -1
  218. package/docs/guides/meta-agent-commands.md +1 -1
  219. package/docs/guides/project-status-feature.md +1 -1
  220. package/docs/guides/quality-dashboard.md +1 -1
  221. package/docs/guides/quality-gates.md +1 -1
  222. package/docs/guides/security-hardening.md +1 -1
  223. package/docs/guides/service-discovery.md +19 -22
  224. package/docs/guides/squad-examples/README.md +1 -1
  225. package/docs/guides/squad-migration.md +1 -1
  226. package/docs/guides/squads-guide.md +1 -1
  227. package/docs/guides/squads-overview.md +10 -13
  228. package/docs/guides/template-engine-v2.md +1 -1
  229. package/docs/guides/testing-guide.md +1 -1
  230. package/docs/guides/user-guide.md +30 -26
  231. package/docs/installation/README.md +3 -3
  232. package/docs/installation/faq.md +1 -1
  233. package/docs/installation/linux.md +2 -2
  234. package/docs/installation/macos.md +1 -1
  235. package/docs/installation/npx-install.md +1 -1
  236. package/docs/installation/troubleshooting.md +1 -1
  237. package/docs/installation/uninstallation.md +1 -1
  238. package/docs/installation/v4-quick-start.md +1 -1
  239. package/docs/installation/windows.md +2 -2
  240. package/docs/pt/CHANGELOG.md +1 -1
  241. package/docs/pt/DOCUMENTATION-ROADMAP.md +1 -1
  242. package/docs/pt/ENVIRONMENT.md +1 -1
  243. package/docs/pt/FEATURE_PROCESS.md +2 -2
  244. package/docs/pt/GUIDING-PRINCIPLES.md +2 -2
  245. package/docs/pt/agent-reference-guide.md +3 -3
  246. package/docs/pt/architecture/ARCHITECTURE-INDEX.md +2 -2
  247. package/docs/pt/architecture/ade-architecture.md +1 -1
  248. package/docs/pt/architecture/agent-config-audit.md +1 -1
  249. package/docs/pt/architecture/agent-responsibility-matrix.md +1 -1
  250. package/docs/pt/architecture/agent-tool-integration-guide.md +1 -1
  251. package/docs/pt/architecture/ci-cd.md +1 -1
  252. package/docs/pt/architecture/coding-standards.md +1 -1
  253. package/docs/pt/architecture/contribution-workflow-research.md +1 -1
  254. package/docs/pt/architecture/dashboard-architecture.md +1 -1
  255. package/docs/pt/architecture/dashboard-realtime.md +1 -1
  256. package/docs/pt/architecture/hcs-check-specifications.md +1 -1
  257. package/docs/pt/architecture/hcs-execution-modes.md +1 -1
  258. package/docs/pt/architecture/hcs-self-healing-spec.md +1 -1
  259. package/docs/pt/architecture/high-level-architecture.md +1 -1
  260. package/docs/pt/architecture/introduction.md +1 -1
  261. package/docs/pt/architecture/mcp-api-keys-management.md +3 -3
  262. package/docs/pt/architecture/mcp-system-diagrams.md +1 -1
  263. package/docs/pt/architecture/module-system.md +4 -4
  264. package/docs/pt/architecture/multi-repo-strategy.md +2 -2
  265. package/docs/pt/architecture/source-tree.md +1 -1
  266. package/docs/pt/architecture/squad-improvement-analysis.md +1 -1
  267. package/docs/pt/architecture/squad-improvement-recommended-approach.md +1 -1
  268. package/docs/pt/architecture/tech-stack.md +1 -1
  269. package/docs/pt/architecture/utility-integration-guide.md +1 -1
  270. package/docs/pt/code-of-conduct.md +1 -1
  271. package/docs/pt/community/README-community-snippet-core.md +1 -1
  272. package/docs/pt/community/README-community-snippet-mcp.md +2 -2
  273. package/docs/pt/contributing.md +7 -7
  274. package/docs/pt/core-architecture.md +1 -1
  275. package/docs/pt/docker-mcp-setup.md +1 -1
  276. package/docs/pt/framework/README.md +1 -1
  277. package/docs/pt/framework/coding-standards.md +1 -1
  278. package/docs/pt/framework/source-tree.md +1 -1
  279. package/docs/pt/framework/tech-stack.md +1 -1
  280. package/docs/pt/getting-started.md +1 -1
  281. package/docs/pt/git-workflow-guide.md +1 -1
  282. package/docs/pt/guides/README.md +3 -3
  283. package/docs/pt/guides/agent-selection-guide.md +2 -2
  284. package/docs/pt/guides/api-reference.md +1 -1
  285. package/docs/pt/guides/contextual-greeting-system-guide.md +1 -1
  286. package/docs/pt/guides/contributing-squads.md +1 -1
  287. package/docs/pt/guides/development-setup.md +1 -1
  288. package/docs/pt/guides/installation-troubleshooting.md +1 -1
  289. package/docs/pt/guides/llm-routing.md +1 -1
  290. package/docs/pt/guides/mcp/desktop-commander.md +1 -1
  291. package/docs/pt/guides/mcp/docker-gateway-tutorial.md +1 -1
  292. package/docs/pt/guides/mcp-global-setup.md +1 -1
  293. package/docs/pt/guides/project-status-feature.md +1 -1
  294. package/docs/pt/guides/quality-dashboard.md +1 -1
  295. package/docs/pt/guides/quality-gates.md +1 -1
  296. package/docs/pt/guides/security-hardening.md +2 -2
  297. package/docs/pt/guides/service-discovery.md +19 -22
  298. package/docs/pt/guides/squad-examples/README.md +1 -1
  299. package/docs/pt/guides/squad-migration.md +1 -1
  300. package/docs/pt/guides/squads-guide.md +1 -1
  301. package/docs/pt/guides/squads-overview.md +11 -13
  302. package/docs/pt/guides/template-engine-v2.md +1 -1
  303. package/docs/pt/guides/testing-guide.md +3 -3
  304. package/docs/pt/guides/user-guide.md +30 -26
  305. package/docs/pt/guides/workflows-guide.md +1 -1
  306. package/docs/pt/how-to-contribute-with-pull-requests.md +1 -1
  307. package/docs/pt/ide-integration.md +2 -2
  308. package/docs/pt/installation/README.md +1 -1
  309. package/docs/pt/installation/faq.md +1 -1
  310. package/docs/pt/installation/linux.md +1 -1
  311. package/docs/pt/installation/macos.md +1 -1
  312. package/docs/pt/installation/troubleshooting.md +1 -1
  313. package/docs/pt/installation/v4-quick-start.md +1 -1
  314. package/docs/pt/installation/windows.md +1 -1
  315. package/docs/pt/meta-agent-commands.md +1 -1
  316. package/docs/pt/migration-guide.md +1 -1
  317. package/docs/pt/npx-install.md +1 -1
  318. package/docs/pt/performance-tuning-guide.md +1 -1
  319. package/docs/pt/platforms/claude-code.md +2 -2
  320. package/docs/pt/roadmap.md +2 -2
  321. package/docs/pt/security-best-practices.md +2 -2
  322. package/docs/pt/security.md +1 -1
  323. package/docs/pt/sinapse-nomenclature-specification.md +1 -1
  324. package/docs/pt/troubleshooting.md +1 -1
  325. package/docs/pt/uninstallation.md +1 -1
  326. package/docs/pt/versioning-and-releases.md +1 -1
  327. package/docs/security/overview.md +1 -1
  328. package/docs/security/security-best-practices.md +2 -2
  329. package/docs/sinapse-workflows/README.md +1 -1
  330. package/package.json +2 -1
  331. package/packages/installer/package.json +1 -0
  332. package/packages/installer/src/wizard/feedback.js +18 -2
  333. package/packages/installer/src/wizard/i18n.js +78 -0
  334. package/packages/installer/src/wizard/ide-config-generator.js +14 -9
  335. package/packages/installer/src/wizard/index.js +16 -16
  336. package/packages/installer/src/wizard/validation/report-generator.js +22 -21
  337. package/packages/installer/src/wizard/validation/troubleshooting-system.js +19 -13
  338. package/scripts/gen-agent-badges.js +1 -1
  339. package/scripts/install-chrome-brain.sh +2 -2
  340. package/scripts/package-synapse.js +14 -5
  341. package/scripts/prepare-hooks.js +19 -0
  342. package/scripts/validate-agent-codenames.js +174 -0
  343. package/scripts/validate-all.js +1 -0
  344. package/scripts/validate-no-personal-leaks.js +24 -9
  345. package/sinapse/agents/sinapse-orqx.md +5 -5
  346. package/sinapse/agents/snps-orqx.md +5 -5
  347. package/squads/squad-brand/agents/brand-creative-engineer.md +5 -5
  348. package/squads/squad-brand/squad.yaml +6 -6
  349. package/squads/squad-content/agents/content-engineer.md +7 -7
  350. package/squads/squad-content/squad.yaml +5 -5
  351. package/squads/squad-copy/knowledge-base/consequence-headline-patterns.md +2 -2
  352. package/squads/squad-courses/agents/production-director.md +5 -5
  353. package/squads/squad-courses/squad.yaml +1 -1
  354. package/docs/guides/hooks-two-layers.md +0 -66
@@ -33,7 +33,7 @@ function loadCapabilities() {
33
33
 
34
34
  function loadMcpConfig() {
35
35
  try {
36
- return JSON.parse(fs.readFileSync(MCP_JSON_PATH, 'utf8'));
36
+ return JSON.parse(fs.readFileSync(MCP_JSON_PATH, 'utf8').replace(/^\uFEFF/, ''));
37
37
  } catch {
38
38
  console.error('❌ Could not read .mcp.json');
39
39
  process.exit(1);
@@ -186,16 +186,16 @@ tools:
186
186
  essential: true
187
187
  note: "Essential Tier 3 — never disabled, gets examples despite ADR-5"
188
188
  examples:
189
- - description: "Generate dependency graph for package"
189
+ - description: "Analyze dependencies for a module (dependency_analysis)"
190
190
  input:
191
- scope: "packages/installer"
192
- depth: 2
193
- expected: "Returns dependency tree up to 2 levels deep"
194
- - description: "Find circular dependencies"
191
+ tool: dependency_analysis
192
+ path: "packages/installer/src/index.js"
193
+ expected: "Returns the dependency graph (nodes + edges) for the module"
194
+ - description: "Find where a symbol is referenced (find_references)"
195
195
  input:
196
- scope: "."
197
- check: "circular"
198
- expected: "Returns list of circular dependency chains if any"
196
+ tool: find_references
197
+ symbol: "generateSettingsJson"
198
+ expected: "Returns all files and locations that reference the symbol"
199
199
 
200
200
  # ---------------------------------------------------------------------------
201
201
  # 10. docker-gateway — MCP infrastructure (Tier 2, 1 profile + infra)
@@ -142,7 +142,7 @@ function run() {
142
142
 
143
143
  check(17, 'No functional regression (MCP workflows still work)', () => {
144
144
  // MCP servers are still available via tool search — not removed
145
- const mcpConfig = JSON.parse(fs.readFileSync(path.join(PROJECT_ROOT, '.mcp.json'), 'utf8'));
145
+ const mcpConfig = JSON.parse(fs.readFileSync(path.join(PROJECT_ROOT, '.mcp.json'), 'utf8').replace(/^\uFEFF/, ''));
146
146
  const servers = mcpConfig.mcpServers || {};
147
147
  // Verify essential servers are not disabled
148
148
  return !servers.nogic?.disabled && !servers['code-graph']?.disabled;
@@ -5,9 +5,10 @@
5
5
  # and intelligent tool selection across agents, tasks, and squads.
6
6
  #
7
7
  # Consumer Module:
8
- # This registry is loaded by `.sinapse-ai/core/registry/registry-loader.js`.
9
- # Extend the existing loader to read `tool-registry.yaml` alongside
10
- # `entity-registry.yaml`. Both follow the same L3 YAML conventions.
8
+ # This registry is loaded by `.sinapse-ai/data/capability-detection.js`
9
+ # (loadToolRegistry), which reads `tool-registry.yaml` to count and classify
10
+ # tools by tier/profile. Follows the same L3 YAML conventions as
11
+ # `entity-registry.yaml`.
11
12
  #
12
13
  # Fallback Behavior:
13
14
  # If this file is missing or malformed, the system MUST continue without
@@ -80,6 +80,15 @@ Caio's runtime test (2026-05-07) showed the framework treating fresh installs as
80
80
  > **This step runs AFTER the Initial State Audit, BEFORE the routing decision. No exceptions.**
81
81
  > Without it, Imperator routes large-project requests directly to a domain orchestrator and skips the doc-first pipeline (Article III violation).
82
82
 
83
+ ### Deterministic engine (source of truth — never hand-classify)
84
+
85
+ The classification below is NOT done by reasoning from memory. It is computed by the **doc-first resolver** (`.sinapse-ai/core/orchestration/doc-first-resolver.js`) — the single source of truth shared by the CLI and the enforcement hook, so the agent and the gate can never drift:
86
+
87
+ - **Observe the decision** with `sinapse route "<brief>"` — read-only, no side effects. It returns the resolved `projectType`, the required greenfield `workflow`, the upstream `artifacts` (brief → prd → spec → architecture), and whether the doc-first `gate` is already satisfied.
88
+ - **Enforcement is automatic** — the `doc-first-gate.cjs` PreToolUse hook HARD-BLOCKS code writes in a greenfield project until PRD + epic + a `Ready` story exist. The framework repo and existing (brownfield) projects are exempt; escape with `SINAPSE_SKIP_DOCFIRST=1` only when explicitly justified.
89
+
90
+ Run `sinapse route` first and let its output drive Steps 1–4 below. Steps 1–4 are the human-readable explanation of what the resolver already decided — when prose and resolver disagree, the resolver wins.
91
+
83
92
  After the audit reports the maturity level, classify the request **before** consulting the routing table:
84
93
 
85
94
  ### Step 1 — Detect intent
@@ -291,7 +300,7 @@ routing_table:
291
300
  orchestrator: copy-orqx (Quill)
292
301
  invocation: "/copywriting:agents:copy-orqx"
293
302
  domain: "Copywriting, persuasao, headlines, landing pages, email copy, ads copy"
294
- agents: 12
303
+ agents: 13
295
304
  tasks: 81
296
305
  keywords: ["copy", "copywriting", "headline", "persuasao", "CTA", "landing page", "email", "anuncio", "ad copy", "sales page", "VSL", "script"]
297
306
 
@@ -318,7 +327,7 @@ routing_table:
318
327
  orchestrator: finance-orqx (Ledger)
319
328
  invocation: "/finance:agents:finance-orqx"
320
329
  domain: "Inteligencia financeira, pricing, P&L, budget, unit economics, financial modeling"
321
- agents: 5
330
+ agents: 8
322
331
  tasks: 45
323
332
  keywords: ["financeiro", "finance", "pricing", "P&L", "budget", "unit economics", "modelo financeiro", "receita", "custo", "margem", "ROI", "CAC", "LTV"]
324
333
 
@@ -363,7 +372,7 @@ routing_table:
363
372
  orchestrator: swarm-orqx (Nexus)
364
373
  invocation: "/claude:agents:swarm-orqx"
365
374
  domain: "Claude Code mastery, prompt engineering, MCP, automacao, hooks, skills, plugins, agent teams, context engineering"
366
- agents: 11
375
+ agents: 8
367
376
  tasks: 51
368
377
  keywords: ["Claude", "prompt", "MCP", "automacao", "agent", "squad", "Claude Code", "prompt engineering", "tool use", "workflow", "hooks", "skills", "plugins"]
369
378
 
@@ -399,7 +408,7 @@ routing_table:
399
408
  orchestrator: cloning-orqx (Helix)
400
409
  invocation: "/cloning:agents:cloning-orqx"
401
410
  domain: "Clonagem cognitiva, extracao de DNA mental, geracao de agentes a partir de mentes reais"
402
- agents: 8
411
+ agents: 9
403
412
  tasks: 54
404
413
  keywords: ["clone", "clonagem", "extracao", "DNA cognitivo", "mental model", "heuristic", "transcricao", "Whisper", "cognitive profile", "mind", "mente"]
405
414
 
@@ -777,7 +786,7 @@ Imperator can provide ecosystem-wide insights by combining capabilities across s
777
786
  | 16 | cloning | cloning | Helix | Cognitive cloning, mental DNA extraction |
778
787
  | 17 | courses | courses | Syllabus | Course creation, workshops, ebooks |
779
788
 
780
- **Total ecosystem:** 17 squads, 172 agents, 1,200 tasks
789
+ **Total ecosystem:** 17 squads, 172 agents (160 de squad + 12 core), 1,200 tasks
781
790
 
782
791
  ## Cross-Squad Handoffs
783
792
  - **Receives from:** Every squad (escalations, cross-squad requests)
@@ -354,7 +354,7 @@ function main() {
354
354
  console.log('Usage: node migrate-task-to-v2.js <task-file>');
355
355
  console.log('');
356
356
  console.log('Example:');
357
- console.log(' node migrate-task-to-v2.js .sinapse-ai/tasks/dev-develop-story.md');
357
+ console.log(' node migrate-task-to-v2.js .sinapse-ai/development/tasks/dev-develop-story.md');
358
358
  process.exit(0);
359
359
  }
360
360
 
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Task Format V2.0 Validation Script
5
5
  *
6
- * Validates task files against the V2.0 specification with 11 compliance rules.
6
+ * Validates task files against the V2.0 specification with 12 compliance rules.
7
7
  *
8
8
  * Usage:
9
9
  * node validate-task-v2.js <task-file> # Validate single task
@@ -27,6 +27,58 @@ const colors = {
27
27
  reset: '\x1b[0m',
28
28
  };
29
29
 
30
+ // Repo root, resolved from this script's location (.sinapse-ai/development/scripts/).
31
+ // Used by Rule 12 to verify that footer Source/Location pointers reference real files.
32
+ const REPO_ROOT = path.resolve(__dirname, '..', '..', '..');
33
+
34
+ const REPO_SCRIPT_PREFIX = /^(\.sinapse-ai|core|scripts|utils|bin)\//;
35
+ const SCRIPT_EXT = /\.(js|cjs|ts)$/;
36
+
37
+ /**
38
+ * Extract the candidate path token from a raw Source/Location value.
39
+ * Takes the first whitespace-delimited token, strips markdown backticks,
40
+ * a trailing :linenumber, and trailing punctuation.
41
+ */
42
+ function extractRepoPathToken(rawValue) {
43
+ let v = String(rawValue).trim().split(/\s+/)[0];
44
+ v = v.replace(/^`+/, '').replace(/`+$/, '');
45
+ v = v.replace(/:\d+$/, '');
46
+ v = v.replace(/[)\].,;]+$/, '');
47
+ return v;
48
+ }
49
+
50
+ /**
51
+ * Scan only the `## Tools` / `## Scripts` footer sections (both the bold-prose
52
+ * `**Source:**`/`**Location:**` format and the YAML `source:`/`location:` format)
53
+ * and return any repo-script path (.js/.cjs/.ts under .sinapse-ai|core|scripts|utils|bin)
54
+ * that does NOT exist on disk. Prose command/code examples in other sections are ignored.
55
+ */
56
+ function findMissingFooterScriptPaths(content) {
57
+ const lines = content.split(/\r?\n/);
58
+ const missing = [];
59
+ let inSection = false;
60
+ for (const line of lines) {
61
+ const trimmed = line.trim();
62
+ if (/^##\s+(Tools|Scripts)\b/.test(trimmed)) {
63
+ inSection = true;
64
+ continue;
65
+ }
66
+ if (inSection && (/^##\s/.test(trimmed) || trimmed === '---')) {
67
+ inSection = false;
68
+ }
69
+ if (!inSection) continue;
70
+
71
+ let m = line.match(/\*\*(?:Source|Location):\*\*\s*(.+?)\s*$/);
72
+ if (!m) m = line.match(/^\s*(?:source|location):\s*(.+?)\s*$/);
73
+ if (!m) continue;
74
+
75
+ const token = extractRepoPathToken(m[1]);
76
+ if (!REPO_SCRIPT_PREFIX.test(token) || !SCRIPT_EXT.test(token)) continue;
77
+ if (!fs.existsSync(path.join(REPO_ROOT, token))) missing.push(token);
78
+ }
79
+ return missing;
80
+ }
81
+
30
82
  /**
31
83
  * Validation rules for V2.0 compliance
32
84
  */
@@ -142,6 +194,17 @@ const validationRules = [
142
194
  },
143
195
  message: 'Output template markers not found (Duration, Tokens, Metrics)',
144
196
  },
197
+ {
198
+ id: 12,
199
+ name: 'Tools/Scripts footer paths exist',
200
+ check: (content) => {
201
+ return findMissingFooterScriptPaths(content).length === 0;
202
+ },
203
+ message: (content) => {
204
+ const missing = findMissingFooterScriptPaths(content);
205
+ return `Tools/Scripts footer references non-existent repo file(s): ${missing.join(', ')}`;
206
+ },
207
+ },
145
208
  ];
146
209
 
147
210
  /**
@@ -176,7 +239,7 @@ function validateTask(filePath) {
176
239
  result.failed.push({
177
240
  id: rule.id,
178
241
  name: rule.name,
179
- message: rule.message,
242
+ message: typeof rule.message === 'function' ? rule.message(content) : rule.message,
180
243
  });
181
244
  result.compliant = false;
182
245
  }
@@ -191,11 +254,11 @@ function validateTask(filePath) {
191
254
  }
192
255
 
193
256
  /**
194
- * Validate all tasks in .sinapse-ai/tasks/
257
+ * Validate all tasks in .sinapse-ai/development/tasks/
195
258
  * @returns {Object} Summary of validation results
196
259
  */
197
260
  function validateAllTasks() {
198
- const tasksDir = path.join(process.cwd(), '.sinapse-ai', 'tasks');
261
+ const tasksDir = path.join(process.cwd(), '.sinapse-ai', 'development', 'tasks');
199
262
 
200
263
  if (!fs.existsSync(tasksDir)) {
201
264
  console.error(`${colors.red}✗ Tasks directory not found: ${tasksDir}${colors.reset}`);
@@ -129,11 +129,11 @@ acceptance-criteria:
129
129
 
130
130
  - **Tool:** task-runner
131
131
  - **Purpose:** Task execution and orchestration
132
- - **Source:** .sinapse-ai/core/task-runner.js
132
+ - **Source:** .sinapse-ai/core/execution/
133
133
 
134
134
  - **Tool:** logger
135
135
  - **Purpose:** Execution logging and error tracking
136
- - **Source:** .sinapse-ai/utils/logger.js
136
+ - **Source:** .sinapse-ai/core/execution/
137
137
 
138
138
  ---
139
139
 
@@ -144,7 +144,7 @@ acceptance-criteria:
144
144
  - **Script:** execute-task.js
145
145
  - **Purpose:** Generic task execution wrapper
146
146
  - **Language:** JavaScript
147
- - **Location:** .sinapse-ai/scripts/execute-task.js
147
+ - **Location:** .sinapse-ai/core/execution/
148
148
 
149
149
  ---
150
150
 
@@ -139,11 +139,11 @@ acceptance-criteria:
139
139
 
140
140
  - **Tool:** task-runner
141
141
  - **Purpose:** Task execution and orchestration
142
- - **Source:** .sinapse-ai/core/task-runner.js
142
+ - **Source:** .sinapse-ai/core/execution/
143
143
 
144
144
  - **Tool:** logger
145
145
  - **Purpose:** Execution logging and error tracking
146
- - **Source:** .sinapse-ai/utils/logger.js
146
+ - **Source:** .sinapse-ai/core/execution/
147
147
 
148
148
  ---
149
149
 
@@ -154,7 +154,7 @@ acceptance-criteria:
154
154
  - **Script:** execute-task.js
155
155
  - **Purpose:** Generic task execution wrapper
156
156
  - **Language:** JavaScript
157
- - **Location:** .sinapse-ai/scripts/execute-task.js
157
+ - **Location:** .sinapse-ai/core/execution/
158
158
 
159
159
  ---
160
160
 
@@ -130,10 +130,6 @@ acceptance-criteria:
130
130
 
131
131
  **External/shared resources used by this task:**
132
132
 
133
- - **Tool:** code-analyzer
134
- - **Purpose:** Static code analysis and metrics
135
- - **Source:** .sinapse-ai/utils/code-analyzer.js
136
-
137
133
  - **Tool:** file-system
138
134
  - **Purpose:** Recursive directory traversal
139
135
  - **Source:** Node.js fs module
@@ -144,10 +140,7 @@ acceptance-criteria:
144
140
 
145
141
  **Agent-specific code for this task:**
146
142
 
147
- - **Script:** analyze-codebase.js
148
- - **Purpose:** Codebase analysis and reporting
149
- - **Language:** JavaScript
150
- - **Location:** .sinapse-ai/scripts/analyze-codebase.js
143
+ - N/A
151
144
 
152
145
  ---
153
146
 
@@ -138,10 +138,6 @@ acceptance-criteria:
138
138
 
139
139
  **External/shared resources used by this task:**
140
140
 
141
- - **Tool:** code-analyzer
142
- - **Purpose:** Static code analysis and metrics
143
- - **Source:** .sinapse-ai/utils/code-analyzer.js
144
-
145
141
  - **Tool:** file-system
146
142
  - **Purpose:** Recursive directory traversal
147
143
  - **Source:** Node.js fs module
@@ -152,10 +148,7 @@ acceptance-criteria:
152
148
 
153
149
  **Agent-specific code for this task:**
154
150
 
155
- - **Script:** analyze-codebase.js
156
- - **Purpose:** Codebase analysis and reporting
157
- - **Language:** JavaScript
158
- - **Location:** .sinapse-ai/scripts/analyze-codebase.js
151
+ - N/A
159
152
 
160
153
  ---
161
154
 
@@ -128,11 +128,11 @@ acceptance-criteria:
128
128
 
129
129
  - **Tool:** task-runner
130
130
  - **Purpose:** Task execution and orchestration
131
- - **Source:** .sinapse-ai/core/task-runner.js
131
+ - **Source:** .sinapse-ai/core/execution/
132
132
 
133
133
  - **Tool:** logger
134
134
  - **Purpose:** Execution logging and error tracking
135
- - **Source:** .sinapse-ai/utils/logger.js
135
+ - **Source:** .sinapse-ai/core/execution/
136
136
 
137
137
  ---
138
138
 
@@ -143,7 +143,7 @@ acceptance-criteria:
143
143
  - **Script:** execute-task.js
144
144
  - **Purpose:** Generic task execution wrapper
145
145
  - **Language:** JavaScript
146
- - **Location:** .sinapse-ai/scripts/execute-task.js
146
+ - **Location:** .sinapse-ai/core/execution/
147
147
 
148
148
  ---
149
149
 
@@ -128,11 +128,11 @@ acceptance-criteria:
128
128
 
129
129
  - **Tool:** task-runner
130
130
  - **Purpose:** Task execution and orchestration
131
- - **Source:** .sinapse-ai/core/task-runner.js
131
+ - **Source:** .sinapse-ai/core/execution/
132
132
 
133
133
  - **Tool:** logger
134
134
  - **Purpose:** Execution logging and error tracking
135
- - **Source:** .sinapse-ai/utils/logger.js
135
+ - **Source:** .sinapse-ai/core/execution/
136
136
 
137
137
  ---
138
138
 
@@ -143,7 +143,7 @@ acceptance-criteria:
143
143
  - **Script:** execute-task.js
144
144
  - **Purpose:** Generic task execution wrapper
145
145
  - **Language:** JavaScript
146
- - **Location:** .sinapse-ai/scripts/execute-task.js
146
+ - **Location:** .sinapse-ai/core/execution/
147
147
 
148
148
  ---
149
149
 
@@ -131,10 +131,6 @@ acceptance-criteria:
131
131
 
132
132
  **External/shared resources used by this task:**
133
133
 
134
- - **Tool:** code-analyzer
135
- - **Purpose:** Static code analysis and metrics
136
- - **Source:** .sinapse-ai/utils/code-analyzer.js
137
-
138
134
  - **Tool:** file-system
139
135
  - **Purpose:** Recursive directory traversal
140
136
  - **Source:** Node.js fs module
@@ -145,10 +141,7 @@ acceptance-criteria:
145
141
 
146
142
  **Agent-specific code for this task:**
147
143
 
148
- - **Script:** analyze-codebase.js
149
- - **Purpose:** Codebase analysis and reporting
150
- - **Language:** JavaScript
151
- - **Location:** .sinapse-ai/scripts/analyze-codebase.js
144
+ - N/A
152
145
 
153
146
  ---
154
147
 
@@ -131,10 +131,7 @@ acceptance-criteria:
131
131
 
132
132
  **Agent-specific code for this task:**
133
133
 
134
- - **Script:** analyze-codebase.js
135
- - **Purpose:** Codebase analysis and reporting
136
- - **Language:** JavaScript
137
- - **Location:** .sinapse-ai/scripts/analyze-codebase.js
134
+ - N/A
138
135
 
139
136
  ---
140
137
 
@@ -129,10 +129,6 @@ acceptance-criteria:
129
129
 
130
130
  **External/shared resources used by this task:**
131
131
 
132
- - **Tool:** code-analyzer
133
- - **Purpose:** Static code analysis and metrics
134
- - **Source:** .sinapse-ai/utils/code-analyzer.js
135
-
136
132
  - **Tool:** file-system
137
133
  - **Purpose:** Recursive directory traversal
138
134
  - **Source:** Node.js fs module
@@ -143,10 +139,7 @@ acceptance-criteria:
143
139
 
144
140
  **Agent-specific code for this task:**
145
141
 
146
- - **Script:** analyze-codebase.js
147
- - **Purpose:** Codebase analysis and reporting
148
- - **Language:** JavaScript
149
- - **Location:** .sinapse-ai/scripts/analyze-codebase.js
142
+ - N/A
150
143
 
151
144
  ---
152
145
 
@@ -133,11 +133,11 @@ acceptance-criteria:
133
133
 
134
134
  - **Tool:** task-runner
135
135
  - **Purpose:** Task execution and orchestration
136
- - **Source:** .sinapse-ai/core/task-runner.js
136
+ - **Source:** .sinapse-ai/core/execution/
137
137
 
138
138
  - **Tool:** logger
139
139
  - **Purpose:** Execution logging and error tracking
140
- - **Source:** .sinapse-ai/utils/logger.js
140
+ - **Source:** .sinapse-ai/core/execution/
141
141
 
142
142
  ---
143
143
 
@@ -148,7 +148,7 @@ acceptance-criteria:
148
148
  - **Script:** execute-task.js
149
149
  - **Purpose:** Generic task execution wrapper
150
150
  - **Language:** JavaScript
151
- - **Location:** .sinapse-ai/scripts/execute-task.js
151
+ - **Location:** .sinapse-ai/core/execution/
152
152
 
153
153
  ---
154
154
 
@@ -466,11 +466,11 @@ acceptance-criteria:
466
466
 
467
467
  - **Tool:** task-runner
468
468
  - **Purpose:** Task execution and orchestration
469
- - **Source:** .sinapse-ai/core/task-runner.js
469
+ - **Source:** .sinapse-ai/core/execution/
470
470
 
471
471
  - **Tool:** logger
472
472
  - **Purpose:** Execution logging and error tracking
473
- - **Source:** .sinapse-ai/utils/logger.js
473
+ - **Source:** .sinapse-ai/core/execution/
474
474
 
475
475
  ---
476
476
 
@@ -481,7 +481,7 @@ acceptance-criteria:
481
481
  - **Script:** execute-task.js
482
482
  - **Purpose:** Generic task execution wrapper
483
483
  - **Language:** JavaScript
484
- - **Location:** .sinapse-ai/scripts/execute-task.js
484
+ - **Location:** .sinapse-ai/core/execution/
485
485
 
486
486
  ---
487
487
 
@@ -142,11 +142,11 @@ acceptance-criteria:
142
142
 
143
143
  - **Tool:** task-runner
144
144
  - **Purpose:** Task execution and orchestration
145
- - **Source:** .sinapse-ai/core/task-runner.js
145
+ - **Source:** .sinapse-ai/core/execution/
146
146
 
147
147
  - **Tool:** logger
148
148
  - **Purpose:** Execution logging and error tracking
149
- - **Source:** .sinapse-ai/utils/logger.js
149
+ - **Source:** .sinapse-ai/core/execution/
150
150
 
151
151
  ---
152
152
 
@@ -157,7 +157,7 @@ acceptance-criteria:
157
157
  - **Script:** execute-task.js
158
158
  - **Purpose:** Generic task execution wrapper
159
159
  - **Language:** JavaScript
160
- - **Location:** .sinapse-ai/scripts/execute-task.js
160
+ - **Location:** .sinapse-ai/core/execution/
161
161
 
162
162
  ---
163
163
 
@@ -133,7 +133,7 @@ acceptance-criteria:
133
133
 
134
134
  - **Tool:** component-generator
135
135
  - **Purpose:** Generate new components from templates
136
- - **Source:** .sinapse-ai/scripts/component-generator.js
136
+ - **Source:** .sinapse-ai/infrastructure/scripts/component-generator.js
137
137
 
138
138
  - **Tool:** file-system
139
139
  - **Purpose:** File creation and validation
@@ -145,10 +145,7 @@ acceptance-criteria:
145
145
 
146
146
  **Agent-specific code for this task:**
147
147
 
148
- - **Script:** create-component.js
149
- - **Purpose:** Component creation workflow
150
- - **Language:** JavaScript
151
- - **Location:** .sinapse-ai/scripts/create-component.js
148
+ - N/A
152
149
 
153
150
  ---
154
151
 
@@ -133,11 +133,11 @@ acceptance-criteria:
133
133
 
134
134
  - **Tool:** task-runner
135
135
  - **Purpose:** Task execution and orchestration
136
- - **Source:** .sinapse-ai/core/task-runner.js
136
+ - **Source:** .sinapse-ai/core/execution/
137
137
 
138
138
  - **Tool:** logger
139
139
  - **Purpose:** Execution logging and error tracking
140
- - **Source:** .sinapse-ai/utils/logger.js
140
+ - **Source:** .sinapse-ai/core/execution/
141
141
 
142
142
  ---
143
143
 
@@ -148,7 +148,7 @@ acceptance-criteria:
148
148
  - **Script:** execute-task.js
149
149
  - **Purpose:** Generic task execution wrapper
150
150
  - **Language:** JavaScript
151
- - **Location:** .sinapse-ai/scripts/execute-task.js
151
+ - **Location:** .sinapse-ai/core/execution/
152
152
 
153
153
  ---
154
154
 
@@ -653,7 +653,7 @@ acceptance-criteria:
653
653
  - **Script:** execute-task.js
654
654
  - **Purpose:** Generic task execution wrapper
655
655
  - **Language:** JavaScript
656
- - **Location:** .sinapse-ai/scripts/execute-task.js
656
+ - **Location:** .sinapse-ai/core/execution/
657
657
 
658
658
  ---
659
659
 
@@ -352,11 +352,11 @@ acceptance-criteria:
352
352
 
353
353
  - **Tool:** task-runner
354
354
  - **Purpose:** Task execution and orchestration
355
- - **Source:** .sinapse-ai/core/task-runner.js
355
+ - **Source:** .sinapse-ai/core/execution/
356
356
 
357
357
  - **Tool:** logger
358
358
  - **Purpose:** Execution logging and error tracking
359
- - **Source:** .sinapse-ai/utils/logger.js
359
+ - **Source:** .sinapse-ai/core/execution/
360
360
 
361
361
  ---
362
362
 
@@ -367,7 +367,7 @@ acceptance-criteria:
367
367
  - **Script:** execute-task.js
368
368
  - **Purpose:** Generic task execution wrapper
369
369
  - **Language:** JavaScript
370
- - **Location:** .sinapse-ai/scripts/execute-task.js
370
+ - **Location:** .sinapse-ai/core/execution/
371
371
 
372
372
  ---
373
373
 
@@ -131,11 +131,11 @@ acceptance-criteria:
131
131
 
132
132
  - **Tool:** task-runner
133
133
  - **Purpose:** Task execution and orchestration
134
- - **Source:** .sinapse-ai/core/task-runner.js
134
+ - **Source:** .sinapse-ai/core/execution/
135
135
 
136
136
  - **Tool:** logger
137
137
  - **Purpose:** Execution logging and error tracking
138
- - **Source:** .sinapse-ai/utils/logger.js
138
+ - **Source:** .sinapse-ai/core/execution/
139
139
 
140
140
  ---
141
141
 
@@ -146,7 +146,7 @@ acceptance-criteria:
146
146
  - **Script:** execute-task.js
147
147
  - **Purpose:** Generic task execution wrapper
148
148
  - **Language:** JavaScript
149
- - **Location:** .sinapse-ai/scripts/execute-task.js
149
+ - **Location:** .sinapse-ai/core/execution/
150
150
 
151
151
  ---
152
152
 
@@ -133,7 +133,7 @@ acceptance-criteria:
133
133
 
134
134
  - **Tool:** component-generator
135
135
  - **Purpose:** Generate new components from templates
136
- - **Source:** .sinapse-ai/scripts/component-generator.js
136
+ - **Source:** .sinapse-ai/infrastructure/scripts/component-generator.js
137
137
 
138
138
  - **Tool:** file-system
139
139
  - **Purpose:** File creation and validation
@@ -145,10 +145,7 @@ acceptance-criteria:
145
145
 
146
146
  **Agent-specific code for this task:**
147
147
 
148
- - **Script:** create-component.js
149
- - **Purpose:** Component creation workflow
150
- - **Language:** JavaScript
151
- - **Location:** .sinapse-ai/scripts/create-component.js
148
+ - N/A
152
149
 
153
150
  ---
154
151
 
@@ -133,11 +133,11 @@ acceptance-criteria:
133
133
 
134
134
  - **Tool:** task-runner
135
135
  - **Purpose:** Task execution and orchestration
136
- - **Source:** .sinapse-ai/core/task-runner.js
136
+ - **Source:** .sinapse-ai/core/execution/
137
137
 
138
138
  - **Tool:** logger
139
139
  - **Purpose:** Execution logging and error tracking
140
- - **Source:** .sinapse-ai/utils/logger.js
140
+ - **Source:** .sinapse-ai/core/execution/
141
141
 
142
142
  ---
143
143
 
@@ -148,7 +148,7 @@ acceptance-criteria:
148
148
  - **Script:** execute-task.js
149
149
  - **Purpose:** Generic task execution wrapper
150
150
  - **Language:** JavaScript
151
- - **Location:** .sinapse-ai/scripts/execute-task.js
151
+ - **Location:** .sinapse-ai/core/execution/
152
152
 
153
153
  ---
154
154