sinapse-ai 7.7.9 → 7.7.10

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.
@@ -573,3 +573,4 @@
573
573
  {"timestamp":"2026-04-03T02:10:30.504Z","action":"change","path":".sinapse-ai/core/doctor/checks/constitution-consistency.js","trigger":"watcher"}
574
574
  {"timestamp":"2026-04-03T02:10:30.505Z","action":"change","path":".sinapse-ai/core/health-check/checks/project/constitution-consistency.js","trigger":"watcher"}
575
575
  {"timestamp":"2026-04-03T02:10:30.506Z","action":"change","path":".sinapse-ai/product/templates/ide-rules/claude-rules.md","trigger":"watcher"}
576
+ {"timestamp":"2026-04-03T03:23:08.944Z","action":"change","path":".sinapse-ai/development/agents/sinapse-orqx.md","trigger":"watcher"}
@@ -94,17 +94,17 @@ intelligent_routing:
94
94
  direct_to_specialist:
95
95
  when: "Single, well-defined task with clear specialist"
96
96
  examples:
97
- - "Crie um headline" @headline-specialist
98
- - "Analise esse concorrente" @deep-researcher
99
- - "Me ajude com pricing" @pricing-strategist
100
- - "Revise meu codigo" @qa
97
+ - '"Crie um headline" -> @headline-specialist'
98
+ - '"Analise esse concorrente" -> @deep-researcher'
99
+ - '"Me ajude com pricing" -> @pricing-strategist'
100
+ - '"Revise meu codigo" -> @qa'
101
101
 
102
102
  via_orchestrator:
103
103
  when: "Multi-agent workflow or broad domain request"
104
104
  examples:
105
- - "Construa minha marca" @brand-orqx
106
- - "Campanha de lancamento" @paidmedia-orqx + @copy-orqx
107
- - "Assessment de seguranca" @cyber-orqx
105
+ - '"Construa minha marca" -> @brand-orqx'
106
+ - '"Campanha de lancamento" -> @paidmedia-orqx + @copy-orqx'
107
+ - '"Assessment de seguranca" -> @cyber-orqx'
108
108
 
109
109
  # ══════════════════════════════════════════════════════════════════════════════
110
110
  # COMPLETE ROUTING TABLE — ALL 18 SQUADS
@@ -7,8 +7,8 @@
7
7
  # - SHA256 hashes for change detection
8
8
  # - File types for categorization
9
9
  #
10
- version: 7.7.9
11
- generated_at: "2026-04-03T03:12:50.799Z"
10
+ version: 7.7.10
11
+ generated_at: "2026-04-03T03:23:28.846Z"
12
12
  generator: scripts/generate-install-manifest.js
13
13
  file_count: 1118
14
14
  files:
@@ -1237,7 +1237,7 @@ files:
1237
1237
  type: data
1238
1238
  size: 9586
1239
1239
  - path: data/entity-registry.yaml
1240
- hash: sha256:bf5a84ef1311e7422604aa07f272c11d2240d654bd39cd1128b3239b6696a40e
1240
+ hash: sha256:c9fa5e4ca589f7d2e66eeb886aac73171f4457f0206e652c954973d7ca20c66f
1241
1241
  type: data
1242
1242
  size: 515880
1243
1243
  - path: data/learned-patterns.yaml
@@ -1401,9 +1401,9 @@ files:
1401
1401
  type: agent
1402
1402
  size: 1368
1403
1403
  - path: development/agents/sinapse-orqx.md
1404
- hash: sha256:8eae456af41fe407facbd63ce6a9b8613b2da126b8847d74a140496c3cf6dcee
1404
+ hash: sha256:7241d004f82a1fa583311f9ca0b1a4fc287227bcb66bc2f2973d628914a89433
1405
1405
  type: agent
1406
- size: 31330
1406
+ size: 31337
1407
1407
  - path: development/agents/sprint-lead.md
1408
1408
  hash: sha256:fccb55b79210cc63d7fa0b4e383d06a0dff5c24f1e3b851ab965564e8aef0aa2
1409
1409
  type: agent
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sinapse-ai",
3
- "version": "7.7.9",
3
+ "version": "7.7.10",
4
4
  "description": "SINAPSE AI: Framework de orquestracao de IA — 18 squads, 175 agentes especializados",
5
5
  "bin": {
6
6
  "sinapse": "bin/sinapse.js",
@@ -170,6 +170,25 @@ async function configureEnvironment(options = {}) {
170
170
  // Step 6: Generate and write core-config.yaml
171
171
  const coreConfigDir = path.join(targetDir, '.sinapse-ai');
172
172
  await fs.ensureDir(coreConfigDir);
173
+ const coreConfigPath = path.join(coreConfigDir, 'core-config.yaml');
174
+
175
+ // Check if core-config already exists and is valid (update scenario)
176
+ const existingCoreConfig = await fs.pathExists(coreConfigPath);
177
+ if (existingCoreConfig) {
178
+ try {
179
+ const existingContent = await fs.readFile(coreConfigPath, 'utf8');
180
+ const existingValidation = validateYamlSyntax(existingContent);
181
+ if (existingValidation.valid) {
182
+ const existingStructure = validateCoreConfigStructure(existingValidation.parsed);
183
+ if (existingStructure.valid) {
184
+ results.coreConfigCreated = true;
185
+ console.log('✅ Existing .sinapse-ai/core-config.yaml is valid (kept)');
186
+ return results;
187
+ }
188
+ }
189
+ } catch { /* existing file unreadable, regenerate */ }
190
+ console.log('⚠️ Existing core-config.yaml invalid, regenerating...');
191
+ }
173
192
 
174
193
  const coreConfigContent = generateCoreConfig({
175
194
  projectType,
@@ -193,7 +212,6 @@ async function configureEnvironment(options = {}) {
193
212
  throw new Error('Generated core-config.yaml has invalid structure');
194
213
  }
195
214
 
196
- const coreConfigPath = path.join(coreConfigDir, 'core-config.yaml');
197
215
  await fs.writeFile(coreConfigPath, coreConfigContent, { encoding: 'utf8' });
198
216
  results.coreConfigCreated = true;
199
217
  console.log('✅ Created .sinapse-ai/core-config.yaml');