sinapse-ai 1.21.0 → 1.22.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 (113) hide show
  1. package/.claude/rules/coderabbit-integration.md +6 -0
  2. package/.claude/rules/documentation-first-reference.md +146 -0
  3. package/.claude/rules/documentation-first.md +27 -119
  4. package/.claude/rules/mandatory-delegation-reference.md +93 -0
  5. package/.claude/rules/mandatory-delegation.md +29 -93
  6. package/.claude/rules/project-intelligence-reference.md +159 -0
  7. package/.claude/rules/project-intelligence.md +37 -155
  8. package/.claude/rules/safe-collaboration-reference.md +163 -0
  9. package/.claude/rules/safe-collaboration.md +32 -173
  10. package/.sinapse-ai/core/doctor/checks/index.js +1 -1
  11. package/.sinapse-ai/core/execution/build-orchestrator.js +4 -3
  12. package/.sinapse-ai/core/execution/subagent-dispatcher.js +2 -2
  13. package/.sinapse-ai/core/ideation/ideation-engine.js +2 -1
  14. package/.sinapse-ai/core/orchestration/cli-commands.js +13 -0
  15. package/.sinapse-ai/core/orchestration/doc-first-resolver.js +93 -2
  16. package/.sinapse-ai/core/orchestration/executors/epic-3-executor.js +15 -2
  17. package/.sinapse-ai/core/orchestration/executors/epic-4-executor.js +3 -1
  18. package/.sinapse-ai/core/orchestration/index.js +5 -0
  19. package/.sinapse-ai/core/orchestration/spec-complexity.js +141 -0
  20. package/.sinapse-ai/core-config.yaml +30 -0
  21. package/.sinapse-ai/data/entity-registry.yaml +46 -25
  22. package/.sinapse-ai/development/agents/architect.md +3 -15
  23. package/.sinapse-ai/development/agents/data-engineer.md +3 -15
  24. package/.sinapse-ai/development/agents/developer.md +3 -24
  25. package/.sinapse-ai/development/agents/devops.md +4 -25
  26. package/.sinapse-ai/development/agents/quality-gate.md +3 -25
  27. package/.sinapse-ai/development/knowledge-base/token-economy-guide.md +1 -1
  28. package/.sinapse-ai/development/tasks/resolve-github-issue.md +1 -1
  29. package/.sinapse-ai/docs/standards/SINAPSE-LIVRO-DE-OURO-V2.1-COMPLETE.md +6 -2
  30. package/.sinapse-ai/docs/standards/SINAPSE-LIVRO-DE-OURO-V2.2-SUMMARY.md +4 -1
  31. package/.sinapse-ai/install-manifest.yaml +44 -40
  32. package/.sinapse-ai/product/templates/story-tmpl.yaml +11 -6
  33. package/.sinapse-ai/quality/judge-calibration/README.md +75 -0
  34. package/.sinapse-ai/quality/judge-calibration/calibration-log.md +70 -0
  35. package/.sinapse-ai/quality/judge-calibration/golden-set.json +105 -0
  36. package/.sinapse-ai/quality/judge-calibration/scenarios.json +90 -0
  37. package/CHANGELOG.md +38 -8
  38. package/README.en.md +1 -1
  39. package/README.md +6 -6
  40. package/bin/sinapse-minimal.js +5 -4
  41. package/docs/community/README-community-snippet-core.md +1 -1
  42. package/docs/community/README-community-snippet-mcp.md +2 -2
  43. package/docs/framework/README.md +2 -2
  44. package/docs/framework/architecture-overview.md +2 -2
  45. package/docs/framework/core-architecture.md +1 -1
  46. package/docs/framework/feature-process.md +5 -5
  47. package/docs/framework/guiding-principles.md +1 -1
  48. package/docs/framework/roadmap.md +4 -4
  49. package/docs/framework/source-tree.md +1 -1
  50. package/docs/framework/versioning-and-releases.md +1 -1
  51. package/docs/getting-started.md +1 -1
  52. package/docs/guides/agent-selection-guide.md +1 -1
  53. package/docs/guides/agents/traces/README.md +1 -1
  54. package/docs/guides/config-migration-guide.md +1 -1
  55. package/docs/guides/development-setup.md +1 -1
  56. package/docs/guides/docker-mcp-setup.md +5 -5
  57. package/docs/guides/getting-started.md +1 -1
  58. package/docs/guides/git-workflow-guide.md +3 -3
  59. package/docs/guides/ide-integration.md +3 -3
  60. package/docs/guides/ide-sync-guide.md +1 -1
  61. package/docs/guides/mcp/desktop-commander.md +2 -2
  62. package/docs/guides/mcp/docker-gateway-tutorial.md +1 -1
  63. package/docs/guides/mcp-global-setup.md +3 -3
  64. package/docs/guides/memory-intelligence-system.md +10 -10
  65. package/docs/guides/meta-agent-commands.md +1 -1
  66. package/docs/guides/quality-gates.md +1 -1
  67. package/docs/guides/security-hardening.md +1 -1
  68. package/docs/guides/service-discovery.md +1 -1
  69. package/docs/guides/squad-examples/README.md +1 -1
  70. package/docs/guides/squads-guide.md +1 -1
  71. package/docs/guides/testing-guide.md +2 -2
  72. package/docs/guides/user-guide.md +22 -22
  73. package/docs/guides/workflows/BROWNFIELD-DISCOVERY-WORKFLOW.md +3 -3
  74. package/docs/guides/workflows/BROWNFIELD-SERVICE-WORKFLOW.md +1 -1
  75. package/docs/guides/workflows/GREENFIELD-UI-WORKFLOW.md +2 -2
  76. package/docs/guides/workflows/SPEC-PIPELINE-WORKFLOW.md +3 -3
  77. package/docs/guides/workflows/STORY-DEVELOPMENT-CYCLE-WORKFLOW.md +3 -3
  78. package/docs/guides/workflows/pro-developer-workflow.md +2 -2
  79. package/docs/guides/workflows-guide.md +1 -1
  80. package/docs/guides/workflows-overview.md +1 -1
  81. package/docs/installation/npx-install.md +1 -1
  82. package/docs/installation/uninstallation.md +1 -1
  83. package/docs/installation/v4-quick-start.md +1 -1
  84. package/docs/pt/guides/user-guide.md +18 -18
  85. package/docs/pt/security.md +2 -2
  86. package/docs/security/overview.md +2 -2
  87. package/docs/security/security-best-practices.md +1 -1
  88. package/docs/sinapse-agent-flows/architect-system.md +1 -1
  89. package/docs/sinapse-agent-flows/data-engineer-system.md +1 -1
  90. package/docs/sinapse-agent-flows/dev-system.md +1 -1
  91. package/docs/sinapse-agent-flows/devops-system.md +2 -2
  92. package/docs/sinapse-agent-flows/qa-system.md +1 -1
  93. package/docs/sinapse-agent-flows/sm-system.md +2 -2
  94. package/docs/sinapse-agent-flows/snps-orqx-system.md +4 -4
  95. package/docs/sinapse-agent-flows/squad-creator-system.md +1 -1
  96. package/docs/sinapse-workflows/README.md +2 -2
  97. package/docs/sinapse-workflows/brownfield-discovery-workflow.md +3 -3
  98. package/docs/sinapse-workflows/brownfield-service-workflow.md +3 -3
  99. package/docs/sinapse-workflows/greenfield-ui-workflow.md +2 -2
  100. package/docs/sinapse-workflows/spec-pipeline-workflow.md +3 -3
  101. package/docs/sinapse-workflows/story-development-cycle-workflow.md +3 -3
  102. package/docs/troubleshooting.md +1 -1
  103. package/package.json +5 -1
  104. package/scripts/calibrate-judge.js +134 -0
  105. package/scripts/validate-all.js +5 -0
  106. package/scripts/validate-constitution.js +58 -0
  107. package/scripts/validate-story-acs.js +174 -0
  108. package/scripts/validate-tool-descriptions.js +128 -0
  109. package/scripts/wave-gate.js +1 -1
  110. package/squads/claude-code-mastery/agents/project-integrator.md +3 -10
  111. package/squads/claude-code-mastery/knowledge-base/context-window-optimization.md +2 -2
  112. package/squads/claude-code-mastery/knowledge-base/memory-systems-reference.md +1 -1
  113. package/squads/squad-copy/knowledge-base/ai-copy-human-loop-canon.md +1 -1
@@ -6,7 +6,7 @@
6
6
 
7
7
  Complete guide for using SINAPSE - the AI-Orchestrated System for Full Stack Development.
8
8
 
9
- **Version:** 1.19.2
9
+ **Version:** 1.21.0
10
10
  **Last Updated:** 2026-07-02
11
11
 
12
12
  ---
@@ -79,26 +79,26 @@ SINAPSE includes 11 specialized agents, each with a distinct role and personalit
79
79
 
80
80
  | Agent | ID | Archetype | Responsibility |
81
81
  | --------- | ---------------- | ------------ | ----------------------- |
82
- | **Dex** | `@dev` | Builder | Code implementation |
83
- | **Quinn** | `@qa` | Guardian | Quality assurance |
84
- | **Aria** | `@architect` | Architect | Technical architecture |
85
- | **Nova** | `@po` | Visionary | Product backlog |
86
- | **Kai** | `@pm` | Balancer | Product strategy |
87
- | **River** | `@sm` | Facilitator | Process facilitation |
88
- | **Zara** | `@analyst` | Explorer | Business analysis |
89
- | **Dara** | `@data-engineer` | Architect | Data engineering |
90
- | **Felix** | `@devops` | Optimizer | CI/CD and operations |
91
- | **Uma** | `@ux-expert` | Creator | User experience |
92
- | **Pax** | `@sinapse-orqx` | Orchestrator | Framework orchestration |
82
+ | **Pixel** | `@developer` | Builder | Code implementation |
83
+ | **Litmus** | `@quality-gate` | Guardian | Quality assurance |
84
+ | **Stratum** | `@architect` | Architect | Technical architecture |
85
+ | **Axis** | `@product-lead` | Visionary | Product backlog |
86
+ | **Beacon** | `@project-lead` | Balancer | Product strategy |
87
+ | **Sync** | `@sprint-lead` | Facilitator | Process facilitation |
88
+ | **Scope** | `@analyst` | Explorer | Business analysis |
89
+ | **Tensor** | `@data-engineer` | Architect | Data engineering |
90
+ | **Pipeline** | `@devops` | Optimizer | CI/CD and operations |
91
+ | **Mosaic** | `@ux-design-expert` | Creator | User experience |
92
+ | **Imperator** | `@snps-orqx` | Orchestrator | Framework orchestration |
93
93
 
94
94
  ### Agent Activation
95
95
 
96
96
  ```bash
97
97
  # Activate an agent using @ syntax
98
- @developer # Activate Dex (Developer)
99
- @quality-gate # Activate Quinn (QA)
100
- @architect # Activate Aria (Architect)
101
- @sinapse-orqx # Activate Pax (Orchestrator)
98
+ @developer # Activate Pixel (Developer)
99
+ @quality-gate # Activate Litmus (QA)
100
+ @architect # Activate Stratum (Architect)
101
+ @snps-orqx # Activate Imperator (Orchestrator)
102
102
 
103
103
  # Agent commands use * prefix
104
104
  *help # Show available commands
@@ -153,7 +153,7 @@ Each command has exactly one authoritative agent owner. When multiple agents mig
153
153
  | `*develop` | @developer | Use @developer for implementation |
154
154
  | `*review` | @quality-gate | Use @quality-gate for code review |
155
155
 
156
- See the [Command Authority Matrix](../architecture/command-authority-matrix.md) for the complete mapping.
156
+ See the Command Authority Matrix for the complete mapping.
157
157
 
158
158
  ---
159
159
 
@@ -436,13 +436,13 @@ sinapse rebuild
436
436
 
437
437
  1. **Quick Start** - Follow this guide to get up and running
438
438
  2. **Agent Reference** - Learn about each agent's capabilities: [Agent Reference Guide](../agent-reference-guide.md)
439
- 3. **Architecture** - Understand the system: [Architecture Overview](../architecture/ARCHITECTURE-INDEX.md)
439
+ 3. **Architecture** - Understand the system: [Architecture Overview](../pt/architecture/ARCHITECTURE-INDEX.md)
440
440
  4. **Squads** - Extend functionality: [Squads Guide](./squads-guide.md)
441
441
 
442
442
  ### Advanced Topics
443
443
 
444
444
  - [Quality Gates Guide](./quality-gates.md)
445
- - [Multi-Repo Strategy](../architecture/multi-repo-strategy.md)
445
+ - [Multi-Repo Strategy](../pt/architecture/multi-repo-strategy.md)
446
446
  - [MCP Integration](./mcp-global-setup.md)
447
447
  - [IDE Integration](../ide-integration.md)
448
448
 
@@ -455,7 +455,7 @@ sinapse rebuild
455
455
  Always create a story before implementing features:
456
456
 
457
457
  ```bash
458
- @sinapse-orqx
458
+ @snps-orqx
459
459
  *create-story
460
460
  ```
461
461
 
@@ -498,10 +498,10 @@ before building a new agent from scratch.
498
498
  - [Getting Started](../getting-started.md)
499
499
  - [Installation Guide](../installation/README.md)
500
500
  - [Agent Reference Guide](../agent-reference-guide.md)
501
- - [Architecture Overview](../architecture/ARCHITECTURE-INDEX.md)
501
+ - [Architecture Overview](../pt/architecture/ARCHITECTURE-INDEX.md)
502
502
  - [Squads Guide](./squads-guide.md)
503
503
  - [Troubleshooting](../troubleshooting.md)
504
504
 
505
505
  ---
506
506
 
507
- _SINAPSE User Guide v1.19.2_
507
+ _SINAPSE User Guide v1.21.0_
@@ -883,9 +883,9 @@ flowchart TD
883
883
 
884
884
  ### Documentacao Relacionada
885
885
 
886
- - [ADR-025: Estrutura de Documentacao](../../architecture/ADR-025-DOCUMENTATION-STRUCTURE.md)
887
- - [Guia de Workflows SINAPSE](../SINAPSE-WORKFLOWS-GUIDE.md)
888
- - [Padrao de Stories](../templates/STORY-TEMPLATE.md)
886
+ - ADR-025: Estrutura de Documentacao
887
+ - Guia de Workflows SINAPSE
888
+ - Padrao de Stories
889
889
 
890
890
  ---
891
891
 
@@ -796,7 +796,7 @@ Os handoff prompts facilitam a transicao entre agentes:
796
796
  ### Documentacao Relacionada
797
797
 
798
798
  - [SINAPSE Knowledge Base](../../../.sinapse-ai/data/sinapse-kb.md) - Base de conhecimento do framework
799
- - [Technical Preferences](../../../.sinapse-ai/development/data/technical-preferences.md) - Preferencias tecnicas do projeto
799
+ - [Technical Preferences](../../../.sinapse-ai/data/technical-preferences.md) - Preferencias tecnicas do projeto
800
800
  - [IDE Development Workflow](../../../.sinapse-ai/data/sinapse-kb.md#IDE-Development-Workflow) - Fluxo de desenvolvimento no IDE
801
801
 
802
802
  ---
@@ -906,8 +906,8 @@ flowchart TD
906
906
 
907
907
  ### Documentacao Relacionada
908
908
 
909
- - [SINAPSE Knowledge Base](.sinapse-ai/data/sinapse-kb.md) - Base de conhecimento central
910
- - [Brownfield Workflow](./BROWNFIELD-WORKFLOW.md) - Workflow para projetos existentes (se disponivel)
909
+ - [SINAPSE Knowledge Base](../../../.sinapse-ai/data/sinapse-kb.md) - Base de conhecimento central
910
+ - [Brownfield Workflow](./BROWNFIELD-UI-WORKFLOW.md) - Workflow para projetos existentes (se disponivel)
911
911
 
912
912
  ---
913
913
 
@@ -965,9 +965,9 @@ flowchart TB
965
965
 
966
966
  ### 10.3 Documentacao Relacionada
967
967
 
968
- - [Workflows YAML Guide](../workflows-yaml-guide.md)
969
- - [SINAPSE Documentation Index](../SINAPSE-DOCUMENTATION-INDEX.md)
970
- - [Backlog Management System](../BACKLOG-MANAGEMENT-SYSTEM.md)
968
+ - Workflows YAML Guide
969
+ - SINAPSE Documentation Index
970
+ - Backlog Management System
971
971
 
972
972
  ### 10.4 Commands Rapidos
973
973
 
@@ -826,9 +826,9 @@ cat docs/stories/{story-file}.md | grep "status:"
826
826
 
827
827
  ### Documentacao Adicional
828
828
 
829
- - [Guia de Workflows YAML](../workflows-yaml-guide.md)
830
- - [Guia de Squads](../squads-user-guide.md)
831
- - [Framework de Priorizacao](../PRIORITIZATION-FRAMEWORK.md)
829
+ - Guia de Workflows YAML
830
+ - [Guia de Squads](../squads-guide.md)
831
+ - Framework de Priorizacao
832
832
 
833
833
  ---
834
834
 
@@ -232,5 +232,5 @@ git submodule update pro
232
232
 
233
233
  ## Reference
234
234
 
235
- - [ADR-PRO-001: Repository Strategy](../../architecture/adr/adr-pro-001-repository-strategy.md)
236
- - [Story PRO-5: Repository Bootstrap](../../stories/epics/epic-pro-sinapse-pro-architecture/story-pro-5-repo-bootstrap.md)
235
+ - ADR-PRO-001: Repository Strategy
236
+ - Story PRO-5: Repository Bootstrap
@@ -399,7 +399,7 @@ For complete documentation for each workflow, including detailed step-by-step gu
399
399
 
400
400
  ## Related Documentation
401
401
 
402
- - [HybridOps Workflow Diagram](./hybridOps/workflow-diagram.md) - Human-agent collaboration patterns
402
+ - HybridOps Workflow Diagram - Human-agent collaboration patterns
403
403
  - [Agent Reference Guide](../agent-reference-guide.md) - Available agents and their capabilities
404
404
  - [Documentation-First Development](./user-guide.md#documentation-first-development) - The documentation pipeline
405
405
 
@@ -279,4 +279,4 @@ O SDC Phase 3 suporta 3 modos. Escolha baseado na situacao:
279
279
 
280
280
  ---
281
281
 
282
- _Veja tambem: [Agent Reference](agent-reference.md) | [Architecture Overview](../architecture-overview.md) | [Story Lifecycle](./../CONTRIBUTING.md)_
282
+ _Veja tambem: [Agent Reference](agent-reference.md) | [Architecture Overview](../framework/architecture-overview.md) | [Story Lifecycle](../../CONTRIBUTING.md)_
@@ -1,6 +1,6 @@
1
1
  # NPX Installation Guide
2
2
 
3
- > 🌐 **EN** | [PT](./pt/npx-install.md)
3
+ > 🌐 **EN** | [PT](../pt/npx-install.md)
4
4
 
5
5
  ---
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Uninstallation Guide
2
2
 
3
- > 🌐 **EN** | [PT](./pt/uninstallation.md)
3
+ > 🌐 **EN** | [PT](../pt/uninstallation.md)
4
4
 
5
5
  ---
6
6
 
@@ -210,7 +210,7 @@ your-project/
210
210
  ## Next Steps
211
211
 
212
212
  1. **Read the full guide:** [Getting Started](../getting-started.md)
213
- 2. **Understand the architecture:** [Core Architecture](../core-architecture.md)
213
+ 2. **Understand the architecture:** [Core Architecture](../framework/core-architecture.md)
214
214
  3. **Learn about agents:** [Agent Definitions](../../.sinapse-ai/development/agents/)
215
215
  4. **Join the community:** [Discord](https://discord.gg/gk8jAdXWmj)
216
216
 
@@ -12,7 +12,7 @@
12
12
 
13
13
  Guia completo para usar o SINAPSE - o Sistema Orquestrado por IA para Desenvolvimento Full Stack.
14
14
 
15
- **Versão:** 1.19.2
15
+ **Versão:** 1.21.0
16
16
  **Última Atualização:** 2026-07-02
17
17
 
18
18
  ---
@@ -85,26 +85,26 @@ O SINAPSE inclui 11 agentes especializados, cada um com papel e personalidade di
85
85
 
86
86
  | Agente | ID | Arquétipo | Responsabilidade |
87
87
  | --------- | ---------------- | ------------ | ------------------------- |
88
- | **Dex** | `@dev` | Construtor | Implementação de código |
89
- | **Quinn** | `@qa` | Guardião | Garantia de qualidade |
90
- | **Aria** | `@architect` | Arquiteto | Arquitetura técnica |
91
- | **Nova** | `@po` | Visionário | Backlog do produto |
92
- | **Kai** | `@pm` | Equilibrador | Estratégia do produto |
93
- | **River** | `@sm` | Facilitador | Facilitação de processos |
94
- | **Zara** | `@analyst` | Explorador | Análise de negócios |
95
- | **Dara** | `@data-engineer` | Arquiteto | Engenharia de dados |
96
- | **Felix** | `@devops` | Otimizador | CI/CD e operações |
97
- | **Uma** | `@ux-expert` | Criador | Experiência do usuário |
98
- | **Pax** | `@sinapse-orqx` | Orquestrador | Orquestração do framework |
88
+ | **Pixel** | `@developer` | Construtor | Implementação de código |
89
+ | **Litmus** | `@quality-gate` | Guardião | Garantia de qualidade |
90
+ | **Stratum** | `@architect` | Arquiteto | Arquitetura técnica |
91
+ | **Axis** | `@product-lead` | Visionário | Backlog do produto |
92
+ | **Beacon** | `@project-lead` | Equilibrador | Estratégia do produto |
93
+ | **Sync** | `@sprint-lead` | Facilitador | Facilitação de processos |
94
+ | **Scope** | `@analyst` | Explorador | Análise de negócios |
95
+ | **Tensor** | `@data-engineer` | Arquiteto | Engenharia de dados |
96
+ | **Pipeline** | `@devops` | Otimizador | CI/CD e operações |
97
+ | **Mosaic** | `@ux-design-expert` | Criador | Experiência do usuário |
98
+ | **Imperator** | `@snps-orqx` | Orquestrador | Orquestração do framework |
99
99
 
100
100
  ### Ativação de Agentes
101
101
 
102
102
  ```bash
103
103
  # Ative um agente usando sintaxe @
104
- @developer # Ativar Dex (Desenvolvedor)
105
- @quality-gate # Ativar Quinn (QA)
106
- @architect # Ativar Aria (Arquiteto)
107
- @sinapse-orqx # Ativar Pax (Orquestrador)
104
+ @developer # Ativar Pixel (Desenvolvedor)
105
+ @quality-gate # Ativar Litmus (QA)
106
+ @architect # Ativar Stratum (Arquiteto)
107
+ @snps-orqx # Ativar Imperator (Orquestrador)
108
108
 
109
109
  # Comandos de agente usam prefixo *
110
110
  *help # Mostrar comandos disponíveis
@@ -418,7 +418,7 @@ sinapse rebuild
418
418
  Sempre crie uma story antes de implementar funcionalidades:
419
419
 
420
420
  ```bash
421
- @sinapse-orqx
421
+ @snps-orqx
422
422
  *create-story
423
423
  ```
424
424
 
@@ -467,5 +467,5 @@ construir um agente novo do zero.
467
467
 
468
468
  ---
469
469
 
470
- _Guia do Usuário SINAPSE v1.19.2_
470
+ _Guia do Usuário SINAPSE v1.21.0_
471
471
 
@@ -28,7 +28,7 @@ Constitution (Artigo X)
28
28
  | +-- Tier 2: Bloqueadores de Compliance (LGPD)
29
29
  | +-- Tier 3: Bloqueadores Operacionais
30
30
  |
31
- +-- 19 Hooks Claude Code (aplicacao em tempo real)
31
+ +-- 20 Hooks Claude Code (aplicacao em tempo real)
32
32
  | +-- Varredura de secrets
33
33
  | +-- Governanca SQL
34
34
  | +-- Gates de arquitetura primeiro
@@ -148,7 +148,7 @@ Apenas `@devops` (Pipeline) pode executar `git push`. O hook `enforce-git-push-a
148
148
 
149
149
  ## Arquitetura de Hooks
150
150
 
151
- O SINAPSE-AI usa 17 hooks Claude Code organizados por evento de trigger:
151
+ O SINAPSE-AI usa 20 hooks Claude Code organizados por evento de trigger:
152
152
 
153
153
  ### Mapa de Eventos dos Hooks
154
154
 
@@ -1,6 +1,6 @@
1
1
  # SINAPSE-AI Security Guide
2
2
 
3
- > For vulnerability reporting, see [SECURITY.md](../SECURITY.md)
3
+ > For vulnerability reporting, see [SECURITY.md](../../SECURITY.md)
4
4
 
5
5
  ---
6
6
 
@@ -204,7 +204,7 @@ SINAPSE-AI uses 17 Claude Code hooks organized by trigger event:
204
204
 
205
205
  ### For Production Deployments
206
206
 
207
- 1. **Enable RLS on all tables** with user data (see [RLS Patterns](../.sinapse-ai/data/rls-security-patterns.md))
207
+ 1. **Enable RLS on all tables** with user data (see [RLS Patterns](../../.sinapse-ai/data/rls-security-patterns.md))
208
208
  2. **Never expose `service_role`** keys in frontend code
209
209
  3. **Configure CORS** with explicit origins (never use `origin: '*'` in production)
210
210
  4. **Add rate limiting** to all public API endpoints
@@ -1,6 +1,6 @@
1
1
  # SINAPSE Security Best Practices
2
2
 
3
- > 🌐 **EN** | [PT](./pt/security-best-practices.md)
3
+ > 🌐 **EN** | [PT](../pt/security-best-practices.md)
4
4
 
5
5
  ---
6
6
 
@@ -699,7 +699,7 @@ Ative @github-devops para operacoes de push:
699
699
 
700
700
  ### Agentes Colaboradores
701
701
 
702
- - [@db-sage](../../.sinapse-ai/development/agents/db-sage.md) - Arquitetura de dados
702
+ - [@db-sage](../../squads/claude-code-mastery/_deprecated/db-sage.md) - Arquitetura de dados
703
703
  - [@ux-design-expert](../../.sinapse-ai/development/agents/ux-design-expert.md) - Arquitetura frontend
704
704
  - [@pm](../../.sinapse-ai/development/agents/project-lead.md) - Requisitos e PRD
705
705
  - [@devops](../../.sinapse-ai/development/agents/devops.md) - Git push e infraestrutura
@@ -767,7 +767,7 @@ Erro: Another migration is running
767
767
 
768
768
  ### Relacionados
769
769
 
770
- - [BACKLOG-MANAGEMENT-SYSTEM.md](../BACKLOG-MANAGEMENT-SYSTEM.md)
770
+ - BACKLOG-MANAGEMENT-SYSTEM.md
771
771
  - [DEV-SYSTEM.md](DEV-SYSTEM.md)
772
772
 
773
773
  ---
@@ -548,7 +548,7 @@ O @developer deve **HALT** e perguntar ao usuario quando:
548
548
  - [greenfield-fullstack.yaml](../../.sinapse-ai/development/workflows/greenfield-fullstack.yaml)
549
549
 
550
550
  ### Relacionados
551
- - [BACKLOG-MANAGEMENT-SYSTEM.md](../BACKLOG-MANAGEMENT-SYSTEM.md)
551
+ - BACKLOG-MANAGEMENT-SYSTEM.md
552
552
 
553
553
  ---
554
554
 
@@ -577,8 +577,8 @@ npm audit --ignore-advisories=ADVISORY_ID
577
577
  ### Documentacao SINAPSE
578
578
 
579
579
  - [Regras de Uso MCP](../../.claude/rules/mcp-usage.md)
580
- - [Operacoes N8N](../../.claude/rules/n8n-operations.md)
581
- - [Estrutura de Documentacao](../../.claude/rules/documentation-structure.md)
580
+ - Operacoes N8N
581
+ - Estrutura de Documentacao
582
582
 
583
583
  ### Documentacao Externa
584
584
 
@@ -621,7 +621,7 @@ wsl bash -c '~/.local/bin/coderabbit --version'
621
621
 
622
622
  ### Documentos Relacionados
623
623
 
624
- - [BACKLOG-MANAGEMENT-SYSTEM.md](../guides/BACKLOG-MANAGEMENT-SYSTEM.md)
624
+ - BACKLOG-MANAGEMENT-SYSTEM.md
625
625
 
626
626
  ---
627
627
 
@@ -460,10 +460,10 @@ dependencies:
460
460
  - [Workflow: brownfield-fullstack.yaml](../../.sinapse-ai/development/workflows/brownfield-fullstack.yaml)
461
461
 
462
462
  ### Configuracao
463
- - [Core Config](../.sinapse-ai/core-config.yaml)
463
+ - [Core Config](../../.sinapse-ai/core-config.yaml)
464
464
 
465
465
  ### Documentação Relacionada
466
- - [Backlog Management System](../BACKLOG-MANAGEMENT-SYSTEM.md)
466
+ - Backlog Management System
467
467
 
468
468
  ---
469
469
 
@@ -525,14 +525,14 @@ agent:
525
525
 
526
526
  ### Arquivos Core
527
527
 
528
- - [Agente sinapse-orqx](../../.sinapse-ai/development/agents/sinapse-orqx.md)
529
- - [Knowledge Base](../../.sinapse-ai/development/data/sinapse-kb.md)
528
+ - [Agente sinapse-orqx](../../.sinapse-ai/development/agents/snps-orqx.md)
529
+ - [Knowledge Base](../../.sinapse-ai/data/sinapse-kb.md)
530
530
  - [Guia do Usuario](../../.sinapse-ai/user-guide.md)
531
531
 
532
532
  ### Standards e Documentação
533
533
 
534
- - [SINAPSE Framework Master](../../.sinapse-ai/docs/standards/SINAPSE-FRAMEWORK-MASTER.md)
535
- - [SINAPSE Livro de Ouro](../../.sinapse-ai/docs/standards/SINAPSE-LIVRO-DE-OURO.md)
534
+ - SINAPSE Framework Master
535
+ - [SINAPSE Livro de Ouro](../../.sinapse-ai/docs/standards/SINAPSE-LIVRO-DE-OURO-V2.2-SUMMARY.md)
536
536
  - [Agent Personalization Standard](../../.sinapse-ai/docs/standards/AGENT-PERSONALIZATION-STANDARD-V1.md)
537
537
 
538
538
  ### Diretorio de Tasks
@@ -668,7 +668,7 @@ flowchart LR
668
668
  - [Script: squad-validator.js](../../.sinapse-ai/development/scripts/squad/squad-validator.js)
669
669
  - [Schema: squad-schema.json](../../.sinapse-ai/schemas/squad-schema.json)
670
670
  - [Agent: squad-creator.md](../../.sinapse-ai/development/agents/squad-creator.md)
671
- - [Command: squad-creator.md](.claude/commands/SINAPSE/agents/squad-creator.md)
671
+ - [Command: squad-creator.md](../../.claude/commands/SINAPSE/agents/squad-creator.md)
672
672
 
673
673
  ---
674
674
 
@@ -1,6 +1,6 @@
1
1
  # SINAPSE Workflows - Documentação Detalhada dos Workflows
2
2
 
3
- > 🌐 **PT** | [EN](../en/sinapse-workflows/README.md) | [ZH](../zh/sinapse-workflows/README.md)
3
+ > 🌐 **PT** | EN | ZH
4
4
 
5
5
  ---
6
6
 
@@ -228,7 +228,7 @@ flowchart TD
228
228
  |--------------|-------------|-----------|
229
229
  | Workflows Guide | [docs/guides/workflows-guide.md](../guides/workflows-guide.md) | Guia geral |
230
230
  | Agent Flows | [docs/sinapse-agent-flows/](../sinapse-agent-flows/) | Detalhes de agentes |
231
- | Meta-Agent Commands | [docs/meta-agent-commands.md](../meta-agent-commands.md) | Referência rápida |
231
+ | Meta-Agent Commands | [docs/pt/meta-agent-commands.md](../pt/meta-agent-commands.md) | Referência rápida |
232
232
 
233
233
  ---
234
234
 
@@ -883,9 +883,9 @@ flowchart TD
883
883
 
884
884
  ### Documentacao Relacionada
885
885
 
886
- - [ADR-025: Estrutura de Documentacao](../../architecture/ADR-025-DOCUMENTATION-STRUCTURE.md)
887
- - [Guia de Workflows SINAPSE](../SINAPSE-WORKFLOWS-GUIDE.md)
888
- - [Padrao de Stories](../templates/STORY-TEMPLATE.md)
886
+ - ADR-025: Estrutura de Documentacao
887
+ - Guia de Workflows SINAPSE
888
+ - Padrao de Stories
889
889
 
890
890
  ---
891
891
 
@@ -795,9 +795,9 @@ Os handoff prompts facilitam a transição entre agentes:
795
795
 
796
796
  ### Documentação Relacionada
797
797
 
798
- - [SINAPSE Knowledge Base](../../../.sinapse-ai/data/sinapse-kb.md) - Base de conhecimento do framework
799
- - [Technical Preferences](../../../.sinapse-ai/development/data/technical-preferences.md) - Preferências técnicas do projeto
800
- - [IDE Development Workflow](../../../.sinapse-ai/data/sinapse-kb.md#IDE-Development-Workflow) - Fluxo de desenvolvimento no IDE
798
+ - [SINAPSE Knowledge Base](../../.sinapse-ai/data/sinapse-kb.md) - Base de conhecimento do framework
799
+ - [Technical Preferences](../../.sinapse-ai/data/technical-preferences.md) - Preferências técnicas do projeto
800
+ - [IDE Development Workflow](../../.sinapse-ai/data/sinapse-kb.md#IDE-Development-Workflow) - Fluxo de desenvolvimento no IDE
801
801
 
802
802
  ---
803
803
 
@@ -906,8 +906,8 @@ flowchart TD
906
906
 
907
907
  ### Documentação Relacionada
908
908
 
909
- - [SINAPSE Knowledge Base](.sinapse-ai/data/sinapse-kb.md) - Base de conhecimento central
910
- - [Brownfield Workflow](./BROWNFIELD-WORKFLOW.md) - Workflow para projetos existentes (se disponível)
909
+ - [SINAPSE Knowledge Base](../../.sinapse-ai/data/sinapse-kb.md) - Base de conhecimento central
910
+ - Brownfield Workflow - Workflow para projetos existentes (se disponível)
911
911
 
912
912
  ---
913
913
 
@@ -965,9 +965,9 @@ flowchart TB
965
965
 
966
966
  ### 10.3 Documentação Relacionada
967
967
 
968
- - [Workflows YAML Guide](../workflows-yaml-guide.md)
969
- - [SINAPSE Documentation Index](../SINAPSE-DOCUMENTATION-INDEX.md)
970
- - [Backlog Management System](../BACKLOG-MANAGEMENT-SYSTEM.md)
968
+ - Workflows YAML Guide
969
+ - SINAPSE Documentation Index
970
+ - Backlog Management System
971
971
 
972
972
  ### 10.4 Commands Rapidos
973
973
 
@@ -826,9 +826,9 @@ cat docs/stories/{story-file}.md | grep "status:"
826
826
 
827
827
  ### Documentação Adicional
828
828
 
829
- - [Guia de Workflows YAML](../workflows-yaml-guide.md)
830
- - [Guia de Squads](../squads-user-guide.md)
831
- - [Framework de Priorizacao](../PRIORITIZATION-FRAMEWORK.md)
829
+ - Guia de Workflows YAML
830
+ - Guia de Squads
831
+ - Framework de Priorizacao
832
832
 
833
833
  ---
834
834
 
@@ -5,7 +5,7 @@
5
5
  ## Comando padrão de diagnóstico
6
6
 
7
7
  ```bash
8
- npx sinapse-ai doctor # roda 12 health checks
8
+ npx sinapse-ai doctor # roda 16 health checks
9
9
  npx sinapse-ai doctor --fix # tenta corrigir o que estiver errado
10
10
  ```
11
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sinapse-ai",
3
- "version": "1.21.0",
3
+ "version": "1.22.0",
4
4
  "description": "SINAPSE AI: Framework de orquestracao de IA — 17 squads, 172 agentes especializados",
5
5
  "bin": {
6
6
  "sinapse": "bin/sinapse.js",
@@ -134,6 +134,10 @@
134
134
  "validate:cross-refs": "node scripts/validate-cross-refs.js",
135
135
  "validate:agents-md": "node scripts/validate-agents-md.js",
136
136
  "validate:agents-md:fix": "node scripts/validate-agents-md.js --fix",
137
+ "validate:tool-descriptions": "node scripts/validate-tool-descriptions.js",
138
+ "validate:story-acs": "node scripts/validate-story-acs.js",
139
+ "calibrate:judge": "node scripts/calibrate-judge.js",
140
+ "validate:constitution": "node scripts/validate-constitution.js",
137
141
  "validate:all": "node scripts/validate-all.js",
138
142
  "sync:squad-yaml": "node scripts/sync-squad-yaml-components.js",
139
143
  "validate:squad-yaml": "node scripts/sync-squad-yaml-components.js --check",