sinapse-ai 5.0.8 → 6.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (660) hide show
  1. package/.claude/CLAUDE.md +1 -1
  2. package/.claude/rules/agent-authority.md +10 -10
  3. package/.claude/rules/agent-memory-imports.md +4 -4
  4. package/.claude/rules/coderabbit-integration.md +4 -4
  5. package/.claude/rules/ids-principles.md +5 -5
  6. package/.claude/rules/story-lifecycle.md +15 -15
  7. package/.claude/rules/workflow-execution.md +11 -11
  8. package/.sinapse-ai/constitution.md +3 -3
  9. package/.sinapse-ai/core/code-intel/helpers/dev-helper.js +1 -1
  10. package/.sinapse-ai/core/code-intel/helpers/qa-helper.js +1 -1
  11. package/.sinapse-ai/core/code-intel/helpers/story-helper.js +7 -7
  12. package/.sinapse-ai/core/config/config-loader.js +1 -1
  13. package/.sinapse-ai/core/docs/session-update-pattern.md +1 -1
  14. package/.sinapse-ai/core/ids/framework-governor.js +4 -4
  15. package/.sinapse-ai/core/ids/index.js +1 -1
  16. package/.sinapse-ai/core/memory/gotchas-memory.js +1 -1
  17. package/.sinapse-ai/core/orchestration/agent-invoker.js +1 -1
  18. package/.sinapse-ai/core/orchestration/bob-surface-criteria.yaml +2 -2
  19. package/.sinapse-ai/core/orchestration/executor-assignment.js +1 -1
  20. package/.sinapse-ai/core/orchestration/executors/epic-6-executor.js +1 -1
  21. package/.sinapse-ai/core/orchestration/executors/epic-executor.js +1 -1
  22. package/.sinapse-ai/core/orchestration/greenfield-handler.js +4 -4
  23. package/.sinapse-ai/core/orchestration/master-orchestrator.js +1 -1
  24. package/.sinapse-ai/core/orchestration/skill-dispatcher.js +3 -3
  25. package/.sinapse-ai/core/orchestration/workflow-executor.js +1 -1
  26. package/.sinapse-ai/core/quality-gates/layer2-pr-automation.js +3 -3
  27. package/.sinapse-ai/core/quality-gates/layer3-human-review.js +1 -1
  28. package/.sinapse-ai/core/quality-gates/quality-gate-config.yaml +1 -1
  29. package/.sinapse-ai/core/session/context-loader.js +1 -1
  30. package/.sinapse-ai/data/agent-config-requirements.yaml +3 -3
  31. package/.sinapse-ai/data/entity-registry.yaml +2154 -2337
  32. package/.sinapse-ai/data/registry-update-log.jsonl +316 -0
  33. package/.sinapse-ai/data/sinapse-kb.md +13 -13
  34. package/.sinapse-ai/data/tech-presets/csharp.md +2 -2
  35. package/.sinapse-ai/data/tech-presets/go.md +2 -2
  36. package/.sinapse-ai/data/tech-presets/java.md +2 -2
  37. package/.sinapse-ai/data/tech-presets/nextjs-react.md +1 -1
  38. package/.sinapse-ai/data/tech-presets/php.md +2 -2
  39. package/.sinapse-ai/data/tech-presets/rust.md +2 -2
  40. package/.sinapse-ai/data/technical-preferences.md +1 -1
  41. package/.sinapse-ai/data/workflow-chains.yaml +15 -15
  42. package/.sinapse-ai/development/README.md +1 -1
  43. package/.sinapse-ai/development/agent-teams/team-qa-focused.yaml +7 -7
  44. package/.sinapse-ai/development/agents/analyst.md +6 -6
  45. package/.sinapse-ai/development/agents/architect.md +4 -4
  46. package/.sinapse-ai/development/agents/data-engineer.md +2 -2
  47. package/.sinapse-ai/development/agents/{dev.md → developer.md} +7 -7
  48. package/.sinapse-ai/development/agents/devops.md +4 -4
  49. package/.sinapse-ai/development/agents/{po → product-lead}/MEMORY.md +3 -3
  50. package/.sinapse-ai/development/agents/{po.md → product-lead.md} +25 -25
  51. package/.sinapse-ai/development/agents/{pm → project-lead}/MEMORY.md +2 -2
  52. package/.sinapse-ai/development/agents/{pm.md → project-lead.md} +15 -15
  53. package/.sinapse-ai/development/agents/{qa.md → quality-gate.md} +8 -8
  54. package/.sinapse-ai/development/agents/{sinapse-master.md → sinapse-orqx.md} +12 -12
  55. package/.sinapse-ai/development/agents/{sm.md → sprint-lead.md} +18 -18
  56. package/.sinapse-ai/development/agents/squad-creator.md +4 -4
  57. package/.sinapse-ai/development/agents/ux-design-expert.md +2 -2
  58. package/.sinapse-ai/development/checklists/brownfield-compatibility-checklist.md +1 -1
  59. package/.sinapse-ai/development/checklists/memory-audit-checklist.md +1 -1
  60. package/.sinapse-ai/development/scripts/agent-config-loader.js +1 -1
  61. package/.sinapse-ai/development/scripts/apply-inline-greeting-all-agents.js +1 -1
  62. package/.sinapse-ai/development/scripts/audit-agent-config.js +2 -2
  63. package/.sinapse-ai/development/scripts/batch-update-agents-session-context.js +1 -1
  64. package/.sinapse-ai/development/scripts/dev-context-loader.js +1 -1
  65. package/.sinapse-ai/development/scripts/populate-entity-registry.js +2 -2
  66. package/.sinapse-ai/development/scripts/test-greeting-system.js +4 -4
  67. package/.sinapse-ai/development/scripts/unified-activation-pipeline.js +2 -2
  68. package/.sinapse-ai/development/scripts/verify-workflow-gaps.js +9 -9
  69. package/.sinapse-ai/development/tasks/analyze-cross-artifact.md +1 -1
  70. package/.sinapse-ai/development/tasks/analyze-project-structure.md +4 -4
  71. package/.sinapse-ai/development/tasks/apply-qa-fixes.md +1 -1
  72. package/.sinapse-ai/development/tasks/architect-analyze-impact.md +1 -1
  73. package/.sinapse-ai/development/tasks/brownfield-create-epic.md +10 -10
  74. package/.sinapse-ai/development/tasks/brownfield-create-story.md +1 -1
  75. package/.sinapse-ai/development/tasks/build-autonomous.md +1 -1
  76. package/.sinapse-ai/development/tasks/cleanup-utilities.md +6 -6
  77. package/.sinapse-ai/development/tasks/create-agent.md +1 -1
  78. package/.sinapse-ai/development/tasks/create-brownfield-story.md +4 -4
  79. package/.sinapse-ai/development/tasks/create-next-story.md +12 -12
  80. package/.sinapse-ai/development/tasks/create-service.md +2 -2
  81. package/.sinapse-ai/development/tasks/create-suite.md +1 -1
  82. package/.sinapse-ai/development/tasks/dev-backlog-debt.md +3 -3
  83. package/.sinapse-ai/development/tasks/dev-develop-story.md +5 -5
  84. package/.sinapse-ai/development/tasks/environment-bootstrap.md +2 -2
  85. package/.sinapse-ai/development/tasks/execute-checklist.md +1 -1
  86. package/.sinapse-ai/development/tasks/execute-epic-plan.md +11 -11
  87. package/.sinapse-ai/development/tasks/extract-patterns.md +2 -2
  88. package/.sinapse-ai/development/tasks/facilitate-brainstorming-session.md +2 -2
  89. package/.sinapse-ai/development/tasks/github-devops-github-pr-automation.md +1 -1
  90. package/.sinapse-ai/development/tasks/github-devops-pre-push-quality-gate.md +1 -1
  91. package/.sinapse-ai/development/tasks/ids-governor.md +3 -3
  92. package/.sinapse-ai/development/tasks/next.md +2 -2
  93. package/.sinapse-ai/development/tasks/orchestrate-resume.md +1 -1
  94. package/.sinapse-ai/development/tasks/orchestrate-status.md +1 -1
  95. package/.sinapse-ai/development/tasks/orchestrate-stop.md +1 -1
  96. package/.sinapse-ai/development/tasks/orchestrate.md +1 -1
  97. package/.sinapse-ai/development/tasks/patterns.md +2 -2
  98. package/.sinapse-ai/development/tasks/plan-create-context.md +2 -2
  99. package/.sinapse-ai/development/tasks/plan-execute-subtask.md +3 -3
  100. package/.sinapse-ai/development/tasks/po-close-story.md +3 -3
  101. package/.sinapse-ai/development/tasks/project-status.md +2 -2
  102. package/.sinapse-ai/development/tasks/qa-after-creation.md +2 -2
  103. package/.sinapse-ai/development/tasks/qa-backlog-add-followup.md +3 -3
  104. package/.sinapse-ai/development/tasks/qa-create-fix-request.md +8 -8
  105. package/.sinapse-ai/development/tasks/qa-evidence-requirements.md +1 -1
  106. package/.sinapse-ai/development/tasks/qa-false-positive-detection.md +1 -1
  107. package/.sinapse-ai/development/tasks/qa-fix-issues.md +10 -10
  108. package/.sinapse-ai/development/tasks/qa-gate.md +3 -3
  109. package/.sinapse-ai/development/tasks/qa-review-build.md +3 -3
  110. package/.sinapse-ai/development/tasks/qa-review-story.md +2 -2
  111. package/.sinapse-ai/development/tasks/qa-run-tests.md +1 -1
  112. package/.sinapse-ai/development/tasks/run-workflow-engine.md +1 -1
  113. package/.sinapse-ai/development/tasks/run-workflow.md +1 -1
  114. package/.sinapse-ai/development/tasks/security-scan.md +2 -2
  115. package/.sinapse-ai/development/tasks/setup-llm-routing.md +1 -1
  116. package/.sinapse-ai/development/tasks/spec-critique.md +4 -4
  117. package/.sinapse-ai/development/tasks/spec-gather-requirements.md +4 -4
  118. package/.sinapse-ai/development/tasks/spec-write-spec.md +2 -2
  119. package/.sinapse-ai/development/tasks/story-checkpoint.md +3 -3
  120. package/.sinapse-ai/development/tasks/sync-registry-intel.md +1 -1
  121. package/.sinapse-ai/development/tasks/validate-agents.md +1 -1
  122. package/.sinapse-ai/development/tasks/validate-next-story.md +10 -10
  123. package/.sinapse-ai/development/tasks/validate-workflow.md +1 -1
  124. package/.sinapse-ai/development/tasks/verify-subtask.md +2 -2
  125. package/.sinapse-ai/development/templates/code-intel-integration-pattern.md +3 -3
  126. package/.sinapse-ai/development/templates/subagent-step-prompt.md +2 -2
  127. package/.sinapse-ai/development/workflows/README.md +2 -2
  128. package/.sinapse-ai/development/workflows/auto-worktree.yaml +5 -5
  129. package/.sinapse-ai/development/workflows/brownfield-discovery.yaml +11 -11
  130. package/.sinapse-ai/development/workflows/brownfield-fullstack.yaml +6 -6
  131. package/.sinapse-ai/development/workflows/brownfield-service.yaml +5 -5
  132. package/.sinapse-ai/development/workflows/brownfield-ui.yaml +5 -5
  133. package/.sinapse-ai/development/workflows/development-cycle.yaml +10 -10
  134. package/.sinapse-ai/development/workflows/epic-orchestration.yaml +6 -6
  135. package/.sinapse-ai/development/workflows/greenfield-fullstack.yaml +7 -7
  136. package/.sinapse-ai/development/workflows/greenfield-service.yaml +5 -5
  137. package/.sinapse-ai/development/workflows/greenfield-ui.yaml +5 -5
  138. package/.sinapse-ai/development/workflows/qa-loop.yaml +1 -1
  139. package/.sinapse-ai/development/workflows/spec-pipeline.yaml +2 -2
  140. package/.sinapse-ai/development/workflows/story-development-cycle.yaml +1 -1
  141. package/.sinapse-ai/docs/standards/AGENT-PERSONALIZATION-STANDARD-V1.md +2 -2
  142. package/.sinapse-ai/docs/standards/OPEN-SOURCE-VS-SERVICE-DIFFERENCES.md +1 -1
  143. package/.sinapse-ai/docs/standards/QUALITY-GATES-SPECIFICATION.md +1 -1
  144. package/.sinapse-ai/docs/standards/SINAPSE-LIVRO-DE-OURO-V2.1-COMPLETE.md +6 -6
  145. package/.sinapse-ai/docs/standards/STANDARDS-INDEX.md +2 -2
  146. package/.sinapse-ai/docs/standards/STORY-TEMPLATE-V2-SPECIFICATION.md +6 -6
  147. package/.sinapse-ai/infrastructure/scripts/config-loader.js +2 -2
  148. package/.sinapse-ai/infrastructure/scripts/gotchas-documenter.js +1 -1
  149. package/.sinapse-ai/infrastructure/scripts/ide-sync/README.md +3 -3
  150. package/.sinapse-ai/infrastructure/scripts/ide-sync/gemini-commands.js +1 -1
  151. package/.sinapse-ai/infrastructure/scripts/ide-sync/index.js +2 -2
  152. package/.sinapse-ai/infrastructure/scripts/ide-sync/redirect-generator.js +2 -2
  153. package/.sinapse-ai/infrastructure/scripts/migrate-agent.js +1 -1
  154. package/.sinapse-ai/infrastructure/scripts/performance-tracker.js +2 -2
  155. package/.sinapse-ai/infrastructure/scripts/qa-report-generator.js +1 -1
  156. package/.sinapse-ai/infrastructure/scripts/recovery-tracker.js +1 -1
  157. package/.sinapse-ai/infrastructure/scripts/rollback-manager.js +1 -1
  158. package/.sinapse-ai/infrastructure/templates/core-config/core-config-brownfield.tmpl.yaml +1 -1
  159. package/.sinapse-ai/infrastructure/templates/core-config/core-config-greenfield.tmpl.yaml +1 -1
  160. package/.sinapse-ai/infrastructure/templates/sinapse-sync.yaml.template +1 -1
  161. package/.sinapse-ai/install-manifest.yaml +344 -344
  162. package/.sinapse-ai/monitor/hooks/lib/enrich.py +1 -1
  163. package/.sinapse-ai/product/checklists/self-critique-checklist.md +1 -1
  164. package/.sinapse-ai/product/checklists/story-draft-checklist.md +3 -3
  165. package/.sinapse-ai/product/templates/command-rationalization-matrix.md +3 -3
  166. package/.sinapse-ai/product/templates/design-story-tmpl.yaml +4 -4
  167. package/.sinapse-ai/product/templates/ide-rules/antigravity-rules.md +1 -1
  168. package/.sinapse-ai/product/templates/ide-rules/claude-rules.md +2 -2
  169. package/.sinapse-ai/product/templates/ide-rules/codex-rules.md +6 -6
  170. package/.sinapse-ai/product/templates/ide-rules/cursor-rules.md +1 -1
  171. package/.sinapse-ai/product/templates/personalized-agent-template.md +1 -1
  172. package/.sinapse-ai/product/templates/personalized-task-template.md +1 -1
  173. package/.sinapse-ai/product/templates/personalized-template-file.yaml +1 -1
  174. package/.sinapse-ai/product/templates/personalized-workflow-template.yaml +3 -3
  175. package/.sinapse-ai/product/templates/story-tmpl.yaml +8 -8
  176. package/.sinapse-ai/schemas/README.md +15 -15
  177. package/.sinapse-ai/scripts/diagnostics/health-dashboard/package-lock.json +2 -2
  178. package/.sinapse-ai/user-guide.md +4 -4
  179. package/.sinapse-ai/working-in-the-brownfield.md +3 -3
  180. package/LICENSE +4 -4
  181. package/README.en.md +6 -6
  182. package/README.md +8 -8
  183. package/bin/cli.js +13 -11
  184. package/bin/sinapse.js +17 -0
  185. package/docs/00-shared-activation-pipeline.md +16 -16
  186. package/docs/FEATURE_PROCESS.md +1 -1
  187. package/docs/ORQX-PLAN.md +264 -0
  188. package/docs/core-architecture.md +2 -2
  189. package/docs/en/sinapse-agent-flows/README.md +2 -2
  190. package/docs/en/sinapse-agent-flows/dev-system.md +2 -2
  191. package/docs/en/sinapse-agent-flows/pm-system.md +2 -2
  192. package/docs/en/sinapse-agent-flows/qa-system.md +2 -2
  193. package/docs/en/sinapse-agent-flows/{sinapse-master-system.md → sinapse-orqx-system.md} +5 -5
  194. package/docs/en/sinapse-agent-flows/sm-system.md +2 -2
  195. package/docs/framework/entity-layer-classification.md +2 -2
  196. package/docs/framework/source-tree.md +17 -17
  197. package/docs/getting-started.md +13 -13
  198. package/docs/guides/IDS-CONCEITOS-EXPLICADOS.md +17 -17
  199. package/docs/guides/MEMORY-INTEGRATION.md +3 -3
  200. package/docs/guides/MEMORY-INTELLIGENCE-SYSTEM.md +4 -4
  201. package/docs/guides/ade-guide.md +25 -25
  202. package/docs/guides/agent-selection-guide.md +36 -36
  203. package/docs/guides/agents/ANALYST-SYSTEM.md +5 -5
  204. package/docs/guides/agents/ARCHITECT-SYSTEM.md +9 -9
  205. package/docs/guides/agents/DATA-ENGINEER-SYSTEM.md +8 -8
  206. package/docs/guides/agents/DEV-SYSTEM.md +27 -27
  207. package/docs/guides/agents/DEVOPS-SYSTEM.md +5 -5
  208. package/docs/guides/agents/PM-SYSTEM.md +24 -24
  209. package/docs/guides/agents/QA-SYSTEM.md +24 -24
  210. package/docs/guides/agents/SINAPSE-MASTER-SYSTEM.md +26 -26
  211. package/docs/guides/agents/SM-SYSTEM.md +31 -31
  212. package/docs/guides/agents/SQUAD-CREATOR-SYSTEM.md +2 -2
  213. package/docs/guides/agents/UX-DESIGN-EXPERT-SYSTEM.md +10 -10
  214. package/docs/guides/agents/traces/00-shared-activation-pipeline.md +16 -16
  215. package/docs/guides/agents/traces/00-shared-activation-pipeline.v1-act8.md +16 -16
  216. package/docs/guides/agents/traces/README.md +20 -20
  217. package/docs/guides/agents/traces/analyst-execution-trace.md +6 -6
  218. package/docs/guides/agents/traces/architect-execution-trace.md +3 -3
  219. package/docs/guides/agents/traces/data-engineer-execution-trace.md +4 -4
  220. package/docs/guides/agents/traces/dev-execution-trace.md +12 -12
  221. package/docs/guides/agents/traces/devops-execution-trace.md +6 -6
  222. package/docs/guides/agents/traces/pm-execution-trace.md +14 -14
  223. package/docs/guides/agents/traces/po-execution-trace.md +17 -17
  224. package/docs/guides/agents/traces/qa-execution-trace.md +15 -15
  225. package/docs/guides/agents/traces/{sinapse-master-execution-trace.md → sinapse-orqx-execution-trace.md} +22 -22
  226. package/docs/guides/agents/traces/sm-execution-trace.md +15 -15
  227. package/docs/guides/agents/traces/squad-creation-execution-trace.md +9 -9
  228. package/docs/guides/agents/traces/ux-design-expert-execution-trace.md +4 -4
  229. package/docs/guides/api-reference.md +27 -27
  230. package/docs/guides/coderabbit/README.md +9 -9
  231. package/docs/guides/contextual-greeting-system-guide.md +5 -5
  232. package/docs/guides/development-setup.md +1 -1
  233. package/docs/guides/project-status-feature.md +2 -2
  234. package/docs/guides/quality-dashboard.md +2 -2
  235. package/docs/guides/quality-gates.md +6 -6
  236. package/docs/guides/template-engine-v2.md +2 -2
  237. package/docs/guides/user-guide.md +13 -13
  238. package/docs/guides/workflows/AUTO-WORKTREE-WORKFLOW.md +3 -3
  239. package/docs/guides/workflows/BROWNFIELD-DISCOVERY-WORKFLOW.md +6 -6
  240. package/docs/guides/workflows/BROWNFIELD-FULLSTACK-WORKFLOW.md +30 -30
  241. package/docs/guides/workflows/BROWNFIELD-SERVICE-WORKFLOW.md +38 -38
  242. package/docs/guides/workflows/BROWNFIELD-UI-WORKFLOW.md +25 -25
  243. package/docs/guides/workflows/GREENFIELD-FULLSTACK-WORKFLOW.md +37 -37
  244. package/docs/guides/workflows/GREENFIELD-SERVICE-WORKFLOW.md +5 -5
  245. package/docs/guides/workflows/GREENFIELD-UI-WORKFLOW.md +19 -19
  246. package/docs/guides/workflows/QA-LOOP-WORKFLOW.md +13 -13
  247. package/docs/guides/workflows/SINAPSE-COMPLETE-CROSS-REFERENCE-ANALYSIS.md +19 -19
  248. package/docs/guides/workflows/SPEC-PIPELINE-WORKFLOW.md +25 -25
  249. package/docs/guides/workflows/STORY-DEVELOPMENT-CYCLE-WORKFLOW.md +28 -28
  250. package/docs/guides/workflows/WORKFLOW-TASK-AGENT-ANALYSIS.md +94 -94
  251. package/docs/guides/workflows/xref-phase2-templates.md +29 -29
  252. package/docs/guides/workflows/xref-phase3-scripts.md +33 -33
  253. package/docs/guides/workflows/xref-phase4-infra.md +2 -2
  254. package/docs/guides/workflows/xref-phase6-supporting.md +1 -1
  255. package/docs/guides/workflows-guide.md +2 -2
  256. package/docs/installation/faq.md +1 -1
  257. package/docs/installation/troubleshooting.md +2 -2
  258. package/docs/installation/v4-quick-start.md +2 -2
  259. package/docs/prd-cli-graph-dashboard.md +1 -1
  260. package/docs/pt/DOCUMENTATION-ROADMAP.md +1 -1
  261. package/docs/pt/FEATURE_PROCESS.md +1 -1
  262. package/docs/pt/README.md +2 -2
  263. package/docs/pt/agents/archetype-rationale.md +4 -4
  264. package/docs/pt/agents/persona-definitions.md +9 -9
  265. package/docs/pt/architecture/ADE-ARCHITECT-HANDOFF.md +15 -15
  266. package/docs/pt/architecture/ADE-EPIC1-HANDOFF.md +2 -2
  267. package/docs/pt/architecture/ADE-EPIC2-HANDOFF.md +2 -2
  268. package/docs/pt/architecture/ADE-EPIC3-HANDOFF.md +8 -8
  269. package/docs/pt/architecture/ade-architecture.md +4 -4
  270. package/docs/pt/architecture/adr/adr-hcs-health-check-system.md +3 -3
  271. package/docs/pt/architecture/agent-config-audit.md +4 -4
  272. package/docs/pt/architecture/agent-responsibility-matrix.md +20 -20
  273. package/docs/pt/architecture/agent-tool-integration-guide.md +8 -8
  274. package/docs/pt/architecture/contribution-workflow-research.md +1 -1
  275. package/docs/pt/architecture/dashboard-architecture.md +1 -1
  276. package/docs/pt/architecture/hcs-check-specifications.md +1 -1
  277. package/docs/pt/architecture/hcs-execution-modes.md +1 -1
  278. package/docs/pt/architecture/hcs-self-healing-spec.md +1 -1
  279. package/docs/pt/architecture/high-level-architecture.md +1 -1
  280. package/docs/pt/architecture/module-system.md +1 -1
  281. package/docs/pt/architecture/source-tree.md +1 -1
  282. package/docs/pt/architecture/squad-improvement-recommended-approach.md +2 -2
  283. package/docs/pt/architecture/utility-integration-guide.md +2 -2
  284. package/docs/pt/contributing.md +1 -1
  285. package/docs/pt/core-architecture.md +2 -2
  286. package/docs/pt/framework/source-tree.md +1 -1
  287. package/docs/pt/guides/ade-guide.md +25 -25
  288. package/docs/pt/guides/agent-selection-guide.md +36 -36
  289. package/docs/pt/guides/api-reference.md +25 -25
  290. package/docs/pt/guides/contextual-greeting-system-guide.md +5 -5
  291. package/docs/pt/guides/development-setup.md +1 -1
  292. package/docs/pt/guides/project-status-feature.md +2 -2
  293. package/docs/pt/guides/quality-dashboard.md +2 -2
  294. package/docs/pt/guides/quality-gates.md +6 -6
  295. package/docs/pt/guides/template-engine-v2.md +2 -2
  296. package/docs/pt/guides/user-guide.md +8 -8
  297. package/docs/pt/guides/workflows-guide.md +2 -2
  298. package/docs/pt/installation/faq.md +1 -1
  299. package/docs/pt/installation/troubleshooting.md +2 -2
  300. package/docs/pt/installation/v4-quick-start.md +2 -2
  301. package/docs/pt/platforms/antigravity.md +9 -9
  302. package/docs/pt/platforms/cursor.md +15 -15
  303. package/docs/pt/platforms/gemini-cli.md +3 -3
  304. package/docs/pt/roadmap.md +1 -1
  305. package/docs/pt/sinapse-nomenclature-specification.md +15 -15
  306. package/docs/pt/specifications/docs-agent-technical-specification.md +11 -11
  307. package/docs/roadmap.md +1 -1
  308. package/docs/sinapse-agent-flows/README.md +2 -2
  309. package/docs/sinapse-agent-flows/analyst-system.md +5 -5
  310. package/docs/sinapse-agent-flows/architect-system.md +9 -9
  311. package/docs/sinapse-agent-flows/data-engineer-system.md +8 -8
  312. package/docs/sinapse-agent-flows/dev-system.md +27 -27
  313. package/docs/sinapse-agent-flows/devops-system.md +5 -5
  314. package/docs/sinapse-agent-flows/pm-system.md +24 -24
  315. package/docs/sinapse-agent-flows/qa-system.md +24 -24
  316. package/docs/sinapse-agent-flows/{sinapse-master-system.md → sinapse-orqx-system.md} +26 -26
  317. package/docs/sinapse-agent-flows/sm-system.md +31 -31
  318. package/docs/sinapse-agent-flows/squad-creator-system.md +2 -2
  319. package/docs/sinapse-agent-flows/ux-design-expert-system.md +10 -10
  320. package/docs/sinapse-workflows/auto-worktree-workflow.md +3 -3
  321. package/docs/sinapse-workflows/brownfield-discovery-workflow.md +6 -6
  322. package/docs/sinapse-workflows/brownfield-fullstack-workflow.md +30 -30
  323. package/docs/sinapse-workflows/brownfield-service-workflow.md +38 -38
  324. package/docs/sinapse-workflows/brownfield-ui-workflow.md +25 -25
  325. package/docs/sinapse-workflows/greenfield-fullstack-workflow.md +37 -37
  326. package/docs/sinapse-workflows/greenfield-service-workflow.md +5 -5
  327. package/docs/sinapse-workflows/greenfield-ui-workflow.md +19 -19
  328. package/docs/sinapse-workflows/qa-loop-workflow.md +13 -13
  329. package/docs/sinapse-workflows/spec-pipeline-workflow.md +25 -25
  330. package/docs/sinapse-workflows/story-development-cycle-workflow.md +28 -28
  331. package/package.json +1 -1
  332. package/packages/gemini-sinapse-extension/README.md +1 -1
  333. package/packages/gemini-sinapse-extension/commands/lib/agent-launcher.js +1 -1
  334. package/packages/gemini-sinapse-extension/commands/{sinapse-master.js → sinapse-orqx.js} +1 -1
  335. package/packages/gemini-sinapse-extension/extension.json +3 -3
  336. package/packages/gemini-sinapse-extension/gemini-extension.json +3 -3
  337. package/packages/installer/src/config/configure-environment.js +2 -2
  338. package/packages/installer/src/updater/index.js +105 -0
  339. package/packages/installer/src/wizard/feedback.js +38 -30
  340. package/packages/installer/src/wizard/i18n.js +25 -182
  341. package/packages/installer/src/wizard/ide-config-generator.js +1 -1
  342. package/packages/installer/src/wizard/index.js +253 -69
  343. package/packages/installer/src/wizard/questions.js +35 -7
  344. package/packages/installer/tests/unit/artifact-copy-pipeline/artifact-copy-pipeline.test.js +1 -1
  345. package/packages/sinapse-install/README.md +1 -1
  346. package/packages/sinapse-install/src/installer.js +1 -1
  347. package/scripts/package-synapse.js +1 -1
  348. package/sinapse/agents/{sinapse-master.md → sinapse-orqx.md} +18 -18
  349. package/sinapse/knowledge-base/cross-squad-patterns.md +1 -1
  350. package/sinapse/knowledge-base/routing-catalog.md +1 -1
  351. package/sinapse/squad.yaml +1 -1
  352. package/sinapse/tasks/compose-multi-squad-plan.md +2 -2
  353. package/sinapse/tasks/coordinate-cross-squad.md +2 -2
  354. package/sinapse/tasks/diagnose-and-route.md +2 -2
  355. package/sinapse/tasks/onboard-user.md +2 -2
  356. package/sinapse/tasks/resolve-conflict.md +2 -2
  357. package/sinapse/tasks/squad-status-report.md +2 -2
  358. package/sinapse/tasks/strategic-brief.md +3 -3
  359. package/squads/squad-animations/agents/animations-orqx.md +2 -2
  360. package/squads/squad-brand/agents/brand-creative-engineer.md +1 -1
  361. package/squads/squad-brand/agents/brand-motion-vfx.md +1 -1
  362. package/squads/squad-brand/agents/brand-orqx.md +2 -2
  363. package/squads/squad-brand/agents/brand-sonic-designer.md +1 -1
  364. package/squads/squad-brand/agents/brand-system-architect.md +1 -1
  365. package/squads/squad-claude/agents/claude-orqx.md +2 -2
  366. package/squads/squad-cloning/agents/cloning-orqx.md +3 -3
  367. package/squads/squad-commercial/agents/commercial-orqx.md +1 -1
  368. package/squads/squad-commercial/agents/cs-business-auditor.md +1 -1
  369. package/squads/squad-commercial/agents/cs-client-success.md +1 -1
  370. package/squads/squad-commercial/agents/cs-crm-specialist.md +1 -1
  371. package/squads/squad-commercial/agents/cs-funnel-architect.md +1 -1
  372. package/squads/squad-commercial/agents/cs-lead-generation-strategist.md +1 -1
  373. package/squads/squad-commercial/agents/cs-offer-designer.md +1 -1
  374. package/squads/squad-commercial/agents/cs-revops-analyst.md +1 -1
  375. package/squads/squad-commercial/agents/cs-sales-closer.md +1 -1
  376. package/squads/squad-commercial/agents/cs-sales-enablement.md +1 -1
  377. package/squads/squad-commercial/knowledge-base/ai-as-competitive-infrastructure.md +1 -1
  378. package/squads/squad-content/agents/content-orqx.md +2 -2
  379. package/squads/squad-content/knowledge-base/ai-leverage-content-framework.md +1 -1
  380. package/squads/squad-copy/agents/copy-strategist.md +3 -3
  381. package/squads/squad-copy/knowledge-base/consequence-headline-patterns.md +1 -1
  382. package/squads/squad-council/agents/council-orqx.md +1 -1
  383. package/squads/squad-courses/agents/courses-orqx.md +1 -1
  384. package/squads/squad-cybersecurity/agents/cyber-orqx.md +2 -2
  385. package/squads/squad-design/agents/design-orqx.md +2 -2
  386. package/squads/squad-finance/agents/finance-orqx.md +2 -2
  387. package/squads/squad-growth/agents/growth-orqx.md +2 -2
  388. package/squads/squad-paidmedia/agents/paidmedia-orqx.md +2 -2
  389. package/squads/squad-product/agents/product-orqx.md +2 -2
  390. package/squads/squad-research/agents/research-orqx.md +2 -2
  391. package/squads/squad-research/tasks/create-executive-briefing.md +1 -1
  392. package/squads/squad-research/tasks/create-insight-deck.md +1 -1
  393. package/squads/squad-research/tasks/forecast-industry-trends.md +1 -1
  394. package/squads/squad-research/tasks/generate-actionable-recommendations.md +2 -2
  395. package/squads/squad-research/tasks/run-scenario-planning.md +2 -2
  396. package/squads/squad-research/tasks/synthesize-research-report.md +2 -2
  397. package/squads/squad-research/tasks/track-emerging-technologies.md +1 -1
  398. package/squads/squad-storytelling/agents/storytelling-orqx.md +2 -2
  399. package/docs/es/CHANGELOG.md +0 -117
  400. package/docs/es/DOCUMENTATION-ROADMAP.md +0 -216
  401. package/docs/es/ENVIRONMENT.md +0 -140
  402. package/docs/es/FEATURE_PROCESS.md +0 -99
  403. package/docs/es/GUIDING-PRINCIPLES.md +0 -101
  404. package/docs/es/README.md +0 -134
  405. package/docs/es/agent-reference-guide.md +0 -570
  406. package/docs/es/agents/archetype-rationale.md +0 -566
  407. package/docs/es/agents/persona-definitions.md +0 -501
  408. package/docs/es/api/squads-api.md +0 -753
  409. package/docs/es/architecture/ADE-AGENT-CHANGES.md +0 -469
  410. package/docs/es/architecture/ADE-ARCHITECT-HANDOFF.md +0 -338
  411. package/docs/es/architecture/ADE-EPIC1-HANDOFF.md +0 -85
  412. package/docs/es/architecture/ADE-EPIC2-HANDOFF.md +0 -106
  413. package/docs/es/architecture/ADE-EPIC3-HANDOFF.md +0 -327
  414. package/docs/es/architecture/ARCHITECTURE-INDEX.md +0 -188
  415. package/docs/es/architecture/ade-architecture.md +0 -586
  416. package/docs/es/architecture/adr/ADR-COLLAB-1-current-state-audit.md +0 -259
  417. package/docs/es/architecture/adr/ADR-COLLAB-2-proposed-configuration.md +0 -518
  418. package/docs/es/architecture/adr/adr-hcs-health-check-system.md +0 -489
  419. package/docs/es/architecture/adr/adr-isolated-vm-decision.md +0 -70
  420. package/docs/es/architecture/agent-config-audit.md +0 -222
  421. package/docs/es/architecture/agent-responsibility-matrix.md +0 -444
  422. package/docs/es/architecture/agent-tool-integration-guide.md +0 -334
  423. package/docs/es/architecture/ci-cd.md +0 -151
  424. package/docs/es/architecture/coding-standards.md +0 -896
  425. package/docs/es/architecture/contribution-workflow-research.md +0 -376
  426. package/docs/es/architecture/dashboard-architecture.md +0 -926
  427. package/docs/es/architecture/dashboard-realtime.md +0 -1253
  428. package/docs/es/architecture/hcs-check-specifications.md +0 -897
  429. package/docs/es/architecture/hcs-execution-modes.md +0 -519
  430. package/docs/es/architecture/hcs-self-healing-spec.md +0 -695
  431. package/docs/es/architecture/high-level-architecture.md +0 -357
  432. package/docs/es/architecture/introduction.md +0 -21
  433. package/docs/es/architecture/mcp-api-keys-management.md +0 -246
  434. package/docs/es/architecture/mcp-system-diagrams.md +0 -113
  435. package/docs/es/architecture/module-system.md +0 -382
  436. package/docs/es/architecture/multi-repo-strategy.md +0 -390
  437. package/docs/es/architecture/source-tree.md +0 -708
  438. package/docs/es/architecture/squad-improvement-analysis.md +0 -204
  439. package/docs/es/architecture/squad-improvement-recommended-approach.md +0 -390
  440. package/docs/es/architecture/tech-stack.md +0 -806
  441. package/docs/es/architecture/utility-integration-guide.md +0 -358
  442. package/docs/es/community/README-community-snippet-core.md +0 -57
  443. package/docs/es/community/README-community-snippet-mcp.md +0 -49
  444. package/docs/es/community/README-community-snippet-squads.md +0 -40
  445. package/docs/es/community.md +0 -227
  446. package/docs/es/core-architecture.md +0 -229
  447. package/docs/es/docker-mcp-setup.md +0 -426
  448. package/docs/es/framework/README.md +0 -99
  449. package/docs/es/framework/coding-standards.md +0 -892
  450. package/docs/es/framework/source-tree.md +0 -725
  451. package/docs/es/framework/tech-stack.md +0 -802
  452. package/docs/es/getting-started.md +0 -572
  453. package/docs/es/git-workflow-guide.md +0 -995
  454. package/docs/es/guides/README.md +0 -133
  455. package/docs/es/guides/ade-guide.md +0 -452
  456. package/docs/es/guides/agent-selection-guide.md +0 -295
  457. package/docs/es/guides/api-reference.md +0 -899
  458. package/docs/es/guides/build-recovery-guide.md +0 -270
  459. package/docs/es/guides/contextual-greeting-system-guide.md +0 -387
  460. package/docs/es/guides/contributing-squads.md +0 -256
  461. package/docs/es/guides/development-setup.md +0 -1111
  462. package/docs/es/guides/ide-sync-guide.md +0 -194
  463. package/docs/es/guides/installation-troubleshooting.md +0 -327
  464. package/docs/es/guides/llm-routing.md +0 -312
  465. package/docs/es/guides/mcp/desktop-commander.md +0 -368
  466. package/docs/es/guides/mcp/docker-gateway-tutorial.md +0 -336
  467. package/docs/es/guides/mcp-global-setup.md +0 -663
  468. package/docs/es/guides/permission-modes.md +0 -313
  469. package/docs/es/guides/project-status-feature.md +0 -473
  470. package/docs/es/guides/quality-dashboard.md +0 -367
  471. package/docs/es/guides/quality-gates.md +0 -614
  472. package/docs/es/guides/security-hardening.md +0 -1359
  473. package/docs/es/guides/service-discovery.md +0 -524
  474. package/docs/es/guides/squad-examples/README.md +0 -64
  475. package/docs/es/guides/squad-migration.md +0 -356
  476. package/docs/es/guides/squads-guide.md +0 -836
  477. package/docs/es/guides/squads-overview.md +0 -332
  478. package/docs/es/guides/template-engine-v2.md +0 -484
  479. package/docs/es/guides/testing-guide.md +0 -1215
  480. package/docs/es/guides/user-guide.md +0 -452
  481. package/docs/es/guides/workflows-guide.md +0 -400
  482. package/docs/es/how-to-contribute-with-pull-requests.md +0 -160
  483. package/docs/es/ide-integration.md +0 -425
  484. package/docs/es/installation/README.md +0 -108
  485. package/docs/es/installation/faq.md +0 -616
  486. package/docs/es/installation/linux.md +0 -311
  487. package/docs/es/installation/macos.md +0 -189
  488. package/docs/es/installation/troubleshooting.md +0 -735
  489. package/docs/es/installation/v4-quick-start.md +0 -269
  490. package/docs/es/installation/windows.md +0 -342
  491. package/docs/es/meta-agent-commands.md +0 -990
  492. package/docs/es/migration-guide.md +0 -310
  493. package/docs/es/npx-install.md +0 -193
  494. package/docs/es/performance-tuning-guide.md +0 -707
  495. package/docs/es/platforms/README.md +0 -283
  496. package/docs/es/platforms/antigravity.md +0 -510
  497. package/docs/es/platforms/claude-code.md +0 -650
  498. package/docs/es/platforms/cursor.md +0 -635
  499. package/docs/es/platforms/gemini-cli.md +0 -483
  500. package/docs/es/platforms/github-copilot.md +0 -480
  501. package/docs/es/roadmap.md +0 -119
  502. package/docs/es/security-best-practices.md +0 -613
  503. package/docs/es/security.md +0 -124
  504. package/docs/es/sinapse-agent-flows/README.md +0 -190
  505. package/docs/es/sinapse-agent-flows/analyst-system.md +0 -36
  506. package/docs/es/sinapse-agent-flows/architect-system.md +0 -36
  507. package/docs/es/sinapse-agent-flows/data-engineer-system.md +0 -36
  508. package/docs/es/sinapse-agent-flows/dev-system.md +0 -36
  509. package/docs/es/sinapse-agent-flows/devops-system.md +0 -36
  510. package/docs/es/sinapse-agent-flows/pm-system.md +0 -36
  511. package/docs/es/sinapse-agent-flows/qa-system.md +0 -36
  512. package/docs/es/sinapse-agent-flows/sinapse-master-system.md +0 -36
  513. package/docs/es/sinapse-agent-flows/sm-system.md +0 -36
  514. package/docs/es/sinapse-agent-flows/squad-creator-system.md +0 -36
  515. package/docs/es/sinapse-agent-flows/ux-design-expert-system.md +0 -36
  516. package/docs/es/sinapse-nomenclature-specification.md +0 -673
  517. package/docs/es/sinapse-workflows/README.md +0 -247
  518. package/docs/es/sinapse-workflows/auto-worktree-workflow.md +0 -39
  519. package/docs/es/sinapse-workflows/brownfield-discovery-workflow.md +0 -41
  520. package/docs/es/sinapse-workflows/brownfield-fullstack-workflow.md +0 -42
  521. package/docs/es/sinapse-workflows/brownfield-service-workflow.md +0 -43
  522. package/docs/es/sinapse-workflows/brownfield-ui-workflow.md +0 -42
  523. package/docs/es/sinapse-workflows/design-system-build-quality-workflow.md +0 -40
  524. package/docs/es/sinapse-workflows/greenfield-fullstack-workflow.md +0 -44
  525. package/docs/es/sinapse-workflows/greenfield-service-workflow.md +0 -43
  526. package/docs/es/sinapse-workflows/greenfield-ui-workflow.md +0 -43
  527. package/docs/es/sinapse-workflows/qa-loop-workflow.md +0 -39
  528. package/docs/es/sinapse-workflows/spec-pipeline-workflow.md +0 -40
  529. package/docs/es/sinapse-workflows/story-development-cycle-workflow.md +0 -42
  530. package/docs/es/specifications/docs-agent-technical-specification.md +0 -2161
  531. package/docs/es/troubleshooting.md +0 -887
  532. package/docs/es/uninstallation.md +0 -556
  533. package/docs/es/versioning-and-releases.md +0 -146
  534. package/docs/zh/CHANGELOG.md +0 -191
  535. package/docs/zh/ENVIRONMENT.md +0 -136
  536. package/docs/zh/FEATURE_PROCESS.md +0 -92
  537. package/docs/zh/GLOSSARY.md +0 -179
  538. package/docs/zh/GUIDING-PRINCIPLES.md +0 -97
  539. package/docs/zh/README.md +0 -133
  540. package/docs/zh/TRANSLATION-PLAN.md +0 -508
  541. package/docs/zh/agent-reference-guide.md +0 -566
  542. package/docs/zh/agents/archetype-rationale.md +0 -631
  543. package/docs/zh/agents/persona-definitions.md +0 -560
  544. package/docs/zh/api/squads-api.md +0 -753
  545. package/docs/zh/architecture/ADE-ARCHITECT-HANDOFF.md +0 -338
  546. package/docs/zh/architecture/ADE-EPIC1-HANDOFF.md +0 -85
  547. package/docs/zh/architecture/ADE-EPIC2-HANDOFF.md +0 -106
  548. package/docs/zh/architecture/ADE-EPIC3-HANDOFF.md +0 -327
  549. package/docs/zh/architecture/ARCHITECTURE-INDEX.md +0 -190
  550. package/docs/zh/architecture/SINAPSE-VISUAL-OVERVIEW.md +0 -595
  551. package/docs/zh/architecture/ade-architecture.md +0 -474
  552. package/docs/zh/architecture/adr/ADR-COLLAB-1-current-state-audit.md +0 -259
  553. package/docs/zh/architecture/adr/ADR-COLLAB-2-proposed-configuration.md +0 -518
  554. package/docs/zh/architecture/adr/adr-hcs-health-check-system.md +0 -489
  555. package/docs/zh/architecture/adr/adr-isolated-vm-decision.md +0 -70
  556. package/docs/zh/architecture/agent-config-audit.md +0 -220
  557. package/docs/zh/architecture/agent-responsibility-matrix.md +0 -444
  558. package/docs/zh/architecture/agent-tool-integration-guide.md +0 -336
  559. package/docs/zh/architecture/ci-cd.md +0 -151
  560. package/docs/zh/architecture/coding-standards.md +0 -898
  561. package/docs/zh/architecture/command-authority-matrix.md +0 -18
  562. package/docs/zh/architecture/contribution-workflow-research.md +0 -376
  563. package/docs/zh/architecture/dashboard-architecture.md +0 -569
  564. package/docs/zh/architecture/dashboard-realtime.md +0 -415
  565. package/docs/zh/architecture/hcs-check-specifications.md +0 -102
  566. package/docs/zh/architecture/hcs-execution-modes.md +0 -114
  567. package/docs/zh/architecture/hcs-self-healing-spec.md +0 -148
  568. package/docs/zh/architecture/high-level-architecture.md +0 -355
  569. package/docs/zh/architecture/introduction.md +0 -21
  570. package/docs/zh/architecture/mcp-api-keys-management.md +0 -248
  571. package/docs/zh/architecture/mcp-system-diagrams.md +0 -113
  572. package/docs/zh/architecture/module-system.md +0 -382
  573. package/docs/zh/architecture/multi-repo-strategy.md +0 -237
  574. package/docs/zh/architecture/source-tree.md +0 -710
  575. package/docs/zh/architecture/squad-improvement-analysis.md +0 -204
  576. package/docs/zh/architecture/squad-improvement-recommended-approach.md +0 -390
  577. package/docs/zh/architecture/tech-stack.md +0 -808
  578. package/docs/zh/architecture/utility-integration-guide.md +0 -358
  579. package/docs/zh/code-of-conduct.md +0 -113
  580. package/docs/zh/community/README-community-snippet-core.md +0 -57
  581. package/docs/zh/community/README-community-snippet-mcp.md +0 -49
  582. package/docs/zh/community/README-community-snippet-squads.md +0 -40
  583. package/docs/zh/community.md +0 -227
  584. package/docs/zh/contributing.md +0 -581
  585. package/docs/zh/core-architecture.md +0 -229
  586. package/docs/zh/docker-mcp-setup.md +0 -226
  587. package/docs/zh/framework/README.md +0 -97
  588. package/docs/zh/framework/coding-standards.md +0 -886
  589. package/docs/zh/framework/source-tree.md +0 -888
  590. package/docs/zh/framework/tech-stack.md +0 -796
  591. package/docs/zh/getting-started.md +0 -317
  592. package/docs/zh/git-workflow-guide.md +0 -988
  593. package/docs/zh/guides/MEMORY-INTEGRATION.md +0 -497
  594. package/docs/zh/guides/MEMORY-INTELLIGENCE-SYSTEM.md +0 -1083
  595. package/docs/zh/guides/MEMORY-SYSTEM.md +0 -1003
  596. package/docs/zh/guides/README.md +0 -127
  597. package/docs/zh/guides/ade-guide.md +0 -446
  598. package/docs/zh/guides/agent-selection-guide.md +0 -289
  599. package/docs/zh/guides/api-reference.md +0 -427
  600. package/docs/zh/guides/build-recovery-guide.md +0 -266
  601. package/docs/zh/guides/contextual-greeting-system-guide.md +0 -381
  602. package/docs/zh/guides/contributing-squads.md +0 -250
  603. package/docs/zh/guides/development-setup.md +0 -384
  604. package/docs/zh/guides/ide-sync-guide.md +0 -193
  605. package/docs/zh/guides/installation-troubleshooting.md +0 -321
  606. package/docs/zh/guides/llm-routing.md +0 -306
  607. package/docs/zh/guides/mcp/desktop-commander.md +0 -368
  608. package/docs/zh/guides/mcp/docker-gateway-tutorial.md +0 -336
  609. package/docs/zh/guides/mcp-global-setup.md +0 -696
  610. package/docs/zh/guides/permission-modes.md +0 -307
  611. package/docs/zh/guides/project-status-feature.md +0 -467
  612. package/docs/zh/guides/quality-dashboard.md +0 -361
  613. package/docs/zh/guides/quality-gates.md +0 -462
  614. package/docs/zh/guides/security-hardening.md +0 -1055
  615. package/docs/zh/guides/service-discovery.md +0 -518
  616. package/docs/zh/guides/squad-examples/README.md +0 -63
  617. package/docs/zh/guides/squad-migration.md +0 -336
  618. package/docs/zh/guides/template-engine-v2.md +0 -478
  619. package/docs/zh/guides/workflows-guide.md +0 -408
  620. package/docs/zh/how-to-contribute-with-pull-requests.md +0 -158
  621. package/docs/zh/installation/README.md +0 -106
  622. package/docs/zh/installation/faq.md +0 -611
  623. package/docs/zh/installation/linux.md +0 -447
  624. package/docs/zh/installation/macos.md +0 -187
  625. package/docs/zh/installation/troubleshooting.md +0 -729
  626. package/docs/zh/installation/windows.md +0 -475
  627. package/docs/zh/meta-agent-commands.md +0 -990
  628. package/docs/zh/security-best-practices.md +0 -610
  629. package/docs/zh/security.md +0 -124
  630. package/docs/zh/sinapse-agent-flows/README.md +0 -196
  631. package/docs/zh/sinapse-agent-flows/analyst-system.md +0 -679
  632. package/docs/zh/sinapse-agent-flows/architect-system.md +0 -246
  633. package/docs/zh/sinapse-agent-flows/data-engineer-system.md +0 -418
  634. package/docs/zh/sinapse-agent-flows/dev-system.md +0 -209
  635. package/docs/zh/sinapse-agent-flows/devops-system.md +0 -643
  636. package/docs/zh/sinapse-agent-flows/pm-system.md +0 -733
  637. package/docs/zh/sinapse-agent-flows/qa-system.md +0 -268
  638. package/docs/zh/sinapse-agent-flows/sinapse-master-system.md +0 -81
  639. package/docs/zh/sinapse-agent-flows/sm-system.md +0 -501
  640. package/docs/zh/sinapse-agent-flows/squad-creator-system.md +0 -704
  641. package/docs/zh/sinapse-agent-flows/ux-design-expert-system.md +0 -160
  642. package/docs/zh/sinapse-workflows/README.md +0 -247
  643. package/docs/zh/sinapse-workflows/auto-worktree-workflow.md +0 -793
  644. package/docs/zh/sinapse-workflows/brownfield-discovery-workflow.md +0 -915
  645. package/docs/zh/sinapse-workflows/brownfield-fullstack-workflow.md +0 -764
  646. package/docs/zh/sinapse-workflows/brownfield-service-workflow.md +0 -812
  647. package/docs/zh/sinapse-workflows/brownfield-ui-workflow.md +0 -891
  648. package/docs/zh/sinapse-workflows/design-system-build-quality-workflow.md +0 -845
  649. package/docs/zh/sinapse-workflows/greenfield-fullstack-workflow.md +0 -796
  650. package/docs/zh/sinapse-workflows/greenfield-service-workflow.md +0 -786
  651. package/docs/zh/sinapse-workflows/greenfield-ui-workflow.md +0 -922
  652. package/docs/zh/sinapse-workflows/qa-loop-workflow.md +0 -1111
  653. package/docs/zh/sinapse-workflows/spec-pipeline-workflow.md +0 -1031
  654. package/docs/zh/sinapse-workflows/story-development-cycle-workflow.md +0 -843
  655. package/docs/zh/troubleshooting.md +0 -883
  656. package/docs/zh/uninstallation.md +0 -348
  657. package/docs/zh/versioning-and-releases.md +0 -140
  658. /package/.sinapse-ai/development/agents/{dev → developer}/MEMORY.md +0 -0
  659. /package/.sinapse-ai/development/agents/{qa → quality-gate}/MEMORY.md +0 -0
  660. /package/.sinapse-ai/development/agents/{sm → sprint-lead}/MEMORY.md +0 -0
@@ -49,7 +49,7 @@ flowchart TB
49
49
 
50
50
  subgraph PHASE1["Fase 1: Gather Requirements"]
51
51
  direction TB
52
- G1["@pm (Morgan)"]
52
+ G1["@project-lead (Morgan)"]
53
53
  G2["Elicitação Interativa<br/>9 categorias de perguntas"]
54
54
  G3["requirements.json"]
55
55
  G1 --> G2 --> G3
@@ -73,7 +73,7 @@ flowchart TB
73
73
 
74
74
  subgraph PHASE4["Fase 4: Write Specification"]
75
75
  direction TB
76
- W1["@pm (Morgan)"]
76
+ W1["@project-lead (Morgan)"]
77
77
  W2["Gerar spec.md<br/>Sem invencao"]
78
78
  W3["spec.md"]
79
79
  W1 --> W2 --> W3
@@ -81,7 +81,7 @@ flowchart TB
81
81
 
82
82
  subgraph PHASE5["Fase 5: Critique Specification"]
83
83
  direction TB
84
- C1["@qa (Quinn)"]
84
+ C1["@quality-gate (Quinn)"]
85
85
  C2["Avaliar 5 dimensoes:<br/>Accuracy, Completeness,<br/>Consistency, Feasibility,<br/>Alignment"]
86
86
  C3{"Verdict"}
87
87
  C4["APPROVED"]
@@ -94,7 +94,7 @@ flowchart TB
94
94
  end
95
95
 
96
96
  subgraph PHASE5B["Fase 5b: Revise (COMPLEX)"]
97
- REV1["@pm (Morgan)"]
97
+ REV1["@project-lead (Morgan)"]
98
98
  REV2["Aplicar feedback<br/>e auto-fixes"]
99
99
  end
100
100
 
@@ -163,10 +163,10 @@ flowchart LR
163
163
  sequenceDiagram
164
164
  autonumber
165
165
  participant U as Usuario
166
- participant PM as @pm (Morgan)
166
+ participant PM as @project-lead (Morgan)
167
167
  participant AR as @architect (Aria)
168
168
  participant AN as @analyst (Atlas)
169
- participant QA as @qa (Quinn)
169
+ participant QA as @quality-gate (Quinn)
170
170
  participant FS as File System
171
171
 
172
172
  U->>PM: *create-spec STORY-42
@@ -223,7 +223,7 @@ sequenceDiagram
223
223
  |----------|-------|
224
224
  | **Step ID** | `gather` |
225
225
  | **Phase Number** | 1 |
226
- | **Agente** | @pm (Morgan) |
226
+ | **Agente** | @project-lead (Morgan) |
227
227
  | **Task** | `spec-gather-requirements.md` |
228
228
  | **Elicit** | Sim - requer interação do usuario |
229
229
 
@@ -282,7 +282,7 @@ mindmap
282
282
  "storyId": "STORY-42",
283
283
  "gatheredAt": "2026-01-28T10:00:00Z",
284
284
  "source": "user",
285
- "gatheredBy": "@pm",
285
+ "gatheredBy": "@project-lead",
286
286
  "elicitationVersion": "2.0",
287
287
  "functional": [
288
288
  {
@@ -434,7 +434,7 @@ flowchart LR
434
434
  |----------|-------|
435
435
  | **Step ID** | `spec` |
436
436
  | **Phase Number** | 4 |
437
- | **Agente** | @pm (Morgan) |
437
+ | **Agente** | @project-lead (Morgan) |
438
438
  | **Task** | `spec-write-spec.md` |
439
439
  | **Constitutional Gate** | Article IV - No Invention |
440
440
 
@@ -524,7 +524,7 @@ flowchart TB
524
524
  |----------|-------|
525
525
  | **Step ID** | `critique` |
526
526
  | **Phase Number** | 5 |
527
- | **Agente** | @qa (Quinn) |
527
+ | **Agente** | @quality-gate (Quinn) |
528
528
  | **Task** | `spec-critique.md` |
529
529
  | **Gate** | Blocking (APPROVED/NEEDS_REVISION/BLOCKED) |
530
530
 
@@ -605,7 +605,7 @@ flowchart TB
605
605
  |----------|-------|
606
606
  | **Step ID** | `revise` |
607
607
  | **Phase Number** | 5b |
608
- | **Agente** | @pm (Morgan) |
608
+ | **Agente** | @project-lead (Morgan) |
609
609
  | **Condition** | `complexity.result === 'COMPLEX'` OR `critique.verdict === 'NEEDS_REVISION'` |
610
610
 
611
611
  #### Inputs
@@ -630,7 +630,7 @@ flowchart TB
630
630
  |----------|-------|
631
631
  | **Step ID** | `critique_2` |
632
632
  | **Phase Number** | 5c |
633
- | **Agente** | @qa (Quinn) |
633
+ | **Agente** | @quality-gate (Quinn) |
634
634
  | **Task** | `spec-critique.md` |
635
635
  | **Condition** | `complexity.result === 'COMPLEX'` |
636
636
 
@@ -697,12 +697,12 @@ graph LR
697
697
 
698
698
  | Agente | ID | Nome | Papel no Pipeline | Fases |
699
699
  |--------|-----|------|-------------------|-------|
700
- | @pm | pm | Morgan | Product Manager | 1 (Gather), 4 (Spec), 5b (Revise) |
700
+ | @project-lead | pm | Morgan | Product Manager | 1 (Gather), 4 (Spec), 5b (Revise) |
701
701
  | @architect | architect | Aria | System Architect | 2 (Assess), 6 (Plan) |
702
702
  | @analyst | analyst | Atlas | Business Analyst | 3 (Research) |
703
- | @qa | qa | Quinn | Test Architect | 5 (Critique), 5c (Critique 2) |
703
+ | @quality-gate | qa | Quinn | Test Architect | 5 (Critique), 5c (Critique 2) |
704
704
 
705
- ### 4.1 Perfil: @pm (Morgan)
705
+ ### 4.1 Perfil: @project-lead (Morgan)
706
706
 
707
707
  - **Arquetipo:** Strategist
708
708
  - **Foco:** Coleta de requisitos, criação de especificações, documentação
@@ -723,7 +723,7 @@ graph LR
723
723
  - **Principios:** Curiosity-driven, evidence-based, action-oriented
724
724
  - **Ferramentas:** EXA, Context7, Google Workspace
725
725
 
726
- ### 4.4 Perfil: @qa (Quinn)
726
+ ### 4.4 Perfil: @quality-gate (Quinn)
727
727
 
728
728
  - **Arquetipo:** Guardian
729
729
  - **Foco:** Validacao de qualidade, gates de aprovacao, rastreabilidade
@@ -736,11 +736,11 @@ graph LR
736
736
 
737
737
  | Task | Fase | Agente | Arquivo |
738
738
  |------|------|--------|---------|
739
- | Gather Requirements | 1 | @pm | `.sinapse-ai/development/tasks/spec-gather-requirements.md` |
739
+ | Gather Requirements | 1 | @project-lead | `.sinapse-ai/development/tasks/spec-gather-requirements.md` |
740
740
  | Assess Complexity | 2 | @architect | `.sinapse-ai/development/tasks/spec-assess-complexity.md` |
741
741
  | Research Dependencies | 3 | @analyst | `.sinapse-ai/development/tasks/spec-research-dependencies.md` |
742
- | Write Specification | 4 | @pm | `.sinapse-ai/development/tasks/spec-write-spec.md` |
743
- | Critique Specification | 5, 5c | @qa | `.sinapse-ai/development/tasks/spec-critique.md` |
742
+ | Write Specification | 4 | @project-lead | `.sinapse-ai/development/tasks/spec-write-spec.md` |
743
+ | Critique Specification | 5, 5c | @quality-gate | `.sinapse-ai/development/tasks/spec-critique.md` |
744
744
  | Create Implementation Plan | 6 | @architect | `.sinapse-ai/development/tasks/plan-create-implementation.md` |
745
745
 
746
746
  ---
@@ -958,10 +958,10 @@ flowchart TB
958
958
 
959
959
  | Agente | Localização |
960
960
  |--------|-------------|
961
- | @pm (Morgan) | `.sinapse-ai/development/agents/pm.md` |
961
+ | @project-lead (Morgan) | `.sinapse-ai/development/agents/project-lead.md` |
962
962
  | @architect (Aria) | `.sinapse-ai/development/agents/architect.md` |
963
963
  | @analyst (Atlas) | `.sinapse-ai/development/agents/analyst.md` |
964
- | @qa (Quinn) | `.sinapse-ai/development/agents/qa.md` |
964
+ | @quality-gate (Quinn) | `.sinapse-ai/development/agents/quality-gate.md` |
965
965
 
966
966
  ### 10.3 Documentação Relacionada
967
967
 
@@ -974,11 +974,11 @@ flowchart TB
974
974
  | Comando | Descrição | Agente |
975
975
  |---------|-----------|--------|
976
976
  | `*create-spec STORY-ID` | Executar pipeline completo | - |
977
- | `*gather-requirements STORY-ID` | Apenas fase Gather | @pm |
977
+ | `*gather-requirements STORY-ID` | Apenas fase Gather | @project-lead |
978
978
  | `*assess-complexity STORY-ID` | Apenas fase Assess | @architect |
979
979
  | `*research-deps STORY-ID` | Apenas fase Research | @analyst |
980
- | `*write-spec STORY-ID` | Apenas fase Write | @pm |
981
- | `*critique-spec STORY-ID` | Apenas fase Critique | @qa |
980
+ | `*write-spec STORY-ID` | Apenas fase Write | @project-lead |
981
+ | `*critique-spec STORY-ID` | Apenas fase Critique | @quality-gate |
982
982
 
983
983
  ---
984
984
 
@@ -1005,7 +1005,7 @@ Artifacts:
1005
1005
 
1006
1006
  Next Steps:
1007
1007
  - Review spec.md
1008
- - Run @dev *develop {storyId}
1008
+ - Run @developer *develop {storyId}
1009
1009
  ```
1010
1010
 
1011
1011
  ---
@@ -101,10 +101,10 @@ stateDiagram-v2
101
101
  ```mermaid
102
102
  sequenceDiagram
103
103
  participant U as Usuario
104
- participant SM as @sm (River)
105
- participant PO as @po (Pax)
106
- participant DEV as @dev (Dex)
107
- participant QA as @qa (Quinn)
104
+ participant SM as @sprint-lead (River)
105
+ participant PO as @product-lead (Pax)
106
+ participant DEV as @developer (Dex)
107
+ participant QA as @quality-gate (Quinn)
108
108
  participant CR as CodeRabbit
109
109
 
110
110
  U->>SM: *workflow story-development-cycle
@@ -164,7 +164,7 @@ sequenceDiagram
164
164
  | Campo | Valor |
165
165
  |-------|-------|
166
166
  | **ID** | `create` |
167
- | **Agente** | @sm (River - Scrum Master) |
167
+ | **Agente** | @sprint-lead (River - Scrum Master) |
168
168
  | **Ação** | Criar próxima story |
169
169
  | **Task** | `create-next-story.md` |
170
170
 
@@ -209,7 +209,7 @@ O Scrum Master (River) identifica e cria a próxima story do backlog utilizando
209
209
  | Campo | Valor |
210
210
  |-------|-------|
211
211
  | **ID** | `validate` |
212
- | **Agente** | @po (Pax - Product Owner) |
212
+ | **Agente** | @product-lead (Pax - Product Owner) |
213
213
  | **Ação** | Validar story (10 checks) |
214
214
  | **Task** | `validate-next-story.md` |
215
215
  | **Requer** | `create` |
@@ -271,7 +271,7 @@ O Product Owner (Pax) valida a story criada usando um checklist rigoroso de 10 p
271
271
  | Campo | Valor |
272
272
  |-------|-------|
273
273
  | **ID** | `implement` |
274
- | **Agente** | @dev (Dex - Full Stack Developer) |
274
+ | **Agente** | @developer (Dex - Full Stack Developer) |
275
275
  | **Ação** | Implementar story |
276
276
  | **Task** | `dev-develop-story.md` |
277
277
  | **Requer** | `validate` |
@@ -364,7 +364,7 @@ flowchart TD
364
364
  | Campo | Valor |
365
365
  |-------|-------|
366
366
  | **ID** | `review` |
367
- | **Agente** | @qa (Quinn - Test Architect) |
367
+ | **Agente** | @quality-gate (Quinn - Test Architect) |
368
368
  | **Ação** | Review final + Quality Gate |
369
369
  | **Task** | `qa-gate.md` |
370
370
  | **Requer** | `implement` |
@@ -438,7 +438,7 @@ O QA Agent (Quinn) executa o review final com quality gate, validando codigo, te
438
438
 
439
439
  ## Agentes Participantes
440
440
 
441
- ### @sm - River (Scrum Master)
441
+ ### @sprint-lead - River (Scrum Master)
442
442
 
443
443
  | Aspecto | Descrição |
444
444
  |---------|-----------|
@@ -454,7 +454,7 @@ O QA Agent (Quinn) executa o review final com quality gate, validando codigo, te
454
454
 
455
455
  ---
456
456
 
457
- ### @po - Pax (Product Owner)
457
+ ### @product-lead - Pax (Product Owner)
458
458
 
459
459
  | Aspecto | Descrição |
460
460
  |---------|-----------|
@@ -470,7 +470,7 @@ O QA Agent (Quinn) executa o review final com quality gate, validando codigo, te
470
470
 
471
471
  ---
472
472
 
473
- ### @dev - Dex (Full Stack Developer)
473
+ ### @developer - Dex (Full Stack Developer)
474
474
 
475
475
  | Aspecto | Descrição |
476
476
  |---------|-----------|
@@ -487,7 +487,7 @@ O QA Agent (Quinn) executa o review final com quality gate, validando codigo, te
487
487
 
488
488
  ---
489
489
 
490
- ### @qa - Quinn (Test Architect)
490
+ ### @quality-gate - Quinn (Test Architect)
491
491
 
492
492
  | Aspecto | Descrição |
493
493
  |---------|-----------|
@@ -537,11 +537,11 @@ graph TD
537
537
 
538
538
  | Task | Arquivo | Agente | Propósito |
539
539
  |------|---------|--------|-----------|
540
- | Create Next Story | `create-next-story.md` | @sm | Criar story a partir do PRD/epic |
541
- | Validate Next Story | `validate-next-story.md` | @po | Validar completude e qualidade |
542
- | Develop Story | `dev-develop-story.md` | @dev | Implementar codigo e testes |
543
- | Story DOD Checklist | `story-dod-checklist.md` | @dev | Verificar Definition of Done |
544
- | QA Gate | `qa-gate.md` | @qa | Criar decisao de quality gate |
540
+ | Create Next Story | `create-next-story.md` | @sprint-lead | Criar story a partir do PRD/epic |
541
+ | Validate Next Story | `validate-next-story.md` | @product-lead | Validar completude e qualidade |
542
+ | Develop Story | `dev-develop-story.md` | @developer | Implementar codigo e testes |
543
+ | Story DOD Checklist | `story-dod-checklist.md` | @developer | Verificar Definition of Done |
544
+ | QA Gate | `qa-gate.md` | @quality-gate | Criar decisao de quality gate |
545
545
 
546
546
  ---
547
547
 
@@ -574,11 +574,11 @@ graph TD
574
574
 
575
575
  | Ferramenta | Propósito | Agentes |
576
576
  |------------|-----------|---------|
577
- | `git` | Controle de versao | @sm, @dev, @qa |
578
- | `coderabbit` | Review automatizado | @dev, @qa |
579
- | `clickup` | Tracking de stories | @sm, @po |
577
+ | `git` | Controle de versao | @sprint-lead, @developer, @quality-gate |
578
+ | `coderabbit` | Review automatizado | @developer, @quality-gate |
579
+ | `clickup` | Tracking de stories | @sprint-lead, @product-lead |
580
580
  | `context7` | Documentação de libs | Todos |
581
- | `github-cli` | Operacoes GitHub | @po, @qa |
581
+ | `github-cli` | Operacoes GitHub | @product-lead, @quality-gate |
582
582
 
583
583
  ---
584
584
 
@@ -630,9 +630,9 @@ graph TD
630
630
 
631
631
  | Ponto | Fase | Decisor | Criterio | Resultado Positivo | Resultado Negativo |
632
632
  |-------|------|---------|----------|-------------------|-------------------|
633
- | Validação PO | 2 | @po | 10 checks passam | Status: Ready | Retorna para SM |
633
+ | Validação PO | 2 | @product-lead | 10 checks passam | Status: Ready | Retorna para SM |
634
634
  | Self-Healing | 3 | Sistema | Sem CRITICAL issues | Prossegue para DOD | Halt ou auto-fix |
635
- | Quality Gate | 4 | @qa | Sem HIGH/CRITICAL | Status: Done | Retorna para Dev |
635
+ | Quality Gate | 4 | @quality-gate | Sem HIGH/CRITICAL | Status: Done | Retorna para Dev |
636
636
 
637
637
  ### Condições de Bloqueio
638
638
 
@@ -803,7 +803,7 @@ cat docs/stories/{story-file}.md | grep "status:"
803
803
  |----------|-------------|
804
804
  | Hotfixes urgentes | Fluxo simplificado sem QA gate |
805
805
  | Spikes/POCs exploratorios | Desenvolvimento ad-hoc |
806
- | Tasks puramente tecnicas sem story | Tarefas diretas com @dev |
806
+ | Tasks puramente tecnicas sem story | Tarefas diretas com @developer |
807
807
 
808
808
  ---
809
809
 
@@ -814,10 +814,10 @@ cat docs/stories/{story-file}.md | grep "status:"
814
814
  | Arquivo | Caminho |
815
815
  |---------|---------|
816
816
  | Workflow Definition | `.sinapse-ai/development/workflows/story-development-cycle.yaml` |
817
- | SM Agent | `.sinapse-ai/development/agents/sm.md` |
818
- | PO Agent | `.sinapse-ai/development/agents/po.md` |
819
- | Dev Agent | `.sinapse-ai/development/agents/dev.md` |
820
- | QA Agent | `.sinapse-ai/development/agents/qa.md` |
817
+ | SM Agent | `.sinapse-ai/development/agents/sprint-lead.md` |
818
+ | PO Agent | `.sinapse-ai/development/agents/product-lead.md` |
819
+ | Dev Agent | `.sinapse-ai/development/agents/developer.md` |
820
+ | QA Agent | `.sinapse-ai/development/agents/quality-gate.md` |
821
821
  | Create Story Task | `.sinapse-ai/development/tasks/create-next-story.md` |
822
822
  | Validate Story Task | `.sinapse-ai/development/tasks/validate-next-story.md` |
823
823
  | Develop Story Task | `.sinapse-ai/development/tasks/dev-develop-story.md` |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sinapse-ai",
3
- "version": "5.0.8",
3
+ "version": "6.0.1",
4
4
  "description": "SINAPSE: AI-Orchestrated System for Full Stack Development — 17 squads, 161 agents",
5
5
  "bin": {
6
6
  "sinapse": "bin/sinapse.js",
@@ -19,7 +19,7 @@ Use slash commands for fast activation flow (Codex `$`-like UX):
19
19
  - `/sinapse-architect`
20
20
  - `/sinapse-qa`
21
21
  - `/sinapse-devops`
22
- - `/sinapse-master`
22
+ - `/sinapse-orqx`
23
23
  - and other `/sinapse-<agent-id>` commands
24
24
 
25
25
  Each launcher returns a ready-to-send activation prompt plus greeting preview.
@@ -6,7 +6,7 @@ const path = require('path');
6
6
  const { spawnSync } = require('child_process');
7
7
 
8
8
  const AGENT_INFO = {
9
- 'sinapse-master': { icon: '🧠', role: 'Master Orchestrator' },
9
+ 'sinapse-orqx': { icon: '🧠', role: 'Master Orchestrator' },
10
10
  analyst: { icon: '📊', role: 'Business Analyst' },
11
11
  architect: { icon: '🏛️', role: 'System Architect' },
12
12
  'data-engineer': { icon: '🗄️', role: 'Data Engineer' },
@@ -3,4 +3,4 @@
3
3
 
4
4
  const { runAgentLauncher } = require('./lib/agent-launcher');
5
5
 
6
- process.exitCode = runAgentLauncher('sinapse-master');
6
+ process.exitCode = runAgentLauncher('sinapse-orqx');
@@ -55,9 +55,9 @@
55
55
  "script": "commands/sinapse-agent.js"
56
56
  },
57
57
  {
58
- "name": "sinapse-master",
59
- "description": "Quick launch sinapse-master agent",
60
- "script": "commands/sinapse-master.js"
58
+ "name": "sinapse-orqx",
59
+ "description": "Quick launch sinapse-orqx agent",
60
+ "script": "commands/sinapse-orqx.js"
61
61
  },
62
62
  {
63
63
  "name": "sinapse-analyst",
@@ -55,9 +55,9 @@
55
55
  "script": "commands/sinapse-agent.js"
56
56
  },
57
57
  {
58
- "name": "sinapse-master",
59
- "description": "Quick launch sinapse-master agent",
60
- "script": "commands/sinapse-master.js"
58
+ "name": "sinapse-orqx",
59
+ "description": "Quick launch sinapse-orqx agent",
60
+ "script": "commands/sinapse-orqx.js"
61
61
  },
62
62
  {
63
63
  "name": "sinapse-analyst",
@@ -108,12 +108,12 @@ async function configureEnvironment(options = {}) {
108
108
  }
109
109
  }
110
110
 
111
- // Step 2: API keys are configured later via .env or sinapse-master
111
+ // Step 2: API keys are configured later via .env or sinapse-orqx
112
112
  // Skipping prompts during installation for better UX
113
113
  const apiKeys = {};
114
114
 
115
115
  if (!skipPrompts) {
116
- console.log('\n💡 API keys can be configured later in .env file or via sinapse-master');
116
+ console.log('\n💡 API keys can be configured later in .env file or via sinapse-orqx');
117
117
  }
118
118
 
119
119
  // Step 3: Generate .env content
@@ -18,10 +18,12 @@
18
18
 
19
19
  const fs = require('fs-extra');
20
20
  const path = require('path');
21
+ const os = require('os');
21
22
  const https = require('https');
22
23
  const { execSync } = require('child_process');
23
24
  const { hashFile, hashesMatch } = require('../installer/file-hasher');
24
25
  const { PostInstallValidator, formatReport: formatValidationReport } = require('../installer/post-install-validator');
26
+ const { _testing: { installGlobalAgents } } = require('../wizard/index');
25
27
 
26
28
  /**
27
29
  * Update status types
@@ -469,6 +471,18 @@ class SINAPSEUpdater {
469
471
  result.filesUpdated = updateApplied.filesUpdated;
470
472
  result.filesPreserved = customizations.customized.length;
471
473
 
474
+ // Run version migrations
475
+ const needsV6Migration = (result.previousVersion && result.previousVersion.startsWith('5.'))
476
+ || fs.existsSync(path.join(os.homedir(), '.claude', 'agents', 'sinapse-master.md'));
477
+
478
+ if (needsV6Migration) {
479
+ onProgress('migrating', 'Running v6 migration...');
480
+ const migrationResult = await this.runV6Migration();
481
+ if (migrationResult.migrated) {
482
+ result.migrationApplied = true;
483
+ }
484
+ }
485
+
472
486
  // Update version.json
473
487
  onProgress('finalizing', 'Updating version info...');
474
488
  await this.updateVersionInfo(checkResult.latest);
@@ -672,6 +686,97 @@ class SINAPSEUpdater {
672
686
  }
673
687
  }
674
688
 
689
+ /**
690
+ * Run v5 → v6 migration
691
+ * Removes legacy agent files and installs new global orqx agents.
692
+ *
693
+ * @returns {Promise<Object>} Migration result
694
+ */
695
+ async runV6Migration() {
696
+ const result = { migrated: false, removed: 0, installed: 0 };
697
+
698
+ try {
699
+ const homedir = os.homedir();
700
+ const globalAgentsDir = path.join(homedir, '.claude', 'agents');
701
+ const commandsDir = path.join(this.projectRoot, '.claude', 'commands', 'SINAPSE', 'agents');
702
+
703
+ // 1. Remove legacy global agent (sinapse-master.md → renamed to sinapse-orqx.md)
704
+ const legacyGlobalAgents = ['sinapse-master.md'];
705
+
706
+ for (const file of legacyGlobalAgents) {
707
+ const filePath = path.join(globalAgentsDir, file);
708
+ if (fs.existsSync(filePath)) {
709
+ await fs.remove(filePath);
710
+ console.log(` Removed legacy global agent: ${file}`);
711
+ result.removed++;
712
+ }
713
+ }
714
+
715
+ // 2. Remove legacy project command agents (v5 individual agent commands)
716
+ const legacyCommandAgents = [
717
+ 'dev.md',
718
+ 'qa.md',
719
+ 'pm.md',
720
+ 'po.md',
721
+ 'sm.md',
722
+ 'analyst.md',
723
+ 'architect.md',
724
+ 'data-engineer.md',
725
+ 'devops.md',
726
+ 'ux-design-expert.md',
727
+ 'squad-creator.md',
728
+ 'sinapse-master.md',
729
+ ];
730
+
731
+ for (const file of legacyCommandAgents) {
732
+ const filePath = path.join(commandsDir, file);
733
+ if (fs.existsSync(filePath)) {
734
+ await fs.remove(filePath);
735
+ console.log(` Removed legacy command agent: ${file}`);
736
+ result.removed++;
737
+ }
738
+ }
739
+
740
+ // 2b. Remove legacy Codex agent files (v5 individual agents)
741
+ const codexAgentsDir = path.join(this.projectRoot, '.codex', 'agents');
742
+ if (fs.existsSync(codexAgentsDir)) {
743
+ for (const file of legacyCommandAgents) {
744
+ const filePath = path.join(codexAgentsDir, file);
745
+ if (fs.existsSync(filePath)) {
746
+ await fs.remove(filePath);
747
+ console.log(` Removed legacy Codex agent: ${file}`);
748
+ result.removed++;
749
+ }
750
+ }
751
+ // Also remove renamed variants that might exist
752
+ const renamedLegacy = ['developer.md', 'quality-gate.md', 'project-lead.md', 'product-lead.md', 'sprint-lead.md'];
753
+ for (const file of renamedLegacy) {
754
+ const filePath = path.join(codexAgentsDir, file);
755
+ if (fs.existsSync(filePath)) {
756
+ await fs.remove(filePath);
757
+ console.log(` Removed legacy Codex agent: ${file}`);
758
+ result.removed++;
759
+ }
760
+ }
761
+ }
762
+
763
+ // 3. Install new global orqx agents via wizard's installGlobalAgents
764
+ const installResult = await installGlobalAgents();
765
+ result.installed = installResult.count;
766
+ if (installResult.errors.length > 0) {
767
+ console.log(` Agent install warnings: ${installResult.errors.join(', ')}`);
768
+ }
769
+
770
+ result.migrated = true;
771
+ console.log(` v6 migration complete: ${result.removed} removed, ${result.installed} installed`);
772
+ } catch (error) {
773
+ // Migration errors should not block the update
774
+ console.log(` v6 migration warning: ${error.message}`);
775
+ }
776
+
777
+ return result;
778
+ }
779
+
675
780
  /**
676
781
  * Log if verbose
677
782
  *
@@ -122,51 +122,59 @@ function completeProgress(progressBar) {
122
122
  * ASCII Art Banner for SINAPSE
123
123
  */
124
124
  const BANNER = `
125
- █████╗ ██╗ ██████╗ ██╗ ██╗ ███████╗ ██████╗ ██╗ ██╗ █████╗ ██████╗
126
- ██╔══██╗██║██╔═══██╗╚██╗██╔╝ ██╔════╝██╔═══██╗██║ ██║██╔══██╗██╔══██╗
127
- ███████║██║██║ ██║ ╚███╔╝█████╗███████╗██║ ██║██║ ██║███████║██║ ██║
128
- ██╔══██║██║██║ ██║ ██╔██╗╚════╝╚════██║██║▄▄ ██║██║ ██║██╔══██║██║ ██║
129
- ██║ ██║██║╚██████╔╝██╔╝ ██╗ ███████║╚██████╔╝╚██████╔╝██║ ██║██████╔╝
130
- ╚═╝ ╚═╝╚═╝ ╚═════╝╚═╝ ╚═╝ ╚══════╝ ╚══▀▀═╝ ╚═════╝ ╚═╝ ╚═╝╚═════╝
125
+ ███████╗██╗███╗ ██╗ █████╗ ██████╗ ███████╗███████╗ █████╗ ██╗
126
+ ██╔════╝██║████╗ ██║██╔══██╗██╔══██╗██╔════╝██╔════╝ ██╔══██╗██║
127
+ ███████╗██║██╔██╗ ██║███████║██████╔╝███████╗█████╗ ███████║██║
128
+ ╚════██║██║██║╚██╗██║██╔══██║██╔═══╝ ╚════██║██╔══╝ ██╔══██║██║
129
+ ███████║██║██║ ╚████║██║ ██║██║ ███████║███████╗ ██║ ██║██║
130
+ ╚══════╝╚═╝╚═╝ ╚═══╝╚═╝ ╚═╝╚═╝ ╚══════╝╚══════╝ ╚═╝ ╚═╝╚═╝
131
131
  `;
132
132
 
133
133
  /**
134
- * Show welcome banner
134
+ * Show immersive welcome banner
135
135
  */
136
136
  function showWelcome() {
137
- // Get version from package.json
138
- const path = require('path');
139
- const fs = require('fs');
140
- let version = '2.1.0';
141
- try {
142
- const pkgPath = path.join(__dirname, '..', '..', '..', '..', 'package.json');
143
- const pkg = JSON.parse(fs.readFileSync(pkgPath, 'utf8'));
144
- version = pkg.version || version;
145
- } catch (_e) {
146
- // Use default version
147
- }
148
-
149
137
  console.log(colors.primary(BANNER));
150
- console.log(colors.secondary('Universal AI Agent Framework for Any Domain'));
151
- console.log(colors.tertiary(`Installer v${version}`));
138
+ console.log('');
139
+ console.log(colors.secondary(' Bem-vindo ao SINAPSE AI.'));
140
+ console.log(colors.secondary(' Seu copiloto de inteligencia artificial.'));
141
+ console.log('');
142
+ console.log(colors.tertiary(' 17 squads · 151 agentes · 1400+ tasks'));
143
+ console.log(colors.tertiary(' Tudo que voce precisa para construir,'));
144
+ console.log(colors.tertiary(' empacotar e distribuir com IA.'));
145
+ console.log('');
146
+ console.log(colors.dim(' Preparando sua imersao...'));
152
147
  console.log('');
153
148
  console.log(colors.dim('═'.repeat(80)));
154
149
  console.log('');
155
150
  }
156
151
 
157
152
  /**
158
- * Show completion message with excitement
159
- */
160
- function showCompletion() {
153
+ * Show completion message with summary
154
+ *
155
+ * @param {Object} [context={}] - Installation context for dynamic summary
156
+ * @param {string} [context.llmLabel] - LLM label (e.g., 'Claude Code', 'Codex CLI', 'Ambos')
157
+ */
158
+ function showCompletion(context = {}) {
159
+ const llmLabel = context.llmLabel || 'Claude Code';
160
+ const llmValue = context.llmValue || 'claude-code';
161
+
162
+ let startCommand;
163
+ if (llmValue === 'codex') {
164
+ startCommand = "Digite 'codex' no terminal para comecar.";
165
+ } else if (llmValue === 'both') {
166
+ startCommand = "Digite 'sinapse' (Claude) ou 'codex' (Codex) no terminal para comecar.";
167
+ } else {
168
+ startCommand = "Digite 'sinapse' no terminal para comecar.";
169
+ }
170
+
161
171
  console.log('\n' + headings.divider());
162
- console.log(status.celebrate(t('installComplete')));
163
172
  console.log('');
164
- console.log(colors.success(t('readyToUse')));
173
+ console.log(status.success('SINAPSE AI instalado'));
174
+ console.log(status.success(`${llmLabel} configurado`));
175
+ console.log(status.success('151 agentes disponiveis'));
176
+ console.log(status.success(`Pronto! ${startCommand}`));
165
177
  console.log('');
166
- console.log(colors.info(t('quickStart')));
167
- console.log(colors.dim(' • ' + t('quickStartAgents')));
168
- console.log(colors.dim(' • ' + t('quickStartStory')));
169
- console.log(colors.dim(' • ' + t('quickStartHelp')));
170
178
  console.log(headings.divider() + '\n');
171
179
  }
172
180