aios-core 2.2.1 → 2.3.1
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/.session/current-session.json +14 -14
- package/.aios-core/cli/commands/migrate/validate.js +1 -1
- package/.aios-core/core/docs/session-update-pattern.md +17 -10
- package/.aios-core/core/elicitation/elicitation-engine.js +11 -6
- package/.aios-core/core/elicitation/session-manager.js +2 -1
- package/.aios-core/core/registry/registry-schema.json +166 -166
- package/.aios-core/core/registry/service-registry.json +6585 -6585
- package/.aios-core/core-config.yaml +12 -1
- package/.aios-core/data/agent-config-requirements.yaml +5 -5
- package/.aios-core/development/agents/devops.md +12 -0
- package/.aios-core/development/scripts/squad/README.md +112 -0
- package/.aios-core/development/scripts/squad/index.js +41 -0
- package/.aios-core/development/scripts/squad/squad-loader.js +359 -0
- package/.aios-core/development/scripts/squad/squad-validator.js +685 -0
- package/.aios-core/development/tasks/add-mcp.md +11 -5
- package/.aios-core/development/tasks/search-mcp.md +309 -0
- package/.aios-core/development/tasks/setup-mcp-docker.md +11 -8
- package/.aios-core/development/tasks/squad-creator-validate.md +151 -0
- package/.aios-core/docs/standards/AGENT-PERSONALIZATION-STANDARD-V1.md +3 -3
- package/.aios-core/index.d.ts +7 -7
- package/.aios-core/index.js +1 -1
- package/.aios-core/infrastructure/scripts/batch-creator.js +1 -1
- package/.aios-core/infrastructure/scripts/component-generator.js +1 -1
- package/.aios-core/infrastructure/templates/coderabbit.yaml.template +279 -279
- package/.aios-core/infrastructure/templates/github-workflows/ci.yml.template +169 -169
- package/.aios-core/infrastructure/templates/github-workflows/pr-automation.yml.template +330 -330
- package/.aios-core/infrastructure/templates/github-workflows/release.yml.template +196 -196
- package/.aios-core/infrastructure/templates/gitignore/gitignore-aios-base.tmpl +63 -63
- package/.aios-core/infrastructure/templates/gitignore/gitignore-brownfield-merge.tmpl +18 -18
- package/.aios-core/infrastructure/templates/gitignore/gitignore-node.tmpl +85 -85
- package/.aios-core/infrastructure/templates/gitignore/gitignore-python.tmpl +145 -145
- package/.aios-core/infrastructure/tests/utilities-audit-results.json +500 -500
- package/.aios-core/infrastructure/tools/README.md +1 -1
- package/.aios-core/install-manifest.yaml +4 -1
- package/.aios-core/manifests/schema/manifest-schema.json +190 -190
- package/.aios-core/manifests/workers.csv +203 -203
- package/.aios-core/package.json +102 -102
- package/.aios-core/product/templates/activation-instructions-template.md +7 -7
- package/.aios-core/product/templates/adr.hbs +125 -125
- package/.aios-core/product/templates/component-react-tmpl.tsx +98 -98
- package/.aios-core/product/templates/dbdr.hbs +241 -241
- package/.aios-core/product/templates/engine/schemas/adr.schema.json +102 -102
- package/.aios-core/product/templates/engine/schemas/dbdr.schema.json +205 -205
- package/.aios-core/product/templates/engine/schemas/epic.schema.json +175 -175
- package/.aios-core/product/templates/engine/schemas/pmdr.schema.json +175 -175
- package/.aios-core/product/templates/engine/schemas/prd-v2.schema.json +300 -300
- package/.aios-core/product/templates/engine/schemas/prd.schema.json +152 -152
- package/.aios-core/product/templates/engine/schemas/story.schema.json +222 -222
- package/.aios-core/product/templates/engine/schemas/task.schema.json +154 -154
- package/.aios-core/product/templates/epic.hbs +212 -212
- package/.aios-core/product/templates/eslintrc-security.json +32 -32
- package/.aios-core/product/templates/github-actions-cd.yml +212 -212
- package/.aios-core/product/templates/github-actions-ci.yml +172 -172
- package/.aios-core/product/templates/pmdr.hbs +186 -186
- package/.aios-core/product/templates/prd-v2.0.hbs +216 -216
- package/.aios-core/product/templates/prd.hbs +201 -201
- package/.aios-core/product/templates/shock-report-tmpl.html +502 -502
- package/.aios-core/product/templates/story.hbs +263 -263
- package/.aios-core/product/templates/task.hbs +170 -170
- package/.aios-core/product/templates/tmpl-comment-on-examples.sql +158 -158
- package/.aios-core/product/templates/tmpl-migration-script.sql +91 -91
- package/.aios-core/product/templates/tmpl-rls-granular-policies.sql +104 -104
- package/.aios-core/product/templates/tmpl-rls-kiss-policy.sql +10 -10
- package/.aios-core/product/templates/tmpl-rls-roles.sql +135 -135
- package/.aios-core/product/templates/tmpl-rls-simple.sql +77 -77
- package/.aios-core/product/templates/tmpl-rls-tenant.sql +152 -152
- package/.aios-core/product/templates/tmpl-rollback-script.sql +77 -77
- package/.aios-core/product/templates/tmpl-seed-data.sql +140 -140
- package/.aios-core/product/templates/tmpl-smoke-test.sql +16 -16
- package/.aios-core/product/templates/tmpl-staging-copy-merge.sql +139 -139
- package/.aios-core/product/templates/tmpl-stored-proc.sql +140 -140
- package/.aios-core/product/templates/tmpl-trigger.sql +152 -152
- package/.aios-core/product/templates/tmpl-view-materialized.sql +133 -133
- package/.aios-core/product/templates/tmpl-view.sql +177 -177
- package/.aios-core/product/templates/token-exports-css-tmpl.css +240 -240
- package/.aios-core/quality/schemas/quality-metrics.schema.json +233 -233
- package/.aios-core/schemas/squad-schema.json +185 -0
- package/.aios-core/scripts/README.md +90 -322
- package/.aios-core/scripts/migrate-framework-docs.sh +300 -300
- package/.claude/rules/mcp-usage.md +116 -100
- package/LICENSE +48 -48
- package/README.md +3 -4
- package/bin/aios-init.js +11 -6
- package/bin/aios.js +2 -1
- package/package.json +2 -3
- package/packages/installer/package.json +39 -39
- package/packages/installer/tests/integration/environment-configuration.test.js +2 -2
- package/packages/installer/tests/unit/env-template.test.js +4 -3
- package/templates/squad/LICENSE +21 -21
- package/templates/squad/README.md +37 -37
- package/templates/squad/agents/example-agent.yaml +36 -36
- package/templates/squad/package.json +19 -19
- package/templates/squad/squad.yaml +25 -25
- package/templates/squad/tasks/example-task.yaml +46 -46
- package/templates/squad/templates/example-template.md +24 -24
- package/templates/squad/tests/example-agent.test.js +53 -53
- package/templates/squad/workflows/example-workflow.yaml +54 -54
- package/tools/diagnose-npx-issue.ps1 +96 -96
- package/tools/quick-diagnose.cmd +85 -85
- package/tools/quick-diagnose.ps1 +117 -117
- package/.aios-core/core/data/agent-config-requirements.yaml +0 -368
- package/.aios-core/core/data/aios-kb.md +0 -924
- package/.aios-core/core/data/workflow-patterns.yaml +0 -267
- package/.aios-core/product/templates/1mcp-config.yaml +0 -225
- package/.aios-core/scripts/context-detector.js +0 -226
- package/.aios-core/scripts/elicitation-engine.js +0 -385
- package/.aios-core/scripts/elicitation-session-manager.js +0 -300
- package/.claude/CLAUDE.md +0 -221
|
@@ -1,368 +0,0 @@
|
|
|
1
|
-
# Agent Config Requirements
|
|
2
|
-
#
|
|
3
|
-
# Defines which config sections and files each agent needs to load.
|
|
4
|
-
# Part of Story 6.1.2.6: Framework Configuration System
|
|
5
|
-
#
|
|
6
|
-
# Performance Targets:
|
|
7
|
-
# - critical: <30ms (aios-master)
|
|
8
|
-
# - high: <50ms (dev, qa, devops, security, github-devops)
|
|
9
|
-
# - medium: <75ms (po, sm, architect, data-engineer, db-sage)
|
|
10
|
-
# - low: <100ms (pm, analyst, ux-design-expert, aios-developer, aios-orchestrator)
|
|
11
|
-
|
|
12
|
-
agents:
|
|
13
|
-
# ======================================================================
|
|
14
|
-
# CRITICAL PRIORITY AGENTS (<30ms target)
|
|
15
|
-
# ======================================================================
|
|
16
|
-
|
|
17
|
-
aios-master:
|
|
18
|
-
config_sections:
|
|
19
|
-
- dataLocation
|
|
20
|
-
- registry
|
|
21
|
-
files_loaded:
|
|
22
|
-
- path: .aios-core/data/aios-kb.md
|
|
23
|
-
lazy: true
|
|
24
|
-
condition: kb_command
|
|
25
|
-
size: 35KB
|
|
26
|
-
lazy_loading:
|
|
27
|
-
registry: false # Always load (15KB, frequently used)
|
|
28
|
-
aios-kb: true # Load only on *kb command
|
|
29
|
-
performance_target: <30ms
|
|
30
|
-
|
|
31
|
-
# ======================================================================
|
|
32
|
-
# HIGH PRIORITY AGENTS (<50ms target)
|
|
33
|
-
# ======================================================================
|
|
34
|
-
|
|
35
|
-
dev:
|
|
36
|
-
config_sections:
|
|
37
|
-
- devLoadAlwaysFiles
|
|
38
|
-
- devStoryLocation
|
|
39
|
-
- dataLocation
|
|
40
|
-
files_loaded:
|
|
41
|
-
- path: docs/framework/coding-standards.md
|
|
42
|
-
lazy: false
|
|
43
|
-
size: 25KB
|
|
44
|
-
- path: docs/framework/tech-stack.md
|
|
45
|
-
lazy: false
|
|
46
|
-
size: 30KB
|
|
47
|
-
- path: docs/framework/source-tree.md
|
|
48
|
-
lazy: false
|
|
49
|
-
size: 20KB
|
|
50
|
-
- path: .aios-core/data/technical-preferences.md
|
|
51
|
-
lazy: false
|
|
52
|
-
size: 15KB
|
|
53
|
-
lazy_loading:
|
|
54
|
-
framework_docs: false # Always load
|
|
55
|
-
project_decisions: true # Load when yolo mode or story development
|
|
56
|
-
performance_target: <50ms
|
|
57
|
-
|
|
58
|
-
qa:
|
|
59
|
-
config_sections:
|
|
60
|
-
- qaLocation
|
|
61
|
-
- dataLocation
|
|
62
|
-
- storyBacklog
|
|
63
|
-
files_loaded:
|
|
64
|
-
- path: .aios-core/data/technical-preferences.md
|
|
65
|
-
lazy: false
|
|
66
|
-
size: 15KB
|
|
67
|
-
- path: .aios-core/data/test-levels-framework.md
|
|
68
|
-
lazy: false
|
|
69
|
-
size: 8KB
|
|
70
|
-
- path: .aios-core/data/test-priorities-matrix.md
|
|
71
|
-
lazy: false
|
|
72
|
-
size: 6KB
|
|
73
|
-
lazy_loading:
|
|
74
|
-
test_frameworks: false # Always load
|
|
75
|
-
performance_target: <50ms
|
|
76
|
-
|
|
77
|
-
devops:
|
|
78
|
-
config_sections:
|
|
79
|
-
- dataLocation
|
|
80
|
-
- cicdLocation
|
|
81
|
-
files_loaded:
|
|
82
|
-
- path: .aios-core/data/technical-preferences.md
|
|
83
|
-
lazy: false
|
|
84
|
-
size: 15KB
|
|
85
|
-
lazy_loading: {}
|
|
86
|
-
performance_target: <50ms
|
|
87
|
-
|
|
88
|
-
github-devops:
|
|
89
|
-
config_sections:
|
|
90
|
-
- dataLocation
|
|
91
|
-
- githubLocation
|
|
92
|
-
files_loaded:
|
|
93
|
-
- path: .aios-core/data/technical-preferences.md
|
|
94
|
-
lazy: false
|
|
95
|
-
size: 15KB
|
|
96
|
-
lazy_loading: {}
|
|
97
|
-
performance_target: <50ms
|
|
98
|
-
|
|
99
|
-
# ======================================================================
|
|
100
|
-
# MEDIUM PRIORITY AGENTS (<75ms target)
|
|
101
|
-
# ======================================================================
|
|
102
|
-
|
|
103
|
-
architect:
|
|
104
|
-
config_sections:
|
|
105
|
-
- architecture
|
|
106
|
-
- dataLocation
|
|
107
|
-
- templatesLocation
|
|
108
|
-
files_loaded:
|
|
109
|
-
- path: .aios-core/data/technical-preferences.md
|
|
110
|
-
lazy: false
|
|
111
|
-
size: 15KB
|
|
112
|
-
lazy_loading:
|
|
113
|
-
architecture_templates: true # Load when creating architecture
|
|
114
|
-
performance_target: <75ms
|
|
115
|
-
|
|
116
|
-
po:
|
|
117
|
-
config_sections:
|
|
118
|
-
- devStoryLocation
|
|
119
|
-
- prd
|
|
120
|
-
- storyBacklog
|
|
121
|
-
- templatesLocation
|
|
122
|
-
files_loaded:
|
|
123
|
-
- path: .aios-core/data/elicitation-methods.md
|
|
124
|
-
lazy: false
|
|
125
|
-
size: 5KB
|
|
126
|
-
lazy_loading:
|
|
127
|
-
story_templates: true # Load when creating stories
|
|
128
|
-
prd_templates: true # Load when creating PRDs
|
|
129
|
-
performance_target: <75ms
|
|
130
|
-
|
|
131
|
-
sm:
|
|
132
|
-
config_sections:
|
|
133
|
-
- devStoryLocation
|
|
134
|
-
- storyBacklog
|
|
135
|
-
- dataLocation
|
|
136
|
-
files_loaded:
|
|
137
|
-
- path: .aios-core/data/mode-selection-best-practices.md
|
|
138
|
-
lazy: false
|
|
139
|
-
size: 10KB
|
|
140
|
-
- path: .aios-core/data/workflow-patterns.yaml
|
|
141
|
-
lazy: false
|
|
142
|
-
size: 8KB
|
|
143
|
-
lazy_loading: {}
|
|
144
|
-
performance_target: <75ms
|
|
145
|
-
|
|
146
|
-
data-engineer:
|
|
147
|
-
config_sections:
|
|
148
|
-
- dataLocation
|
|
149
|
-
- etlLocation
|
|
150
|
-
files_loaded:
|
|
151
|
-
- path: .aios-core/data/technical-preferences.md
|
|
152
|
-
lazy: false
|
|
153
|
-
size: 15KB
|
|
154
|
-
lazy_loading: {}
|
|
155
|
-
performance_target: <75ms
|
|
156
|
-
|
|
157
|
-
db-sage:
|
|
158
|
-
config_sections:
|
|
159
|
-
- dataLocation
|
|
160
|
-
- databaseLocation
|
|
161
|
-
files_loaded:
|
|
162
|
-
- path: .aios-core/data/technical-preferences.md
|
|
163
|
-
lazy: false
|
|
164
|
-
size: 15KB
|
|
165
|
-
lazy_loading: {}
|
|
166
|
-
performance_target: <75ms
|
|
167
|
-
|
|
168
|
-
# ======================================================================
|
|
169
|
-
# LOW PRIORITY AGENTS (<100ms target)
|
|
170
|
-
# ======================================================================
|
|
171
|
-
|
|
172
|
-
pm:
|
|
173
|
-
config_sections:
|
|
174
|
-
- devStoryLocation
|
|
175
|
-
- storyBacklog
|
|
176
|
-
files_loaded: []
|
|
177
|
-
lazy_loading: {}
|
|
178
|
-
performance_target: <100ms
|
|
179
|
-
|
|
180
|
-
analyst:
|
|
181
|
-
config_sections:
|
|
182
|
-
- dataLocation
|
|
183
|
-
- analyticsLocation
|
|
184
|
-
files_loaded:
|
|
185
|
-
- path: .aios-core/data/brainstorming-techniques.md
|
|
186
|
-
lazy: false
|
|
187
|
-
size: 2KB
|
|
188
|
-
lazy_loading: {}
|
|
189
|
-
performance_target: <100ms
|
|
190
|
-
|
|
191
|
-
ux-design-expert:
|
|
192
|
-
config_sections:
|
|
193
|
-
- dataLocation
|
|
194
|
-
- uxLocation
|
|
195
|
-
files_loaded: []
|
|
196
|
-
lazy_loading: {}
|
|
197
|
-
performance_target: <100ms
|
|
198
|
-
|
|
199
|
-
aios-developer:
|
|
200
|
-
config_sections:
|
|
201
|
-
- dataLocation
|
|
202
|
-
- registry
|
|
203
|
-
- templatesLocation
|
|
204
|
-
files_loaded:
|
|
205
|
-
- path: .aios-core/data/aios-kb.md
|
|
206
|
-
lazy: true
|
|
207
|
-
condition: meta_operations
|
|
208
|
-
size: 35KB
|
|
209
|
-
lazy_loading:
|
|
210
|
-
aios_kb: true # Load only for meta operations
|
|
211
|
-
agent_templates: true # Load when creating agents
|
|
212
|
-
performance_target: <100ms
|
|
213
|
-
|
|
214
|
-
aios-orchestrator:
|
|
215
|
-
config_sections:
|
|
216
|
-
- dataLocation
|
|
217
|
-
- registry
|
|
218
|
-
files_loaded:
|
|
219
|
-
- path: .aios-core/data/workflow-patterns.yaml
|
|
220
|
-
lazy: false
|
|
221
|
-
size: 8KB
|
|
222
|
-
lazy_loading: {}
|
|
223
|
-
performance_target: <100ms
|
|
224
|
-
|
|
225
|
-
# ======================================================================
|
|
226
|
-
# DEFAULT FALLBACK
|
|
227
|
-
# ======================================================================
|
|
228
|
-
|
|
229
|
-
default:
|
|
230
|
-
config_sections:
|
|
231
|
-
- dataLocation
|
|
232
|
-
files_loaded: []
|
|
233
|
-
lazy_loading: {}
|
|
234
|
-
performance_target: <150ms
|
|
235
|
-
|
|
236
|
-
# ======================================================================
|
|
237
|
-
# GLOBAL LAZY LOADING STRATEGY
|
|
238
|
-
# ======================================================================
|
|
239
|
-
|
|
240
|
-
lazy_loading_strategy:
|
|
241
|
-
# Heavy sections that should be lazy loaded
|
|
242
|
-
heavy_sections:
|
|
243
|
-
pvMindContext:
|
|
244
|
-
size: 75KB
|
|
245
|
-
load_only_for: []
|
|
246
|
-
description: PVMind integration context (not used in AIOS-FullStack)
|
|
247
|
-
fallback: null
|
|
248
|
-
|
|
249
|
-
expansionPacks:
|
|
250
|
-
size: variable
|
|
251
|
-
load_only_when: pack requested by user
|
|
252
|
-
description: Optional expansion packs
|
|
253
|
-
fallback: []
|
|
254
|
-
|
|
255
|
-
registry:
|
|
256
|
-
size: 15KB
|
|
257
|
-
load_only_for:
|
|
258
|
-
- aios-master
|
|
259
|
-
- aios-developer
|
|
260
|
-
- aios-orchestrator
|
|
261
|
-
description: Full registry of framework components
|
|
262
|
-
fallback: minimal registry (agent count only)
|
|
263
|
-
|
|
264
|
-
# Files commonly used across agents (cache these)
|
|
265
|
-
shared_files:
|
|
266
|
-
- path: .aios-core/data/technical-preferences.md
|
|
267
|
-
size: 15KB
|
|
268
|
-
used_by:
|
|
269
|
-
- dev
|
|
270
|
-
- qa
|
|
271
|
-
- devops
|
|
272
|
-
- github-devops
|
|
273
|
-
- architect
|
|
274
|
-
- data-engineer
|
|
275
|
-
- db-sage
|
|
276
|
-
cache_priority: high
|
|
277
|
-
|
|
278
|
-
- path: docs/framework/coding-standards.md
|
|
279
|
-
size: 25KB
|
|
280
|
-
used_by:
|
|
281
|
-
- dev
|
|
282
|
-
cache_priority: high
|
|
283
|
-
|
|
284
|
-
- path: docs/framework/tech-stack.md
|
|
285
|
-
size: 30KB
|
|
286
|
-
used_by:
|
|
287
|
-
- dev
|
|
288
|
-
cache_priority: high
|
|
289
|
-
|
|
290
|
-
- path: docs/framework/source-tree.md
|
|
291
|
-
size: 20KB
|
|
292
|
-
used_by:
|
|
293
|
-
- dev
|
|
294
|
-
cache_priority: medium
|
|
295
|
-
|
|
296
|
-
# ======================================================================
|
|
297
|
-
# PERFORMANCE BENCHMARKS (baseline before optimization)
|
|
298
|
-
# ======================================================================
|
|
299
|
-
|
|
300
|
-
performance_baseline:
|
|
301
|
-
dev:
|
|
302
|
-
before_optimization:
|
|
303
|
-
load_time: 250ms
|
|
304
|
-
config_size: 125KB
|
|
305
|
-
sections: 6
|
|
306
|
-
after_optimization_target:
|
|
307
|
-
load_time: <50ms
|
|
308
|
-
config_size: 50KB
|
|
309
|
-
improvement: 60% reduction in size, 80% faster
|
|
310
|
-
|
|
311
|
-
aios_master:
|
|
312
|
-
before_optimization:
|
|
313
|
-
load_time: 150ms
|
|
314
|
-
config_size: 50KB
|
|
315
|
-
sections: 2
|
|
316
|
-
after_optimization_target:
|
|
317
|
-
load_time: <30ms
|
|
318
|
-
config_size: 15KB
|
|
319
|
-
improvement: 70% reduction in size, 80% faster
|
|
320
|
-
|
|
321
|
-
qa:
|
|
322
|
-
before_optimization:
|
|
323
|
-
load_time: 180ms
|
|
324
|
-
config_size: 45KB
|
|
325
|
-
sections: 3
|
|
326
|
-
after_optimization_target:
|
|
327
|
-
load_time: <50ms
|
|
328
|
-
config_size: 29KB
|
|
329
|
-
improvement: 35% reduction in size, 72% faster
|
|
330
|
-
|
|
331
|
-
# ======================================================================
|
|
332
|
-
# CACHE STRATEGY
|
|
333
|
-
# ======================================================================
|
|
334
|
-
|
|
335
|
-
cache_strategy:
|
|
336
|
-
ttl: 300000 # 5 minutes in milliseconds
|
|
337
|
-
|
|
338
|
-
high_priority_files:
|
|
339
|
-
- .aios-core/data/technical-preferences.md
|
|
340
|
-
- docs/framework/coding-standards.md
|
|
341
|
-
- docs/framework/tech-stack.md
|
|
342
|
-
- docs/framework/source-tree.md
|
|
343
|
-
|
|
344
|
-
cache_invalidation_triggers:
|
|
345
|
-
- file_modification
|
|
346
|
-
- config_reload_command
|
|
347
|
-
- ttl_expiration
|
|
348
|
-
|
|
349
|
-
expected_cache_hit_rate: ">70%"
|
|
350
|
-
|
|
351
|
-
# ======================================================================
|
|
352
|
-
# MIGRATION NOTES (Q2 2026)
|
|
353
|
-
# ======================================================================
|
|
354
|
-
|
|
355
|
-
migration_notes:
|
|
356
|
-
framework_docs:
|
|
357
|
-
current_location: docs/framework/
|
|
358
|
-
future_location: aios-core/docs/framework/ # In REPO 1
|
|
359
|
-
migration_phase: Q2 2026
|
|
360
|
-
|
|
361
|
-
backward_compatibility:
|
|
362
|
-
- Keep old paths working until Q3 2026
|
|
363
|
-
- Update all agent file paths in migration
|
|
364
|
-
- Automated migration script: .aios-core/scripts/migrate-framework-docs.sh
|
|
365
|
-
|
|
366
|
-
# Auto-generated: 2025-01-16
|
|
367
|
-
# Story: 6.1.2.6 - Framework Configuration System
|
|
368
|
-
# Version: 1.0
|