sneakoscope 6.1.0 → 6.1.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.
Files changed (220) hide show
  1. package/README.md +28 -11
  2. package/crates/sks-core/Cargo.lock +1 -1
  3. package/crates/sks-core/Cargo.toml +1 -1
  4. package/dist/bin/fast-inline.js +18 -9
  5. package/dist/bin/sks-dispatch.js +2 -2
  6. package/dist/cli/args.js +2 -0
  7. package/dist/cli/command-manifest-lite.js +2 -3
  8. package/dist/cli/command-registry.js +3 -4
  9. package/dist/cli/help-fast.js +1 -1
  10. package/dist/cli/install-helpers.js +108 -303
  11. package/dist/cli/install-tool-helpers.js +287 -0
  12. package/dist/cli/router.js +40 -4
  13. package/dist/commands/codex-lb.js +51 -20
  14. package/dist/commands/codex.js +39 -1
  15. package/dist/commands/doctor.js +242 -20
  16. package/dist/commands/tmux.js +5 -1
  17. package/dist/commands/zellij-monitor-pane.js +2 -0
  18. package/dist/commands/zellij-viewport-pane.js +3 -1
  19. package/dist/commands/zellij.js +1 -1
  20. package/dist/config/skills-manifest.json +59 -59
  21. package/dist/core/agent-bridge/agent-manifest.js +48 -0
  22. package/dist/core/agents/agent-command-surface.js +2 -1
  23. package/dist/core/agents/agent-effort-policy.js +30 -38
  24. package/dist/core/agents/agent-plan.js +100 -21
  25. package/dist/core/agents/agent-role-config.js +43 -46
  26. package/dist/core/agents/agent-runner-codex-exec.js +16 -3
  27. package/dist/core/agents/agent-schema.js +3 -2
  28. package/dist/core/agents/native-cli-session-swarm.js +1 -1
  29. package/dist/core/agents/zellij-right-lane-cockpit.js +2 -2
  30. package/dist/core/codex/agent-config-file-repair.js +94 -193
  31. package/dist/core/codex/codex-cli-update.js +723 -0
  32. package/dist/core/codex/codex-config-guard.js +7 -2
  33. package/dist/core/codex/codex-project-config-policy.js +3 -6
  34. package/dist/core/codex/codex-startup-config-postcheck.js +52 -42
  35. package/dist/core/codex-adapter.js +35 -22
  36. package/dist/core/codex-app/codex-agent-role-sync.js +13 -54
  37. package/dist/core/codex-app/codex-app-launcher.js +48 -17
  38. package/dist/core/codex-app/codex-app-restart.js +23 -2
  39. package/dist/core/codex-app/sks-menubar.js +128 -2
  40. package/dist/core/codex-control/codex-0139-image-path-real-probe.js +15 -4
  41. package/dist/core/codex-control/codex-0139-web-search-probe.js +17 -6
  42. package/dist/core/codex-control/codex-lb-launch-recovery.js +278 -0
  43. package/dist/core/codex-control/codex-reliability-shield.js +89 -29
  44. package/dist/core/codex-control/codex-sdk-adapter.js +44 -8
  45. package/dist/core/codex-control/codex-task-runner.js +62 -9
  46. package/dist/core/codex-control/python-codex-sdk-adapter.js +30 -3
  47. package/dist/core/codex-exec-output-schema.js +35 -6
  48. package/dist/core/codex-lb/codex-lb-env.js +1 -1
  49. package/dist/core/codex-lb/codex-lb-tool-output-recovery.js +291 -0
  50. package/dist/core/codex-native/codex-native-feature-broker.js +9 -16
  51. package/dist/core/codex-native/codex-native-repair-transaction.js +1 -1
  52. package/dist/core/codex-native/core-skill-manifest.js +8 -4
  53. package/dist/core/codex-runtime/codex-desktop-config-policy.js +2 -3
  54. package/dist/core/commands/agent-bridge-command.js +23 -2
  55. package/dist/core/commands/agent-command.js +19 -5
  56. package/dist/core/commands/basic-cli.js +47 -6
  57. package/dist/core/commands/command-utils.js +1 -1
  58. package/dist/core/commands/mad-sks-command.js +33 -8
  59. package/dist/core/commands/naruto-command.js +643 -1156
  60. package/dist/core/commands/research-command.js +293 -231
  61. package/dist/core/commands/run-command.js +100 -23
  62. package/dist/core/commands/team-command.js +2 -3
  63. package/dist/core/commands/team-legacy-observe-command.js +94 -359
  64. package/dist/core/db-safety.js +2 -2
  65. package/dist/core/decision-lattice.js +6 -6
  66. package/dist/core/doctor/codex-startup-config-repair.js +8 -3
  67. package/dist/core/doctor/doctor-codex-startup-repair.js +6 -141
  68. package/dist/core/feature-fixture-executor.js +71 -7
  69. package/dist/core/feature-fixture-runner.js +53 -12
  70. package/dist/core/feature-fixtures.js +47 -14
  71. package/dist/core/feature-registry.js +28 -27
  72. package/dist/core/harness-conflicts.js +18 -9
  73. package/dist/core/hooks-runtime/hook-io.js +8 -4
  74. package/dist/core/hooks-runtime/light-turn.js +70 -0
  75. package/dist/core/hooks-runtime/payload-signals.js +270 -0
  76. package/dist/core/hooks-runtime/team-digest.js +0 -1
  77. package/dist/core/hooks-runtime/tool-output-quarantine.js +93 -0
  78. package/dist/core/hooks-runtime.js +411 -258
  79. package/dist/core/init/skills.js +16 -30
  80. package/dist/core/init.js +144 -36
  81. package/dist/core/managed-assets/managed-assets-manifest.js +417 -10
  82. package/dist/core/mission.js +24 -1
  83. package/dist/core/pipeline-internals/runtime-core.js +570 -177
  84. package/dist/core/pipeline-internals/runtime-gates.js +174 -48
  85. package/dist/core/preflight/parallel-preflight-engine.js +50 -1
  86. package/dist/core/proof/route-proof-gate.js +7 -2
  87. package/dist/core/proof-field.js +1 -1
  88. package/dist/core/provider/model-router.js +33 -31
  89. package/dist/core/recallpulse/policy.js +12 -28
  90. package/dist/core/recallpulse.js +11 -6
  91. package/dist/core/release/npm-pack-proof.js +247 -0
  92. package/dist/core/release/package-dist-snapshot.js +151 -0
  93. package/dist/core/release/package-size-budget.js +5 -0
  94. package/dist/core/release/release-authorization-snapshot.js +115 -0
  95. package/dist/core/release/release-gate-affected-selector.js +14 -2
  96. package/dist/core/release/release-gate-cache-v2.js +30 -0
  97. package/dist/core/release/release-gate-contract.js +161 -0
  98. package/dist/core/release/release-gate-dag.js +1 -0
  99. package/dist/core/release/release-real-contract.js +90 -10
  100. package/dist/core/release-parallel-full-coverage.js +31 -143
  101. package/dist/core/research/claim-evidence-matrix.js +41 -6
  102. package/dist/core/research/experiment-plan.js +14 -10
  103. package/dist/core/research/falsification.js +9 -2
  104. package/dist/core/research/implementation-blueprint-densifier.js +82 -60
  105. package/dist/core/research/implementation-blueprint.js +32 -26
  106. package/dist/core/research/mock-result.js +122 -11
  107. package/dist/core/research/replication-pack.js +15 -8
  108. package/dist/core/research/research-adversarial-review.js +1068 -0
  109. package/dist/core/research/research-claim-builder.js +69 -17
  110. package/dist/core/research/research-claim-synthesizer.js +343 -0
  111. package/dist/core/research/research-cycle-runner.js +53 -3
  112. package/dist/core/research/research-falsification-runner.js +176 -0
  113. package/dist/core/research/research-final-reviewer.js +44 -125
  114. package/dist/core/research/research-realistic-report.js +14 -6
  115. package/dist/core/research/research-review-artifact-digest.js +66 -0
  116. package/dist/core/research/research-source-evidence.js +144 -0
  117. package/dist/core/research/research-source-layer-catalog.js +68 -0
  118. package/dist/core/research/research-source-ledger-merge.js +250 -12
  119. package/dist/core/research/research-source-shards.js +26 -70
  120. package/dist/core/research/research-stage-runner.js +237 -247
  121. package/dist/core/research/research-super-search.js +184 -0
  122. package/dist/core/research/research-synthesis-prompt.js +20 -1
  123. package/dist/core/research/research-synthesis-writer.js +86 -5
  124. package/dist/core/research/research-work-graph.js +25 -18
  125. package/dist/core/research/source-quality-report.js +21 -0
  126. package/dist/core/research.js +429 -280
  127. package/dist/core/routes/constants.js +1 -1
  128. package/dist/core/routes/dollar-manifest-lite.js +11 -11
  129. package/dist/core/routes.js +90 -63
  130. package/dist/core/runtime/task-profile.js +66 -0
  131. package/dist/core/runtime/verification-budget.js +12 -0
  132. package/dist/core/security/high-risk-contracts.js +6 -6
  133. package/dist/core/stop-gate/stop-gate-check.js +49 -12
  134. package/dist/core/subagents/agent-catalog.js +215 -0
  135. package/dist/core/subagents/model-policy.js +118 -0
  136. package/dist/core/subagents/naruto-help-contract.js +40 -0
  137. package/dist/core/subagents/official-subagent-config.js +488 -0
  138. package/dist/core/subagents/official-subagent-preparation.js +251 -0
  139. package/dist/core/subagents/official-subagent-prompt.js +137 -0
  140. package/dist/core/subagents/official-subagent-runner.js +129 -0
  141. package/dist/core/subagents/subagent-evidence.js +663 -0
  142. package/dist/core/subagents/terminology.js +16 -0
  143. package/dist/core/subagents/thread-budget.js +21 -0
  144. package/dist/core/subagents/triwiki-attention.js +65 -0
  145. package/dist/core/super-search/runtime-helpers.js +173 -19
  146. package/dist/core/super-search/runtime.js +140 -15
  147. package/dist/core/super-search/source-records.js +49 -8
  148. package/dist/core/team-review-policy.js +15 -0
  149. package/dist/core/triwiki/triwiki-module-card.js +1 -1
  150. package/dist/core/triwiki-wrongness/wrongness-ledger.js +9 -2
  151. package/dist/core/version-manager.js +51 -1
  152. package/dist/core/version.js +1 -1
  153. package/dist/core/work-order-ledger.js +40 -1
  154. package/dist/core/zellij/zellij-fake-adapter.js +3 -1
  155. package/dist/core/zellij/zellij-launcher.js +37 -8
  156. package/dist/core/zellij/zellij-layout-builder.js +14 -5
  157. package/dist/core/zellij/zellij-official-subagent-activity.js +477 -0
  158. package/dist/core/zellij/zellij-official-subagent-telemetry.js +264 -0
  159. package/dist/core/zellij/zellij-slot-pane-renderer.js +17 -5
  160. package/dist/core/zellij/zellij-slot-telemetry.js +15 -3
  161. package/dist/core/zellij/zellij-ui-mode.js +1 -1
  162. package/dist/core/zellij/zellij-viewport-binder.js +3 -0
  163. package/dist/scripts/agent-role-config-repair-check.js +14 -16
  164. package/dist/scripts/architecture-guard-check.js +8 -1
  165. package/dist/scripts/check-route-modularity.js +0 -1
  166. package/dist/scripts/check-ts-contracts.js +1 -1
  167. package/dist/scripts/codex-control-all-pipelines-check.js +7 -3
  168. package/dist/scripts/codex-control-tool-output-continuity-audit-check.js +27 -0
  169. package/dist/scripts/codex-native-agent-role-content-check.js +15 -7
  170. package/dist/scripts/codex-native-repair-transaction-check.js +3 -1
  171. package/dist/scripts/codex-sdk-all-pipelines-check.js +7 -4
  172. package/dist/scripts/codex-sdk-research-pipeline-check.js +30 -8
  173. package/dist/scripts/db-route-materialization-check.js +33 -0
  174. package/dist/scripts/docs-truthfulness-check.js +3 -1
  175. package/dist/scripts/doctor-codex-startup-repair-check.js +12 -15
  176. package/dist/scripts/doctor-fix-production-blackbox.js +12 -2
  177. package/dist/scripts/doctor-startup-config-repair-blackbox.js +8 -2
  178. package/dist/scripts/doctor-startup-config-repair-check.js +12 -2
  179. package/dist/scripts/install-update-preserves-config-check.js +6 -1
  180. package/dist/scripts/mad-sks-app-ui-no-mutation-check.js +0 -1
  181. package/dist/scripts/managed-role-manifest-parity-check.js +5 -4
  182. package/dist/scripts/naruto-codex-e2e-check.js +14 -7
  183. package/dist/scripts/naruto-shadow-clone-swarm-check.js +4 -201
  184. package/dist/scripts/npm-publish-performance-check.js +20 -12
  185. package/dist/scripts/official-subagent-workflow-check.js +145 -0
  186. package/dist/scripts/package-published-contract-check.js +6 -29
  187. package/dist/scripts/packlist-performance-check.js +17 -3
  188. package/dist/scripts/parallel-verification-engine-check.js +2 -2
  189. package/dist/scripts/prepublish-release-check-or-fast.js +23 -86
  190. package/dist/scripts/release-affected-selector-check.js +74 -1
  191. package/dist/scripts/release-check-stamp.js +153 -248
  192. package/dist/scripts/release-dag-full-coverage-check.js +7 -15
  193. package/dist/scripts/release-dynamic-presets-check.js +2 -1
  194. package/dist/scripts/release-gate-dag-runner-check.js +0 -1
  195. package/dist/scripts/release-gate-dag-runner.js +12 -1
  196. package/dist/scripts/release-gate-existence-audit.js +1 -2
  197. package/dist/scripts/release-parallel-full-coverage-check.js +12 -6
  198. package/dist/scripts/release-parallel-speed-budget-check.js +18 -2
  199. package/dist/scripts/release-real-check.js +26 -4
  200. package/dist/scripts/release-registry-check.js +61 -16
  201. package/dist/scripts/research-blueprint-densifier-check.js +2 -2
  202. package/dist/scripts/research-real-cycle-no-legacy-final-md-check.js +11 -7
  203. package/dist/scripts/sizecheck.js +2 -2
  204. package/dist/scripts/sks-3-1-4-directive-check-lib.js +8 -2
  205. package/dist/scripts/sks-3-1-5-directive-check-lib.js +3 -2
  206. package/dist/scripts/sks-3-1-6-directive-check-lib.js +5 -3
  207. package/dist/scripts/sks-menubar-install-check.js +8 -0
  208. package/dist/scripts/trust-fixture-check.js +32 -10
  209. package/dist/scripts/wrongness-fixture-check.js +1 -1
  210. package/dist/scripts/zellij-layout-valid-check.js +5 -5
  211. package/dist/scripts/zellij-spawn-on-demand-layout-check.js +3 -3
  212. package/docs/demo.tape +1 -1
  213. package/infra-harness-gates.json +1486 -0
  214. package/package.json +13 -10
  215. package/release-gates.v2.json +4060 -0
  216. package/runtime-required-scripts.json +9 -0
  217. package/dist/commands/db.js +0 -6
  218. package/dist/core/commands/db-command.js +0 -146
  219. package/dist/core/research/prompt.js +0 -15
  220. package/dist/scripts/codex-control-tool-call-sequence-repair-check.js +0 -14
@@ -1,39 +1,39 @@
1
1
  {
2
2
  "schema": "sks.skills-manifest.v1",
3
- "package_version": "6.1.0",
3
+ "package_version": "6.1.2",
4
4
  "skills": [
5
5
  {
6
6
  "canonical_name": "answer",
7
7
  "type": "official",
8
- "content_sha256": "13663d89faecefdd854da38dc60cfa93fa6138d00bb36ce2accdad00863cb1cb",
8
+ "content_sha256": "23c62a95f44eea1d2adc517d2768bc78662db7448409e501bcdfbfbf35738df3",
9
9
  "hash_history": [],
10
10
  "deprecated_aliases": []
11
11
  },
12
12
  {
13
13
  "canonical_name": "autoresearch",
14
14
  "type": "official",
15
- "content_sha256": "49ea6307a809b3a711cdd25aa5594d2afd9987272c082cb1df65f4040144be61",
15
+ "content_sha256": "71ae967e666ca713dcb8c5b662d6a2ffa82f0dce773df34e360afbe64353946d",
16
16
  "hash_history": [],
17
17
  "deprecated_aliases": []
18
18
  },
19
19
  {
20
20
  "canonical_name": "autoresearch-loop",
21
21
  "type": "official",
22
- "content_sha256": "8fa64a6cc96c28c39513170146eb13bcf0e078342b6680344290bcbee8d9cc97",
22
+ "content_sha256": "9505719dc348c7c0ac8cf74bda5120daadb8ea4af4258e4c71bd94f4e4084b94",
23
23
  "hash_history": [],
24
24
  "deprecated_aliases": []
25
25
  },
26
26
  {
27
27
  "canonical_name": "commit",
28
28
  "type": "official",
29
- "content_sha256": "37e6383ae5ec08c13a92b2053f0fe62e8e10c38ef01d5002a8f863e3a92f8baa",
29
+ "content_sha256": "630c54b367a053fd819bb6ff254773c934c2d57cb0b408e7f4eb0c9675a4ccf9",
30
30
  "hash_history": [],
31
31
  "deprecated_aliases": []
32
32
  },
33
33
  {
34
34
  "canonical_name": "commit-and-push",
35
35
  "type": "official",
36
- "content_sha256": "b39f923c8e27ce4ca23884d8c67cb30fab8a49470b2ec5589f3bde09e23893d7",
36
+ "content_sha256": "a0cbe453aca4aaa02bd0405f1d21e285d0e97b424832011c0b47c8a5a6f65b50",
37
37
  "hash_history": [],
38
38
  "deprecated_aliases": []
39
39
  },
@@ -47,56 +47,56 @@
47
47
  {
48
48
  "canonical_name": "computer-use-fast",
49
49
  "type": "official",
50
- "content_sha256": "ceacefa35316a67d372eb6816bcd667fa23c04f76c5ec103f189af315db15043",
50
+ "content_sha256": "01c2d5c57ade78b8dce64466fe120ff313a26747474a5186c80708bfbf363de2",
51
51
  "hash_history": [],
52
52
  "deprecated_aliases": []
53
53
  },
54
54
  {
55
55
  "canonical_name": "context7-docs",
56
56
  "type": "official",
57
- "content_sha256": "d7d88a43e45511ffcdc8c95f1a62236e8933437ff7c932a1167fab6b8f6806b8",
57
+ "content_sha256": "45ce2bebffb4b248836bdd36f34682863dbfbc614a485df01c5afdaedb70c41e",
58
58
  "hash_history": [],
59
59
  "deprecated_aliases": []
60
60
  },
61
61
  {
62
62
  "canonical_name": "cu",
63
63
  "type": "official",
64
- "content_sha256": "ac285763d71cd3673e955e0e6358bc2a87bc2bce90bdd4c7177fdaea48393390",
64
+ "content_sha256": "887fdde77a6961bcfcc6c159b230511ec69cbe00ddafa043329c2e691d0b3e4c",
65
65
  "hash_history": [],
66
66
  "deprecated_aliases": []
67
67
  },
68
68
  {
69
69
  "canonical_name": "db",
70
70
  "type": "official",
71
- "content_sha256": "f22ced32f253fdeec5c196866dfb8ca65ac785748efe956c5b25129567814e49",
71
+ "content_sha256": "6d87db099785979ef84d774d712f6d097e9920916e884c1dea0fd5a98bf30ddc",
72
72
  "hash_history": [],
73
73
  "deprecated_aliases": []
74
74
  },
75
75
  {
76
76
  "canonical_name": "db-safety-guard",
77
77
  "type": "official",
78
- "content_sha256": "921e37b72c5b232eafaf84989f2b852d21e6605af0aa2098733ae2e4decfdb5f",
78
+ "content_sha256": "e75e05df0897a15cfc2625f14c8863bacf60d4aae5ca7e2d2b1f61c5c35f62b0",
79
79
  "hash_history": [],
80
80
  "deprecated_aliases": []
81
81
  },
82
82
  {
83
83
  "canonical_name": "design-artifact-expert",
84
84
  "type": "official",
85
- "content_sha256": "95627ce3a7a5a1a4ccc47b7214a52091ef47c4f5e90739cb893b33eba1c3a3cb",
85
+ "content_sha256": "130d681962920aae4109c9b32d75f8eb77c57d0e46dc92fdf92e84548be0d807",
86
86
  "hash_history": [],
87
87
  "deprecated_aliases": []
88
88
  },
89
89
  {
90
90
  "canonical_name": "design-system-builder",
91
91
  "type": "official",
92
- "content_sha256": "bdc301ab62baaf1459814e45670897d7ded89d29a9729d76d843ba85fefd1e32",
92
+ "content_sha256": "0ccba9af56a00897c840a61defa68047f68068a196726d3a873e73e1cbdc3403",
93
93
  "hash_history": [],
94
94
  "deprecated_aliases": []
95
95
  },
96
96
  {
97
97
  "canonical_name": "design-ui-editor",
98
98
  "type": "official",
99
- "content_sha256": "ff9ad5b4c928d40f5d33df4181b7686a7cee551fa590441ce12a3b6da7498c7c",
99
+ "content_sha256": "1570ee8c0d3cb604bb58b2b167e43823f733c6ed07f357edb2ea816a92f7148d",
100
100
  "hash_history": [],
101
101
  "deprecated_aliases": []
102
102
  },
@@ -110,98 +110,98 @@
110
110
  {
111
111
  "canonical_name": "fast-mode",
112
112
  "type": "official",
113
- "content_sha256": "28d9ad441eceb8aae201bff9237244bc20672c6cc1ee07a637969716728b7fd6",
113
+ "content_sha256": "d42967ce016093298ba8af05cf1172d8dcbd473d702635f6dff76dc3546fe13d",
114
114
  "hash_history": [],
115
115
  "deprecated_aliases": []
116
116
  },
117
117
  {
118
118
  "canonical_name": "fast-off",
119
119
  "type": "official",
120
- "content_sha256": "e3701c52a5608722c842f72e5c88891d4b2a04c3b96739756e56d21651dcb676",
120
+ "content_sha256": "11aa47afcdf764e6d8d8e43eb668763ec8fa6bc81a64de44554c109cd832e356",
121
121
  "hash_history": [],
122
122
  "deprecated_aliases": []
123
123
  },
124
124
  {
125
125
  "canonical_name": "fast-on",
126
126
  "type": "official",
127
- "content_sha256": "6774d89cadc1778b17544249df9b0a3f06e2826e4d75f830ba5f57e97887b925",
127
+ "content_sha256": "00b004f7162ec20e0249c58ef45f4c25fc71a3bbfc3ca38b8e1edb740b1e9d91",
128
128
  "hash_history": [],
129
129
  "deprecated_aliases": []
130
130
  },
131
131
  {
132
132
  "canonical_name": "from-chat-img",
133
133
  "type": "official",
134
- "content_sha256": "6c9607fc9f19f084b0ef2d8dfbcab8944e21e062c96d6b019930f1890ee02162",
134
+ "content_sha256": "e147c6e808ee3f96f669841732b423104fa44f2ac75845c14623648f747f03e5",
135
135
  "hash_history": [],
136
136
  "deprecated_aliases": []
137
137
  },
138
138
  {
139
139
  "canonical_name": "getdesign-reference",
140
140
  "type": "official",
141
- "content_sha256": "2c64b7c052073fb8b878aaabe08e6cf85bfb8cb37b3d9111470ede8308ae3c5a",
141
+ "content_sha256": "7b8566960032ff691ca608e60f361ba579dfcf31e4c7dbe71b221adf86f89b7f",
142
142
  "hash_history": [],
143
143
  "deprecated_aliases": []
144
144
  },
145
145
  {
146
146
  "canonical_name": "goal",
147
147
  "type": "official",
148
- "content_sha256": "7d161e8b142b6b3346ab385fa60510395ae11196b95833f0457df6c1847712a2",
148
+ "content_sha256": "ae70cc0ec6ea4c524a7a4bef1a26f69d07612262e47064577c89b2352cd12be1",
149
149
  "hash_history": [],
150
150
  "deprecated_aliases": []
151
151
  },
152
152
  {
153
153
  "canonical_name": "gx",
154
154
  "type": "official",
155
- "content_sha256": "d16cc781d9d00661573674d503be7b81243d037412923772d47e7de26d2912b7",
155
+ "content_sha256": "48ec6aca8e5b9b10a18a390dfe5224fb8eccc81ba391b08f156c2686d217f633",
156
156
  "hash_history": [],
157
157
  "deprecated_aliases": []
158
158
  },
159
159
  {
160
160
  "canonical_name": "gx-visual-generate",
161
161
  "type": "official",
162
- "content_sha256": "79877c196cb47d7eda6e93a6b2b2692137bf6a5fb812159938509e9031a3f781",
162
+ "content_sha256": "d31bd72e4fe73a3aba45b903bddb38da5952fff0d17514750d0443f9e189e170",
163
163
  "hash_history": [],
164
164
  "deprecated_aliases": []
165
165
  },
166
166
  {
167
167
  "canonical_name": "gx-visual-read",
168
168
  "type": "official",
169
- "content_sha256": "8066b78bcc2f1c9e7a5991707c5ac29d99fbc418cb940a45a3789b8eb3c96059",
169
+ "content_sha256": "9ed130779fe437dadc96d4ab52228168fade6432c3b8cb530cdcca2cdd470c55",
170
170
  "hash_history": [],
171
171
  "deprecated_aliases": []
172
172
  },
173
173
  {
174
174
  "canonical_name": "gx-visual-validate",
175
175
  "type": "official",
176
- "content_sha256": "55bf9c801d2b46a1624157b75f88115a59ffd500e1c44938b42bd007540ba73b",
176
+ "content_sha256": "c2aeebf64a9e2755163ca337dcbe23213ff6a0e27eafb1246352c454a7b40b14",
177
177
  "hash_history": [],
178
178
  "deprecated_aliases": []
179
179
  },
180
180
  {
181
181
  "canonical_name": "help",
182
182
  "type": "official",
183
- "content_sha256": "08252a0da558566282d1059d1f837bd74dd81ffaf445bb6fc21a1e070b31e0a0",
183
+ "content_sha256": "b89ba1dab7aa5e048826d3413f3c7077bbff5655a0dc94e44d7d3490e68acf7b",
184
184
  "hash_history": [],
185
185
  "deprecated_aliases": []
186
186
  },
187
187
  {
188
188
  "canonical_name": "honest-mode",
189
189
  "type": "official",
190
- "content_sha256": "cfe1a4a390b949ebc5f38cc00f229772f7898d1f034a1c800bafc2a15b924eda",
190
+ "content_sha256": "1c225cee916f353bf150f6863ca8e7f6d28607bb056ddafdb05e167e56140930",
191
191
  "hash_history": [],
192
192
  "deprecated_aliases": []
193
193
  },
194
194
  {
195
195
  "canonical_name": "hproof-claim-ledger",
196
196
  "type": "official",
197
- "content_sha256": "ac0169c75f1609ec0dacfbe88c3c62b8b06e3b8372fdd9c886bbcb16b5d26551",
197
+ "content_sha256": "5eda47e079c733673d4e96bc6f48e4ee8aa31b3f8f4ebeee5fc563712b3c5e78",
198
198
  "hash_history": [],
199
199
  "deprecated_aliases": []
200
200
  },
201
201
  {
202
202
  "canonical_name": "hproof-evidence-bind",
203
203
  "type": "official",
204
- "content_sha256": "7e2cf5c4c35946c5628a0bbeb73b09aa18010440d75cd0f8af57662de887a9b9",
204
+ "content_sha256": "d3dea97fae2790a834c4942792de59ca4a52810ac697fb44439017849223a3f8",
205
205
  "hash_history": [],
206
206
  "deprecated_aliases": []
207
207
  },
@@ -215,14 +215,14 @@
215
215
  {
216
216
  "canonical_name": "imagegen",
217
217
  "type": "official",
218
- "content_sha256": "b2d7ab3d9db89007ffe433603d9a109c29867f727f8cdd44afd202c9c5162595",
218
+ "content_sha256": "73e4ee869ef2761d59ee1b2c3afce5e9946bea8348c5992a1768990c118e8ece",
219
219
  "hash_history": [],
220
220
  "deprecated_aliases": []
221
221
  },
222
222
  {
223
223
  "canonical_name": "imagegen-source-scout",
224
224
  "type": "official",
225
- "content_sha256": "af77841b0bcbee199f907b0e411eb4660ad2b375b0025fde499fa234714a2174",
225
+ "content_sha256": "a7827a187e8af44d4079578e840fc198c4d3d384b1b2d9e1b7797344268d97d0",
226
226
  "hash_history": [],
227
227
  "deprecated_aliases": []
228
228
  },
@@ -236,7 +236,7 @@
236
236
  {
237
237
  "canonical_name": "kage-bunshin",
238
238
  "type": "official",
239
- "content_sha256": "9009e4a9ccf16f942f8898096920bdadb88152b5dee8ab052cd4efb8963a11e5",
239
+ "content_sha256": "8cbdc441542df3f9642fe3ffeb0a82555af3e180f012e79b12f277877a3e4386",
240
240
  "hash_history": [],
241
241
  "deprecated_aliases": []
242
242
  },
@@ -250,21 +250,21 @@
250
250
  {
251
251
  "canonical_name": "mad-db",
252
252
  "type": "official",
253
- "content_sha256": "427865feaa94f0b6d28b1b024642820adca955b94f6f52072f2527be01dcc7d1",
253
+ "content_sha256": "909fe5c2617bac03ad984bd0050f7062b620719aeecf42d601ea004121aac1f3",
254
254
  "hash_history": [],
255
255
  "deprecated_aliases": []
256
256
  },
257
257
  {
258
258
  "canonical_name": "mad-sks",
259
259
  "type": "official",
260
- "content_sha256": "de73c8bb6bacf097816b93782d6fbc1c62b78f0b63f421e803a18652be43f835",
260
+ "content_sha256": "ee7a6ef1999c00d6a9f11b54aeec9aa329df59a8e52f0adc69e0c73644bcd52c",
261
261
  "hash_history": [],
262
262
  "deprecated_aliases": []
263
263
  },
264
264
  {
265
265
  "canonical_name": "naruto",
266
266
  "type": "core",
267
- "content_sha256": "3d523d19e7886ab0ef9b62572df6da4fd837245bd75e4a2dfef40170c08712b0",
267
+ "content_sha256": "297268337ccf6cc5921c8d5d1f4447bdc7c74be9e3c30663b1edf2a63bd7dfdd",
268
268
  "hash_history": [],
269
269
  "deprecated_aliases": [
270
270
  "shadow-clone-legacy"
@@ -273,35 +273,35 @@
273
273
  {
274
274
  "canonical_name": "performance-evaluator",
275
275
  "type": "official",
276
- "content_sha256": "ff6136e9fb66dbdc3492c983f051cebaa8f78cc9737c201a24a9feed3d1584b5",
276
+ "content_sha256": "b11bb9fae3e5497148f2822071c840f0393b4e3f8977c6f7ce85686fd69e0076",
277
277
  "hash_history": [],
278
278
  "deprecated_aliases": []
279
279
  },
280
280
  {
281
281
  "canonical_name": "pipeline-runner",
282
282
  "type": "official",
283
- "content_sha256": "0414991b5cab61edc3cb4ebc2fdc67f87d6424271a26f8fb93cb6643fd9056e5",
283
+ "content_sha256": "1527125bced548a2c2929b296c889ae36eb4dcd443a5aee3ecb817c037cb830c",
284
284
  "hash_history": [],
285
285
  "deprecated_aliases": []
286
286
  },
287
287
  {
288
288
  "canonical_name": "plan",
289
289
  "type": "official",
290
- "content_sha256": "767f4ce563bd72ddd1fd13760d9c1ee8150fa2d24a73ae571580234d0f72da68",
290
+ "content_sha256": "aa8eeb7192848d77c3fd55190f4d049326244f08a87c72cab1afb511c1608831",
291
291
  "hash_history": [],
292
292
  "deprecated_aliases": []
293
293
  },
294
294
  {
295
295
  "canonical_name": "ppt",
296
296
  "type": "official",
297
- "content_sha256": "f2406ac978bef0651857a6f89eaaffcabd0133cdf8113bacb9e6ef5b21d2da22",
297
+ "content_sha256": "38391680146b57faaae88c3488ef9d3b3ecbc28cb96bc36eea0f13a4ebc42576",
298
298
  "hash_history": [],
299
299
  "deprecated_aliases": []
300
300
  },
301
301
  {
302
302
  "canonical_name": "prompt-pipeline",
303
303
  "type": "official",
304
- "content_sha256": "a57be72ced7d318d8a44c87e90ca70634f989ef4c8c59dd77d94f020e4eb896d",
304
+ "content_sha256": "0750fce14bbfe0d0b90ea093ec1f5339a55c2f7d0d18dcecd158c89cf802660a",
305
305
  "hash_history": [],
306
306
  "deprecated_aliases": []
307
307
  },
@@ -317,42 +317,42 @@
317
317
  {
318
318
  "canonical_name": "reasoning-router",
319
319
  "type": "official",
320
- "content_sha256": "2c5241817a395a77fc242936cc919db5e3517408bb86e13873686667f1f5e9c7",
320
+ "content_sha256": "f3b4250bd00c8546ea343eea20b60cbe2bd44502eb54f1c0bef0c06dd0c9f0e6",
321
321
  "hash_history": [],
322
322
  "deprecated_aliases": []
323
323
  },
324
324
  {
325
325
  "canonical_name": "reflection",
326
326
  "type": "official",
327
- "content_sha256": "2472a526970d921b65852351b3ebe37e2b5236704f6973cf741db26da28ef35f",
327
+ "content_sha256": "ed9472699a8769f2cb5c5574d5de18702fc3714fd7fdfeebbe27db67d191e9d6",
328
328
  "hash_history": [],
329
329
  "deprecated_aliases": []
330
330
  },
331
331
  {
332
332
  "canonical_name": "release-review",
333
333
  "type": "official",
334
- "content_sha256": "b41c9d4140ca7ac6bef130af7b14e7efe88f05dc9730718615338baa5dacf433",
334
+ "content_sha256": "2bd709b0152bce0c515277c10f288b427bb4f6d499e6f1b24f2a1b0ce7700049",
335
335
  "hash_history": [],
336
336
  "deprecated_aliases": []
337
337
  },
338
338
  {
339
339
  "canonical_name": "research",
340
340
  "type": "core",
341
- "content_sha256": "fd0ede8f92775e17249825f53445980af9317bc1d4c786016d08a711695795ff",
341
+ "content_sha256": "9689a1a20e86ce119942edb0d832346576833625b3c71d8c1ab2eebf0c4653e9",
342
342
  "hash_history": [],
343
343
  "deprecated_aliases": []
344
344
  },
345
345
  {
346
346
  "canonical_name": "research-discovery",
347
347
  "type": "official",
348
- "content_sha256": "4ef5dd865434092707a5dfeaaa216a3177c73a98cf863e644e4b4880c5ac8c46",
348
+ "content_sha256": "3fe6bfcec12cceafb0e2c1dbf8d47594bac7fc8a527d5bc84013759e51cfbe4b",
349
349
  "hash_history": [],
350
350
  "deprecated_aliases": []
351
351
  },
352
352
  {
353
353
  "canonical_name": "review",
354
354
  "type": "official",
355
- "content_sha256": "72a794485e9b2bdc459f5626027706aa3e5c446a6f4861b5ee646c6ce10ac5d1",
355
+ "content_sha256": "ccf33797438f74c3153fcdf0d34eb6fd2ae625f6fe001d46f67b241e36fdd0bb",
356
356
  "hash_history": [],
357
357
  "deprecated_aliases": []
358
358
  },
@@ -373,14 +373,14 @@
373
373
  {
374
374
  "canonical_name": "shadow-clone",
375
375
  "type": "official",
376
- "content_sha256": "f644bdb9d72c4d7a98038d99a8cc4dec068b61f146a94da574d03ef3737eb565",
376
+ "content_sha256": "779f8cfc81e943f3b795673a7eeea90d3d6dea213e41d67ac245d2473588b723",
377
377
  "hash_history": [],
378
378
  "deprecated_aliases": []
379
379
  },
380
380
  {
381
381
  "canonical_name": "sks",
382
382
  "type": "official",
383
- "content_sha256": "72cc01e22433d1db489f28a63ee8b70cef773c78a3751744ea380922de274cfb",
383
+ "content_sha256": "f4330e56d1728a9fb968f24279e43987ec4b2d13839337032d64ad3615ff6e84",
384
384
  "hash_history": [],
385
385
  "deprecated_aliases": [
386
386
  "ralph",
@@ -392,28 +392,28 @@
392
392
  {
393
393
  "canonical_name": "solution-scout",
394
394
  "type": "official",
395
- "content_sha256": "a88fe2e0cf703b2ff6083a436d6baf80c0e564ee07c370024336325d1f495773",
395
+ "content_sha256": "59c9f9c79f5d9e9e1ab6576ef014f5ed1d919f3a0433154fe530fa1e9ee77f69",
396
396
  "hash_history": [],
397
397
  "deprecated_aliases": []
398
398
  },
399
399
  {
400
400
  "canonical_name": "super-search",
401
401
  "type": "official",
402
- "content_sha256": "bfca7cb8446dc056ae9cc940c9e381b1a6748dc3cde301638a8247dcaef67b26",
402
+ "content_sha256": "8b78b4acc6c0031206d9ce519c55d749d42e209d3af1c79411c2b61552fedf5d",
403
403
  "hash_history": [],
404
404
  "deprecated_aliases": []
405
405
  },
406
406
  {
407
407
  "canonical_name": "swarm",
408
408
  "type": "official",
409
- "content_sha256": "b7dd3ff26da89578eb0d3f64d6b75a30f287571f45f87aae183184119874e367",
409
+ "content_sha256": "d23026b78e5122fe42410f022af9bcc7d80676905e5816d997bb3f1f0e49889f",
410
410
  "hash_history": [],
411
411
  "deprecated_aliases": []
412
412
  },
413
413
  {
414
414
  "canonical_name": "team",
415
415
  "type": "official",
416
- "content_sha256": "4d6265cef89ab70f19ac73f05ac29d746ac0d2ca6ca59017dade4c57969578f2",
416
+ "content_sha256": "a84c6914494a883b323c379e68fabd735d1f90c75c2c26375f80073205c227fc",
417
417
  "hash_history": [],
418
418
  "deprecated_aliases": [
419
419
  "agent-team"
@@ -422,35 +422,35 @@
422
422
  {
423
423
  "canonical_name": "turbo-context-pack",
424
424
  "type": "official",
425
- "content_sha256": "67882585d5589807cb536b721a60bcd02c8f56cb36626b67eaaf1abc13690e0f",
425
+ "content_sha256": "e4453e42581f56d9f086000632e9e29520008032e6da0c6565355487d0f24755",
426
426
  "hash_history": [],
427
427
  "deprecated_aliases": []
428
428
  },
429
429
  {
430
430
  "canonical_name": "ui-ux-review",
431
431
  "type": "official",
432
- "content_sha256": "6a7471656fd45f4c0b6eabfe9e2c0dec1b2f1c960e27fecad294e3ab25d98587",
432
+ "content_sha256": "0e85fa373664aeee8bfbaca3c1f9898677adda83b98c5bbbc4b64205a80a155e",
433
433
  "hash_history": [],
434
434
  "deprecated_aliases": []
435
435
  },
436
436
  {
437
437
  "canonical_name": "ux-review",
438
438
  "type": "official",
439
- "content_sha256": "7571f1db8904cebd6b87aecd355e6404d401af4002b79705c725ee091d8b9c27",
439
+ "content_sha256": "e30eff66861bcd961684a631ee8c330de739031e922310e9dfb6f94ab125c61d",
440
440
  "hash_history": [],
441
441
  "deprecated_aliases": []
442
442
  },
443
443
  {
444
444
  "canonical_name": "visual-review",
445
445
  "type": "official",
446
- "content_sha256": "0f74d1216fa4edfeab63245b044bbfc9763849d088749d74029c51e55d3ce591",
446
+ "content_sha256": "490d1e8b2f6daa7b4817ae9cb67cc57c0f370e7149c9358ad6ff0b7b1f6b2b6a",
447
447
  "hash_history": [],
448
448
  "deprecated_aliases": []
449
449
  },
450
450
  {
451
451
  "canonical_name": "wiki",
452
452
  "type": "official",
453
- "content_sha256": "eaa5415ea2dc52517041532af663228ec1a0c5ed5542aaae0392799fadabb4dc",
453
+ "content_sha256": "3dd1dc008b1cca560f3638873341e9668bdad008e253314d3a9266ed6c8ae97b",
454
454
  "hash_history": [],
455
455
  "deprecated_aliases": [
456
456
  "wiki-refresh",
@@ -460,21 +460,21 @@
460
460
  {
461
461
  "canonical_name": "with-local-llm-off",
462
462
  "type": "official",
463
- "content_sha256": "fa02f75c1778c31377fd0fb84c9627a0f24b11f4c6a247fafa1b512df3207018",
463
+ "content_sha256": "3960294a99c1736ed4055c112cf77a3b10b102d6488a9ba7a4412d78587666cf",
464
464
  "hash_history": [],
465
465
  "deprecated_aliases": []
466
466
  },
467
467
  {
468
468
  "canonical_name": "with-local-llm-on",
469
469
  "type": "official",
470
- "content_sha256": "737ac31090f94def9f635ec277f9cb8d99b764aadacd9dd223d1f063a5f03331",
470
+ "content_sha256": "097f3b40c4e75b6d341bc7020088dd20deb3a93e982b4a6dc30ff94f1829477c",
471
471
  "hash_history": [],
472
472
  "deprecated_aliases": []
473
473
  },
474
474
  {
475
475
  "canonical_name": "work",
476
476
  "type": "official",
477
- "content_sha256": "380a6b42a3c24550fdababe773b7ba55fc802072001869045848e6c754a1779b",
477
+ "content_sha256": "677789ac2ff77295382c20ed79393ca361119e63e14d73675bb850527e6c8a7f",
478
478
  "hash_history": [],
479
479
  "deprecated_aliases": []
480
480
  }
@@ -61,4 +61,52 @@ export function buildAgentManifest() {
61
61
  tools
62
62
  };
63
63
  }
64
+ export function validateAgentManifest(manifest) {
65
+ const candidate = manifest;
66
+ const expectedNames = Object.keys(COMMANDS).sort();
67
+ const tools = Array.isArray(candidate?.tools) ? candidate.tools : [];
68
+ const observedNames = tools.map((tool) => String(tool?.name || '')).filter(Boolean);
69
+ const observedSet = new Set(observedNames);
70
+ const duplicateNames = [...new Set(observedNames.filter((name, index) => observedNames.indexOf(name) !== index))].sort();
71
+ const missingNames = expectedNames.filter((name) => !observedSet.has(name));
72
+ const unexpectedNames = [...observedSet].filter((name) => !(name in COMMANDS)).sort();
73
+ const sortedNames = [...observedNames].sort();
74
+ const issues = [];
75
+ if (candidate?.schema !== 'sks.agent-manifest.v1')
76
+ issues.push('schema');
77
+ if (!Array.isArray(candidate?.tools))
78
+ issues.push('tools');
79
+ if (duplicateNames.length)
80
+ issues.push(...duplicateNames.map((name) => `duplicate_tool:${name}`));
81
+ if (missingNames.length)
82
+ issues.push(...missingNames.map((name) => `missing_registry_tool:${name}`));
83
+ if (unexpectedNames.length)
84
+ issues.push(...unexpectedNames.map((name) => `unexpected_tool:${name}`));
85
+ if (JSON.stringify(observedNames) !== JSON.stringify(sortedNames))
86
+ issues.push('tool_order');
87
+ for (const tool of tools) {
88
+ const name = String(tool?.name || '');
89
+ if (!name || typeof tool?.description !== 'string')
90
+ issues.push(`invalid_tool_shape:${name || '<missing>'}`);
91
+ if (typeof tool?.read_only !== 'boolean')
92
+ issues.push(`invalid_read_only:${name || '<missing>'}`);
93
+ if (typeof tool?.requires_explicit_opt_in !== 'boolean')
94
+ issues.push(`invalid_opt_in:${name || '<missing>'}`);
95
+ if (typeof tool?.json_output_supported !== 'boolean')
96
+ issues.push(`invalid_json_support:${name || '<missing>'}`);
97
+ if (!['fast', 'normal', 'long'].includes(String(tool?.latency_class || '')))
98
+ issues.push(`invalid_latency_class:${name || '<missing>'}`);
99
+ if (typeof tool?.example_invocation !== 'string' || !tool.example_invocation.startsWith(`sks ${name}`))
100
+ issues.push(`invalid_example:${name || '<missing>'}`);
101
+ }
102
+ return {
103
+ ok: issues.length === 0,
104
+ issues: [...new Set(issues)],
105
+ expected_names: expectedNames,
106
+ observed_names: observedNames,
107
+ missing_names: missingNames,
108
+ unexpected_names: unexpectedNames,
109
+ duplicate_names: duplicateNames
110
+ };
111
+ }
64
112
  //# sourceMappingURL=agent-manifest.js.map
@@ -51,6 +51,7 @@ export function parseAgentCommandArgs(command, args = []) {
51
51
  const graceMs = Number(readOption(args, '--grace-ms', 750));
52
52
  const killEscalation = hasFlag(args, '--kill-escalation') || !hasFlag(args, '--no-kill-escalation');
53
53
  const codexApp = hasFlag(args, '--codex-app');
54
+ const legacyNativeRuntime = hasFlag(args, '--legacy-native-runtime');
54
55
  const positionals = positionalArgs(rest, new Set(['--agents', '--target-active-slots', '--work-items', '--minimum-work-items', '--max-queue-expansion', '--concurrency', '--backend', '--route', '--mission', '--mission-id', '--agent', '--lane', '--stale-ms', '--grace-ms', '--profile', '--write-mode', '--max-write-agents', '--patch-entry-id', '--patch-entry', '--service-tier', '--zellij-session-name', '--worker-placement', '--zellij-visible-pane-cap', '--intake', '--agent-root', '--artifact-dir', '--result-path', '--heartbeat-path', '--patch-envelope-path', '--ollama-model', '--local-model-model', '--ollama-base-url', '--local-model-base-url']));
55
56
  const missionDefault = action === 'run' || action === 'spawn' || action === 'plan' ? '' : 'latest';
56
57
  const positionalMission = action === 'run' || action === 'spawn' || action === 'plan' ? '' : (positionals[0] || '');
@@ -60,7 +61,7 @@ export function parseAgentCommandArgs(command, args = []) {
60
61
  const promptPositionals = positionalMission ? positionals.slice(1) : positionals;
61
62
  const promptExplicit = promptPositionals.length > 0;
62
63
  const prompt = promptPositionals.join(' ').trim() || 'Native agent run';
63
- return { command, action, prompt, promptExplicit, route, agents, targetActiveSlots, desiredWorkItemCount, minimumWorkItems, maxQueueExpansion, concurrency, backend, backendExplicit, mock, real, readonly, profile, writeMode, applyPatches, dryRunPatches, maxWriteAgents, fastMode, serviceTier, noFast, ollamaEnabled: useOllama && !noOllama, noOllama, ollamaModel, ollamaBaseUrl, zellijSessionName, zellijPaneWorker, workerPlacement, zellijVisiblePaneCap, apply, dryRun, drain, staleMs, graceMs, killEscalation, json, missionId, lane, codexApp, patchEntryId };
64
+ return { command, action, prompt, promptExplicit, route, agents, targetActiveSlots, desiredWorkItemCount, minimumWorkItems, maxQueueExpansion, concurrency, backend, backendExplicit, mock, real, readonly, profile, writeMode, applyPatches, dryRunPatches, maxWriteAgents, fastMode, serviceTier, noFast, ollamaEnabled: useOllama && !noOllama, noOllama, ollamaModel, ollamaBaseUrl, zellijSessionName, zellijPaneWorker, workerPlacement, zellijVisiblePaneCap, apply, dryRun, drain, staleMs, graceMs, killEscalation, json, missionId, lane, codexApp, patchEntryId, legacyNativeRuntime };
64
65
  }
65
66
  export function resolveZellijVisiblePaneCap(value = '', explicit = false) {
66
67
  const requested = Number(value);