sinapse-ai 1.11.2 → 1.12.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 (78) hide show
  1. package/.claude/hooks/enforce-architecture-first.cjs +2 -2
  2. package/.claude/hooks/enforce-delegation.cjs +2 -2
  3. package/.claude/hooks/enforce-permission-mode.cjs +12 -12
  4. package/.claude/hooks/enforce-story-gate.cjs +5 -5
  5. package/.claude/hooks/precompact-session-digest.cjs +2 -2
  6. package/.claude/hooks/secret-scanning.cjs +6 -6
  7. package/.claude/hooks/telemetry-post-tool.cjs +0 -1
  8. package/.claude/hooks/write-path-validation.cjs +2 -2
  9. package/.sinapse-ai/core/code-intel/helpers/dev-helper.js +1 -1
  10. package/.sinapse-ai/core/code-intel/helpers/devops-helper.js +0 -1
  11. package/.sinapse-ai/core/code-intel/helpers/planning-helper.js +1 -1
  12. package/.sinapse-ai/core/code-intel/helpers/qa-helper.js +2 -2
  13. package/.sinapse-ai/core/config/template-overrides.js +1 -1
  14. package/.sinapse-ai/core/doctor/checks/git-hooks.js +6 -3
  15. package/.sinapse-ai/core/doctor/checks/npm-packages.js +1 -1
  16. package/.sinapse-ai/core/doctor/checks/rules-files.js +0 -1
  17. package/.sinapse-ai/core/doctor/index.js +0 -1
  18. package/.sinapse-ai/core/graph-dashboard/cli.js +1 -1
  19. package/.sinapse-ai/core/graph-dashboard/data-sources/code-intel-source.js +1 -1
  20. package/.sinapse-ai/core/health-check/checks/project/constitution-consistency.js +0 -1
  21. package/.sinapse-ai/core/ideation/ideation-engine.js +0 -2
  22. package/.sinapse-ai/core/ids/layer-classifier.js +1 -1
  23. package/.sinapse-ai/core/registry/build-registry.js +12 -2
  24. package/.sinapse-ai/core/registry/service-registry.json +178 -55
  25. package/.sinapse-ai/core/registry/squad-agent-resolver.js +6 -0
  26. package/.sinapse-ai/core/synapse/layers/layer-processor.js +1 -1
  27. package/.sinapse-ai/data/capability-detection.js +15 -15
  28. package/.sinapse-ai/data/tok3-token-comparison.js +0 -3
  29. package/.sinapse-ai/data/tool-search-validation.js +1 -1
  30. package/.sinapse-ai/development/agents/snps-orqx.md +109 -0
  31. package/.sinapse-ai/development/scripts/agent-config-loader.js +8 -2
  32. package/.sinapse-ai/development/templates/sinapse-doc-template.md +6 -6
  33. package/.sinapse-ai/git-hooks/lib/framework-guard.js +1 -0
  34. package/.sinapse-ai/git-hooks/lib/staged-protected-files-guard.js +63 -0
  35. package/.sinapse-ai/git-hooks/pre-commit +3 -1
  36. package/.sinapse-ai/index.d.ts +19 -0
  37. package/.sinapse-ai/install-manifest.yaml +59 -55
  38. package/.sinapse-ai/package.json +0 -1
  39. package/.sinapse-ai/utils/filters/index.js +2 -1
  40. package/CHANGELOG.md +31 -2
  41. package/bin/commands/doctor.js +1 -1
  42. package/bin/commands/help.js +3 -4
  43. package/bin/commands/install.js +7 -7
  44. package/bin/commands/status.js +3 -3
  45. package/bin/modules/chrome-brain-installer.js +10 -9
  46. package/bin/postinstall.js +1 -1
  47. package/bin/sinapse-init.js +11 -9
  48. package/bin/sinapse.js +1 -1
  49. package/bin/utils/framework-guard.js +1 -0
  50. package/bin/utils/staged-protected-files-guard.js +63 -0
  51. package/package.json +19 -2
  52. package/packages/installer/src/index.js +1 -1
  53. package/packages/installer/src/installer/brownfield-upgrader.js +1 -1
  54. package/packages/installer/src/installer/git-hooks-installer.js +10 -3
  55. package/packages/installer/src/pro/pro-scaffolder.js +3 -3
  56. package/packages/installer/src/wizard/ide-config-generator.js +1 -1
  57. package/packages/installer/src/wizard/index.js +4 -41
  58. package/packages/sinapse-install/src/capabilities/chrome-brain.js +3 -3
  59. package/scripts/audit-tasks.cjs +1 -1
  60. package/scripts/package-synapse.js +1 -1
  61. package/scripts/sinapse-patch.js +31 -31
  62. package/scripts/sync-squad-yaml-components.js +3 -3
  63. package/scripts/validate-agents-md.js +1 -1
  64. package/scripts/validate-no-personal-leaks.js +1 -1
  65. package/scripts/validate-orqx-discipline.js +0 -2
  66. package/scripts/validate-package-completeness.js +7 -7
  67. package/scripts/validate-squad-yaml.js +6 -6
  68. package/sinapse/agents/sinapse-orqx.md +1 -1
  69. package/sinapse/agents/snps-orqx.md +110 -1
  70. package/squads/claude-code-mastery/agents/swarm-orqx.md +12 -11
  71. package/squads/claude-code-mastery/scripts/validate-setup.js +2 -2
  72. package/squads/squad-brand/agents/brand-orqx.md +16 -1
  73. package/squads/squad-cloning/agents/cloning-orqx.md +2 -0
  74. package/squads/squad-commercial/agents/commercial-orqx.md +7 -4
  75. package/squads/squad-council/squad.yaml +67 -11
  76. package/squads/squad-design/agents/design-orqx.md +20 -0
  77. package/squads/squad-finance/agents/finance-orqx.md +6 -0
  78. package/squads/squad-paidmedia/agents/paidmedia-orqx.md +3 -1
@@ -38,77 +38,133 @@ agents:
38
38
  icon: "🏛️"
39
39
  role: Strategic Council Orchestrator
40
40
  file: agents/council-orqx.md
41
- tasks_count: 8
41
+ tasks:
42
+ - conduct-business-audit
43
+ - convene-council-session
44
+ - convene-panel
45
+ - diagnose-and-route
46
+ - evaluate-scaling-decision
47
+ - resolve-culture-crisis
48
+ - run-decision-framework
49
+ - synthesize-perspectives
42
50
 
43
51
  - id: ray-dalio
44
52
  name: Ray Dalio
45
53
  icon: "📐"
46
54
  role: Principles Architect & Systematic Decision-Making
47
55
  file: agents/ray-dalio.md
48
- tasks_count: 6
56
+ tasks:
57
+ - apply-principles-framework
58
+ - believability-weighted-decisions
59
+ - decision-journal-system
60
+ - diagnose-root-cause
61
+ - principles-discovery-workshop
62
+ - radical-transparency-audit
49
63
 
50
64
  - id: charlie-munger
51
65
  name: Charlie Munger
52
66
  icon: "🧠"
53
67
  role: Multidisciplinary Thinker & Mental Models
54
68
  file: agents/charlie-munger.md
55
- tasks_count: 6
69
+ tasks:
70
+ - apply-mental-models
71
+ - circle-of-competence-mapping
72
+ - evaluate-investment-thesis
73
+ - inversion-thinking-session
74
+ - mental-model-application
75
+ - multidisciplinary-analysis
56
76
 
57
77
  - id: naval-ravikant
58
78
  name: Naval Ravikant
59
79
  icon: "🧘"
60
80
  role: Philosopher-Investor & Wealth-Leverage Advisor
61
81
  file: agents/naval-ravikant.md
62
- tasks_count: 6
82
+ tasks:
83
+ - analyze-leverage-strategy
84
+ - judgment-calibration-exercise
85
+ - leverage-stack-design
86
+ - productize-yourself-strategy
87
+ - productize-yourself
88
+ - specific-knowledge-audit
63
89
 
64
90
  - id: peter-thiel
65
91
  name: Peter Thiel
66
92
  icon: "♟️"
67
93
  role: Contrarian Strategist & Monopoly Thinker
68
94
  file: agents/peter-thiel.md
69
- tasks_count: 6
95
+ tasks:
96
+ - assess-contrarian-thesis
97
+ - contrarian-truth-exercise
98
+ - definite-optimism-roadmap
99
+ - evaluate-zero-to-one
100
+ - monopoly-strategy-design
101
+ - zero-to-one-opportunity-scan
70
102
 
71
103
  - id: reid-hoffman
72
104
  name: Reid Hoffman
73
105
  icon: "🔗"
74
106
  role: Network Strategist & Blitzscaling Advisor
75
107
  file: agents/reid-hoffman.md
76
- tasks_count: 6
108
+ tasks:
109
+ - alliance-framework-design
110
+ - assess-blitzscaling-readiness
111
+ - blitzscaling-readiness-assessment
112
+ - develop-abz-plan
113
+ - network-effects-analysis
114
+ - pivot-or-persevere-analysis
77
115
 
78
116
  - id: simon-sinek
79
117
  name: Simon Sinek
80
118
  icon: "⭕"
81
119
  role: Purpose-Driven Leadership & Infinite Mindset
82
120
  file: agents/simon-sinek.md
83
- tasks_count: 4
121
+ tasks:
122
+ - discover-organizational-why
123
+ - find-your-why-workshop
124
+ - infinite-game-strategy
125
+ - trust-building-framework
84
126
 
85
127
  - id: brene-brown
86
128
  name: Brene Brown
87
129
  icon: "💛"
88
130
  role: Vulnerability, Courage & Empathic Leadership
89
131
  file: agents/brene-brown.md
90
- tasks_count: 4
132
+ tasks:
133
+ - build-trust-assessment
134
+ - courage-culture-design
135
+ - rumble-conversation-guide
136
+ - vulnerability-leadership-workshop
91
137
 
92
138
  - id: patrick-lencioni
93
139
  name: Patrick Lencioni
94
140
  icon: "🏗️"
95
141
  role: Organizational Health & Team Dynamics
96
142
  file: agents/patrick-lencioni.md
97
- tasks_count: 4
143
+ tasks:
144
+ - diagnose-team-dysfunction
145
+ - meeting-structure-overhaul
146
+ - organizational-clarity-check
147
+ - team-health-assessment
98
148
 
99
149
  - id: derek-sivers
100
150
  name: Derek Sivers
101
151
  icon: "🎯"
102
152
  role: Minimalist Founder & Simplicity Philosopher
103
153
  file: agents/derek-sivers.md
104
- tasks_count: 3
154
+ tasks:
155
+ - apply-hell-yeah-filter
156
+ - hell-yes-or-no-prioritization
157
+ - simplification-audit
105
158
 
106
159
  - id: yvon-chouinard
107
160
  name: Yvon Chouinard
108
161
  icon: "🏔️"
109
162
  role: Purpose-Driven Business & Environmental Activism
110
163
  file: agents/yvon-chouinard.md
111
- tasks_count: 3
164
+ tasks:
165
+ - assess-purpose-alignment
166
+ - purpose-profit-alignment
167
+ - responsible-growth-framework
112
168
 
113
169
  total_tasks: 56
114
170
 
@@ -45,6 +45,11 @@ seleciona workflows, gerencia handoffs inter-agentes e monitora quality gates ob
45
45
  | Auditoria de acessibilidade | Beacon (dx-accessibility-specialist) |
46
46
  | Motion/interacao | Kinetic (dx-interaction-designer) |
47
47
  | Auditoria de performance | Apex (dx-performance-engineer) |
48
+ | Padroes de conversao / CRO comportamental | Convert (cro-persuasion) |
49
+ | Estetica premium de SaaS (lens transversal) | Vertex (platform-aesthetic-director) |
50
+ | Packaging premium / valor percebido | Aura (premium-packaging-strategist) |
51
+ | Ergonomia de uso repetido (product surface) | Axiom (product-surface-director) |
52
+ | UX/UI autonomo full-spectrum (um agente do briefing ao codigo) | sinapse-ux (ux-designer) |
48
53
 
49
54
  ## Cross-Squad Handoffs
50
55
  ```yaml
@@ -115,6 +120,21 @@ integration:
115
120
  - agent: "dx-performance-engineer (Apex)"
116
121
  when: "Performance audit, Core Web Vitals, render optimization"
117
122
  context_passed: "deployed/build artifacts, target metrics, device profile"
123
+ - agent: "cro-persuasion (Convert)"
124
+ when: "Conversion-focused visual patterns, behavioral science (social proof, scarcity, risk reversal)"
125
+ context_passed: "page goal, audience, funnel stage, brand tokens"
126
+ - agent: "platform-aesthetic-director (Vertex)"
127
+ when: "Defining/auditing what 'premium' means for a SaaS surface (cross-cutting lens)"
128
+ context_passed: "product type, positioning, target tier, existing surfaces"
129
+ - agent: "premium-packaging-strategist (Aura)"
130
+ when: "Premium packaging and perceived value of the presentation"
131
+ context_passed: "offer, positioning, audience, brand tokens"
132
+ - agent: "product-surface-director (Axiom)"
133
+ when: "Ergonomics of repeated in-product use (the lived experience)"
134
+ context_passed: "core workflows, user roles, usage frequency, IA"
135
+ - agent: "ux-designer (sinapse-ux)"
136
+ when: "Autonomous full-spectrum UX/UI when a single agent should own the flow end-to-end"
137
+ context_passed: "briefing, brand context, scope, constraints"
118
138
  receives_from:
119
139
  - agent: "@sinapse-orqx (Imperator)"
120
140
  when: "UX/UI request routed from ecosystem"
@@ -61,6 +61,9 @@ Ledger e o CFO virtual da squad. Coordena todas as analises financeiras, prioriz
61
61
  | pricing-strategist (Mint) | Recebe analises de pricing, rate realization para report |
62
62
  | budget-controller (Vault) | Recebe budget variance, forecast, cash flow para dashboard |
63
63
  | revenue-analyst (Flow) | Recebe revenue waterfall, aging, collection rates |
64
+ | cost-optimizer (Trim) | Recebe auditoria de gastos cloud/SaaS/contratos e savings propostos |
65
+ | forecast-strategist (Horizon) | Recebe projecoes driver-based, cenarios, runway, breakeven |
66
+ | fiscal-compliance-br (Tribute) | Recebe analise de regime tributario, NF, ISS e obrigacoes acessorias |
64
67
 
65
68
  ## Delegacao
66
69
 
@@ -70,6 +73,9 @@ Ledger e o CFO virtual da squad. Coordena todas as analises financeiras, prioriz
70
73
  | Modelo de precificacao | pricing-strategist (Mint) |
71
74
  | Forecast e budget | budget-controller (Vault) |
72
75
  | Reconciliacao de receita | revenue-analyst (Flow) |
76
+ | Otimizacao de custos / FinOps (waste, cost-creep) | cost-optimizer (Trim) |
77
+ | Forecast driver-based, cenarios, runway, breakeven | forecast-strategist (Horizon) |
78
+ | Conformidade fiscal BR (regime, NF, ISS, SPED/EFD) | fiscal-compliance-br (Tribute) |
73
79
  | Dados de vendas/pipeline | squad-commercial |
74
80
  | Metricas de growth | squad-growth |
75
81
 
@@ -57,8 +57,10 @@ Apex → Review consolidado → Decisoes de otimizacao
57
57
  | Otimizacao de LP | Convert | Lighthouse |
58
58
  | Report de performance | Pulse | Apex (consolidacao) |
59
59
  | Scaling de budget | Apex | Signal + Query |
60
- | Creative testing | Canvas | Signal/Query |
60
+ | Creative testing | Canvas | Lens (creative-performance) |
61
61
  | Tracking issues | Lighthouse | Signal/Query |
62
+ | Analise de performance de criativos (padroes, fadiga) | Lens (pm-creative-performance-analyst) | Canvas |
63
+ | Campanha YouTube Ads (formatos, video, funil) | Tube (pm-youtube-ads-specialist) | Canvas |
62
64
 
63
65
  ## Tasks
64
66