sneakoscope 6.0.3 → 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 (378) hide show
  1. package/README.md +29 -12
  2. package/config/codex-releases/{rust-v0.142.0.json → rust-v0.144.1.json} +6 -6
  3. package/crates/sks-core/Cargo.lock +1 -1
  4. package/crates/sks-core/Cargo.toml +1 -1
  5. package/dist/bin/fast-inline.js +18 -14
  6. package/dist/bin/sks-dispatch.js +2 -4
  7. package/dist/cli/args.js +2 -0
  8. package/dist/cli/command-manifest-lite.js +2 -3
  9. package/dist/cli/command-registry.js +3 -4
  10. package/dist/cli/help-fast.js +1 -1
  11. package/dist/cli/install-helpers.js +348 -763
  12. package/dist/cli/install-tool-helpers.js +287 -0
  13. package/dist/cli/router.js +91 -6
  14. package/dist/commands/codex-lb.js +188 -53
  15. package/dist/commands/codex.js +44 -5
  16. package/dist/commands/doctor.js +302 -46
  17. package/dist/commands/tmux.js +5 -1
  18. package/dist/commands/versioning.js +7 -0
  19. package/dist/commands/zellij-monitor-pane.js +2 -0
  20. package/dist/commands/zellij-viewport-pane.js +3 -1
  21. package/dist/commands/zellij.js +1 -1
  22. package/dist/config/skills-manifest.json +59 -59
  23. package/dist/core/agent-bridge/agent-manifest.js +48 -0
  24. package/dist/core/agents/agent-central-ledger.js +9 -0
  25. package/dist/core/agents/agent-cleanup-executor.js +334 -41
  26. package/dist/core/agents/agent-cleanup.js +20 -1
  27. package/dist/core/agents/agent-command-surface.js +3 -1
  28. package/dist/core/agents/agent-effort-policy.js +30 -38
  29. package/dist/core/agents/agent-janitor.js +9 -10
  30. package/dist/core/agents/agent-namespace-safety.js +56 -0
  31. package/dist/core/agents/agent-orchestrator.js +25 -3
  32. package/dist/core/agents/agent-output-validator.js +1 -1
  33. package/dist/core/agents/agent-plan.js +100 -21
  34. package/dist/core/agents/agent-role-config.js +43 -49
  35. package/dist/core/agents/agent-runner-codex-exec.js +18 -3
  36. package/dist/core/agents/agent-runner-process.js +1 -0
  37. package/dist/core/agents/agent-schema.js +3 -2
  38. package/dist/core/agents/fast-mode-policy.js +3 -5
  39. package/dist/core/agents/native-cli-session-swarm.js +1 -1
  40. package/dist/core/agents/native-worker-backend-router.js +2 -1
  41. package/dist/core/agents/work-partition/repo-inventory.js +68 -7
  42. package/dist/core/agents/zellij-right-lane-cockpit.js +2 -2
  43. package/dist/core/code-structure.js +5 -4
  44. package/dist/core/codex/agent-config-file-repair.js +94 -193
  45. package/dist/core/codex/codex-cli-update.js +723 -0
  46. package/dist/core/codex/codex-config-guard.js +38 -11
  47. package/dist/core/codex/codex-project-config-policy.js +3 -6
  48. package/dist/core/codex/codex-startup-config-postcheck.js +52 -42
  49. package/dist/core/codex-adapter.js +35 -22
  50. package/dist/core/codex-app/codex-agent-role-sync.js +13 -54
  51. package/dist/core/codex-app/codex-app-fast-ui-repair.js +51 -20
  52. package/dist/core/codex-app/codex-app-launcher.js +48 -17
  53. package/dist/core/codex-app/codex-app-restart.js +23 -2
  54. package/dist/core/codex-app/codex-app-ui-state-snapshot.js +11 -3
  55. package/dist/core/codex-app/sks-menubar.js +136 -5
  56. package/dist/core/codex-app.js +35 -14
  57. package/dist/core/codex-compat/codex-hook-warning-detector.js +10 -1
  58. package/dist/core/codex-compat/codex-release-manifest.js +6 -6
  59. package/dist/core/codex-control/codex-0139-doctor-real-probe.js +7 -1
  60. package/dist/core/codex-control/codex-0139-image-path-real-probe.js +29 -12
  61. package/dist/core/codex-control/codex-0139-probe-runner.js +103 -28
  62. package/dist/core/codex-control/codex-0139-real-probe-summary.js +7 -3
  63. package/dist/core/codex-control/codex-0139-real-probes.js +21 -6
  64. package/dist/core/codex-control/codex-0139-sandbox-real-probe.js +39 -13
  65. package/dist/core/codex-control/codex-0139-web-search-probe.js +28 -14
  66. package/dist/core/codex-control/{codex-0142-capability.js → codex-0144-capability.js} +22 -22
  67. package/dist/core/codex-control/codex-0144-collab-agent-real-probe.js +63 -0
  68. package/dist/core/codex-control/codex-lb-launch-recovery.js +278 -0
  69. package/dist/core/codex-control/codex-multi-agent-event-normalizer.js +5 -1
  70. package/dist/core/codex-control/codex-reliability-shield.js +93 -30
  71. package/dist/core/codex-control/codex-sdk-adapter.js +96 -13
  72. package/dist/core/codex-control/codex-sdk-config-policy.js +2 -1
  73. package/dist/core/codex-control/codex-sdk-sandbox-policy.js +6 -3
  74. package/dist/core/codex-control/codex-task-runner.js +62 -9
  75. package/dist/core/codex-control/python-codex-sdk-adapter.js +30 -3
  76. package/dist/core/codex-exec-output-schema.js +35 -6
  77. package/dist/core/codex-lb/codex-lb-env.js +30 -1
  78. package/dist/core/codex-lb/codex-lb-tool-catalog.js +478 -0
  79. package/dist/core/codex-lb/codex-lb-tool-output-recovery.js +291 -0
  80. package/dist/core/codex-native/codex-native-feature-broker.js +31 -38
  81. package/dist/core/codex-native/codex-native-feature-matrix.js +2 -2
  82. package/dist/core/codex-native/codex-native-repair-transaction.js +1 -1
  83. package/dist/core/codex-native/core-skill-manifest.js +8 -4
  84. package/dist/core/codex-native/native-capability-postcheck.js +16 -8
  85. package/dist/core/codex-native/native-capability-repair-matrix.js +76 -27
  86. package/dist/core/codex-plugins/codex-plugin-json.js +67 -21
  87. package/dist/core/codex-plugins/codex-plugin-repair.js +118 -0
  88. package/dist/core/codex-runtime/codex-desktop-config-policy.js +305 -0
  89. package/dist/core/commands/agent-bridge-command.js +23 -2
  90. package/dist/core/commands/agent-command.js +38 -5
  91. package/dist/core/commands/basic-cli.js +77 -30
  92. package/dist/core/commands/command-utils.js +1 -1
  93. package/dist/core/commands/gc-command.js +27 -4
  94. package/dist/core/commands/image-ux-review-command.js +55 -24
  95. package/dist/core/commands/mad-sks-command.js +182 -137
  96. package/dist/core/commands/naruto-command.js +643 -1153
  97. package/dist/core/commands/pipeline-command.js +1 -0
  98. package/dist/core/commands/research-command.js +293 -231
  99. package/dist/core/commands/run-command.js +100 -23
  100. package/dist/core/commands/team-command.js +2 -3
  101. package/dist/core/commands/team-legacy-observe-command.js +94 -359
  102. package/dist/core/commands/wiki-command.js +179 -83
  103. package/dist/core/computer-use-live-evidence.js +166 -3
  104. package/dist/core/computer-use-status.js +5 -2
  105. package/dist/core/daemon/sksd-hook-daemon-entrypoint.js +2 -2
  106. package/dist/core/daemon/sksd-hook-daemon.js +171 -28
  107. package/dist/core/daemon/sksd-hook-dispatch.js +2 -2
  108. package/dist/core/db-safety.js +2 -2
  109. package/dist/core/decision-lattice.js +6 -6
  110. package/dist/core/dfix/verification-selector.js +6 -4
  111. package/dist/core/doctor/browser-use-repair.js +54 -13
  112. package/dist/core/doctor/codex-0139-doctor.js +3 -2
  113. package/dist/core/doctor/codex-startup-config-repair.js +8 -3
  114. package/dist/core/doctor/computer-use-repair.js +28 -39
  115. package/dist/core/doctor/doctor-codex-startup-repair.js +24 -149
  116. package/dist/core/doctor/doctor-context7-repair.js +1 -1
  117. package/dist/core/doctor/doctor-dirty-planner.js +1 -1
  118. package/dist/core/doctor/doctor-native-capability-repair.js +74 -3
  119. package/dist/core/doctor/imagegen-repair.js +47 -12
  120. package/dist/core/doctor/legacy-global-hook-cleanup.js +179 -0
  121. package/dist/core/feature-fixture-executor.js +71 -7
  122. package/dist/core/feature-fixture-runner.js +53 -12
  123. package/dist/core/feature-fixtures.js +47 -14
  124. package/dist/core/feature-registry.js +53 -58
  125. package/dist/core/fsx.js +54 -6
  126. package/dist/core/harness-conflicts.js +19 -10
  127. package/dist/core/hooks-runtime/code-pack-freshness-preflight.js +5 -4
  128. package/dist/core/hooks-runtime/hook-invocation-dedupe.js +147 -0
  129. package/dist/core/hooks-runtime/hook-io.js +14 -4
  130. package/dist/core/hooks-runtime/light-turn.js +70 -0
  131. package/dist/core/hooks-runtime/payload-signals.js +270 -0
  132. package/dist/core/hooks-runtime/team-digest.js +0 -1
  133. package/dist/core/hooks-runtime/tool-output-quarantine.js +93 -0
  134. package/dist/core/hooks-runtime.js +418 -250
  135. package/dist/core/image/image-artifact-path-contract.js +8 -6
  136. package/dist/core/image/image-artifact-registry.js +5 -1
  137. package/dist/core/image-ux-review/imagegen-adapter.js +5 -2
  138. package/dist/core/imagegen/imagegen-capability.js +10 -13
  139. package/dist/core/imagegen/require-imagegen.js +37 -11
  140. package/dist/core/init/skills.js +16 -30
  141. package/dist/core/init.js +144 -36
  142. package/dist/core/managed-assets/managed-assets-manifest.js +417 -14
  143. package/dist/core/mission.js +24 -1
  144. package/dist/core/naruto/naruto-work-graph.js +70 -4
  145. package/dist/core/ops/reporting.js +3 -0
  146. package/dist/core/pipeline-internals/runtime-core.js +578 -180
  147. package/dist/core/pipeline-internals/runtime-gates.js +191 -49
  148. package/dist/core/ppt/style-tokens.js +1 -1
  149. package/dist/core/ppt-review/index.js +1 -1
  150. package/dist/core/ppt-review/slide-exporter.js +23 -17
  151. package/dist/core/ppt-review/slide-imagegen-review.js +1 -1
  152. package/dist/core/ppt-review/slide-issue-extraction.js +4 -2
  153. package/dist/core/preflight/parallel-preflight-engine.js +50 -1
  154. package/dist/core/product-design-plugin.js +2 -2
  155. package/dist/core/proof/route-finalizer.js +1 -1
  156. package/dist/core/proof/route-proof-gate.js +7 -2
  157. package/dist/core/proof-field.js +3 -3
  158. package/dist/core/provider/model-router.js +38 -32
  159. package/dist/core/recallpulse/policy.js +12 -28
  160. package/dist/core/recallpulse.js +11 -6
  161. package/dist/core/release/gate-manifest.js +18 -12
  162. package/dist/core/release/gate-pack-manifest.js +1 -1
  163. package/dist/core/release/npm-pack-proof.js +247 -0
  164. package/dist/core/release/package-dist-snapshot.js +151 -0
  165. package/dist/core/release/package-size-budget.js +5 -0
  166. package/dist/core/release/release-authorization-snapshot.js +115 -0
  167. package/dist/core/release/release-gate-affected-selector.js +15 -3
  168. package/dist/core/release/release-gate-cache-v2.js +30 -0
  169. package/dist/core/release/release-gate-contract.js +161 -0
  170. package/dist/core/release/release-gate-dag.js +44 -3
  171. package/dist/core/release/release-gate-hermetic-env.js +28 -17
  172. package/dist/core/release/release-real-contract.js +496 -0
  173. package/dist/core/release-parallel-full-coverage.js +31 -143
  174. package/dist/core/research/claim-evidence-matrix.js +41 -6
  175. package/dist/core/research/experiment-plan.js +14 -10
  176. package/dist/core/research/falsification.js +9 -2
  177. package/dist/core/research/implementation-blueprint-densifier.js +82 -60
  178. package/dist/core/research/implementation-blueprint.js +32 -26
  179. package/dist/core/research/mock-result.js +122 -11
  180. package/dist/core/research/replication-pack.js +15 -8
  181. package/dist/core/research/research-adversarial-review.js +1068 -0
  182. package/dist/core/research/research-claim-builder.js +69 -17
  183. package/dist/core/research/research-claim-synthesizer.js +343 -0
  184. package/dist/core/research/research-cycle-runner.js +53 -3
  185. package/dist/core/research/research-falsification-runner.js +176 -0
  186. package/dist/core/research/research-final-reviewer.js +44 -125
  187. package/dist/core/research/research-realistic-report.js +14 -6
  188. package/dist/core/research/research-review-artifact-digest.js +66 -0
  189. package/dist/core/research/research-source-evidence.js +144 -0
  190. package/dist/core/research/research-source-layer-catalog.js +68 -0
  191. package/dist/core/research/research-source-ledger-merge.js +250 -12
  192. package/dist/core/research/research-source-shards.js +26 -70
  193. package/dist/core/research/research-stage-runner.js +237 -247
  194. package/dist/core/research/research-super-search.js +184 -0
  195. package/dist/core/research/research-synthesis-prompt.js +20 -1
  196. package/dist/core/research/research-synthesis-writer.js +86 -5
  197. package/dist/core/research/research-work-graph.js +25 -18
  198. package/dist/core/research/source-quality-report.js +21 -0
  199. package/dist/core/research.js +429 -280
  200. package/dist/core/retention/retention-budget.js +25 -6
  201. package/dist/core/retention.js +980 -101
  202. package/dist/core/routes/constants.js +1 -1
  203. package/dist/core/routes/dollar-manifest-lite.js +11 -11
  204. package/dist/core/routes/evidence.js +4 -4
  205. package/dist/core/routes/ppt-policy.js +1 -1
  206. package/dist/core/routes.js +92 -64
  207. package/dist/core/runtime/task-profile.js +66 -0
  208. package/dist/core/runtime/verification-budget.js +12 -0
  209. package/dist/core/secret-redaction.js +4 -0
  210. package/dist/core/security/high-risk-contracts.js +6 -6
  211. package/dist/core/stop-gate/stop-gate-check.js +49 -12
  212. package/dist/core/subagents/agent-catalog.js +215 -0
  213. package/dist/core/subagents/model-policy.js +118 -0
  214. package/dist/core/subagents/naruto-help-contract.js +40 -0
  215. package/dist/core/subagents/official-subagent-config.js +488 -0
  216. package/dist/core/subagents/official-subagent-preparation.js +251 -0
  217. package/dist/core/subagents/official-subagent-prompt.js +137 -0
  218. package/dist/core/subagents/official-subagent-runner.js +129 -0
  219. package/dist/core/subagents/subagent-evidence.js +663 -0
  220. package/dist/core/subagents/terminology.js +16 -0
  221. package/dist/core/subagents/thread-budget.js +21 -0
  222. package/dist/core/subagents/triwiki-attention.js +65 -0
  223. package/dist/core/super-search/runtime-helpers.js +173 -19
  224. package/dist/core/super-search/runtime.js +140 -15
  225. package/dist/core/super-search/source-records.js +49 -8
  226. package/dist/core/team-review-policy.js +15 -0
  227. package/dist/core/triwiki/code-pack.js +8 -2
  228. package/dist/core/triwiki/triwiki-cache-key.js +108 -29
  229. package/dist/core/triwiki/triwiki-module-card.js +1 -1
  230. package/dist/core/triwiki-attention.js +13 -6
  231. package/dist/core/triwiki-provenance.js +274 -0
  232. package/dist/core/triwiki-runtime.js +21 -7
  233. package/dist/core/triwiki-wrongness/wrongness-ledger.js +187 -61
  234. package/dist/core/triwiki-wrongness/wrongness-retrieval.js +11 -2
  235. package/dist/core/triwiki-wrongness/wrongness-trust-policy.js +2 -0
  236. package/dist/core/update-check.js +23 -15
  237. package/dist/core/version-manager.js +51 -1
  238. package/dist/core/version.js +1 -1
  239. package/dist/core/wiki-coordinate.js +128 -12
  240. package/dist/core/work-order-ledger.js +208 -10
  241. package/dist/core/zellij/zellij-command.js +12 -1
  242. package/dist/core/zellij/zellij-dashboard-pane.js +3 -3
  243. package/dist/core/zellij/zellij-fake-adapter.js +3 -1
  244. package/dist/core/zellij/zellij-launcher.js +51 -21
  245. package/dist/core/zellij/zellij-layout-builder.js +14 -5
  246. package/dist/core/zellij/zellij-official-subagent-activity.js +477 -0
  247. package/dist/core/zellij/zellij-official-subagent-telemetry.js +264 -0
  248. package/dist/core/zellij/zellij-pane-proof.js +32 -6
  249. package/dist/core/zellij/zellij-slot-pane-renderer.js +17 -5
  250. package/dist/core/zellij/zellij-slot-telemetry.js +15 -3
  251. package/dist/core/zellij/zellij-ui-mode.js +1 -1
  252. package/dist/core/zellij/zellij-viewport-binder.js +3 -0
  253. package/dist/core/zellij/zellij-worker-pane-manager.js +5 -3
  254. package/dist/scripts/agent-fast-mode-default-check.js +48 -29
  255. package/dist/scripts/agent-role-config-repair-check.js +34 -15
  256. package/dist/scripts/agent-wiki-context-proof-check.js +16 -2
  257. package/dist/scripts/all-feature-deep-completion-check.js +14 -4
  258. package/dist/scripts/architecture-guard-check.js +8 -1
  259. package/dist/scripts/build-dist.js +17 -5
  260. package/dist/scripts/canonical-test-runner.js +188 -0
  261. package/dist/scripts/check-command-module-budget.js +38 -16
  262. package/dist/scripts/check-legacy-free.js +1 -1
  263. package/dist/scripts/check-route-modularity.js +0 -1
  264. package/dist/scripts/check-ts-contracts.js +1 -1
  265. package/dist/scripts/codex-0139-interrupt-agent-check.js +5 -1
  266. package/dist/scripts/{codex-0142-app-server-v2-check.js → codex-0144-app-server-v2-check.js} +11 -10
  267. package/dist/scripts/{codex-0142-binary-identity-check.js → codex-0144-binary-identity-check.js} +4 -4
  268. package/dist/scripts/codex-0144-capability-check.js +21 -0
  269. package/dist/scripts/{codex-0139-real-probes-check.js → codex-0144-core-real-probes-check.js} +19 -5
  270. package/dist/scripts/{codex-0142-doctor-wiring-check.js → codex-0144-doctor-wiring-check.js} +6 -6
  271. package/dist/scripts/{codex-0142-manifest-check.js → codex-0144-manifest-check.js} +11 -3
  272. package/dist/scripts/{codex-0142-policy-check.js → codex-0144-policy-check.js} +2 -2
  273. package/dist/scripts/{codex-0142-thread-store-check.js → codex-0144-thread-store-check.js} +3 -3
  274. package/dist/scripts/codex-app-provider-model-ui-check.js +53 -19
  275. package/dist/scripts/codex-app-ui-preservation-check.js +35 -4
  276. package/dist/scripts/codex-control-all-pipelines-check.js +7 -3
  277. package/dist/scripts/codex-control-side-effect-scope-check.js +2 -2
  278. package/dist/scripts/codex-control-tool-output-continuity-audit-check.js +27 -0
  279. package/dist/scripts/codex-effort-auto-discovery-check.js +1 -1
  280. package/dist/scripts/codex-lb-fast-mode-truth-check.js +1 -0
  281. package/dist/scripts/{codex-lb-gpt55-fast-profile-check.js → codex-lb-gpt56-fast-profile-check.js} +56 -5
  282. package/dist/scripts/codex-model-metadata-check.js +1 -1
  283. package/dist/scripts/codex-native-agent-role-content-check.js +15 -7
  284. package/dist/scripts/codex-native-repair-transaction-check.js +3 -1
  285. package/dist/scripts/codex-sdk-all-pipelines-check.js +7 -4
  286. package/dist/scripts/codex-sdk-research-pipeline-check.js +30 -8
  287. package/dist/scripts/codex-sdk-sandbox-policy-check.js +5 -1
  288. package/dist/scripts/codex-sdk-version-compat-check.js +2 -1
  289. package/dist/scripts/db-route-materialization-check.js +33 -0
  290. package/dist/scripts/dfix-fixture-check.js +1 -1
  291. package/dist/scripts/docs-truthfulness-check.js +4 -2
  292. package/dist/scripts/doctor-codex-startup-repair-check.js +47 -25
  293. package/dist/scripts/doctor-context7-repair-check.js +2 -1
  294. package/dist/scripts/doctor-fix-production-blackbox.js +12 -2
  295. package/dist/scripts/doctor-fixes-codex-app-fast-ui-check.js +34 -7
  296. package/dist/scripts/doctor-imagegen-repair-check.js +14 -4
  297. package/dist/scripts/doctor-startup-config-repair-blackbox.js +9 -3
  298. package/dist/scripts/doctor-startup-config-repair-check.js +13 -3
  299. package/dist/scripts/install-update-preserves-config-check.js +7 -2
  300. package/dist/scripts/legacy-gate-inventory-check.js +7 -5
  301. package/dist/scripts/legacy-strong-inventory-check.js +7 -5
  302. package/dist/scripts/legacy-upgrade-matrix-check.js +4 -4
  303. package/dist/scripts/lib/native-cli-session-swarm-check-lib.js +173 -13
  304. package/dist/scripts/mad-sks-app-ui-no-mutation-check.js +165 -6
  305. package/dist/scripts/managed-role-manifest-parity-check.js +5 -4
  306. package/dist/scripts/mutation-callsite-coverage-check.js +0 -11
  307. package/dist/scripts/naruto-codex-e2e-check.js +14 -7
  308. package/dist/scripts/naruto-shadow-clone-swarm-check.js +4 -201
  309. package/dist/scripts/npm-publish-performance-check.js +20 -12
  310. package/dist/scripts/official-subagent-workflow-check.js +145 -0
  311. package/dist/scripts/package-published-contract-check.js +6 -20
  312. package/dist/scripts/packlist-performance-check.js +17 -3
  313. package/dist/scripts/parallel-verification-engine-check.js +2 -2
  314. package/dist/scripts/postinstall-safe-side-effects-check.js +8 -3
  315. package/dist/scripts/ppt-no-mock-as-real-check.js +3 -1
  316. package/dist/scripts/prepublish-release-check-or-fast.js +23 -86
  317. package/dist/scripts/product-design-plugin-routing-check.js +1 -1
  318. package/dist/scripts/release-affected-selector-check.js +74 -1
  319. package/dist/scripts/release-check-stamp.js +324 -239
  320. package/dist/scripts/release-dag-full-coverage-check.js +7 -15
  321. package/dist/scripts/release-dynamic-presets-check.js +10 -1
  322. package/dist/scripts/release-gate-dag-runner-check.js +3 -3
  323. package/dist/scripts/release-gate-dag-runner.js +35 -11
  324. package/dist/scripts/release-gate-existence-audit.js +1 -2
  325. package/dist/scripts/release-gate-script-parity-check.js +1 -1
  326. package/dist/scripts/release-parallel-full-coverage-check.js +12 -6
  327. package/dist/scripts/release-parallel-speed-budget-check.js +18 -2
  328. package/dist/scripts/release-real-check.js +390 -157
  329. package/dist/scripts/release-registry-check.js +61 -16
  330. package/dist/scripts/release-runtime-truth-matrix-check.js +22 -0
  331. package/dist/scripts/research-blueprint-densifier-check.js +2 -2
  332. package/dist/scripts/research-real-cycle-no-legacy-final-md-check.js +11 -7
  333. package/dist/scripts/route-proof-artifact-structure-check.js +1 -0
  334. package/dist/scripts/search-visibility-gate-lib.js +1 -1
  335. package/dist/scripts/seo-geo-route-identity-check.js +30 -4
  336. package/dist/scripts/sizecheck.js +4 -4
  337. package/dist/scripts/sks-1-11-gate-lib.js +53 -6
  338. package/dist/scripts/sks-3-1-4-directive-check-lib.js +8 -2
  339. package/dist/scripts/sks-3-1-5-directive-check-lib.js +3 -2
  340. package/dist/scripts/sks-3-1-6-directive-check-lib.js +5 -3
  341. package/dist/scripts/sks-menubar-install-check.js +8 -0
  342. package/dist/scripts/sks-uninstall-regression-check.js +1 -1
  343. package/dist/scripts/sksd-daemon-check.js +16 -6
  344. package/dist/scripts/trust-fixture-check.js +32 -10
  345. package/dist/scripts/write-build-manifest.js +2 -1
  346. package/dist/scripts/wrongness-fixture-check.js +1 -1
  347. package/dist/scripts/zellij-layout-valid-check.js +36 -11
  348. package/dist/scripts/zellij-pane-proof-check.js +33 -2
  349. package/dist/scripts/zellij-real-session-cleanup-check.js +122 -2
  350. package/dist/scripts/zellij-real-session-launch-check.js +76 -5
  351. package/dist/scripts/zellij-slot-pane-renderer-check.js +4 -4
  352. package/dist/scripts/zellij-spawn-on-demand-layout-check.js +3 -3
  353. package/docs/demo.tape +1 -1
  354. package/infra-harness-gates.json +1486 -0
  355. package/package.json +32 -19
  356. package/release-gates.v2.json +4060 -0
  357. package/runtime-required-scripts.json +9 -0
  358. package/schemas/codex/{app-server-0.142 → app-server-0.144}/codex_app_server_protocol.v2.schemas.json +1146 -781
  359. package/schemas/codex/codex-0139-real-probe-result.schema.json +39 -5
  360. package/schemas/codex/ppt-slide-issue-ledger.schema.json +2 -1
  361. package/dist/commands/db.js +0 -6
  362. package/dist/core/codex-control/codex-0139-multi-agent-real-probe.js +0 -107
  363. package/dist/core/commands/db-command.js +0 -146
  364. package/dist/core/research/prompt.js +0 -15
  365. package/dist/scripts/agent-native-release-gate.js +0 -274
  366. package/dist/scripts/codex-0142-capability-check.js +0 -21
  367. package/dist/scripts/codex-control-tool-call-sequence-repair-check.js +0 -14
  368. package/dist/scripts/command-performance-scorecard-check.js +0 -204
  369. package/dist/scripts/config-managed-merge-callsite-coverage-check.js +0 -212
  370. package/dist/scripts/dollar-performance-scorecard-check.js +0 -257
  371. package/dist/scripts/gate-timing-check.js +0 -16
  372. package/dist/scripts/ops-maturity-scorecard-check.js +0 -12
  373. package/dist/scripts/performance-baseline-check.js +0 -12
  374. package/dist/scripts/performance-improvement-report-check.js +0 -58
  375. package/dist/scripts/release-parallel-check.js +0 -389
  376. package/dist/scripts/release-runner-efficiency-check.js +0 -15
  377. package/dist/scripts/retention-long-run-smoke-check.js +0 -299
  378. package/docs/assets/sneakoscope-architecture-pipeline.jpg +0 -0
@@ -1,39 +1,39 @@
1
1
  {
2
2
  "schema": "sks.skills-manifest.v1",
3
- "package_version": "6.0.3",
3
+ "package_version": "6.1.2",
4
4
  "skills": [
5
5
  {
6
6
  "canonical_name": "answer",
7
7
  "type": "official",
8
- "content_sha256": "e998c82f639a65f8191d2848c70343c44085b2b94364606f0e3407d3184ffe5c",
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": "3af85d06e7cd5c51fe69d7ab4a3a215f44a9a03193f3baac41eed6e43bed0b1c",
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": "9a34dc195385f2767e213f7043bf6aa63b43cdb2728d42a996dc3b36bde527d9",
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": "8487490b9c1100cb4ac9dc4eba6f5774793cfaa3213186b000672bbb8e6e8a73",
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": "014791a3d63090f53d377546f449ccacd2fec6b11852fb7b7899643f2c20e74b",
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": "60f234d1eccc9255721480c0da99ecff8121821906ba3ecbe2fb20e55fc12768",
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": "65b2418c650f2bea80ae6bba7dd199c3919572f58d9296d029baa60ed1a90392",
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": "29a8e81370c41bf16822917c3c31685838550222e8a7168ecb70e9ef6a07c097",
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": "ddb3c89eaf1bdb8f82f6fcdf1dedbd433a5a4b6574fa2c1c667b27ce6fe5baef",
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": "f5ba39e2c74930a6890ab408b4003a21b750796492f463c88d1ea2b973a0a6e6",
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": "2cbab24b56f24442b2fa5874231c32c880ea66cf64508eeefd01a4c63e656b71",
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": "0b59b0a0bcf6e386e4c3c5e81d2d1e5e0e98634ed6d5f1e6450f298804842b8d",
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": "08c285001dc9ed9ed7cc386c54ea0d02315a6e044dd67c30f620fdc635a29592",
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": "db81f997da605cd90fa1b5d39b2dad2e82ccfcfe9088c68f8d8c612b3abac05c",
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": "694491229134275470ac4a402cccfebdb990ddcabd57bc9b6e7311ce7d491050",
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": "414752ae9f6ff0d16b10d9789facc9519e488e6428b997b5ff6792e1acbbfa3f",
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": "99e7a28c48ec7048af7521dee0985275599ebc9dc592970be24c1840319418dc",
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": "e613001d95ce7b6dc12995a0cf33fa0ddc566fc1d4d7c394c28eaae31ac39689",
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": "d404f45e52e0e007b3200d7cf06caa52895f04b569ea9f155b1c08e46ab7483d",
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": "fd2b06d9bf302491dd8f5f820c152fddd8e9de8c44df22bf28fcf9cba4cf3b2c",
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": "93ae86625c59e99e72b367b88aa3ea93f1fda18629ab4f1a9fa442f3d6425e45",
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": "6a716ed8234eb15ca427a2a5e936d1e03a99957081bdcea78f7ddcb29b1963d3",
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": "d752456bfcc8106ee6a01aeb4c1d4492a5958bb6d3b5b5c4995e579772863b2f",
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": "98e1d87c0af00dd38755324106ac7bc09e7f2bdef1406d8554b90f2ad1cf7590",
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": "b15cb21b54cd5e118ed4b7a1ba56572a83babb712f22ce4e91be678b16b26786",
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": "26af00319b576912ae82af6da5241f492e61ed1b0f72553d76dcf92f830f5d90",
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": "f652e708b8ffa70afb624497e556d221026970f05917a76759c9f9feed3d4ed9",
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": "f15c4e3021e5a6e65e52f2925c7433e7f4a723341ddec662137cd021600b394a",
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": "153c4efedb5701e6c75f03630132ddfe043132caeda06c01b10efad6684775b1",
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": "437e7f168f4cdeaa5e06a6f2cd2ed3bd9a9e75240b433d1ae3c0d81f23108891",
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": "71cc549b340214fe1a2b6ff27452fd5fbca0779e9680cbc5c8e4e45359480dea",
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": "bf4be09ca0412ca5d87e8800fe54fdc342efc5c60d44859385f78d27c27caa51",
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": "ffff2cad9262d330a6740fc11024948198f1c72d38f2e37eaf1b1ce9b342ff76",
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": "841db442ffb485448fbf8698a9adfd4a7df073a26e681d92c2b9b0777706fb4c",
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": "89a57d045b6b24b0fd1b42599fab815deb5654ef464e4579af8aeaf79715447b",
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": "bdcfd0876d782c1e247f97f5939c3784d2030c3ccfa975aac47a58a5c2dcdda9",
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": "720fa5ddb9f49097aefed8d12ff7de3afb9046849f2dc7bf09a96d0126ec22c2",
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": "2feb0bfe8c7655c82335f4fa8ae60218c2c1fe95718ce1482918b008447f6916",
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": "732243caf4830d9ad2c99db9365db85e0b3739c8a6c61c0aa955b35e2c18f486",
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": "b127ab6be25489aeda913e5e3ec7f9d6c0a7ba5e4ffdc96466d20382aedb63f3",
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": "4258d3afee6e750508a90a0cec8acad89ec9931f10c39ee24dff73dccb85404d",
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": "6845dc46498811e05271def534d98f4eda5d58e91e7baae0488da0f84762a127",
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": "e5a08cb754c3914aca87d3bc20abe7f2e3d2d9ab1605e493d44c7eebaffdf0b0",
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": "09b20a30e60426eeed54d6d846f8fba965afd3fd816108a392670bac2c80c57c",
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": "995a08ef4c2096610778b16ae967895a2b46dc116372b15bb4ec1eb7821a68cc",
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": "71a612120bd5ba44f5f353195f850fb172bf143c9983cd9368922b847c6f0059",
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": "ffc21a16b55b7ecd2774b35859d66060ee05e6042a9b4d15764789b2f85fb476",
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": "be28190c14eb8df6710f2ee6455e59ec341bc7d72cf263761c675054ece55930",
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": "1f36adb488557888dabde7495853ad6e4c1277904ce23c31830fcf425204e883",
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": "0e2bb12ce86d9020f39aa3c8d467d0d3143aa6e86630eb853e8834f332343824",
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": "a4fc3ab516236f42df395eaf546f46875d6d910cdcb3fb5153c5ae60ad8e1352",
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": "a2514e295d5f6f284d8e9f522f7d61886ca1d4173d377638b81c5413158b7359",
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": "af1e65dbb007b1da4e6c8ff34d62d67bdfdf8b74965ada7358f4281181096e2d",
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": "a098b58470ccb56ad7a72b49e718a8fdcdcbf2d452f5d17481d3cda113c6b750",
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": "d088553c047d99ca6ba27fa1dec6866ab98d5b29ef01342969b178dd910c9509",
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": "16bcc1dfc7ae3d2b4337cbe6033b5fc84d86d810bfd06c3699a228d7c2854cd0",
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
@@ -81,6 +81,15 @@ export async function initializeAgentCentralLedger(missionDir, input) {
81
81
  heartbeat_at: null
82
82
  }]));
83
83
  await writeJsonAtomic(path.join(root, 'agent-sessions.json'), { schema: 'sks.agent-sessions.v1', mission_id: input.missionId, sessions });
84
+ await writeJsonAtomic(path.join(root, 'agent-session-cleanup.json'), {
85
+ schema: 'sks.agent-session-cleanup.v1',
86
+ generated_at: nowIso(),
87
+ source: 'agent-central-ledger-initialization',
88
+ total_sessions: Object.keys(sessions).length,
89
+ terminal_session_count: 0,
90
+ all_sessions_closed: false,
91
+ all_sessions_terminal: false
92
+ });
84
93
  await writeJsonAtomic(path.join(root, 'agent-roster.json'), input.roster);
85
94
  await writeJsonAtomic(path.join(root, 'agent-personas.json'), { schema: 'sks.agent-personas.v1', personas: input.roster.personas || [] });
86
95
  await writeJsonAtomic(path.join(root, 'agent-effort-policy.json'), input.roster.effort_policy || { schema: 'sks.agent-effort-policy.v1', dynamic: true, decisions: [] });