aios-core 4.0.0 → 4.0.2
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/.aios-core/cli/commands/pro/index.js +82 -148
- package/.aios-core/core/synapse/domain/domain-loader.js +2 -2
- package/.aios-core/core/synapse/engine.js +17 -4
- package/.aios-core/core/synapse/memory/memory-bridge.js +246 -0
- package/.aios-core/core/synapse/output/formatter.js +34 -12
- package/.aios-core/core/synapse/scripts/generate-constitution.js +204 -0
- package/.aios-core/core/synapse/utils/tokens.js +25 -0
- package/.aios-core/data/aios-kb.md +2 -4
- package/.aios-core/data/entity-registry.yaml +61 -8
- package/.aios-core/development/scripts/unified-activation-pipeline.js +9 -1
- package/.aios-core/framework-config.yaml +1 -1
- package/.aios-core/install-manifest.yaml +33 -21
- package/.aios-core/lib/build.json +1 -0
- package/.aios-core/package.json +2 -1
- package/.aios-core/user-guide.md +1 -1
- package/.claude/CLAUDE.md +8 -9
- package/.claude/hooks/README.md +169 -0
- package/.claude/hooks/precompact-session-digest.js +46 -0
- package/.claude/hooks/synapse-engine.js +87 -0
- package/bin/aios-init.js +4 -4
- package/bin/aios-minimal.js +1 -4
- package/bin/aios.js +1 -1
- package/bin/modules/env-config.js +0 -1
- package/package.json +4 -1
- package/packages/aios-pro-cli/bin/aios-pro.js +158 -0
- package/packages/aios-pro-cli/package.json +32 -0
- package/packages/installer/package.json +1 -1
- package/packages/installer/src/installer/aios-core-installer.js +23 -0
- package/packages/installer/src/wizard/ide-config-generator.js +146 -1
- package/packages/installer/src/wizard/index.js +49 -32
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Constitution Generator
|
|
3
|
+
*
|
|
4
|
+
* Reads .aios-core/constitution.md and generates .synapse/constitution
|
|
5
|
+
* in KEY=VALUE format for the SYNAPSE Context Engine L0 layer.
|
|
6
|
+
*
|
|
7
|
+
* Usage: node .aios-core/core/synapse/scripts/generate-constitution.js
|
|
8
|
+
*
|
|
9
|
+
* @module core/synapse/scripts/generate-constitution
|
|
10
|
+
* @version 1.0.0
|
|
11
|
+
* @created Story SYN-8 - Domain Content Files
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
const fs = require('fs');
|
|
15
|
+
const path = require('path');
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Roman numeral to Arabic number map (I-X)
|
|
19
|
+
*/
|
|
20
|
+
const ROMAN_TO_ARABIC = {
|
|
21
|
+
'I': 1, 'II': 2, 'III': 3, 'IV': 4, 'V': 5,
|
|
22
|
+
'VI': 6, 'VII': 7, 'VIII': 8, 'IX': 9, 'X': 10,
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Clean markdown formatting from text
|
|
27
|
+
* Removes backticks and trims whitespace
|
|
28
|
+
*
|
|
29
|
+
* @param {string} text - Text with possible markdown formatting
|
|
30
|
+
* @returns {string} Cleaned text
|
|
31
|
+
*/
|
|
32
|
+
function cleanText(text) {
|
|
33
|
+
return text.replace(/`/g, '').trim();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Parse constitution.md and extract articles with their rules
|
|
38
|
+
*
|
|
39
|
+
* @param {string} content - Raw markdown content of constitution.md
|
|
40
|
+
* @returns {Array<{number: number, roman: string, title: string, severity: string, rules: string[]}>}
|
|
41
|
+
*/
|
|
42
|
+
function parseConstitution(content) {
|
|
43
|
+
if (!content || typeof content !== 'string') {
|
|
44
|
+
return [];
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
const articles = [];
|
|
48
|
+
|
|
49
|
+
// Match article headers: ### I. Title (SEVERITY)
|
|
50
|
+
const articleRegex = /^### ([IVXLC]+)\.\s+(.+?)\s*\(([^)]+)\)\s*$/gm;
|
|
51
|
+
|
|
52
|
+
let match;
|
|
53
|
+
const articlePositions = [];
|
|
54
|
+
|
|
55
|
+
while ((match = articleRegex.exec(content)) !== null) {
|
|
56
|
+
articlePositions.push({
|
|
57
|
+
roman: match[1],
|
|
58
|
+
title: match[2].trim(),
|
|
59
|
+
severity: match[3].trim(),
|
|
60
|
+
startIndex: match.index,
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
for (let i = 0; i < articlePositions.length; i++) {
|
|
65
|
+
const start = articlePositions[i].startIndex;
|
|
66
|
+
const end = i + 1 < articlePositions.length
|
|
67
|
+
? articlePositions[i + 1].startIndex
|
|
68
|
+
: content.indexOf('## Governance', start) !== -1
|
|
69
|
+
? content.indexOf('## Governance', start)
|
|
70
|
+
: content.length;
|
|
71
|
+
|
|
72
|
+
const articleContent = content.substring(start, end);
|
|
73
|
+
const rules = extractRules(articleContent);
|
|
74
|
+
|
|
75
|
+
const num = ROMAN_TO_ARABIC[articlePositions[i].roman];
|
|
76
|
+
if (!num) {
|
|
77
|
+
continue;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
articles.push({
|
|
81
|
+
number: num,
|
|
82
|
+
roman: articlePositions[i].roman,
|
|
83
|
+
title: articlePositions[i].title,
|
|
84
|
+
severity: articlePositions[i].severity,
|
|
85
|
+
rules,
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
return articles;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Extract rules from article content
|
|
94
|
+
* Matches bullet points starting with MUST:, MUST NOT:, SHOULD:, SHOULD NOT:, EXCEPTION:
|
|
95
|
+
*
|
|
96
|
+
* @param {string} articleContent - Markdown content of a single article
|
|
97
|
+
* @returns {string[]} Array of rule strings
|
|
98
|
+
*/
|
|
99
|
+
function extractRules(articleContent) {
|
|
100
|
+
const rules = [];
|
|
101
|
+
const lines = articleContent.split('\n');
|
|
102
|
+
|
|
103
|
+
for (const line of lines) {
|
|
104
|
+
const trimmed = line.trim();
|
|
105
|
+
const ruleMatch = trimmed.match(/^-\s+(MUST(?:\s+NOT)?|SHOULD(?:\s+NOT)?|EXCEPTION):\s+(.+)$/);
|
|
106
|
+
if (ruleMatch) {
|
|
107
|
+
rules.push(`${ruleMatch[1]}: ${cleanText(ruleMatch[2])}`);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
return rules;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Generate KEY=VALUE constitution content from parsed articles
|
|
116
|
+
*
|
|
117
|
+
* @param {Array<{number: number, roman: string, title: string, severity: string, rules: string[]}>} articles
|
|
118
|
+
* @returns {string} KEY=VALUE formatted content
|
|
119
|
+
*/
|
|
120
|
+
function generateConstitution(articles) {
|
|
121
|
+
const lines = [
|
|
122
|
+
'# SYNAPSE Constitution Domain (L0)',
|
|
123
|
+
'# Auto-generated from .aios-core/constitution.md',
|
|
124
|
+
'# DO NOT EDIT MANUALLY — re-run generate-constitution.js',
|
|
125
|
+
'',
|
|
126
|
+
];
|
|
127
|
+
|
|
128
|
+
for (const article of articles) {
|
|
129
|
+
lines.push(`# Article ${article.roman}: ${article.title} (${article.severity})`);
|
|
130
|
+
|
|
131
|
+
// Rule 0: title + severity summary
|
|
132
|
+
lines.push(`CONSTITUTION_RULE_ART${article.number}_0=${article.title} (${article.severity})`);
|
|
133
|
+
|
|
134
|
+
// Subsequent rules from bullet points
|
|
135
|
+
for (let i = 0; i < article.rules.length; i++) {
|
|
136
|
+
lines.push(`CONSTITUTION_RULE_ART${article.number}_${i + 1}=${article.rules[i]}`);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
lines.push('');
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
return lines.join('\n');
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Main entry point: read constitution.md, generate .synapse/constitution
|
|
147
|
+
*
|
|
148
|
+
* @param {object} [options] - Override paths for testing
|
|
149
|
+
* @param {string} [options.projectRoot] - Project root directory
|
|
150
|
+
* @param {string} [options.constitutionPath] - Path to constitution.md
|
|
151
|
+
* @param {string} [options.outputPath] - Path to output file
|
|
152
|
+
* @returns {{success: boolean, articles?: number, rules?: number, outputPath?: string, error?: string}}
|
|
153
|
+
*/
|
|
154
|
+
function main(options = {}) {
|
|
155
|
+
const projectRoot = options.projectRoot || path.resolve(__dirname, '..', '..', '..', '..');
|
|
156
|
+
const constitutionPath = options.constitutionPath || path.join(projectRoot, '.aios-core', 'constitution.md');
|
|
157
|
+
const outputPath = options.outputPath || path.join(projectRoot, '.synapse', 'constitution');
|
|
158
|
+
|
|
159
|
+
// Read source
|
|
160
|
+
let content;
|
|
161
|
+
try {
|
|
162
|
+
content = fs.readFileSync(constitutionPath, 'utf8');
|
|
163
|
+
} catch (error) {
|
|
164
|
+
if (error.code === 'ENOENT') {
|
|
165
|
+
console.error(`Constitution not found: ${constitutionPath}`);
|
|
166
|
+
process.exitCode = 1;
|
|
167
|
+
return { success: false, error: 'Constitution file not found' };
|
|
168
|
+
}
|
|
169
|
+
throw error;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
// Parse articles
|
|
173
|
+
const articles = parseConstitution(content);
|
|
174
|
+
|
|
175
|
+
if (articles.length === 0) {
|
|
176
|
+
console.error('No articles found in constitution.md');
|
|
177
|
+
process.exitCode = 1;
|
|
178
|
+
return { success: false, error: 'No articles found' };
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
// Generate output
|
|
182
|
+
const output = generateConstitution(articles);
|
|
183
|
+
|
|
184
|
+
// Ensure output directory exists
|
|
185
|
+
const outputDir = path.dirname(outputPath);
|
|
186
|
+
if (!fs.existsSync(outputDir)) {
|
|
187
|
+
fs.mkdirSync(outputDir, { recursive: true });
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
// Write output (idempotent — overwrites cleanly)
|
|
191
|
+
fs.writeFileSync(outputPath, output, 'utf8');
|
|
192
|
+
|
|
193
|
+
const totalRules = articles.reduce((sum, a) => sum + a.rules.length + 1, 0);
|
|
194
|
+
console.log(`Constitution generated: ${articles.length} articles, ${totalRules} rules`);
|
|
195
|
+
|
|
196
|
+
return { success: true, articles: articles.length, rules: totalRules, outputPath };
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
// Run if called directly
|
|
200
|
+
if (require.main === module) {
|
|
201
|
+
main();
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
module.exports = { parseConstitution, extractRules, generateConstitution, cleanText, main, ROMAN_TO_ARABIC };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SYNAPSE Token Utilities
|
|
3
|
+
*
|
|
4
|
+
* Shared token estimation used by formatter and memory bridge.
|
|
5
|
+
*
|
|
6
|
+
* @module core/synapse/utils/tokens
|
|
7
|
+
* @version 1.0.0
|
|
8
|
+
* @created Story SYN-10 - Pro Memory Bridge (extracted from formatter.js)
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
'use strict';
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Estimate the number of tokens from a string.
|
|
15
|
+
*
|
|
16
|
+
* Uses the proven heuristic: tokens ~ string.length / 4
|
|
17
|
+
*
|
|
18
|
+
* @param {string} text - Text to estimate
|
|
19
|
+
* @returns {number} Estimated token count
|
|
20
|
+
*/
|
|
21
|
+
function estimateTokens(text) {
|
|
22
|
+
return Math.ceil((text || '').length / 4);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
module.exports = { estimateTokens };
|
|
@@ -82,7 +82,7 @@ AIOS transforms you into a "Vibe CEO" - directing a team of specialized AI agent
|
|
|
82
82
|
|
|
83
83
|
#### Option 2: IDE Integration
|
|
84
84
|
|
|
85
|
-
**Best for**: Cursor, Claude Code, Windsurf,
|
|
85
|
+
**Best for**: Cursor, Claude Code, Windsurf, Cline, Roo Code, Gemini CLI, Github Copilot users
|
|
86
86
|
|
|
87
87
|
```bash
|
|
88
88
|
# Interactive installation (recommended)
|
|
@@ -96,7 +96,6 @@ npx @synkra/aios-core install
|
|
|
96
96
|
- **Cursor**: Native AI integration
|
|
97
97
|
- **Claude Code**: Anthropic's official IDE
|
|
98
98
|
- **Windsurf**: Built-in AI capabilities
|
|
99
|
-
- **Trae**: Built-in AI capabilities
|
|
100
99
|
- **Cline**: VS Code extension with AI features
|
|
101
100
|
- **Roo Code**: Web-based IDE with agent support
|
|
102
101
|
- **GitHub Copilot**: VS Code extension with AI peer programming assistant
|
|
@@ -299,13 +298,12 @@ You are the "Vibe CEO" - thinking like a CEO with unlimited resources and a sing
|
|
|
299
298
|
- **Claude Code**: `/agent-name` (e.g., `/aios-master`)
|
|
300
299
|
- **Cursor**: `@agent-name` (e.g., `@aios-master`)
|
|
301
300
|
- **Windsurf**: `@agent-name` (e.g., `@aios-master`)
|
|
302
|
-
- **Trae**: `@agent-name` (e.g., `@aios-master`)
|
|
303
301
|
- **Roo Code**: Select mode from mode selector (e.g., `aios-master`)
|
|
304
302
|
- **GitHub Copilot**: Open the Chat view (`⌃⌘I` on Mac, `Ctrl+Alt+I` on Windows/Linux) and select **Agent** from the chat mode selector.
|
|
305
303
|
|
|
306
304
|
**Chat Management Guidelines**:
|
|
307
305
|
|
|
308
|
-
- **Claude Code, Cursor, Windsurf
|
|
306
|
+
- **Claude Code, Cursor, Windsurf**: Start new chats when switching agents
|
|
309
307
|
- **Roo Code**: Switch modes within the same conversation
|
|
310
308
|
|
|
311
309
|
**Common Task Commands**:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
metadata:
|
|
2
2
|
version: 1.0.0
|
|
3
|
-
lastUpdated: '2026-02-
|
|
4
|
-
entityCount:
|
|
3
|
+
lastUpdated: '2026-02-12T13:07:01.327Z'
|
|
4
|
+
entityCount: 487
|
|
5
5
|
checksumAlgorithm: sha256
|
|
6
6
|
entities:
|
|
7
7
|
tasks:
|
|
@@ -6432,7 +6432,6 @@ entities:
|
|
|
6432
6432
|
- check
|
|
6433
6433
|
usedBy:
|
|
6434
6434
|
- check-registry
|
|
6435
|
-
- engine
|
|
6436
6435
|
- console
|
|
6437
6436
|
- json
|
|
6438
6437
|
- markdown
|
|
@@ -6501,18 +6500,20 @@ entities:
|
|
|
6501
6500
|
engine:
|
|
6502
6501
|
path: .aios-core/core/health-check/engine.js
|
|
6503
6502
|
type: module
|
|
6504
|
-
purpose: Entity at .aios-core\core\
|
|
6503
|
+
purpose: Entity at .aios-core\core\synapse\engine.js
|
|
6505
6504
|
keywords:
|
|
6506
6505
|
- engine
|
|
6507
6506
|
usedBy: []
|
|
6508
6507
|
dependencies:
|
|
6509
|
-
-
|
|
6508
|
+
- context-tracker
|
|
6509
|
+
- formatter
|
|
6510
|
+
- memory-bridge
|
|
6510
6511
|
adaptability:
|
|
6511
6512
|
score: 0.4
|
|
6512
6513
|
constraints: []
|
|
6513
6514
|
extensionPoints: []
|
|
6514
|
-
checksum: sha256:
|
|
6515
|
-
lastVerified: '2026-02-
|
|
6515
|
+
checksum: sha256:90572bd719491e1f57bc43cb29179ad8de34db9d752fff54bf8638d9fcf22bc7
|
|
6516
|
+
lastVerified: '2026-02-12T13:07:01.326Z'
|
|
6516
6517
|
ideation-engine:
|
|
6517
6518
|
path: .aios-core/core/ideation/ideation-engine.js
|
|
6518
6519
|
type: module
|
|
@@ -8430,7 +8431,8 @@ entities:
|
|
|
8430
8431
|
keywords:
|
|
8431
8432
|
- context
|
|
8432
8433
|
- tracker
|
|
8433
|
-
usedBy:
|
|
8434
|
+
usedBy:
|
|
8435
|
+
- engine
|
|
8434
8436
|
dependencies: []
|
|
8435
8437
|
adaptability:
|
|
8436
8438
|
score: 0.4
|
|
@@ -8438,6 +8440,57 @@ entities:
|
|
|
8438
8440
|
extensionPoints: []
|
|
8439
8441
|
checksum: sha256:3b09f8323fab171e3aaa7a3a079b6cd65f6fd5775e661c24c295a4775cb31a68
|
|
8440
8442
|
lastVerified: '2026-02-11T02:17:11.045Z'
|
|
8443
|
+
memory-bridge:
|
|
8444
|
+
path: .aios-core/core/synapse/memory/memory-bridge.js
|
|
8445
|
+
type: module
|
|
8446
|
+
purpose: Entity at .aios-core\core\synapse\memory\memory-bridge.js
|
|
8447
|
+
keywords:
|
|
8448
|
+
- memory
|
|
8449
|
+
- bridge
|
|
8450
|
+
usedBy:
|
|
8451
|
+
- engine
|
|
8452
|
+
dependencies:
|
|
8453
|
+
- tokens
|
|
8454
|
+
- feature-gate
|
|
8455
|
+
- synapse-memory-provider
|
|
8456
|
+
adaptability:
|
|
8457
|
+
score: 0.4
|
|
8458
|
+
constraints: []
|
|
8459
|
+
extensionPoints: []
|
|
8460
|
+
checksum: sha256:5f039ad6aa1ab15250efbb2eb20346b95ba545c6d9c270ee7abf96e18930db1e
|
|
8461
|
+
lastVerified: '2026-02-12T13:07:01.327Z'
|
|
8462
|
+
formatter:
|
|
8463
|
+
path: .aios-core/core/synapse/output/formatter.js
|
|
8464
|
+
type: module
|
|
8465
|
+
purpose: Entity at .aios-core\core\synapse\output\formatter.js
|
|
8466
|
+
keywords:
|
|
8467
|
+
- formatter
|
|
8468
|
+
usedBy:
|
|
8469
|
+
- engine
|
|
8470
|
+
dependencies:
|
|
8471
|
+
- tokens
|
|
8472
|
+
adaptability:
|
|
8473
|
+
score: 0.4
|
|
8474
|
+
constraints: []
|
|
8475
|
+
extensionPoints: []
|
|
8476
|
+
checksum: sha256:fe4f6c2f6091defb6af66dad71db0640f919b983111087f8cc5821e3d44ca864
|
|
8477
|
+
lastVerified: '2026-02-12T12:53:14.531Z'
|
|
8478
|
+
tokens:
|
|
8479
|
+
path: .aios-core/core/synapse/utils/tokens.js
|
|
8480
|
+
type: module
|
|
8481
|
+
purpose: Entity at .aios-core\core\synapse\utils\tokens.js
|
|
8482
|
+
keywords:
|
|
8483
|
+
- tokens
|
|
8484
|
+
usedBy:
|
|
8485
|
+
- memory-bridge
|
|
8486
|
+
- formatter
|
|
8487
|
+
dependencies: []
|
|
8488
|
+
adaptability:
|
|
8489
|
+
score: 0.4
|
|
8490
|
+
constraints: []
|
|
8491
|
+
extensionPoints: []
|
|
8492
|
+
checksum: sha256:3b927daec51d0a791f3fe4ef9aafc362773450e7cf50eb4b6d8ae9011d70df9a
|
|
8493
|
+
lastVerified: '2026-02-12T12:53:14.532Z'
|
|
8441
8494
|
agents:
|
|
8442
8495
|
aios-master:
|
|
8443
8496
|
path: .aios-core/development/agents/aios-master.md
|
|
@@ -49,7 +49,15 @@ const { PermissionMode } = require('../../core/permissions');
|
|
|
49
49
|
const GreetingPreferenceManager = require('./greeting-preference-manager');
|
|
50
50
|
const ContextDetector = require('../../core/session/context-detector');
|
|
51
51
|
const WorkflowNavigator = require('./workflow-navigator');
|
|
52
|
-
|
|
52
|
+
// BUG-1 fix (INS-1): Graceful degradation when pro-detector is not available
|
|
53
|
+
// In installed projects, bin/utils/pro-detector.js does not exist
|
|
54
|
+
let isProAvailable, loadProModule;
|
|
55
|
+
try {
|
|
56
|
+
({ isProAvailable, loadProModule } = require('../../../bin/utils/pro-detector'));
|
|
57
|
+
} catch {
|
|
58
|
+
isProAvailable = () => false;
|
|
59
|
+
loadProModule = () => null;
|
|
60
|
+
}
|
|
53
61
|
|
|
54
62
|
/**
|
|
55
63
|
* ACT-11: Loader importance tiers with per-tier timeout budgets.
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
# - SHA256 hashes for change detection
|
|
8
8
|
# - File types for categorization
|
|
9
9
|
#
|
|
10
|
-
version: 4.0.
|
|
11
|
-
generated_at: "2026-02-
|
|
10
|
+
version: 4.0.2
|
|
11
|
+
generated_at: "2026-02-13T01:40:56.998Z"
|
|
12
12
|
generator: scripts/generate-install-manifest.js
|
|
13
|
-
file_count:
|
|
13
|
+
file_count: 971
|
|
14
14
|
files:
|
|
15
15
|
- path: cli/commands/config/index.js
|
|
16
16
|
hash: sha256:ebcad2ce3807eda29dcddff76d7a95ddc9b7fa160df21fd608f94b802237e862
|
|
@@ -101,9 +101,9 @@ files:
|
|
|
101
101
|
type: cli
|
|
102
102
|
size: 12322
|
|
103
103
|
- path: cli/commands/pro/index.js
|
|
104
|
-
hash: sha256:
|
|
104
|
+
hash: sha256:9afa5f4574b5c35f22ddac27fa5fd2b3ba21dce54eb793547a21414081787cc6
|
|
105
105
|
type: cli
|
|
106
|
-
size:
|
|
106
|
+
size: 19767
|
|
107
107
|
- path: cli/commands/qa/index.js
|
|
108
108
|
hash: sha256:ff9c3669e31319d5e7be9b42a45f8ef7b9525ed2094e320000bc06cdd0625ca7
|
|
109
109
|
type: cli
|
|
@@ -853,13 +853,13 @@ files:
|
|
|
853
853
|
type: core
|
|
854
854
|
size: 5581
|
|
855
855
|
- path: core/synapse/domain/domain-loader.js
|
|
856
|
-
hash: sha256:
|
|
856
|
+
hash: sha256:af788f9da956b89eef1e5eb4ef4efdf05ca758c8969a2c375f568119495ebc05
|
|
857
857
|
type: core
|
|
858
|
-
size:
|
|
858
|
+
size: 8122
|
|
859
859
|
- path: core/synapse/engine.js
|
|
860
|
-
hash: sha256:
|
|
860
|
+
hash: sha256:90572bd719491e1f57bc43cb29179ad8de34db9d752fff54bf8638d9fcf22bc7
|
|
861
861
|
type: core
|
|
862
|
-
size:
|
|
862
|
+
size: 10410
|
|
863
863
|
- path: core/synapse/layers/l0-constitution.js
|
|
864
864
|
hash: sha256:2123a6a44915aaac2a6bbd26c67c285c9d1e12b50fe42a8ada668306b07d1c4a
|
|
865
865
|
type: core
|
|
@@ -896,10 +896,18 @@ files:
|
|
|
896
896
|
hash: sha256:73cb0e5b4bada80d8e256009004679e483792077fac4358c6466cd77136f79fa
|
|
897
897
|
type: core
|
|
898
898
|
size: 2881
|
|
899
|
+
- path: core/synapse/memory/memory-bridge.js
|
|
900
|
+
hash: sha256:5f039ad6aa1ab15250efbb2eb20346b95ba545c6d9c270ee7abf96e18930db1e
|
|
901
|
+
type: core
|
|
902
|
+
size: 6771
|
|
899
903
|
- path: core/synapse/output/formatter.js
|
|
900
|
-
hash: sha256:
|
|
904
|
+
hash: sha256:fe4f6c2f6091defb6af66dad71db0640f919b983111087f8cc5821e3d44ca864
|
|
901
905
|
type: core
|
|
902
|
-
size:
|
|
906
|
+
size: 16418
|
|
907
|
+
- path: core/synapse/scripts/generate-constitution.js
|
|
908
|
+
hash: sha256:65405d3e4ee080d19a25fb8967e159360a289e773c15253a351ee163b469e877
|
|
909
|
+
type: script
|
|
910
|
+
size: 6160
|
|
903
911
|
- path: core/synapse/session/session-manager.js
|
|
904
912
|
hash: sha256:6127c2ef1c6db83cfd5796443789964a8da72635b23b367fb351592c070d05dd
|
|
905
913
|
type: core
|
|
@@ -908,6 +916,10 @@ files:
|
|
|
908
916
|
hash: sha256:bf8cf93c1a16295e7de055bee292e2778a152b6e7d6c648dbc054a4b04dffc10
|
|
909
917
|
type: core
|
|
910
918
|
size: 1464
|
|
919
|
+
- path: core/synapse/utils/tokens.js
|
|
920
|
+
hash: sha256:3b927daec51d0a791f3fe4ef9aafc362773450e7cf50eb4b6d8ae9011d70df9a
|
|
921
|
+
type: core
|
|
922
|
+
size: 573
|
|
911
923
|
- path: core/ui/index.js
|
|
912
924
|
hash: sha256:e2ead179c646b8f36046134c631c24f35a151dbf5a1e95c0e4311bf1652abe12
|
|
913
925
|
type: core
|
|
@@ -937,13 +949,13 @@ files:
|
|
|
937
949
|
type: data
|
|
938
950
|
size: 10965
|
|
939
951
|
- path: data/aios-kb.md
|
|
940
|
-
hash: sha256:
|
|
952
|
+
hash: sha256:c3596f743ba36a99618ab32ab0a5b3c2419ca91128fb79a66e44ebbf7474806f
|
|
941
953
|
type: data
|
|
942
|
-
size:
|
|
954
|
+
size: 34780
|
|
943
955
|
- path: data/entity-registry.yaml
|
|
944
|
-
hash: sha256:
|
|
956
|
+
hash: sha256:c02059828c5708815bf6ac1cb3664c2898ecfff06f9d47413fe68caf1fa969ae
|
|
945
957
|
type: data
|
|
946
|
-
size:
|
|
958
|
+
size: 279148
|
|
947
959
|
- path: data/learned-patterns.yaml
|
|
948
960
|
hash: sha256:24ac0b160615583a0ff783d3da8af80b7f94191575d6db2054ec8e10a3f945dc
|
|
949
961
|
type: data
|
|
@@ -1293,9 +1305,9 @@ files:
|
|
|
1293
1305
|
type: script
|
|
1294
1306
|
size: 17607
|
|
1295
1307
|
- path: development/scripts/unified-activation-pipeline.js
|
|
1296
|
-
hash: sha256:
|
|
1308
|
+
hash: sha256:c3a42ca88075291e67531301a5788d2f6e0e19dee20cde940e7b0c48e9bcade8
|
|
1297
1309
|
type: script
|
|
1298
|
-
size:
|
|
1310
|
+
size: 25316
|
|
1299
1311
|
- path: development/scripts/usage-tracker.js
|
|
1300
1312
|
hash: sha256:b3079713787de7c6ac38a742255861f04e8359ef1b227836040920a64b7e8aac
|
|
1301
1313
|
type: script
|
|
@@ -3065,9 +3077,9 @@ files:
|
|
|
3065
3077
|
type: monitor
|
|
3066
3078
|
size: 818
|
|
3067
3079
|
- path: package.json
|
|
3068
|
-
hash: sha256:
|
|
3080
|
+
hash: sha256:dff580c83cc1554c75162c9cabb711b5cd85e679c9c8f4968ee74499e99de0c0
|
|
3069
3081
|
type: other
|
|
3070
|
-
size:
|
|
3082
|
+
size: 2401
|
|
3071
3083
|
- path: product/checklists/accessibility-wcag-checklist.md
|
|
3072
3084
|
hash: sha256:56126182b25e9b7bdde43f75315e33167eb49b1f9a9cb0e9a37bc068af40aeab
|
|
3073
3085
|
type: checklist
|
|
@@ -3801,9 +3813,9 @@ files:
|
|
|
3801
3813
|
type: script
|
|
3802
3814
|
size: 1708
|
|
3803
3815
|
- path: user-guide.md
|
|
3804
|
-
hash: sha256:
|
|
3816
|
+
hash: sha256:a6c60f9781589f7e9e87ff1b488cdd842f6e1b03a74b71695cdfe14a0a5589c8
|
|
3805
3817
|
type: documentation
|
|
3806
|
-
size:
|
|
3818
|
+
size: 38582
|
|
3807
3819
|
- path: workflow-intelligence/__tests__/confidence-scorer.test.js
|
|
3808
3820
|
hash: sha256:237216842d3eb710ae33f3aba6c7b2a6a353cccc1dea6d4b927d8d063d9cb635
|
|
3809
3821
|
type: workflow-intelligence
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"built": true}
|
package/.aios-core/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aios-fullstack/core",
|
|
3
|
-
"version": "4.31.
|
|
3
|
+
"version": "4.31.1",
|
|
4
4
|
"description": "AIOS-FullStack Core - Meta-agent and component generation system",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.esm.js",
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"inquirer": "^8.2.6",
|
|
40
40
|
"validator": "^13.15.15",
|
|
41
41
|
"diff": "^5.2.0",
|
|
42
|
+
"execa": "^5.1.1",
|
|
42
43
|
"highlight.js": "^11.9.0"
|
|
43
44
|
},
|
|
44
45
|
"peerDependencies": {
|
package/.aios-core/user-guide.md
CHANGED
package/.claude/CLAUDE.md
CHANGED
|
@@ -70,16 +70,15 @@ CLI First → Observability Second → UI Third
|
|
|
70
70
|
aios-core/
|
|
71
71
|
├── .aios-core/ # Core do framework
|
|
72
72
|
│ ├── core/ # Módulos principais (orchestration, memory, etc.)
|
|
73
|
-
│ ├──
|
|
74
|
-
│
|
|
75
|
-
|
|
76
|
-
│ └── dashboard/ # Dashboard Next.js (Observability + UI)
|
|
73
|
+
│ ├── data/ # Knowledge base, entity registry
|
|
74
|
+
│ ├── development/ # Agents, tasks, templates, checklists, scripts
|
|
75
|
+
│ └── infrastructure/ # CI/CD templates, scripts
|
|
77
76
|
├── bin/ # CLI executables (aios-init.js, aios.js)
|
|
78
|
-
├── src/ # Source code
|
|
79
77
|
├── docs/ # Documentação
|
|
80
78
|
│ └── stories/ # Development stories (active/, completed/)
|
|
81
|
-
├── squads/ # Expansion packs
|
|
82
79
|
├── packages/ # Shared packages
|
|
80
|
+
├── pro/ # Pro submodule (proprietary)
|
|
81
|
+
├── squads/ # Squad expansions
|
|
83
82
|
└── tests/ # Testes
|
|
84
83
|
```
|
|
85
84
|
|
|
@@ -114,11 +113,11 @@ Use prefixo `*` para comandos:
|
|
|
114
113
|
|
|
115
114
|
| Agente | Diretórios Principais |
|
|
116
115
|
|--------|----------------------|
|
|
117
|
-
| `@dev` | `
|
|
116
|
+
| `@dev` | `packages/`, `.aios-core/core/`, `bin/` |
|
|
118
117
|
| `@architect` | `docs/architecture/`, system design |
|
|
119
118
|
| `@data-engineer` | `packages/db/`, migrations, schema |
|
|
120
119
|
| `@qa` | `tests/`, `*.test.js`, quality gates |
|
|
121
|
-
| `@po` |
|
|
120
|
+
| `@po` | Stories, epics, requirements |
|
|
122
121
|
| `@devops` | `.github/`, CI/CD, git operations |
|
|
123
122
|
|
|
124
123
|
---
|
|
@@ -313,5 +312,5 @@ tail -f .aios/logs/agent.log
|
|
|
313
312
|
|
|
314
313
|
---
|
|
315
314
|
|
|
316
|
-
*Synkra AIOS Claude Code Configuration
|
|
315
|
+
*Synkra AIOS Claude Code Configuration v4.0*
|
|
317
316
|
*CLI First | Observability Second | UI Third*
|