aios-core 4.3.0 → 4.4.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 (54) hide show
  1. package/.aios-core/core/code-intel/code-intel-client.js +19 -5
  2. package/.aios-core/core/code-intel/hook-runtime.js +186 -0
  3. package/.aios-core/core/code-intel/index.js +2 -0
  4. package/.aios-core/core/code-intel/providers/code-graph-provider.js +8 -0
  5. package/.aios-core/core/code-intel/providers/provider-interface.js +9 -0
  6. package/.aios-core/core/code-intel/providers/registry-provider.js +515 -0
  7. package/.aios-core/core/doctor/checks/code-intel.js +95 -21
  8. package/.aios-core/core/doctor/checks/hooks-claude-count.js +15 -4
  9. package/.aios-core/core/doctor/checks/ide-sync.js +24 -7
  10. package/.aios-core/core/synapse/memory/memory-bridge.js +17 -43
  11. package/.aios-core/core/synapse/memory/synapse-memory-provider.js +201 -0
  12. package/.aios-core/data/entity-registry.yaml +836 -812
  13. package/.aios-core/data/workflow-chains.yaml +156 -0
  14. package/.aios-core/development/agents/aios-master.md +17 -10
  15. package/.aios-core/development/agents/analyst.md +17 -10
  16. package/.aios-core/development/agents/architect.md +17 -10
  17. package/.aios-core/development/agents/data-engineer.md +17 -10
  18. package/.aios-core/development/agents/dev.md +17 -10
  19. package/.aios-core/development/agents/devops.md +22 -10
  20. package/.aios-core/development/agents/pm.md +17 -10
  21. package/.aios-core/development/agents/po.md +17 -10
  22. package/.aios-core/development/agents/qa.md +17 -10
  23. package/.aios-core/development/agents/sm.md +17 -10
  24. package/.aios-core/development/agents/squad-creator.md +18 -9
  25. package/.aios-core/development/agents/ux-design-expert.md +16 -9
  26. package/.aios-core/development/tasks/apply-qa-fixes.md +7 -0
  27. package/.aios-core/development/tasks/architect-analyze-impact.md +8 -1
  28. package/.aios-core/development/tasks/brownfield-create-story.md +7 -0
  29. package/.aios-core/development/tasks/build-autonomous.md +7 -0
  30. package/.aios-core/development/tasks/create-deep-research-prompt.md +7 -0
  31. package/.aios-core/development/tasks/create-next-story.md +7 -0
  32. package/.aios-core/development/tasks/create-suite.md +7 -0
  33. package/.aios-core/development/tasks/dev-develop-story.md +8 -0
  34. package/.aios-core/development/tasks/execute-checklist.md +7 -0
  35. package/.aios-core/development/tasks/github-devops-github-pr-automation.md +7 -0
  36. package/.aios-core/development/tasks/github-devops-pre-push-quality-gate.md +7 -0
  37. package/.aios-core/development/tasks/po-close-story.md +7 -0
  38. package/.aios-core/development/tasks/qa-create-fix-request.md +7 -0
  39. package/.aios-core/development/tasks/qa-fix-issues.md +7 -0
  40. package/.aios-core/development/tasks/qa-gate.md +8 -0
  41. package/.aios-core/development/tasks/qa-review-story.md +8 -0
  42. package/.aios-core/development/tasks/release-management.md +7 -0
  43. package/.aios-core/development/tasks/spec-critique.md +8 -0
  44. package/.aios-core/development/tasks/spec-gather-requirements.md +7 -0
  45. package/.aios-core/development/tasks/spec-write-spec.md +5 -0
  46. package/.aios-core/development/tasks/validate-next-story.md +7 -0
  47. package/.aios-core/install-manifest.yaml +105 -89
  48. package/.aios-core/product/templates/ide-rules/claude-rules.md +48 -0
  49. package/package.json +1 -1
  50. package/packages/installer/src/config/templates/core-config-template.js +25 -0
  51. package/packages/installer/src/wizard/ide-config-generator.js +24 -3
  52. package/packages/installer/tests/unit/artifact-copy-pipeline/artifact-copy-pipeline.test.js +15 -5
  53. package/packages/installer/tests/unit/claude-md-template-v5/claude-md-template-v5.test.js +3 -3
  54. package/packages/installer/tests/unit/doctor/doctor-checks.test.js +68 -9
@@ -7,10 +7,10 @@
7
7
  # - SHA256 hashes for change detection
8
8
  # - File types for categorization
9
9
  #
10
- version: 4.3.0
11
- generated_at: "2026-02-24T01:49:17.745Z"
10
+ version: 4.4.0
11
+ generated_at: "2026-02-24T15:12:39.856Z"
12
12
  generator: scripts/generate-install-manifest.js
13
- file_count: 1080
13
+ file_count: 1084
14
14
  files:
15
15
  - path: cli/commands/config/index.js
16
16
  hash: sha256:ebcad2ce3807eda29dcddff76d7a95ddc9b7fa160df21fd608f94b802237e862
@@ -181,9 +181,9 @@ files:
181
181
  type: config
182
182
  size: 10999
183
183
  - path: core/code-intel/code-intel-client.js
184
- hash: sha256:bd88497c8c8f312e95f746121e627c088e93d27af093d411f0521712bd17ba94
184
+ hash: sha256:6c9a08a37775acf90397aa079a4ad2c5edcc47f2cfd592b26ae9f3d154d1deb8
185
185
  type: core
186
- size: 7541
186
+ size: 8172
187
187
  - path: core/code-intel/code-intel-enricher.js
188
188
  hash: sha256:0bea0c1953a21621afbb4c9755e782842940cf54cdc88a4318dd7242f1fb02a8
189
189
  type: core
@@ -212,18 +212,26 @@ files:
212
212
  hash: sha256:778466253ac66103ebc3b1caf71f44b06a0d5fb3d39fe8d3d473dd4bc73fefc6
213
213
  type: core
214
214
  size: 4323
215
+ - path: core/code-intel/hook-runtime.js
216
+ hash: sha256:4d812dc503650ef90249ad2993b3f713aea806138a27455a6a9757329d829c8e
217
+ type: core
218
+ size: 5613
215
219
  - path: core/code-intel/index.js
216
- hash: sha256:ca8c54c2decbf64183d890ab42dc8ca2deafa675d4433492cb6ce423a284ad4d
220
+ hash: sha256:c8103fb966def9e8ed53dc1840e0e853b5fa4f13291a73a179cbae3545f38754
217
221
  type: core
218
- size: 3802
222
+ size: 3893
219
223
  - path: core/code-intel/providers/code-graph-provider.js
220
- hash: sha256:0c5ffd7b3faf82453ed1cb77f52ef10a3e67d3a1b2e2df5aac89a4fb2ac6583b
224
+ hash: sha256:83251871bc2d65864a4e148e3921408e74662a2739bfbd12395a2daaa4bde9a0
221
225
  type: core
222
- size: 6335
226
+ size: 6519
223
227
  - path: core/code-intel/providers/provider-interface.js
224
- hash: sha256:7d16aa715155e9c077720a6bffc7e9e5411b65f821b6b4e5e909f226796e7acb
228
+ hash: sha256:74df278e31f240ee4499f10989c4b6f8c7c7cba6e8f317cb433a23fd6693c487
225
229
  type: core
226
- size: 3079
230
+ size: 3282
231
+ - path: core/code-intel/providers/registry-provider.js
232
+ hash: sha256:a019168a151a07f60a655a6ec1833154ac73ec868ac9c22afe472d4ea565a2ba
233
+ type: core
234
+ size: 15619
227
235
  - path: core/code-intel/registry-syncer.js
228
236
  hash: sha256:011318e2ba5c250daae2e565a8e8fb1570c99b7569e631276a2bf46e887fc514
229
237
  type: core
@@ -285,9 +293,9 @@ files:
285
293
  type: core
286
294
  size: 1188
287
295
  - path: core/doctor/checks/code-intel.js
288
- hash: sha256:a5f9175c1da2e285f016e9c464ba8e2a45a7307eea7bfb3f22bb81f05626112c
296
+ hash: sha256:fa58ed6b2cd639d2f27971853a055e7497874536223472ac3ef5063fc371d412
289
297
  type: core
290
- size: 1352
298
+ size: 4098
291
299
  - path: core/doctor/checks/commands-count.js
292
300
  hash: sha256:7a0369852a09bca2b1c7fe480d12f4cfbf734103221c6510fbff7e5a6bac4bc7
293
301
  type: core
@@ -309,13 +317,13 @@ files:
309
317
  type: core
310
318
  size: 1106
311
319
  - path: core/doctor/checks/hooks-claude-count.js
312
- hash: sha256:e420aa3e581fd1685698ccbda8a6d2f6037ff4f1e044df539b3a6e8d8de765bf
320
+ hash: sha256:2873a8c33b11a24952b0a417726a6a94c6169b467c27e7d454a06f767595c533
313
321
  type: core
314
- size: 2830
322
+ size: 3348
315
323
  - path: core/doctor/checks/ide-sync.js
316
- hash: sha256:a4ed3aa066382bc43a9e5f4178bc91f2927a24d628d66eb9aa88e66a1ccb734a
324
+ hash: sha256:9f79c8477ee9279e013ca7077b50e1b532fec1410a1099382445f41da75bf9b7
317
325
  type: core
318
- size: 1789
326
+ size: 2142
319
327
  - path: core/doctor/checks/index.js
320
328
  hash: sha256:ba46a69971da584fe1d23f11285b24f872af31af3ca8d86f60d693ee6e0d4f73
321
329
  type: core
@@ -1141,9 +1149,13 @@ files:
1141
1149
  type: core
1142
1150
  size: 2881
1143
1151
  - path: core/synapse/memory/memory-bridge.js
1144
- hash: sha256:5f039ad6aa1ab15250efbb2eb20346b95ba545c6d9c270ee7abf96e18930db1e
1152
+ hash: sha256:820875f97ceea80fc6402c0dab1706cfe58de527897b22dea68db40b0d6ec368
1153
+ type: core
1154
+ size: 6197
1155
+ - path: core/synapse/memory/synapse-memory-provider.js
1156
+ hash: sha256:5d613d1fac7ee82c49a3f03b38735fd3cabfe87dd868494672ddfef300ea3145
1145
1157
  type: core
1146
- size: 6771
1158
+ size: 5532
1147
1159
  - path: core/synapse/output/formatter.js
1148
1160
  hash: sha256:fe4f6c2f6091defb6af66dad71db0640f919b983111087f8cc5821e3d44ca864
1149
1161
  type: core
@@ -1209,9 +1221,9 @@ files:
1209
1221
  type: data
1210
1222
  size: 9575
1211
1223
  - path: data/entity-registry.yaml
1212
- hash: sha256:0c18fd41de2194847109bef77fb8a11767468355d0503c66e81f3dd13d2741b9
1224
+ hash: sha256:1a3ebc7fb0c09631e18192e376903db69ef9e40ffc2a661ca87a100e6996051f
1213
1225
  type: data
1214
- size: 517319
1226
+ size: 517912
1215
1227
  - path: data/learned-patterns.yaml
1216
1228
  hash: sha256:24ac0b160615583a0ff783d3da8af80b7f94191575d6db2054ec8e10a3f945dc
1217
1229
  type: data
@@ -1252,6 +1264,10 @@ files:
1252
1264
  hash: sha256:8757bf087692f002d67115dbe1c8244bbd869600e4f52c49b0d9b07cb9fbb783
1253
1265
  type: data
1254
1266
  size: 5754
1267
+ - path: data/workflow-chains.yaml
1268
+ hash: sha256:1fbf1625e267eedc315cf1e08e5827c250ddc6785fb2cb139e7702def9b66268
1269
+ type: data
1270
+ size: 5055
1255
1271
  - path: data/workflow-patterns.yaml
1256
1272
  hash: sha256:3c3625a5d9eb6eca6f33e3ac35d20fa377b44b061dc1dbf6b04116c6c5722834
1257
1273
  type: data
@@ -1281,89 +1297,89 @@ files:
1281
1297
  type: development
1282
1298
  size: 5012
1283
1299
  - path: development/agents/aios-master.md
1284
- hash: sha256:092161d318ab523b8cd5c3dc8a2bd19accc23ab7fa731d5b4fa11c5afb8b5a08
1300
+ hash: sha256:f1adbcbede1646b4337ef868389f1d0f7153d81b4f99edbcb52a1967d4bdc18a
1285
1301
  type: agent
1286
- size: 17821
1302
+ size: 18860
1287
1303
  - path: development/agents/analyst.md
1288
- hash: sha256:470384d9ee05d1373fe7519602f135179a88a35895252277823b35339dafd2a3
1304
+ hash: sha256:69e3124c4d6eba4763c16bc792af5d28d6a9cfeaf35bb253c764c194cdd21da4
1289
1305
  type: agent
1290
- size: 10175
1306
+ size: 11210
1291
1307
  - path: development/agents/analyst/MEMORY.md
1292
1308
  hash: sha256:eb2a3f733781f4094ffac4f52656d917c4cdf93ee1bdb26ea4c54728b8ba0b34
1293
1309
  type: agent
1294
1310
  size: 1254
1295
1311
  - path: development/agents/architect.md
1296
- hash: sha256:624cc2a9e8a6cb1549321614927649714a867332272faaa5861f4378206f1c34
1312
+ hash: sha256:ca91af384903fff1b8172fe3353e03cce4c6ada834437e7fe010c301b51c6942
1297
1313
  type: agent
1298
- size: 18980
1314
+ size: 20017
1299
1315
  - path: development/agents/architect/MEMORY.md
1300
1316
  hash: sha256:8885804d07cd492fc6de3aeb11cfc15954d24ed81a31c4b1f048008f378f8b93
1301
1317
  type: agent
1302
1318
  size: 1385
1303
1319
  - path: development/agents/data-engineer.md
1304
- hash: sha256:4be2e5bff60e58d7444d39030edd1e8d34e326e6d1267ae84772871f3e76ec19
1320
+ hash: sha256:bdb6bf1a615b698ee87103c2d0b3059a7d9fe86ff6ea1b55a98cec22d0a6c85c
1305
1321
  type: agent
1306
- size: 20286
1322
+ size: 21327
1307
1323
  - path: development/agents/data-engineer/MEMORY.md
1308
1324
  hash: sha256:df784ef187328736d5059c9a5b424cdfbf4021c4d1fb26050431ad89b45adbc7
1309
1325
  type: agent
1310
1326
  size: 1106
1311
1327
  - path: development/agents/dev.md
1312
- hash: sha256:35ba89da85134ada0a066fc880e8546c16d275a01e0513bdd0e4c7aee1add8f6
1328
+ hash: sha256:e6e41d8ea02e16592e1483dcc6d082bcedceefae6ee8fabb3f7c7d41ea0ca895
1313
1329
  type: agent
1314
- size: 22904
1330
+ size: 23935
1315
1331
  - path: development/agents/dev/MEMORY.md
1316
1332
  hash: sha256:84f197b1ade880b67657ac364267bd03ccc08e7cbfee75403187f4af68423134
1317
1333
  type: agent
1318
1334
  size: 2486
1319
1335
  - path: development/agents/devops.md
1320
- hash: sha256:74b46ddd9a7aa51eef5a2b197c34ed3aaae456f764121c76afa0e453f42065ae
1336
+ hash: sha256:f5c9cc3d75bd0d9eb58f1240977d32d7ff0d2af46ed66f04adcdae294bb18141
1321
1337
  type: agent
1322
- size: 21002
1338
+ size: 22288
1323
1339
  - path: development/agents/devops/MEMORY.md
1324
1340
  hash: sha256:eb2ee887047c94db3441126cd0198cac44cec779026d7842a3a1c7eba936027f
1325
1341
  type: agent
1326
1342
  size: 1398
1327
1343
  - path: development/agents/pm.md
1328
- hash: sha256:e724b248d30c0e67e316e72d5d408c4c57b2da0bfe0cc014e48415531703e765
1344
+ hash: sha256:fb08472aa6b5481cfe3f86a2c729aad8d7c46ce6577dc55fe7ef75ae3740340c
1329
1345
  type: agent
1330
- size: 15118
1346
+ size: 16148
1331
1347
  - path: development/agents/pm/MEMORY.md
1332
1348
  hash: sha256:94d46bfb4f6ed79088a4a45c8cbf5b059e4522fee123b048f08430d2e37ca697
1333
1349
  type: agent
1334
1350
  size: 1220
1335
1351
  - path: development/agents/po.md
1336
- hash: sha256:4b092282c4a6fab6cadb15c9a5792f851766525d152d18bc8d2f0c8d66366c7d
1352
+ hash: sha256:8a489551f6d93880ba1575597502dc551d24577ef8c2703b06715ea069a4075a
1337
1353
  type: agent
1338
- size: 12765
1354
+ size: 13795
1339
1355
  - path: development/agents/po/MEMORY.md
1340
1356
  hash: sha256:7505510d70568ad46bc3de65dcdd3514b479052c298ea9f83cd5debba7ab0841
1341
1357
  type: agent
1342
1358
  size: 1376
1343
1359
  - path: development/agents/qa.md
1344
- hash: sha256:f508206fc781452bc886737edf2da96d34f7c15f967a0ef524c6011cfdc9b587
1360
+ hash: sha256:6c065b077af93be53e706762b6d03852c342a4ce0bdcf5828aaba72ea756b617
1345
1361
  type: agent
1346
- size: 17383
1362
+ size: 18413
1347
1363
  - path: development/agents/qa/MEMORY.md
1348
1364
  hash: sha256:eec482f057d09635940e9a46bdd6cbb677af12dc4deed64bf71196d551b93abf
1349
1365
  type: agent
1350
1366
  size: 1367
1351
1367
  - path: development/agents/sm.md
1352
- hash: sha256:0f0a8171a68035594ef5dfc5f3e611e6a16198b3c3cc116b98c34d38ef2045ad
1368
+ hash: sha256:9c11401e9b4fde21d4a5b638f7c7343ec77e0dc7122db073da63f966866b76a9
1353
1369
  type: agent
1354
- size: 11077
1370
+ size: 12107
1355
1371
  - path: development/agents/sm/MEMORY.md
1356
1372
  hash: sha256:88ea4db64df4ce94a5fd264c0db2add7ec05168402d6987bf70c6a238bc5ca50
1357
1373
  type: agent
1358
1374
  size: 1123
1359
1375
  - path: development/agents/squad-creator.md
1360
- hash: sha256:396afae845d9d53f510e64360dc814954f181d8832c93593e96ede0f84f41d41
1376
+ hash: sha256:2ce619b8ddf16fa415bf3f113b900928d03597221472aa5f2fb15f5599a67fd6
1361
1377
  type: agent
1362
- size: 12076
1378
+ size: 13346
1363
1379
  - path: development/agents/ux-design-expert.md
1364
- hash: sha256:ae3f98570fa6cbd714ecd0aa2f44c7db005f0469b5bd04191d8da3b133bc65f1
1380
+ hash: sha256:411ea1468aadc6c6abc770edad335526dcd3a94ce6cc583f14d106905ddd54a0
1365
1381
  type: agent
1366
- size: 18377
1382
+ size: 19440
1367
1383
  - path: development/agents/ux/MEMORY.md
1368
1384
  hash: sha256:e177840efba9c8762891e9789a8252a647add9fb2423ef81618372b27c614d56
1369
1385
  type: agent
@@ -1717,13 +1733,13 @@ files:
1717
1733
  type: task
1718
1734
  size: 16149
1719
1735
  - path: development/tasks/apply-qa-fixes.md
1720
- hash: sha256:9a7a3d6ab17732f22bae79257a8519d4e9175dd0f862b863185e03620d2753ce
1736
+ hash: sha256:8bc17f353b404cecb8d485b9d17857d409213b40125c111f41496a08b96fd2ea
1721
1737
  type: task
1722
- size: 8898
1738
+ size: 9106
1723
1739
  - path: development/tasks/architect-analyze-impact.md
1724
- hash: sha256:9cbb2af29a5c4621ae964fa53d8163e50bf3961b172c187fb861126a4cea7a0a
1740
+ hash: sha256:b0b6b4e37c7ac3624749de8a66b057bea7304f7767ed6481ab0c89d34e0d0659
1725
1741
  type: task
1726
- size: 26416
1742
+ size: 26656
1727
1743
  - path: development/tasks/audit-codebase.md
1728
1744
  hash: sha256:60b8b87ecda1290e1079a6458f43e607916e1d80c0a77faf72000feb07517dc8
1729
1745
  type: task
@@ -1765,13 +1781,13 @@ files:
1765
1781
  type: task
1766
1782
  size: 17900
1767
1783
  - path: development/tasks/brownfield-create-story.md
1768
- hash: sha256:af393075ac90c4ab6792095cd542e3b64ece0a6c5f0659dda87164802b3b939b
1784
+ hash: sha256:015e83759562c9a4341eb6c03297e67c279e67e28359346638b0114c714ab166
1769
1785
  type: task
1770
- size: 8997
1786
+ size: 9227
1771
1787
  - path: development/tasks/build-autonomous.md
1772
- hash: sha256:332bf97df0ea910c9e8b8bb4f40ef42d0dd3ea929a719ca221478324ba23a366
1788
+ hash: sha256:2d9c458163020dc97089ec7e7c8deee9feecf484b573871c89df638212e01055
1773
1789
  type: task
1774
- size: 6066
1790
+ size: 6282
1775
1791
  - path: development/tasks/build-component.md
1776
1792
  hash: sha256:992a116fae239712e6b371a61deb299ab592b58a5d64909664e2f5e22b7caeff
1777
1793
  type: task
@@ -1833,25 +1849,25 @@ files:
1833
1849
  type: task
1834
1850
  size: 22378
1835
1851
  - path: development/tasks/create-deep-research-prompt.md
1836
- hash: sha256:a371a4a62c5d7d16e6d11f4a96c6de8ed243343d5854307a0bf3b743abf31a8c
1852
+ hash: sha256:aec36f62e6be5bff6e0fdf465ccd961837e13f8e28bad4e532890b56556a1b74
1837
1853
  type: task
1838
- size: 12254
1854
+ size: 12484
1839
1855
  - path: development/tasks/create-doc.md
1840
1856
  hash: sha256:ad95f32e687a57b24449273c6916023cfbb95229d55561ff68b06c2f4c8cddd4
1841
1857
  type: task
1842
1858
  size: 10334
1843
1859
  - path: development/tasks/create-next-story.md
1844
- hash: sha256:a7856701c88063e8b81f87ee4aad6c8682eabf78eb23219e3069927d1a19ad8b
1860
+ hash: sha256:792aec86f594ac40a6bd3af1909761c4cc88cde2c60267e925ea5e641c9f5502
1845
1861
  type: task
1846
- size: 30354
1862
+ size: 30564
1847
1863
  - path: development/tasks/create-service.md
1848
1864
  hash: sha256:31c4b50dbaede1c09d72a1dd5d9b1e5ca4edcbedc5204639d7399818e737c898
1849
1865
  type: task
1850
1866
  size: 9882
1851
1867
  - path: development/tasks/create-suite.md
1852
- hash: sha256:8e57cba8aaed7f86a327e11185aca208af241ab41abc95188a2243375085ca15
1868
+ hash: sha256:ae4bbf2a8ca3d2f42c2e9f9a671a16a169a5897b0497488e8027e179b4a3d165
1853
1869
  type: task
1854
- size: 7175
1870
+ size: 7382
1855
1871
  - path: development/tasks/create-task.md
1856
1872
  hash: sha256:98932670187a40e38a6c06103d9a12fe8a7924eec78ff10aa2ccaf6ea98b0608
1857
1873
  type: task
@@ -1957,9 +1973,9 @@ files:
1957
1973
  type: task
1958
1974
  size: 11021
1959
1975
  - path: development/tasks/dev-develop-story.md
1960
- hash: sha256:43ba849d35a2e04136cb8483034bfdf2ec1c95e1e9b94f70f3469147002073f7
1976
+ hash: sha256:c2eb2cd403684cf6d4bcfc719cfcd9cdc00b42083b8d099b0e7fc51b46d098fb
1961
1977
  type: task
1962
- size: 27067
1978
+ size: 27355
1963
1979
  - path: development/tasks/dev-improve-code-quality.md
1964
1980
  hash: sha256:8f8e6b0dcb1328cf7efcde263be95b93b2592176beafc7adfd3cdffbfa763be4
1965
1981
  type: task
@@ -1989,9 +2005,9 @@ files:
1989
2005
  type: task
1990
2006
  size: 45596
1991
2007
  - path: development/tasks/execute-checklist.md
1992
- hash: sha256:dcb6309bf68aa1f88d3271382c102662ef8b2cfb818f4020f85b276010108437
2008
+ hash: sha256:237fcd32c503ec148346ee9cff14baa961ab07259170b8d941c849d7527a1211
1993
2009
  type: task
1994
- size: 8577
2010
+ size: 8796
1995
2011
  - path: development/tasks/execute-epic-plan.md
1996
2012
  hash: sha256:6665f240d809fdb8a8c53c1a5d2aada9ac8f2e1ca7716d6b467273cada542dcd
1997
2013
  type: task
@@ -2033,13 +2049,13 @@ files:
2033
2049
  type: task
2034
2050
  size: 13659
2035
2051
  - path: development/tasks/github-devops-github-pr-automation.md
2036
- hash: sha256:a22ce2681c4713fecbff8dc0d3fba0ac5e139cb9469884914bb293dad49dbd82
2052
+ hash: sha256:48ceb011ca36a0a63430691d09d424d7270a23916cf36dae8f99c60829036ae5
2037
2053
  type: task
2038
- size: 19280
2054
+ size: 19476
2039
2055
  - path: development/tasks/github-devops-pre-push-quality-gate.md
2040
- hash: sha256:0bba5a9e3eb06f10495ee94614acaa9b5723a0177641300b154d40766d467f76
2056
+ hash: sha256:1afbce6ca04a7806c0bde33e368ff3e3c2a316f1e4e78eff967bdb7bc1c4eb2c
2041
2057
  type: task
2042
- size: 23660
2058
+ size: 23843
2043
2059
  - path: development/tasks/github-devops-repository-cleanup.md
2044
2060
  hash: sha256:41bab1eb9841602af7c806ddc7c03d6d36e8a2390e290d87818037076fe5fb05
2045
2061
  type: task
@@ -2169,9 +2185,9 @@ files:
2169
2185
  type: task
2170
2186
  size: 8302
2171
2187
  - path: development/tasks/po-close-story.md
2172
- hash: sha256:63a024dd0f64a0cf1481e628f4d59b22c12d7154af6fc3dd5533b3a4783f2ddb
2188
+ hash: sha256:c008468965f132b49b82878ae0f6262280df667c58ba1ed8652da4eb841415d5
2173
2189
  type: task
2174
- size: 10678
2190
+ size: 10887
2175
2191
  - path: development/tasks/po-manage-story-backlog.md
2176
2192
  hash: sha256:cf18517faca1fe371397de9d3ba6a77456a2b5acf21130d7e7c982d83330f489
2177
2193
  type: task
@@ -2221,9 +2237,9 @@ files:
2221
2237
  type: task
2222
2238
  size: 6827
2223
2239
  - path: development/tasks/qa-create-fix-request.md
2224
- hash: sha256:8ee4f0fbd4b00a6b12f1842a8261cf403d110e1b987530177d3a54739b13402e
2240
+ hash: sha256:0d8f1610bc13e54c4a2f89bb88482c327f196a0154c6db35dc5fa1a53bf95b74
2225
2241
  type: task
2226
- size: 13281
2242
+ size: 13489
2227
2243
  - path: development/tasks/qa-evidence-requirements.md
2228
2244
  hash: sha256:cfa30b79bf1eac27511c94de213dbae761f3fb5544da07cc38563bcbd9187569
2229
2245
  type: task
@@ -2233,13 +2249,13 @@ files:
2233
2249
  type: task
2234
2250
  size: 9387
2235
2251
  - path: development/tasks/qa-fix-issues.md
2236
- hash: sha256:ae5bbf7b8626f40b7fbda8d8ed11d37faf97dbb1d9e9d1ed09a3716f1f443be0
2252
+ hash: sha256:32fbac4c8d3c5c7bc0adeddf202332d1816faf949ef876fec11107fd8ed6ee3e
2237
2253
  type: task
2238
- size: 15580
2254
+ size: 15785
2239
2255
  - path: development/tasks/qa-gate.md
2240
- hash: sha256:7a6498b501ba92d541137c4a460f938ae7e63b510dd1e30d9d0b0f0e5f49e48e
2256
+ hash: sha256:5ce3e9292872d7b8b7b53f267d78ae7e6be450ec7e43e6630c5b3d424b335e1e
2241
2257
  type: task
2242
- size: 10481
2258
+ size: 10759
2243
2259
  - path: development/tasks/qa-generate-tests.md
2244
2260
  hash: sha256:6155f078cc4f24e04b7b3379bf70dacd26e71fbf7f0e829dca52ce395ff48d3c
2245
2261
  type: task
@@ -2265,9 +2281,9 @@ files:
2265
2281
  type: task
2266
2282
  size: 35266
2267
2283
  - path: development/tasks/qa-review-story.md
2268
- hash: sha256:27b41231a1c36a908305c10b0ea0ef8b3babf4bee2457d3b7f170daa26927979
2284
+ hash: sha256:5df4ffdf1556bef56eb3a5d03e2e6529dae8ea0876dc4e8f3237791b9b7ba851
2269
2285
  type: task
2270
- size: 24403
2286
+ size: 24668
2271
2287
  - path: development/tasks/qa-risk-profile.md
2272
2288
  hash: sha256:95873134bd7eb1b0cec8982709051dd1c2f97c983b404478d990c88a2fadd5d5
2273
2289
  type: task
@@ -2289,9 +2305,9 @@ files:
2289
2305
  type: task
2290
2306
  size: 11411
2291
2307
  - path: development/tasks/release-management.md
2292
- hash: sha256:569e48755ab32820456fbb6fd82492f79d007ff51a6975e4f92772bb097ab916
2308
+ hash: sha256:b52530dd80a4ed5b30172e8d197d213e54f4add9f0c2b8fecec0eb68334df1a4
2293
2309
  type: task
2294
- size: 18740
2310
+ size: 18947
2295
2311
  - path: development/tasks/remove-mcp.md
2296
2312
  hash: sha256:3f4bf3f8d4d651109dc783e95598ab21569447295f22a7b868d3973f0848aa4c
2297
2313
  type: task
@@ -2373,21 +2389,21 @@ files:
2373
2389
  type: task
2374
2390
  size: 10448
2375
2391
  - path: development/tasks/spec-critique.md
2376
- hash: sha256:01c88a49688139c15c568ae5d211914908c67b5781b56d0af34f696cd0b65941
2392
+ hash: sha256:d2c3615b84dff942bb1c36fe1d89d025a5c52eedf15a382e75bba6cee085e7dd
2377
2393
  type: task
2378
- size: 13309
2394
+ size: 13590
2379
2395
  - path: development/tasks/spec-gather-requirements.md
2380
- hash: sha256:1aa735b1b015f966ad16822c67a1b85b0ced310350c09f3f27eb508a38967382
2396
+ hash: sha256:b2ae9cd6da1233bd610a0a8023dcf1dfece81ab75a1cb6da6b9016e0351a7d40
2381
2397
  type: task
2382
- size: 14265
2398
+ size: 14489
2383
2399
  - path: development/tasks/spec-research-dependencies.md
2384
2400
  hash: sha256:84e0a3591758980d2d4707563c0f2f066877cb72e0182d78eb2b447234ad05aa
2385
2401
  type: task
2386
2402
  size: 9740
2387
2403
  - path: development/tasks/spec-write-spec.md
2388
- hash: sha256:fe8f7d5ee6780b6b685f9f65f74f2b0e09d3d6bae116c8babbe02d1ed4587903
2404
+ hash: sha256:1ecef348cf83403243398c362629e016ff299b4e0634d7a0581b39d779a113bf
2389
2405
  type: task
2390
- size: 11347
2406
+ size: 11457
2391
2407
  - path: development/tasks/squad-creator-analyze.md
2392
2408
  hash: sha256:5e1c24c1474e77a517b266c862a915d4b5c632340bb7ea426b5ac50ee53273e0
2393
2409
  type: task
@@ -2493,9 +2509,9 @@ files:
2493
2509
  type: task
2494
2510
  size: 3595
2495
2511
  - path: development/tasks/validate-next-story.md
2496
- hash: sha256:4981bc84d5f7a1e9d86da5afe5a63e6065015e650fed97fa61686d54aef3bcf6
2512
+ hash: sha256:2942bcc95432a9ae06d375edbfadb0325d420fd5fef012fc598149422336967b
2497
2513
  type: task
2498
- size: 16706
2514
+ size: 16914
2499
2515
  - path: development/tasks/validate-tech-preset.md
2500
2516
  hash: sha256:1919c65909aab2b52a9d2f5c3e2c336711bc873d155707a654dc120ce7d18a25
2501
2517
  type: task
@@ -3813,9 +3829,9 @@ files:
3813
3829
  type: template
3814
3830
  size: 3081
3815
3831
  - path: product/templates/ide-rules/claude-rules.md
3816
- hash: sha256:026503d18f9a0b8d228801db3c855496028cc5b0a870f93e754bd9949b3c9d68
3832
+ hash: sha256:ef505749c208418e477371e606c0d7c827f6b86d0135a4f280d5a0e276be1cba
3817
3833
  type: template
3818
- size: 11072
3834
+ size: 12679
3819
3835
  - path: product/templates/ide-rules/codex-rules.md
3820
3836
  hash: sha256:e8345404f17977a268b917a4ff86e4f10f80174a6bb572865e5413c8f7dd217a
3821
3837
  type: template
@@ -8,6 +8,54 @@ You are working with Synkra AIOS, an AI-Orchestrated System for Full Stack Devel
8
8
  Synkra AIOS is a meta-framework that orchestrates AI agents to handle complex development workflows. Always recognize and work within this architecture.
9
9
  <!-- AIOS-MANAGED-END: core-framework -->
10
10
 
11
+ <!-- AIOS-MANAGED-START: constitution -->
12
+ ## Constitution
13
+
14
+ O AIOS possui uma **Constitution formal** com princípios inegociáveis e gates automáticos.
15
+
16
+ **Documento completo:** `.aios-core/constitution.md`
17
+
18
+ **Princípios fundamentais:**
19
+
20
+ | Artigo | Princípio | Severidade |
21
+ |--------|-----------|------------|
22
+ | I | CLI First | NON-NEGOTIABLE |
23
+ | II | Agent Authority | NON-NEGOTIABLE |
24
+ | III | Story-Driven Development | MUST |
25
+ | IV | No Invention | MUST |
26
+ | V | Quality First | MUST |
27
+ | VI | Absolute Imports | SHOULD |
28
+
29
+ **Gates automáticos bloqueiam violações.** Consulte a Constitution para detalhes completos.
30
+ <!-- AIOS-MANAGED-END: constitution -->
31
+
32
+ <!-- AIOS-MANAGED-START: sistema-de-agentes -->
33
+ ## Sistema de Agentes
34
+
35
+ ### Ativação de Agentes
36
+ Use `@agent-name` ou `/AIOS:agents:agent-name`:
37
+
38
+ | Agente | Persona | Escopo Principal |
39
+ |--------|---------|------------------|
40
+ | `@dev` | Dex | Implementação de código |
41
+ | `@qa` | Quinn | Testes e qualidade |
42
+ | `@architect` | Aria | Arquitetura e design técnico |
43
+ | `@pm` | Morgan | Product Management |
44
+ | `@po` | Pax | Product Owner, stories/epics |
45
+ | `@sm` | River | Scrum Master |
46
+ | `@analyst` | Alex | Pesquisa e análise |
47
+ | `@data-engineer` | Dara | Database design |
48
+ | `@ux-design-expert` | Uma | UX/UI design |
49
+ | `@devops` | Gage | CI/CD, git push (EXCLUSIVO) |
50
+
51
+ ### Comandos de Agentes
52
+ Use prefixo `*` para comandos:
53
+ - `*help` - Mostrar comandos disponíveis
54
+ - `*create-story` - Criar story de desenvolvimento
55
+ - `*task {name}` - Executar task específica
56
+ - `*exit` - Sair do modo agente
57
+ <!-- AIOS-MANAGED-END: sistema-de-agentes -->
58
+
11
59
  <!-- AIOS-MANAGED-START: agent-system -->
12
60
  ## Agent System
13
61
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aios-core",
3
- "version": "4.3.0",
3
+ "version": "4.4.0",
4
4
  "description": "Synkra AIOS: AI-Orchestrated System for Full Stack Development - Core Framework",
5
5
  "bin": {
6
6
  "aios": "bin/aios.js",
@@ -170,6 +170,31 @@ function generateCoreConfig(options = {}) {
170
170
  maxRecentCommits: 2,
171
171
  },
172
172
 
173
+ // Boundary Protection (Epic BM — Boundary Mapping)
174
+ // frameworkProtection: true enforces deny rules in settings.json for L1-L4 layers
175
+ boundary: {
176
+ frameworkProtection: true,
177
+ // L1/L2 paths — blocked from editing in project mode
178
+ protected: [
179
+ '.aios-core/core/**',
180
+ '.aios-core/development/tasks/**',
181
+ '.aios-core/development/templates/**',
182
+ '.aios-core/development/checklists/**',
183
+ '.aios-core/development/workflows/**',
184
+ '.aios-core/infrastructure/**',
185
+ '.aios-core/constitution.md',
186
+ 'bin/aios.js',
187
+ 'bin/aios-init.js',
188
+ ],
189
+ // L3 paths — mutable exceptions (allowed even within .aios-core/)
190
+ exceptions: [
191
+ '.aios-core/data/**',
192
+ '.aios-core/development/agents/*/MEMORY.md',
193
+ '.aios-core/core/config/schemas/**',
194
+ '.aios-core/core/config/template-overrides.js',
195
+ ],
196
+ },
197
+
173
198
  // Agent Identity Configuration
174
199
  agentIdentity: {
175
200
  greeting: {
@@ -1048,7 +1048,8 @@ async function copySkillFiles(projectRoot, _sourceRoot) {
1048
1048
 
1049
1049
  /**
1050
1050
  * Copy extra .claude/commands/ files during installation (Story INS-4.3, Gap #12)
1051
- * Copies all .md files recursively EXCLUDING AIOS/agents/ (already copied by copyAgentFiles)
1051
+ * Uses an allowlist of distributable top-level directories to prevent leaking
1052
+ * private squads or project-specific content into installed projects.
1052
1053
  * @param {string} projectRoot - Project root directory
1053
1054
  * @param {string} [_sourceRoot] - Override source root for testing (default: __dirname-relative)
1054
1055
  * @returns {Promise<{count: number, skipped: boolean}>} Copy result
@@ -1068,6 +1069,21 @@ async function copyExtraCommandFiles(projectRoot, _sourceRoot) {
1068
1069
  return { count: 0, skipped: true };
1069
1070
  }
1070
1071
 
1072
+ // Allowlist: only these top-level entries are distributable.
1073
+ // Squad commands (cohort-squad/, design-system/, squad-creator-pro/, etc.)
1074
+ // are private and must NOT be copied to installed projects.
1075
+ const DISTRIBUTABLE_ENTRIES = new Set([
1076
+ 'AIOS', // Core agent/script commands (agents/ sub-dir excluded below)
1077
+ 'synapse', // SYNAPSE context engine commands
1078
+ 'greet.md', // Greeting skill
1079
+ ]);
1080
+
1081
+ // Within AIOS/, these sub-dirs are excluded (private or handled separately)
1082
+ const AIOS_EXCLUDED = new Set([
1083
+ 'AIOS/agents', // Already handled by copyAgentFiles()
1084
+ 'AIOS/stories', // Project-specific story skills, not distributable
1085
+ ]);
1086
+
1071
1087
  await fs.ensureDir(targetDir);
1072
1088
 
1073
1089
  let count = 0;
@@ -1078,8 +1094,13 @@ async function copyExtraCommandFiles(projectRoot, _sourceRoot) {
1078
1094
  for (const entry of entries) {
1079
1095
  const entryRelative = relativePath ? `${relativePath}/${entry.name}` : entry.name;
1080
1096
 
1081
- // EXCLUDE AIOS/agents/ already handled by copyAgentFiles()
1082
- if (entryRelative === 'AIOS/agents' || entryRelative.startsWith('AIOS/agents/')) {
1097
+ // At top level, only copy distributable entries
1098
+ if (!relativePath && !DISTRIBUTABLE_ENTRIES.has(entry.name)) {
1099
+ continue;
1100
+ }
1101
+
1102
+ // Within AIOS/, skip excluded sub-directories
1103
+ if (AIOS_EXCLUDED.has(entryRelative) || [...AIOS_EXCLUDED].some(ex => entryRelative.startsWith(ex + '/'))) {
1083
1104
  continue;
1084
1105
  }
1085
1106
 
@@ -129,26 +129,36 @@ describe('artifact-copy-pipeline (Story INS-4.3)', () => {
129
129
  fs.mkdirSync(agentsDir, { recursive: true });
130
130
  fs.writeFileSync(path.join(agentsDir, 'dev.md'), '# Dev Agent', 'utf8');
131
131
 
132
- // Create AIOS/stories/story.md (should be INCLUDED)
132
+ // Create AIOS/stories/story.md (should be EXCLUDED — project-specific)
133
133
  const storiesDir = path.join(cmdDir, 'AIOS', 'stories');
134
134
  fs.mkdirSync(storiesDir, { recursive: true });
135
135
  fs.writeFileSync(path.join(storiesDir, 'story.md'), '# Story', 'utf8');
136
136
 
137
+ // Create squad directory (should be EXCLUDED — private)
138
+ const squadDir = path.join(cmdDir, 'cohort-squad');
139
+ fs.mkdirSync(squadDir, { recursive: true });
140
+ fs.writeFileSync(path.join(squadDir, 'manager.md'), '# Squad', 'utf8');
141
+
137
142
  // Call the REAL exported function with _sourceRoot override
138
143
  const result = await copyExtraCommandFiles(targetRoot, sourceRoot);
139
144
 
140
- expect(result.count).toBe(4); // greet.md, manager.md, add-rule.md, story.md
145
+ expect(result.count).toBe(3); // greet.md, manager.md, add-rule.md
141
146
  expect(result.skipped).toBe(false);
142
147
 
143
- // Verify extras copied
148
+ // Verify distributable entries copied
144
149
  const targetCmd = path.join(targetRoot, '.claude', 'commands');
145
150
  expect(fs.existsSync(path.join(targetCmd, 'greet.md'))).toBe(true);
146
151
  expect(fs.existsSync(path.join(targetCmd, 'synapse', 'manager.md'))).toBe(true);
147
152
  expect(fs.existsSync(path.join(targetCmd, 'synapse', 'tasks', 'add-rule.md'))).toBe(true);
148
- expect(fs.existsSync(path.join(targetCmd, 'AIOS', 'stories', 'story.md'))).toBe(true);
149
153
 
150
- // Verify AIOS/agents/ was excluded
154
+ // Verify AIOS/agents/ was excluded (handled by copyAgentFiles)
151
155
  expect(fs.existsSync(path.join(targetCmd, 'AIOS', 'agents', 'dev.md'))).toBe(false);
156
+
157
+ // Verify AIOS/stories/ was excluded (project-specific)
158
+ expect(fs.existsSync(path.join(targetCmd, 'AIOS', 'stories', 'story.md'))).toBe(false);
159
+
160
+ // Verify squad directories not copied (private)
161
+ expect(fs.existsSync(path.join(targetCmd, 'cohort-squad'))).toBe(false);
152
162
  } finally {
153
163
  cleanup(sourceRoot);
154
164
  cleanup(targetRoot);
@@ -50,11 +50,11 @@ describe('CLAUDE.md Template v5 (Story INS-4.4)', () => {
50
50
  expect(templateContent).toContain('## Graph Dashboard');
51
51
  });
52
52
 
53
- test('template has exactly 9 AIOS-MANAGED sections total', () => {
53
+ test('template has exactly 11 AIOS-MANAGED sections total', () => {
54
54
  const startMatches = templateContent.match(/<!-- AIOS-MANAGED-START:/g);
55
55
  const endMatches = templateContent.match(/<!-- AIOS-MANAGED-END:/g);
56
- expect(startMatches.length).toBe(9);
57
- expect(endMatches.length).toBe(9);
56
+ expect(startMatches.length).toBe(11);
57
+ expect(endMatches.length).toBe(11);
58
58
  });
59
59
  });
60
60