sinapse-ai 1.11.3 → 1.12.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.
Files changed (80) hide show
  1. package/.claude/hooks/enforce-architecture-first.cjs +2 -2
  2. package/.claude/hooks/enforce-delegation.cjs +2 -2
  3. package/.claude/hooks/enforce-permission-mode.cjs +12 -12
  4. package/.claude/hooks/enforce-story-gate.cjs +5 -5
  5. package/.claude/hooks/precompact-session-digest.cjs +2 -2
  6. package/.claude/hooks/secret-scanning.cjs +6 -6
  7. package/.claude/hooks/telemetry-post-tool.cjs +0 -1
  8. package/.claude/hooks/write-path-validation.cjs +2 -2
  9. package/.sinapse-ai/core/code-intel/helpers/dev-helper.js +1 -1
  10. package/.sinapse-ai/core/code-intel/helpers/devops-helper.js +0 -1
  11. package/.sinapse-ai/core/code-intel/helpers/planning-helper.js +1 -1
  12. package/.sinapse-ai/core/code-intel/helpers/qa-helper.js +2 -2
  13. package/.sinapse-ai/core/config/template-overrides.js +1 -1
  14. package/.sinapse-ai/core/doctor/checks/git-hooks.js +6 -3
  15. package/.sinapse-ai/core/doctor/checks/npm-packages.js +1 -1
  16. package/.sinapse-ai/core/doctor/checks/rules-files.js +0 -1
  17. package/.sinapse-ai/core/doctor/index.js +0 -1
  18. package/.sinapse-ai/core/graph-dashboard/cli.js +1 -1
  19. package/.sinapse-ai/core/graph-dashboard/data-sources/code-intel-source.js +1 -1
  20. package/.sinapse-ai/core/health-check/checks/project/constitution-consistency.js +0 -1
  21. package/.sinapse-ai/core/ideation/ideation-engine.js +0 -2
  22. package/.sinapse-ai/core/ids/layer-classifier.js +1 -1
  23. package/.sinapse-ai/core/registry/build-registry.js +12 -2
  24. package/.sinapse-ai/core/registry/service-registry.json +178 -55
  25. package/.sinapse-ai/core/registry/squad-agent-resolver.js +6 -0
  26. package/.sinapse-ai/core/synapse/layers/layer-processor.js +1 -1
  27. package/.sinapse-ai/data/capability-detection.js +15 -15
  28. package/.sinapse-ai/data/tok3-token-comparison.js +0 -3
  29. package/.sinapse-ai/data/tool-search-validation.js +1 -1
  30. package/.sinapse-ai/development/agents/snps-orqx.md +109 -0
  31. package/.sinapse-ai/development/scripts/agent-config-loader.js +8 -2
  32. package/.sinapse-ai/development/templates/sinapse-doc-template.md +6 -6
  33. package/.sinapse-ai/git-hooks/lib/framework-guard.js +1 -0
  34. package/.sinapse-ai/git-hooks/lib/staged-protected-files-guard.js +63 -0
  35. package/.sinapse-ai/git-hooks/pre-commit +3 -1
  36. package/.sinapse-ai/index.d.ts +19 -0
  37. package/.sinapse-ai/infrastructure/scripts/validate-agents.js +46 -16
  38. package/.sinapse-ai/install-manifest.yaml +61 -57
  39. package/.sinapse-ai/package.json +0 -1
  40. package/.sinapse-ai/utils/filters/index.js +2 -1
  41. package/CHANGELOG.md +38 -2
  42. package/README.md +132 -132
  43. package/bin/commands/doctor.js +1 -1
  44. package/bin/commands/help.js +3 -4
  45. package/bin/commands/install.js +7 -7
  46. package/bin/commands/status.js +3 -3
  47. package/bin/modules/chrome-brain-installer.js +3 -3
  48. package/bin/postinstall.js +1 -1
  49. package/bin/sinapse-init.js +11 -9
  50. package/bin/sinapse.js +1 -1
  51. package/bin/utils/framework-guard.js +1 -0
  52. package/bin/utils/staged-protected-files-guard.js +63 -0
  53. package/package.json +19 -2
  54. package/packages/installer/src/index.js +1 -1
  55. package/packages/installer/src/installer/brownfield-upgrader.js +1 -1
  56. package/packages/installer/src/installer/git-hooks-installer.js +10 -3
  57. package/packages/installer/src/pro/pro-scaffolder.js +3 -3
  58. package/packages/installer/src/wizard/ide-config-generator.js +1 -1
  59. package/packages/installer/src/wizard/index.js +4 -41
  60. package/scripts/audit-tasks.cjs +1 -1
  61. package/scripts/package-synapse.js +1 -1
  62. package/scripts/sinapse-patch.js +31 -31
  63. package/scripts/sync-squad-yaml-components.js +3 -3
  64. package/scripts/validate-agents-md.js +1 -1
  65. package/scripts/validate-no-external-refs.js +2 -2
  66. package/scripts/validate-no-personal-leaks.js +1 -1
  67. package/scripts/validate-orqx-discipline.js +0 -2
  68. package/scripts/validate-package-completeness.js +7 -7
  69. package/scripts/validate-squad-yaml.js +6 -6
  70. package/sinapse/agents/sinapse-orqx.md +1 -1
  71. package/sinapse/agents/snps-orqx.md +110 -1
  72. package/squads/claude-code-mastery/agents/swarm-orqx.md +12 -11
  73. package/squads/claude-code-mastery/scripts/validate-setup.js +2 -2
  74. package/squads/squad-brand/agents/brand-orqx.md +16 -1
  75. package/squads/squad-cloning/agents/cloning-orqx.md +2 -0
  76. package/squads/squad-commercial/agents/commercial-orqx.md +7 -4
  77. package/squads/squad-council/squad.yaml +67 -11
  78. package/squads/squad-design/agents/design-orqx.md +20 -0
  79. package/squads/squad-finance/agents/finance-orqx.md +6 -0
  80. package/squads/squad-paidmedia/agents/paidmedia-orqx.md +3 -1
@@ -7,9 +7,9 @@
7
7
  # - SHA256 hashes for change detection
8
8
  # - File types for categorization
9
9
  #
10
- version: 1.11.3
10
+ version: 1.12.1
11
11
  generator: scripts/generate-install-manifest.js
12
- file_count: 1180
12
+ file_count: 1181
13
13
  files:
14
14
  - path: cli/commands/config/index.js
15
15
  hash: sha256:bfa83cb1dc111b0b30dd298dc0abc2150b73f939b6cd4458effa8e6d407bc9e2
@@ -208,21 +208,21 @@ files:
208
208
  type: core
209
209
  size: 5638
210
210
  - path: core/code-intel/helpers/dev-helper.js
211
- hash: sha256:8581d4bcfb0b191940c645ae7198e276820c134372cfc7193b2ed7a3d8b5b7ba
211
+ hash: sha256:c7464066f3862b251e266c28ebd2945dc2d958997c020f5ce4121fb7cc2ca423
212
212
  type: core
213
- size: 5777
213
+ size: 5758
214
214
  - path: core/code-intel/helpers/devops-helper.js
215
- hash: sha256:f36a4859a74de9158d0a17507ff81f23da7a7871f690299b77436f7b5b49ab87
215
+ hash: sha256:e8017237fb2db8b49ebd02a9114a93549fbf0683044d7ad1a8632106188495a9
216
216
  type: core
217
- size: 5116
217
+ size: 5044
218
218
  - path: core/code-intel/helpers/planning-helper.js
219
- hash: sha256:1544575d64fc29f53922f98ad1592f69c601154257110c481c7e99e60633421c
219
+ hash: sha256:9b37aa02b3b0a3cabb53e2c0e53f05e1db65490d1ac403088aefec977fd025f8
220
220
  type: core
221
- size: 6864
221
+ size: 6845
222
222
  - path: core/code-intel/helpers/qa-helper.js
223
- hash: sha256:8e389a1ebb1ee1f9f9e22d1d74f1f86228b1494a832131f4b12d1eb553487e72
223
+ hash: sha256:852fa5c36260f7e89fd15dd5e4702f6e2eaae88bb4d8615f6a82b30ffdc88310
224
224
  type: core
225
- size: 5195
225
+ size: 5157
226
226
  - path: core/code-intel/helpers/story-helper.js
227
227
  hash: sha256:7768a479630ba8976403222abe57a2795b939cce5cc0b251342547da47997f04
228
228
  type: core
@@ -292,9 +292,9 @@ files:
292
292
  type: core
293
293
  size: 943
294
294
  - path: core/config/template-overrides.js
295
- hash: sha256:cd925eeeffe3b3af1c4df2a6f04518c920797c57033842e3ba5a37edaea96919
295
+ hash: sha256:bf453cb8203e0752bd41a25449b3883bb548e746edfb015c7969951a16b1f62a
296
296
  type: core
297
- size: 2224
297
+ size: 2225
298
298
  - path: core/config/templates/user-config.yaml
299
299
  hash: sha256:4da0e29fa2aad5d2dcc83c25f3dbecb00ed2de932166d39f1311b19ae862710d
300
300
  type: template
@@ -348,9 +348,9 @@ files:
348
348
  type: core
349
349
  size: 1581
350
350
  - path: core/doctor/checks/git-hooks.js
351
- hash: sha256:353441b03a572d27e03f626ae31336aa526c3dcec780ca89433c6fabec05a723
351
+ hash: sha256:1d20455c435ccb0d9eefb3ad8fbe0edf4bfa8e9ba4e1b7c10e837ac9063c3479
352
352
  type: core
353
- size: 8039
353
+ size: 8320
354
354
  - path: core/doctor/checks/graph-dashboard.js
355
355
  hash: sha256:6996b47faf1945ed27a24db2a0061c46f9fd0069b0c73a8af0f4b68d68142047
356
356
  type: core
@@ -376,13 +376,13 @@ files:
376
376
  type: core
377
377
  size: 785
378
378
  - path: core/doctor/checks/npm-packages.js
379
- hash: sha256:b39b767646a65a387752071347fc4316cf5f63f3357915febf7079436e3e89af
379
+ hash: sha256:c523e6917373ae0080f98d81c52512c34ca11904339dd09656375bfff4a9075b
380
380
  type: core
381
- size: 3814
381
+ size: 3816
382
382
  - path: core/doctor/checks/rules-files.js
383
- hash: sha256:16205df27fd9c8d73de42593429afbe6b2c4d70cca4bdde3a51b704f1d292e63
383
+ hash: sha256:773572637ba2758e6ea60910d86e9973bd261020b33b44da93f946f852715e91
384
384
  type: core
385
- size: 1552
385
+ size: 1494
386
386
  - path: core/doctor/checks/settings-json.js
387
387
  hash: sha256:7ed4e501be86f1e306c6eeac97641bfc3efedb1d541bd5883ed10f8d3204fb19
388
388
  type: core
@@ -404,9 +404,9 @@ files:
404
404
  type: core
405
405
  size: 1807
406
406
  - path: core/doctor/index.js
407
- hash: sha256:4a1e6dacba9c1fe7866b2b8a0041837a63acbe5c072185e9f73f809b94de22a6
407
+ hash: sha256:bf248cbf31e8411d91bc19a342f0e18263e701d738325cb9d619201292c7554c
408
408
  type: core
409
- size: 8585
409
+ size: 8559
410
410
  - path: core/elicitation/agent-elicitation.js
411
411
  hash: sha256:92abc291cecff9b8bb9153d5fbac84ad5217cff4d0d01e0495785a939334cd81
412
412
  type: elicitation
@@ -516,13 +516,13 @@ files:
516
516
  type: core
517
517
  size: 484
518
518
  - path: core/graph-dashboard/cli.js
519
- hash: sha256:127e41c209b74522ea47d73b25abe6151b6a91983a9adc8134374e897940b692
519
+ hash: sha256:491d199284d20ac61457632b2cd6890eaa2d18dab2f6d1577674f0854219f8bd
520
520
  type: core
521
- size: 10301
521
+ size: 10302
522
522
  - path: core/graph-dashboard/data-sources/code-intel-source.js
523
- hash: sha256:ff8592e1d1b985b103f53e4e31cd10c3640524ef43c4a0689a44201754284b92
523
+ hash: sha256:90957f10067d26a41538574f4cf7397cef7bcf87c080fe27b96d91c244306f0c
524
524
  type: core
525
- size: 6800
525
+ size: 6801
526
526
  - path: core/graph-dashboard/data-sources/metrics-source.js
527
527
  hash: sha256:35aceb954f07d4a23cd6aeffd2da1275fed6952a3e98d7524448457ffad0cf6e
528
528
  type: core
@@ -660,9 +660,9 @@ files:
660
660
  type: core
661
661
  size: 4734
662
662
  - path: core/health-check/checks/project/constitution-consistency.js
663
- hash: sha256:e6d0320efb88db073f6f877bc63126a9825ce7a896f5629f81ac24394e96a3ec
663
+ hash: sha256:e5cf057d336421a3dbb46e8c7341915a638a4507c95a178f2484b7fb0129a32e
664
664
  type: core
665
- size: 6044
665
+ size: 5956
666
666
  - path: core/health-check/checks/project/dependencies.js
667
667
  hash: sha256:f11f88666cfde93196d3ec81c59ba4956c75a097591d4a5cf0b2effd88db523d
668
668
  type: core
@@ -788,9 +788,9 @@ files:
788
788
  type: core
789
789
  size: 7763
790
790
  - path: core/ideation/ideation-engine.js
791
- hash: sha256:eb9119085bfeb5eee344a8949b54f8375f85c50ee38818bd4b9aab299ad871e9
791
+ hash: sha256:a8f1efdf143c5bb91e8d2e983d820ddb0367b1404c86bbc2927fb136c9afd4f3
792
792
  type: core
793
- size: 27450
793
+ size: 27381
794
794
  - path: core/ids/circuit-breaker.js
795
795
  hash: sha256:d9ff8c6e540902457b17aba668ff67c04d40564ed479993ad3c4807fb8c09c3f
796
796
  type: core
@@ -836,7 +836,7 @@ files:
836
836
  type: core
837
837
  size: 4382
838
838
  - path: core/ids/layer-classifier.js
839
- hash: sha256:d05c0bc4766f5595cd4bd60d3d8d5cc4a6d98e041d8dd84bde795e8531785391
839
+ hash: sha256:0c8916f70a410a6aa08f789c58cf84dd4ba60845964a8454b074d367c03770a4
840
840
  type: core
841
841
  size: 2392
842
842
  - path: core/ids/README.md
@@ -1136,9 +1136,9 @@ files:
1136
1136
  type: core
1137
1137
  size: 8176
1138
1138
  - path: core/registry/build-registry.js
1139
- hash: sha256:4c9a2e686637a1050b9ffce349ca72957fcaa971d0c1f4a0eb4321d3c7159065
1139
+ hash: sha256:b0e65b85380265d1db589d7e48e98e30b96f3da9af1a082f04aa794d9d412838
1140
1140
  type: core
1141
- size: 13190
1141
+ size: 13749
1142
1142
  - path: core/registry/README.md
1143
1143
  hash: sha256:98219837cb84b58eaf9cea2acf95837c5860c3369ac35bb226b61a7137fa14b8
1144
1144
  type: core
@@ -1152,13 +1152,13 @@ files:
1152
1152
  type: core
1153
1153
  size: 5290
1154
1154
  - path: core/registry/service-registry.json
1155
- hash: sha256:1b0b8a0acd2de9372e63a72c56afe1723ace3ecd64d42af38028f060059c3926
1155
+ hash: sha256:c5bdefcd333a9d9ffffb6cb810864fb986e45436120f53b8fc74fd52ab4448ed
1156
1156
  type: core
1157
- size: 289408
1157
+ size: 292202
1158
1158
  - path: core/registry/squad-agent-resolver.js
1159
- hash: sha256:04f7a4835f4a7d4430e2d495eb8e47af1d3f86158cb9de50797c85c7e4889d49
1159
+ hash: sha256:74c4a1fafd2f60eb9db38e9fd82a03b74d47d4e563ccb754fe00824f519c84f8
1160
1160
  type: core
1161
- size: 8014
1161
+ size: 8424
1162
1162
  - path: core/registry/validate-registry.js
1163
1163
  hash: sha256:8612f683f1b7ecd043a0342d05fbe434721b19568b6ff76a483a6de7aa830d5c
1164
1164
  type: core
@@ -1280,9 +1280,9 @@ files:
1280
1280
  type: core
1281
1281
  size: 4673
1282
1282
  - path: core/synapse/layers/layer-processor.js
1283
- hash: sha256:a62e5743c17e25957193e5a47e927d426a4353e288f3c3e5c72cf0442079f54c
1283
+ hash: sha256:57a514c7e03913d466d2058400229a8ffb4589e6ad7dcc03cbacd93a12df2ac6
1284
1284
  type: core
1285
- size: 2882
1285
+ size: 2883
1286
1286
  - path: core/synapse/memory/memory-bridge.js
1287
1287
  hash: sha256:de1a42d258b4d23cca9ae9fcf53eb9b71df9dbf851741add3320deaf9d12abec
1288
1288
  type: core
@@ -1360,9 +1360,9 @@ files:
1360
1360
  type: data
1361
1361
  size: 10998
1362
1362
  - path: data/capability-detection.js
1363
- hash: sha256:53aad4bbd8e38989f4b8ee114c69fa03182ea6191de75ba812568a16143a9323
1363
+ hash: sha256:e07f290c14bde93e62ac5397299467e6bd254074273f3fa0e66781ddcacabbe9
1364
1364
  type: data
1365
- size: 9587
1365
+ size: 9602
1366
1366
  - path: data/entity-registry.yaml
1367
1367
  hash: sha256:2287de6ef9ec9e862f5d69ba1a4c2e91d483e2b2181557d571e69899db6fd0cd
1368
1368
  type: data
@@ -1424,17 +1424,17 @@ files:
1424
1424
  type: data
1425
1425
  size: 7049
1426
1426
  - path: data/tok3-token-comparison.js
1427
- hash: sha256:91f8788e803bb93e56586a4a1aee1497b5ab4995c23c74350addfd214494d784
1427
+ hash: sha256:87ab8a68bf6cd7e3fc54dbba60cbc56e3a490dde1dd805fd294a04c57f5dea1b
1428
1428
  type: data
1429
- size: 4623
1429
+ size: 4488
1430
1430
  - path: data/tool-registry.yaml
1431
1431
  hash: sha256:929ee46a0020f6a87f3ce39294f76c14d7b05980e85ba7d1e548adce8a271213
1432
1432
  type: data
1433
1433
  size: 15187
1434
1434
  - path: data/tool-search-validation.js
1435
- hash: sha256:ebf225e2cd785335120a35144a782d42bbc8140e0225d8e08ffd5c48e9ce870b
1435
+ hash: sha256:0ad0396cfb695fda9a966973877ade1475e0b637a10f8bb5ce3d0a76e66fdf39
1436
1436
  type: data
1437
- size: 5755
1437
+ size: 5756
1438
1438
  - path: data/workflow-chains.yaml
1439
1439
  hash: sha256:f945a8614df52f1a6c0297a65eb46de9ab94d7fdb6540317ee77fa22228d8ec8
1440
1440
  type: data
@@ -1532,9 +1532,9 @@ files:
1532
1532
  type: agent
1533
1533
  size: 1369
1534
1534
  - path: development/agents/snps-orqx.md
1535
- hash: sha256:744ba24a08e6d294d93dff577d14185fa02b589f298049a734001f3b504daf82
1535
+ hash: sha256:37e4287f70d72f77155895149de9c87e8bcdcad0e48c7cf2fbca5990e120536f
1536
1536
  type: agent
1537
- size: 34545
1537
+ size: 41032
1538
1538
  - path: development/agents/sprint-lead.md
1539
1539
  hash: sha256:572289b770cdbb0cff9ae2de4b2d19c38ce814fe978df397aa2794297f562c91
1540
1540
  type: agent
@@ -1652,9 +1652,9 @@ files:
1652
1652
  type: script
1653
1653
  size: 7535
1654
1654
  - path: development/scripts/agent-config-loader.js
1655
- hash: sha256:4ca93e6babd60d872232445bc87fd87cf450202c93a2d087135786fb19656922
1655
+ hash: sha256:e27095c228ce32d8b5a6f45c937a02242de97dd6ea42a0e8a52651d15962e31c
1656
1656
  type: script
1657
- size: 18369
1657
+ size: 18933
1658
1658
  - path: development/scripts/agent-exit-hooks.js
1659
1659
  hash: sha256:e5b809fa700dad287341c318ef44b945dc24261445eba4bd20f97ac4e21b9480
1660
1660
  type: script
@@ -2984,9 +2984,9 @@ files:
2984
2984
  type: template
2985
2985
  size: 2520
2986
2986
  - path: development/templates/sinapse-doc-template.md
2987
- hash: sha256:a31589a53c55e408f038b4a713942af1c327726a051485fc5e5a03eb2e4a179f
2987
+ hash: sha256:867388ff8683a2b943b84411fd32cd546fd03f3265e33083a87a16bfb719606b
2988
2988
  type: template
2989
- size: 8277
2989
+ size: 8060
2990
2990
  - path: development/templates/squad-template/agents/example-agent.yaml
2991
2991
  hash: sha256:b5dd44e677c1936797d19e53a9241798e148847310c02f2c26182a91a6183d42
2992
2992
  type: agent
@@ -3171,6 +3171,10 @@ files:
3171
3171
  hash: sha256:54ab156d0149da43698c0b439e196a228c794441b20c78d26b9433a17a6e20f6
3172
3172
  type: elicitation
3173
3173
  size: 9678
3174
+ - path: index.d.ts
3175
+ hash: sha256:6257a6ba37bd5ec0ebbfe6b76f97f1926a504635988943d79a85ef6175629542
3176
+ type: code
3177
+ size: 981
3174
3178
  - path: index.esm.js
3175
3179
  hash: sha256:13e1784627956a59acfc3ca1cb2d0f74cbfbb38d3a7b77bf7615b74963366d11
3176
3180
  type: code
@@ -3680,9 +3684,9 @@ files:
3680
3684
  type: script
3681
3685
  size: 18249
3682
3686
  - path: infrastructure/scripts/validate-agents.js
3683
- hash: sha256:f2717bb95c65e2ce061c311a44853ae209c1d10034696a38cffd3bc08bd061c6
3687
+ hash: sha256:1fb818950cfa60c572cdc63b5f822ffe9b0a11d351d136f2373bffb24eef99e8
3684
3688
  type: script
3685
- size: 14910
3689
+ size: 16777
3686
3690
  - path: infrastructure/scripts/validate-claude-integration.js
3687
3691
  hash: sha256:fe5e85f257724ec86178d4ed0a4cc6ce4d98b5b093f707851852ae0d2469abad
3688
3692
  type: script
@@ -3928,9 +3932,9 @@ files:
3928
3932
  type: manifest
3929
3933
  size: 5298
3930
3934
  - path: package.json
3931
- hash: sha256:a79897e7e5ce54e4dec3baea4020b96f4c9c41e23c49511becf7438761362400
3935
+ hash: sha256:298bbd04fb4f7d5ca499ba79d617130049b7bbe54a93ab57233e5c49258dd2ff
3932
3936
  type: other
3933
- size: 2509
3937
+ size: 2478
3934
3938
  - path: product/checklists/accessibility-wcag-checklist.md
3935
3939
  hash: sha256:11f340683187a9683c173b6f11b292eb1e49cca8844297a6bdb2631e46b8513a
3936
3940
  type: checklist
@@ -4656,9 +4660,9 @@ files:
4656
4660
  type: workflow-intelligence
4657
4661
  size: 10680
4658
4662
  - path: workflow-intelligence/__tests__/integration.test.js
4659
- hash: sha256:98cfc895d8fa493bdf4b901263fbbdc0a6f8a404cd78f5d33222d9862e53ae1d
4663
+ hash: sha256:34421819f60f450e830508cebd16a25e72cbe225eade29abac8188e8a0ced6b2
4660
4664
  type: workflow-intelligence
4661
- size: 11102
4665
+ size: 11695
4662
4666
  - path: workflow-intelligence/__tests__/suggestion-engine.test.js
4663
4667
  hash: sha256:4dd26f611a58c0bcd54dc69e1804efe103406ee0c0bda0880a4b39aecf540045
4664
4668
  type: workflow-intelligence
@@ -4668,9 +4672,9 @@ files:
4668
4672
  type: workflow-intelligence
4669
4673
  size: 15056
4670
4674
  - path: workflow-intelligence/__tests__/workflow-registry.test.js
4671
- hash: sha256:c895fec31e0863b168f2c576f467359630ccb66f09e05d2b0201c7864673ddd7
4675
+ hash: sha256:d9488e420f584474de920e090068809a220db1bd1d49e96769f6fc3ed7a47dba
4672
4676
  type: workflow-intelligence
4673
- size: 9968
4677
+ size: 10709
4674
4678
  - path: workflow-intelligence/engine/confidence-scorer.js
4675
4679
  hash: sha256:6312ad6707909d3177d8d96500dbb782be5662853cb73e52bb4da68b8cb0d883
4676
4680
  type: workflow-intelligence
@@ -39,7 +39,6 @@
39
39
  "fast-glob": "^3.3.3",
40
40
  "fs-extra": "^11.3.0",
41
41
  "glob": "^10.4.4",
42
- "highlight.js": "^11.9.0",
43
42
  "inquirer": "^8.2.6",
44
43
  "js-yaml": "^4.1.0",
45
44
  "semver": "^7.7.2",
@@ -112,7 +112,7 @@ function applyFilter(toolName, input, overrideConfig, registryPath) {
112
112
  filter_type: 'field',
113
113
  };
114
114
 
115
- default:
115
+ default: {
116
116
  // Unknown filter type — pass through
117
117
  const serialized = typeof input === 'string' ? input : JSON.stringify(input, null, 2);
118
118
  return {
@@ -122,6 +122,7 @@ function applyFilter(toolName, input, overrideConfig, registryPath) {
122
122
  reduction_pct: 0,
123
123
  filter_type: 'unknown',
124
124
  };
125
+ }
125
126
  }
126
127
  }
127
128
 
package/CHANGELOG.md CHANGED
@@ -1,8 +1,13 @@
1
- ## [1.11.3](https://github.com/caioimori/sinapse-ai/compare/1.11.2...1.11.3) (2026-06-19)
1
+ ## [1.12.1](https://github.com/caioimori/sinapse-ai/compare/1.12.0...1.12.1) (2026-06-20)
2
2
 
3
3
  ### Bug Fixes
4
4
 
5
- * **chrome-brain:** nao abrir o browser em toda sessao (remove hook SessionStart) ([63824bf](https://github.com/caioimori/sinapse-ai/commit/63824bfcaef491cb4012d966a05f2a3c32d944fe))
5
+ * **validate-agents:** resolve artefatos em todos os homes canonicos (98→3 warnings) ([#261](https://github.com/caioimori/sinapse-ai/issues/261)) ([e96a955](https://github.com/caioimori/sinapse-ai/commit/e96a9557b25f9f731a59e1441d374bcbd891a775))
6
+
7
+ ### Documentation
8
+
9
+ * **changelog:** adiciona entrada da v1.12.0 (hardening + conformidade) ([#259](https://github.com/caioimori/sinapse-ai/issues/259)) ([e679da4](https://github.com/caioimori/sinapse-ai/commit/e679da421d1fa3909791e4d0197f4f4759d12fc3))
10
+ * **readme:** ortografia PT-BR completa + contagem de hooks consistente; chore: genericiza ref interna no guarda de refs externas ([#260](https://github.com/caioimori/sinapse-ai/issues/260)) ([14c6995](https://github.com/caioimori/sinapse-ai/commit/14c69959332ee6161ca49023995b385d96a82882))
6
11
 
7
12
  # Changelog
8
13
 
@@ -13,6 +18,37 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
13
18
 
14
19
  ## [Unreleased]
15
20
 
21
+ ## [1.12.0] — 2026-06-20 — 🛡️ Hardening + Conformidade
22
+
23
+ > Maior release de robustez do framework até aqui: ~1 mês de hardening (auditoria clínica de 8 frentes + conformidade às diretrizes) entregue de uma vez. Sem breaking changes — atualização segura via `npx sinapse-ai update`.
24
+
25
+ ### Added
26
+
27
+ - **Guard anti-deleção de arquivos críticos** no pre-commit — bloqueia commits que removam/untrackeiem arquivos protegidos (ex.: `service-registry.json`). Sempre ativo, independe do modo contribuidor; bypass intencional via `--no-verify`.
28
+ - **API programática** no root `package.json` (`main`/`module`/`types`/`exports`) + `index.d.ts` — o framework pode ser usado como biblioteca, não só CLI.
29
+
30
+ ### Fixed
31
+
32
+ - **Ativação de agents**: 6 dos 12 agents core caíam num greeting degradado por falta de resolução de alias (`dev`→`developer`, `sinapse-orqx`→`snps-orqx`, etc.). Todos ativam 100% agora (papel + status + comandos).
33
+ - **Instalação em Modo Assistido por padrão**: o instalador defaultava silenciosamente para avançado; agora entra assistido (para leigos), com o avançado disponível como toggle opt-in.
34
+ - **Roteamento de squads**: religados ~16 especialistas órfãos em 5 squads, o squad comercial e as 56 tasks do conselho — nenhum agent perdido no roteamento.
35
+ - **Identidade SINAPSE canônica**: Imperator unificado (3 fontes divergentes) + remoção de diretório de comandos stale.
36
+ - **Integridade do registro**: dedup robusto de IDs + ressync do `service-registry` + detector de drift em CI.
37
+ - **`doctor` honesto**: git-hooks reporta WARN (não FAIL) para quem tem hook system próprio.
38
+ - **ide-sync**: resync de mirror `.claude` + conserto de YAML malformado.
39
+
40
+ ### Changed
41
+
42
+ - **Pacote 23MB menor**: `node_modules` removidos do tarball + higiene de dependências de runtime.
43
+ - **Cobertura de testes honesta**: suíte `workflow-intelligence` religada (+204 testes), semântica do `coverageThreshold` corrigida (o `global` do jest exclui chaves de path) e piso real do `core/` (~80%).
44
+ - **Branding**: instalador legado rebrandado para o banner branco "SNPS AI" (sem resquícios off-brand).
45
+ - **Qualidade**: lint 0 erros / 0 warnings; testes mortos do tools-system removidos; `colaborator/` fora do jest.
46
+ - **Escopo**: idiomas apenas **PT + EN** (resíduo de espanhol removido); CLIs apenas **Claude Code + Codex**.
47
+
48
+ ### Security
49
+
50
+ - `undici` (dev) atualizado para corrigir vulnerabilidade HIGH dev-only. **0 vulnerabilidades em produção.**
51
+
16
52
  ## [1.9.0] — 2026-06-17 — 🧭 Refino Macro (E1–E9) + Paridade Codex
17
53
 
18
54
  > **Refino macro do framework em 9 etapas.** Invocação unificada `@sinapse`/`@snps`; remoção dos editores extras (foco Claude + Codex); medidor de tasks honesto; instalação/update reais; fusão `squad-artdir`→`squad-design` + aposentadoria de 7 chiefs (→ 17 squads · 172 agentes · 1200 tasks); feedback visual de orquestração na statusline; trava de git reativada; paridade Codex de fachada para real; pente-fino de segurança.