sinapse-ai 7.7.9 → 7.7.11
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.
- package/.sinapse-ai/data/entity-registry.yaml +748 -748
- package/.sinapse-ai/data/registry-update-log.jsonl +1 -0
- package/.sinapse-ai/development/agents/sinapse-orqx.md +7 -7
- package/.sinapse-ai/install-manifest.yaml +5 -5
- package/package.json +1 -1
- package/packages/installer/src/config/configure-environment.js +19 -1
|
@@ -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"
|
|
98
|
-
- "Analise esse concorrente"
|
|
99
|
-
- "Me ajude com pricing"
|
|
100
|
-
- "Revise meu codigo"
|
|
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"
|
|
106
|
-
- "Campanha de lancamento"
|
|
107
|
-
- "Assessment de seguranca"
|
|
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.
|
|
11
|
-
generated_at: "2026-04-03T03:
|
|
10
|
+
version: 7.7.11
|
|
11
|
+
generated_at: "2026-04-03T03:36:53.760Z"
|
|
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:
|
|
1240
|
+
hash: sha256:534a11039e67654569d848d2348378fd7f2a1dbd336d2a675168007b61c2017f
|
|
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:
|
|
1404
|
+
hash: sha256:7241d004f82a1fa583311f9ca0b1a4fc287227bcb66bc2f2973d628914a89433
|
|
1405
1405
|
type: agent
|
|
1406
|
-
size:
|
|
1406
|
+
size: 31337
|
|
1407
1407
|
- path: development/agents/sprint-lead.md
|
|
1408
1408
|
hash: sha256:fccb55b79210cc63d7fa0b4e383d06a0dff5c24f1e3b851ab965564e8aef0aa2
|
|
1409
1409
|
type: agent
|
package/package.json
CHANGED
|
@@ -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');
|