sneakoscope 6.0.2 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (242) hide show
  1. package/README.md +5 -3
  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/cli/install-helpers.js +255 -440
  6. package/dist/cli/router.js +53 -4
  7. package/dist/commands/codex-app.js +8 -3
  8. package/dist/commands/codex-lb.js +169 -40
  9. package/dist/commands/codex.js +6 -5
  10. package/dist/commands/doctor.js +60 -26
  11. package/dist/commands/versioning.js +7 -0
  12. package/dist/config/skills-manifest.json +57 -57
  13. package/dist/core/agents/agent-central-ledger.js +9 -0
  14. package/dist/core/agents/agent-cleanup-executor.js +334 -41
  15. package/dist/core/agents/agent-cleanup.js +20 -1
  16. package/dist/core/agents/agent-command-surface.js +2 -1
  17. package/dist/core/agents/agent-effort-policy.js +46 -33
  18. package/dist/core/agents/agent-janitor.js +9 -10
  19. package/dist/core/agents/agent-namespace-safety.js +56 -0
  20. package/dist/core/agents/agent-orchestrator.js +26 -4
  21. package/dist/core/agents/agent-output-validator.js +1 -1
  22. package/dist/core/agents/agent-proof-evidence.js +16 -2
  23. package/dist/core/agents/agent-role-config.js +3 -6
  24. package/dist/core/agents/agent-roster.js +2 -2
  25. package/dist/core/agents/agent-runner-codex-exec.js +2 -0
  26. package/dist/core/agents/agent-runner-process.js +1 -0
  27. package/dist/core/agents/fast-mode-policy.js +3 -5
  28. package/dist/core/agents/native-cli-session-swarm.js +18 -1
  29. package/dist/core/agents/native-worker-backend-router.js +180 -108
  30. package/dist/core/agents/parallel-write-fixture.js +15 -10
  31. package/dist/core/agents/runtime-proof-summary.js +21 -3
  32. package/dist/core/agents/work-partition/repo-inventory.js +68 -7
  33. package/dist/core/code-structure.js +5 -4
  34. package/dist/core/codex/codex-config-guard.js +31 -9
  35. package/dist/core/codex-app/codex-app-fast-ui-repair.js +51 -20
  36. package/dist/core/codex-app/codex-app-restart.js +38 -8
  37. package/dist/core/codex-app/codex-app-ui-state-snapshot.js +11 -3
  38. package/dist/core/codex-app/sks-menubar.js +100 -40
  39. package/dist/core/codex-app.js +60 -17
  40. package/dist/core/codex-compat/codex-hook-warning-detector.js +10 -1
  41. package/dist/core/codex-compat/codex-release-manifest.js +6 -6
  42. package/dist/core/codex-control/codex-0139-doctor-real-probe.js +7 -1
  43. package/dist/core/codex-control/codex-0139-image-path-real-probe.js +14 -8
  44. package/dist/core/codex-control/codex-0139-probe-runner.js +103 -28
  45. package/dist/core/codex-control/codex-0139-real-probe-summary.js +7 -3
  46. package/dist/core/codex-control/codex-0139-real-probes.js +21 -6
  47. package/dist/core/codex-control/codex-0139-sandbox-real-probe.js +39 -13
  48. package/dist/core/codex-control/codex-0139-web-search-probe.js +11 -8
  49. package/dist/core/codex-control/{codex-0142-capability.js → codex-0144-capability.js} +22 -22
  50. package/dist/core/codex-control/codex-0144-collab-agent-real-probe.js +63 -0
  51. package/dist/core/codex-control/codex-model-metadata.js +8 -4
  52. package/dist/core/codex-control/codex-multi-agent-event-normalizer.js +5 -1
  53. package/dist/core/codex-control/codex-reliability-shield.js +4 -1
  54. package/dist/core/codex-control/codex-sdk-adapter.js +53 -6
  55. package/dist/core/codex-control/codex-sdk-config-policy.js +2 -1
  56. package/dist/core/codex-control/codex-sdk-sandbox-policy.js +6 -3
  57. package/dist/core/codex-lb/codex-lb-env.js +107 -0
  58. package/dist/core/codex-lb/codex-lb-tool-catalog.js +478 -0
  59. package/dist/core/codex-native/codex-native-feature-broker.js +22 -22
  60. package/dist/core/codex-native/codex-native-feature-matrix.js +2 -2
  61. package/dist/core/codex-native/native-capability-postcheck.js +16 -8
  62. package/dist/core/codex-native/native-capability-repair-matrix.js +76 -27
  63. package/dist/core/codex-plugins/codex-plugin-json.js +67 -21
  64. package/dist/core/codex-plugins/codex-plugin-repair.js +118 -0
  65. package/dist/core/codex-runtime/codex-desktop-config-policy.js +306 -0
  66. package/dist/core/commands/agent-command.js +19 -0
  67. package/dist/core/commands/basic-cli.js +45 -24
  68. package/dist/core/commands/gc-command.js +27 -4
  69. package/dist/core/commands/image-ux-review-command.js +55 -24
  70. package/dist/core/commands/mad-sks-command.js +152 -132
  71. package/dist/core/commands/naruto-command.js +41 -10
  72. package/dist/core/commands/pipeline-command.js +1 -0
  73. package/dist/core/commands/wiki-command.js +179 -83
  74. package/dist/core/computer-use-live-evidence.js +166 -3
  75. package/dist/core/computer-use-status.js +5 -2
  76. package/dist/core/daemon/sksd-hook-daemon-entrypoint.js +2 -2
  77. package/dist/core/daemon/sksd-hook-daemon.js +171 -28
  78. package/dist/core/daemon/sksd-hook-dispatch.js +2 -2
  79. package/dist/core/dfix/verification-selector.js +6 -4
  80. package/dist/core/doctor/browser-use-repair.js +54 -13
  81. package/dist/core/doctor/codex-0139-doctor.js +3 -2
  82. package/dist/core/doctor/computer-use-repair.js +28 -39
  83. package/dist/core/doctor/doctor-codex-startup-repair.js +19 -9
  84. package/dist/core/doctor/doctor-context7-repair.js +1 -1
  85. package/dist/core/doctor/doctor-dirty-planner.js +1 -1
  86. package/dist/core/doctor/doctor-native-capability-repair.js +74 -3
  87. package/dist/core/doctor/imagegen-repair.js +47 -12
  88. package/dist/core/doctor/legacy-global-hook-cleanup.js +179 -0
  89. package/dist/core/feature-registry.js +25 -31
  90. package/dist/core/fsx.js +54 -6
  91. package/dist/core/harness-conflicts.js +1 -1
  92. package/dist/core/hooks-runtime/code-pack-freshness-preflight.js +5 -4
  93. package/dist/core/hooks-runtime/hook-invocation-dedupe.js +147 -0
  94. package/dist/core/hooks-runtime/hook-io.js +6 -0
  95. package/dist/core/hooks-runtime.js +17 -2
  96. package/dist/core/image/image-artifact-path-contract.js +8 -6
  97. package/dist/core/image/image-artifact-registry.js +5 -1
  98. package/dist/core/image-ux-review/imagegen-adapter.js +5 -2
  99. package/dist/core/imagegen/imagegen-capability.js +10 -13
  100. package/dist/core/imagegen/require-imagegen.js +37 -11
  101. package/dist/core/managed-assets/managed-assets-manifest.js +1 -5
  102. package/dist/core/naruto/naruto-work-graph.js +70 -4
  103. package/dist/core/naruto/naruto-write-e2e.js +3 -4
  104. package/dist/core/ops/reporting.js +3 -0
  105. package/dist/core/pipeline-internals/runtime-core.js +12 -7
  106. package/dist/core/pipeline-internals/runtime-gates.js +17 -1
  107. package/dist/core/ppt/style-tokens.js +1 -1
  108. package/dist/core/ppt-review/index.js +1 -1
  109. package/dist/core/ppt-review/slide-exporter.js +23 -17
  110. package/dist/core/ppt-review/slide-imagegen-review.js +1 -1
  111. package/dist/core/ppt-review/slide-issue-extraction.js +4 -2
  112. package/dist/core/product-design-plugin.js +2 -2
  113. package/dist/core/proof/route-finalizer.js +1 -1
  114. package/dist/core/proof-field.js +3 -3
  115. package/dist/core/provider/model-router.js +68 -3
  116. package/dist/core/release/gate-manifest.js +18 -12
  117. package/dist/core/release/gate-pack-manifest.js +1 -1
  118. package/dist/core/release/package-size-budget.js +2 -0
  119. package/dist/core/release/release-gate-affected-selector.js +1 -1
  120. package/dist/core/release/release-gate-dag.js +43 -3
  121. package/dist/core/release/release-gate-hermetic-env.js +28 -17
  122. package/dist/core/release/release-real-contract.js +416 -0
  123. package/dist/core/retention/retention-budget.js +25 -6
  124. package/dist/core/retention.js +980 -101
  125. package/dist/core/routes/constants.js +1 -1
  126. package/dist/core/routes/evidence.js +4 -4
  127. package/dist/core/routes/model-mode-router.js +3 -0
  128. package/dist/core/routes/ppt-policy.js +1 -1
  129. package/dist/core/routes.js +11 -12
  130. package/dist/core/secret-redaction.js +4 -0
  131. package/dist/core/triwiki/code-pack.js +8 -2
  132. package/dist/core/triwiki/triwiki-cache-key.js +108 -29
  133. package/dist/core/triwiki-attention.js +13 -6
  134. package/dist/core/triwiki-provenance.js +274 -0
  135. package/dist/core/triwiki-runtime.js +21 -7
  136. package/dist/core/triwiki-wrongness/wrongness-ledger.js +178 -59
  137. package/dist/core/triwiki-wrongness/wrongness-retrieval.js +11 -2
  138. package/dist/core/triwiki-wrongness/wrongness-trust-policy.js +2 -0
  139. package/dist/core/update/update-migration-state.js +1 -1
  140. package/dist/core/update/update-notice.js +23 -0
  141. package/dist/core/update-check.js +69 -25
  142. package/dist/core/version.js +1 -1
  143. package/dist/core/wiki-coordinate.js +128 -12
  144. package/dist/core/work-order-ledger.js +168 -9
  145. package/dist/core/zellij/zellij-command.js +12 -1
  146. package/dist/core/zellij/zellij-dashboard-pane.js +3 -3
  147. package/dist/core/zellij/zellij-launcher.js +15 -14
  148. package/dist/core/zellij/zellij-pane-proof.js +32 -6
  149. package/dist/core/zellij/zellij-worker-pane-manager.js +5 -3
  150. package/dist/scripts/agent-fast-mode-default-check.js +48 -29
  151. package/dist/scripts/agent-role-config-repair-check.js +25 -4
  152. package/dist/scripts/agent-wiki-context-proof-check.js +16 -2
  153. package/dist/scripts/all-feature-deep-completion-check.js +14 -4
  154. package/dist/scripts/build-dist.js +17 -5
  155. package/dist/scripts/canonical-test-runner.js +188 -0
  156. package/dist/scripts/check-command-module-budget.js +38 -16
  157. package/dist/scripts/check-legacy-free.js +1 -1
  158. package/dist/scripts/codex-0139-interrupt-agent-check.js +5 -1
  159. package/dist/scripts/{codex-0142-app-server-v2-check.js → codex-0144-app-server-v2-check.js} +11 -10
  160. package/dist/scripts/{codex-0142-binary-identity-check.js → codex-0144-binary-identity-check.js} +4 -4
  161. package/dist/scripts/codex-0144-capability-check.js +21 -0
  162. package/dist/scripts/{codex-0139-real-probes-check.js → codex-0144-core-real-probes-check.js} +19 -5
  163. package/dist/scripts/{codex-0142-doctor-wiring-check.js → codex-0144-doctor-wiring-check.js} +6 -6
  164. package/dist/scripts/{codex-0142-manifest-check.js → codex-0144-manifest-check.js} +11 -3
  165. package/dist/scripts/{codex-0142-policy-check.js → codex-0144-policy-check.js} +2 -2
  166. package/dist/scripts/{codex-0142-thread-store-check.js → codex-0144-thread-store-check.js} +3 -3
  167. package/dist/scripts/codex-app-provider-model-ui-check.js +57 -8
  168. package/dist/scripts/codex-app-ui-preservation-check.js +35 -4
  169. package/dist/scripts/codex-control-side-effect-scope-check.js +2 -2
  170. package/dist/scripts/codex-effort-auto-discovery-check.js +1 -1
  171. package/dist/scripts/codex-lb-fast-mode-truth-check.js +1 -0
  172. package/dist/scripts/{codex-lb-gpt55-fast-profile-check.js → codex-lb-gpt56-fast-profile-check.js} +56 -5
  173. package/dist/scripts/codex-model-metadata-check.js +1 -1
  174. package/dist/scripts/codex-sdk-sandbox-policy-check.js +5 -1
  175. package/dist/scripts/codex-sdk-version-compat-check.js +2 -1
  176. package/dist/scripts/dfix-fixture-check.js +1 -1
  177. package/dist/scripts/docs-truthfulness-check.js +1 -1
  178. package/dist/scripts/doctor-codex-startup-repair-check.js +35 -10
  179. package/dist/scripts/doctor-context7-repair-check.js +2 -1
  180. package/dist/scripts/doctor-fix-proves-codex-read-check.js +1 -1
  181. package/dist/scripts/doctor-fixes-codex-app-fast-ui-check.js +34 -7
  182. package/dist/scripts/doctor-imagegen-repair-check.js +14 -4
  183. package/dist/scripts/doctor-startup-config-repair-blackbox.js +1 -1
  184. package/dist/scripts/doctor-startup-config-repair-check.js +1 -1
  185. package/dist/scripts/gate-policy-audit-check.js +2 -2
  186. package/dist/scripts/install-update-preserves-config-check.js +1 -1
  187. package/dist/scripts/legacy-gate-inventory-check.js +7 -5
  188. package/dist/scripts/legacy-strong-inventory-check.js +7 -5
  189. package/dist/scripts/legacy-upgrade-matrix-check.js +5 -5
  190. package/dist/scripts/lib/native-cli-session-swarm-check-lib.js +175 -14
  191. package/dist/scripts/mad-sks-app-ui-no-mutation-check.js +166 -6
  192. package/dist/scripts/mutation-callsite-coverage-check.js +0 -11
  193. package/dist/scripts/naruto-shadow-clone-swarm-check.js +88 -50
  194. package/dist/scripts/npm-publish-performance-check.js +2 -1
  195. package/dist/scripts/package-published-contract-check.js +9 -0
  196. package/dist/scripts/packlist-performance-check.js +5 -2
  197. package/dist/scripts/postinstall-safe-side-effects-check.js +8 -3
  198. package/dist/scripts/ppt-no-mock-as-real-check.js +3 -1
  199. package/dist/scripts/product-design-plugin-routing-check.js +1 -1
  200. package/dist/scripts/release-check-stamp.js +182 -2
  201. package/dist/scripts/release-dag-full-coverage-check.js +7 -7
  202. package/dist/scripts/release-dynamic-presets-check.js +8 -0
  203. package/dist/scripts/release-gate-dag-runner-check.js +3 -2
  204. package/dist/scripts/release-gate-dag-runner.js +24 -11
  205. package/dist/scripts/release-gate-existence-audit.js +8 -9
  206. package/dist/scripts/release-gate-script-parity-check.js +1 -1
  207. package/dist/scripts/release-real-check.js +368 -157
  208. package/dist/scripts/release-runtime-truth-matrix-check.js +22 -0
  209. package/dist/scripts/route-proof-artifact-structure-check.js +1 -0
  210. package/dist/scripts/scheduler-batch-dispatch-check.js +1 -1
  211. package/dist/scripts/search-visibility-gate-lib.js +1 -1
  212. package/dist/scripts/seo-geo-route-identity-check.js +30 -4
  213. package/dist/scripts/sizecheck.js +7 -2
  214. package/dist/scripts/sks-1-11-gate-lib.js +53 -6
  215. package/dist/scripts/sks-menubar-install-check.js +7 -0
  216. package/dist/scripts/sks-uninstall-regression-check.js +1 -1
  217. package/dist/scripts/sksd-daemon-check.js +16 -6
  218. package/dist/scripts/update-default-command-check.js +4 -2
  219. package/dist/scripts/write-build-manifest.js +2 -1
  220. package/dist/scripts/zellij-layout-valid-check.js +31 -6
  221. package/dist/scripts/zellij-pane-proof-check.js +33 -2
  222. package/dist/scripts/zellij-real-session-cleanup-check.js +122 -2
  223. package/dist/scripts/zellij-real-session-launch-check.js +76 -5
  224. package/dist/scripts/zellij-slot-pane-renderer-check.js +4 -4
  225. package/package.json +27 -30
  226. package/schemas/codex/{app-server-0.142 → app-server-0.144}/codex_app_server_protocol.v2.schemas.json +1146 -781
  227. package/schemas/codex/codex-0139-real-probe-result.schema.json +39 -5
  228. package/schemas/codex/ppt-slide-issue-ledger.schema.json +2 -1
  229. package/dist/core/codex-control/codex-0139-multi-agent-real-probe.js +0 -107
  230. package/dist/scripts/agent-native-release-gate.js +0 -274
  231. package/dist/scripts/codex-0142-capability-check.js +0 -21
  232. package/dist/scripts/command-performance-scorecard-check.js +0 -204
  233. package/dist/scripts/config-managed-merge-callsite-coverage-check.js +0 -212
  234. package/dist/scripts/dollar-performance-scorecard-check.js +0 -257
  235. package/dist/scripts/gate-timing-check.js +0 -16
  236. package/dist/scripts/ops-maturity-scorecard-check.js +0 -12
  237. package/dist/scripts/performance-baseline-check.js +0 -12
  238. package/dist/scripts/performance-improvement-report-check.js +0 -58
  239. package/dist/scripts/release-parallel-check.js +0 -389
  240. package/dist/scripts/release-runner-efficiency-check.js +0 -15
  241. package/dist/scripts/retention-long-run-smoke-check.js +0 -299
  242. package/docs/assets/sneakoscope-architecture-pipeline.jpg +0 -0
@@ -25,6 +25,7 @@ import { isUpdateMigrationReceiptCurrent, projectUpdateMigrationReceiptPath, wri
25
25
  import { inspectSksMenuBarStatus, installSksMenuBar } from '../core/codex-app/sks-menubar.js';
26
26
  import { sweepSksTempDirs } from '../core/retention.js';
27
27
  import { detectImagegenCapability } from '../core/imagegen/imagegen-capability.js';
28
+ import { CURRENT_CODEX_RELEASE_MANIFEST } from '../core/codex-compat/codex-release-manifest.js';
28
29
  export async function run(_command, args = []) {
29
30
  const root = await projectRoot();
30
31
  const doctorFix = flag(args, '--fix');
@@ -773,30 +774,48 @@ async function runDoctor(args = [], root, doctorFix) {
773
774
  : null;
774
775
  const shouldProbeNativeCapabilityRepairs = doctorFix || deepDiagnostics || nativeCapabilityDiagnosticsRequested;
775
776
  const imagegen = await detectImagegenCapability({ codexBin: codexBin || undefined }).catch((err) => ({ ok: false, error: err.message, auth_readiness: null, core_ready: false, blockers: ['imagegen_detection_exception'] }));
776
- const imagegenRepair = imagegen.core_ready === true
777
- ? {
777
+ const imagegenRepair = shouldProbeNativeCapabilityRepairs
778
+ ? await (await import('../core/doctor/imagegen-repair.js')).repairCodexImagegen({ root, apply: doctorFix, codexBin: codexBin || null }).catch((err) => ({
778
779
  schema: 'sks.doctor-imagegen-repair.v1',
779
- ok: true,
780
- attempted: false,
780
+ ok: false,
781
+ attempted: true,
781
782
  apply: doctorFix,
782
- recovered: true,
783
- before: imagegen,
784
- after: imagegen,
785
- steps: [],
786
- blockers: [],
787
- manual_actions: [],
788
- communication_test: { level: 'flag_level', ok: true, checked: 'codex features list --json (feature-flag/plugin metadata only)', real_generation_round_trip_performed: false, blocker: null }
789
- }
790
- : shouldProbeNativeCapabilityRepairs
791
- ? await (await import('../core/doctor/imagegen-repair.js')).repairCodexImagegen({ root, apply: doctorFix, codexBin: codexBin || null }).catch((err) => ({
783
+ recovered: false,
784
+ capability_ready: false,
785
+ route_ready: false,
786
+ real_generation_verified: false,
787
+ blockers: [err?.message || String(err)],
788
+ manual_actions: ['Run `sks doctor --fix --json` after enabling Codex App image_generation.']
789
+ }))
790
+ : imagegen.core_ready === true
791
+ ? {
792
792
  schema: 'sks.doctor-imagegen-repair.v1',
793
793
  ok: false,
794
- attempted: true,
794
+ attempted: false,
795
795
  apply: doctorFix,
796
796
  recovered: false,
797
- blockers: [err?.message || String(err)],
798
- manual_actions: ['Run `sks doctor --fix --json` after enabling Codex App image_generation.']
799
- }))
797
+ capability_ready: true,
798
+ configuration_ready: true,
799
+ route_ready: false,
800
+ real_generation_verified: false,
801
+ current_task_tool_manifest_verified: false,
802
+ requires_new_task: true,
803
+ before: imagegen,
804
+ after: imagegen,
805
+ steps: [],
806
+ blockers: ['codex_imagegen_current_task_tool_manifest_unverified', 'codex_imagegen_real_output_unverified'],
807
+ manual_actions: [
808
+ 'Start a fresh Codex/Work task so $imagegen is present in its tool manifest.',
809
+ 'Invoke $imagegen with gpt-image-2 and bind the selected raster output path to route evidence.'
810
+ ],
811
+ communication_test: {
812
+ level: 'flag_level',
813
+ ok: false,
814
+ checked: 'codex features list (feature-flag/plugin metadata only)',
815
+ real_generation_round_trip_performed: false,
816
+ blocker: 'codex_imagegen_real_output_unverified'
817
+ }
818
+ }
800
819
  : deferredNativeRepair('sks.doctor-imagegen-repair.v1', doctorFix, [
801
820
  'Run `sks doctor --fix --repair-native-capabilities --json` after enabling Codex App image_generation.'
802
821
  ]);
@@ -843,12 +862,23 @@ async function runDoctor(args = [], root, doctorFix) {
843
862
  : null;
844
863
  const nativeCapabilityReadinessStatus = (repair) => repair?.skipped === true
845
864
  ? (repair.status || 'deferred')
846
- : (repair?.recovered === true || repair?.ok === true ? 'ok' : repair?.attempted ? 'blocked' : 'not-needed');
865
+ : repair?.route_ready === true
866
+ ? 'ok'
867
+ : repair?.capability_ready === true
868
+ ? 'available-unverified'
869
+ : (repair?.recovered === true || repair?.ok === true ? 'ok' : repair?.attempted ? 'blocked' : 'not-needed');
847
870
  const nativeCapabilityReadiness = {
848
871
  schema: 'sks.native-capability-readiness.v1',
849
872
  generated_at: nowIso(),
850
873
  apply: doctorFix,
851
- imagegen: { status: nativeCapabilityReadinessStatus(imagegenRepair), communication_test: imagegenRepair?.communication_test || null, blockers: imagegenRepair?.blockers || [] },
874
+ imagegen: {
875
+ status: nativeCapabilityReadinessStatus(imagegenRepair),
876
+ capability_ready: imagegenRepair?.capability_ready === true,
877
+ route_ready: imagegenRepair?.route_ready === true,
878
+ generated_output_verified: imagegenRepair?.real_generation_verified === true,
879
+ communication_test: imagegenRepair?.communication_test || null,
880
+ blockers: imagegenRepair?.blockers || []
881
+ },
852
882
  computer_use: { status: nativeCapabilityReadinessStatus(computerUseRepair), blockers: computerUseRepair?.blockers || [], next_actions: computerUseRepair?.next_actions || [] },
853
883
  browser_use: { status: nativeCapabilityReadinessStatus(browserUseRepair), blockers: browserUseRepair?.blockers || [], next_actions: browserUseRepair?.next_actions || [] }
854
884
  };
@@ -1080,7 +1110,11 @@ async function runDoctor(args = [], root, doctorFix) {
1080
1110
  error: sksTempSweep.error || null
1081
1111
  },
1082
1112
  imagegen: {
1083
- ok: imagegen.auth_readiness?.available_paths?.length > 0,
1113
+ ok: imagegenRepair?.route_ready === true,
1114
+ capability_ready: imagegen.codex_app?.available === true,
1115
+ route_ready: imagegenRepair?.route_ready === true,
1116
+ generated_output_verified: imagegenRepair?.real_generation_verified === true,
1117
+ auth_ready: imagegen.auth_readiness?.headless_auto_available === true,
1084
1118
  auth_readiness: imagegen.auth_readiness || null,
1085
1119
  codex_app_builtin_available: imagegen.codex_app?.available === true
1086
1120
  },
@@ -1252,7 +1286,7 @@ async function runDoctor(args = [], root, doctorFix) {
1252
1286
  console.log(` - ${action}`);
1253
1287
  }
1254
1288
  }
1255
- console.log(`Image Gen repair: ${imagegenRepair.recovered ? 'ok' : imagegenRepair.attempted ? 'blocked' : 'not-needed'}`);
1289
+ console.log(`Image Gen repair: ${nativeCapabilityReadiness.imagegen.status}`);
1256
1290
  for (const action of imagegenRepair.manual_actions || [])
1257
1291
  console.log(` - ${action}`);
1258
1292
  console.log(`Computer Use repair: ${computerUseRepair.recovered ? 'ok' : computerUseRepair.attempted ? 'blocked' : 'not-needed'}`);
@@ -1272,7 +1306,7 @@ async function runDoctor(args = [], root, doctorFix) {
1272
1306
  }
1273
1307
  const codex0138 = codex0138Capability.report || {};
1274
1308
  console.log('Codex current compatibility:');
1275
- console.log(` target: rust-v0.142.0`);
1309
+ console.log(` target: ${CURRENT_CODEX_RELEASE_MANIFEST.targetTag}`);
1276
1310
  console.log(` runtime: ${codex.version || 'unknown'}`);
1277
1311
  console.log(` multi-agent mode: ${codexNativeFeatureMatrix.features?.multi_agent_mode?.ok ? 'verified' : 'unverified'}`);
1278
1312
  console.log(` rollout budget: ${codexNativeFeatureMatrix.features?.rollout_budget?.ok ? 'verified' : 'unverified'}`);
@@ -1378,9 +1412,9 @@ function buildRuntimeReadiness(zellijReadiness, matrix) {
1378
1412
  ...(zellijStatus === 'headless_available' ? ['MAD can run with --headless; live panes require repair'] : []),
1379
1413
  ...(hookPolicy !== 'approved-only' ? ['hook-derived evidence will not count'] : []),
1380
1414
  ...(agentStrategy !== 'agent_type' ? ['message-role fallback active'] : []),
1381
- ...(multiAgentMode === 'proactive' ? ['Codex 0.142 multi-agent proactive mode available for Naruto-style routes'] : []),
1382
- ...(rolloutBudget === 'codex-0142-shared' ? ['Codex 0.142 rollout budget can be recorded in route proof'] : []),
1383
- ...(researchSource === 'indexed-web-search' ? ['Codex 0.142 indexed web search selected for source-intelligence routes'] : [])
1415
+ ...(multiAgentMode === 'proactive' ? [`Codex ${CURRENT_CODEX_RELEASE_MANIFEST.requiredCliVersion} multi-agent proactive mode available for Naruto-style routes`] : []),
1416
+ ...(rolloutBudget === 'codex-0144-shared' ? [`Codex ${CURRENT_CODEX_RELEASE_MANIFEST.requiredCliVersion} rollout budget can be recorded in route proof`] : []),
1417
+ ...(researchSource === 'indexed-web-search' ? [`Codex ${CURRENT_CODEX_RELEASE_MANIFEST.requiredCliVersion} indexed web search selected for source-intelligence routes`] : [])
1384
1418
  ],
1385
1419
  repair_actions: [...new Set(repairActions)]
1386
1420
  };
@@ -3,6 +3,13 @@ import { bumpProjectVersion, disableVersionGitHook, versioningStatus } from '../
3
3
  import { flag } from '../cli/args.js';
4
4
  import { printJson } from '../cli/output.js';
5
5
  export async function run(_command, args = []) {
6
+ if (flag(args, '--help') || flag(args, '-h')) {
7
+ const usage = 'Usage: sks versioning status|bump [major|minor|patch]|disable [--json]';
8
+ if (flag(args, '--json'))
9
+ return printJson({ ok: true, command: 'versioning', usage, mutated: false });
10
+ console.log(usage);
11
+ return;
12
+ }
6
13
  const root = await projectRoot();
7
14
  const action = args[0] || 'status';
8
15
  const bump = ['major', 'minor', 'patch'].includes(String(args[1] || '')) ? String(args[1]) : null;
@@ -1,39 +1,39 @@
1
1
  {
2
2
  "schema": "sks.skills-manifest.v1",
3
- "package_version": "6.0.2",
3
+ "package_version": "6.1.0",
4
4
  "skills": [
5
5
  {
6
6
  "canonical_name": "answer",
7
7
  "type": "official",
8
- "content_sha256": "bb7254643822cafba77c88f9c808413826fb000abb073d79a120cc6956063c4f",
8
+ "content_sha256": "13663d89faecefdd854da38dc60cfa93fa6138d00bb36ce2accdad00863cb1cb",
9
9
  "hash_history": [],
10
10
  "deprecated_aliases": []
11
11
  },
12
12
  {
13
13
  "canonical_name": "autoresearch",
14
14
  "type": "official",
15
- "content_sha256": "4d807873a83290e8d26dab8c8d4e8a2ed2dd9a294792443457247e866c432304",
15
+ "content_sha256": "49ea6307a809b3a711cdd25aa5594d2afd9987272c082cb1df65f4040144be61",
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": "bb803bdadb6b356086216d1668673d62cd7148f9dc970ac1c50ffe33638c7b21",
22
+ "content_sha256": "8fa64a6cc96c28c39513170146eb13bcf0e078342b6680344290bcbee8d9cc97",
23
23
  "hash_history": [],
24
24
  "deprecated_aliases": []
25
25
  },
26
26
  {
27
27
  "canonical_name": "commit",
28
28
  "type": "official",
29
- "content_sha256": "c343b03a4a73cdaaf25e32e6a0870cbd39c7b18fdc3b952ff83620825ee5422b",
29
+ "content_sha256": "37e6383ae5ec08c13a92b2053f0fe62e8e10c38ef01d5002a8f863e3a92f8baa",
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": "76d5a5d09ee5413984d7c0ce49d9bef8cae3dfd9f9733fab102c7e5ba1f083e2",
36
+ "content_sha256": "b39f923c8e27ce4ca23884d8c67cb30fab8a49470b2ec5589f3bde09e23893d7",
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": "6be69b6383cd9542ef9c6b8377aaba93f9163ba01f7bf7870eae1eeae310ecb5",
50
+ "content_sha256": "ceacefa35316a67d372eb6816bcd667fa23c04f76c5ec103f189af315db15043",
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": "385574f402bdf483e6e7c72eb429e571d52677267e777930994fd028560a914f",
57
+ "content_sha256": "d7d88a43e45511ffcdc8c95f1a62236e8933437ff7c932a1167fab6b8f6806b8",
58
58
  "hash_history": [],
59
59
  "deprecated_aliases": []
60
60
  },
61
61
  {
62
62
  "canonical_name": "cu",
63
63
  "type": "official",
64
- "content_sha256": "ab3dc5c7b367359aa5359d947309c1bba83820df264b40770cd5237c65f4bdf8",
64
+ "content_sha256": "ac285763d71cd3673e955e0e6358bc2a87bc2bce90bdd4c7177fdaea48393390",
65
65
  "hash_history": [],
66
66
  "deprecated_aliases": []
67
67
  },
68
68
  {
69
69
  "canonical_name": "db",
70
70
  "type": "official",
71
- "content_sha256": "bcd2835924be97595155cf40371d75e80987e792cb614d8c6a2cf56fbf3acc2d",
71
+ "content_sha256": "f22ced32f253fdeec5c196866dfb8ca65ac785748efe956c5b25129567814e49",
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": "82d991914c1ecc5c30a50f703688de92b4707eddd2f141279a3713d64baa3dcf",
78
+ "content_sha256": "921e37b72c5b232eafaf84989f2b852d21e6605af0aa2098733ae2e4decfdb5f",
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": "561f1634db38f6d68a7657ffe3852d04e8f5eef38971d14d8a2a5c8c48add96e",
85
+ "content_sha256": "95627ce3a7a5a1a4ccc47b7214a52091ef47c4f5e90739cb893b33eba1c3a3cb",
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": "329d3f9f117bd80c3a9e1ad3952706b68c5e5aaf5cbd3b0d9091073edd77456e",
92
+ "content_sha256": "bdc301ab62baaf1459814e45670897d7ded89d29a9729d76d843ba85fefd1e32",
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": "49b7a479778f6c055d5009cc151649d95f3205c83fbba71aebe197536e53b8e1",
99
+ "content_sha256": "ff9ad5b4c928d40f5d33df4181b7686a7cee551fa590441ce12a3b6da7498c7c",
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": "2dde984d59da8f3a3954f674008400ba056434af3e5ddca3a78f52c6c9ac25f3",
113
+ "content_sha256": "28d9ad441eceb8aae201bff9237244bc20672c6cc1ee07a637969716728b7fd6",
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": "ad766e6e3e0255ea373f55ece74076d9ad46c0bc573449abbb7098ee4610df38",
120
+ "content_sha256": "e3701c52a5608722c842f72e5c88891d4b2a04c3b96739756e56d21651dcb676",
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": "b5b15d19ef25b9daf4a84d21e486831f4eadc91e2bb73419181f89ce71a615b5",
127
+ "content_sha256": "6774d89cadc1778b17544249df9b0a3f06e2826e4d75f830ba5f57e97887b925",
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": "52eb61ecf1ba460c8b9bc63c6f54b94eac6f05f3a0d3702c99b722c150e85084",
134
+ "content_sha256": "6c9607fc9f19f084b0ef2d8dfbcab8944e21e062c96d6b019930f1890ee02162",
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": "17251cc2c0a80b0284add59ac71036f74c5bac3f25767dd7b07cd28898c2caa8",
141
+ "content_sha256": "2c64b7c052073fb8b878aaabe08e6cf85bfb8cb37b3d9111470ede8308ae3c5a",
142
142
  "hash_history": [],
143
143
  "deprecated_aliases": []
144
144
  },
145
145
  {
146
146
  "canonical_name": "goal",
147
147
  "type": "official",
148
- "content_sha256": "3cf1191402c466dac9c1ed26438c665a5b320621646a85b71f657c559d8078a4",
148
+ "content_sha256": "7d161e8b142b6b3346ab385fa60510395ae11196b95833f0457df6c1847712a2",
149
149
  "hash_history": [],
150
150
  "deprecated_aliases": []
151
151
  },
152
152
  {
153
153
  "canonical_name": "gx",
154
154
  "type": "official",
155
- "content_sha256": "f83db34712c04460a967d5c658e9b66f6339f0e174bfaf523616fae04654fdcf",
155
+ "content_sha256": "d16cc781d9d00661573674d503be7b81243d037412923772d47e7de26d2912b7",
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": "d694f9de7969ac9b9fe84435366a69ec6ecc3b6586c2032a90eddd06f84610c5",
162
+ "content_sha256": "79877c196cb47d7eda6e93a6b2b2692137bf6a5fb812159938509e9031a3f781",
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": "f8b0ccb105c3e34a728611f5032ac0a2165245a2674695368f7fd1f66d1a306c",
169
+ "content_sha256": "8066b78bcc2f1c9e7a5991707c5ac29d99fbc418cb940a45a3789b8eb3c96059",
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": "7421f4ad65d0f3904d804c63e5944397c8637441089a99fd9d503dd382e5d028",
176
+ "content_sha256": "55bf9c801d2b46a1624157b75f88115a59ffd500e1c44938b42bd007540ba73b",
177
177
  "hash_history": [],
178
178
  "deprecated_aliases": []
179
179
  },
180
180
  {
181
181
  "canonical_name": "help",
182
182
  "type": "official",
183
- "content_sha256": "cef436a0bab77703c78f9721a88509faf502a12f37010df439cac92e05969492",
183
+ "content_sha256": "08252a0da558566282d1059d1f837bd74dd81ffaf445bb6fc21a1e070b31e0a0",
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": "58421a157487616be68460eacd07d87249617b3a5bd51e6b64a07ef4d9fb4ae9",
190
+ "content_sha256": "cfe1a4a390b949ebc5f38cc00f229772f7898d1f034a1c800bafc2a15b924eda",
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": "7bf1b3726d2b697a49fed17bdf92a3b749f41e04aea9c7398fc92639457f7c4e",
197
+ "content_sha256": "ac0169c75f1609ec0dacfbe88c3c62b8b06e3b8372fdd9c886bbcb16b5d26551",
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": "635a0f3e39ec2c833a11aea36857aedb850f8a551b3b90b0c2894b3eb645db53",
204
+ "content_sha256": "7e2cf5c4c35946c5628a0bbeb73b09aa18010440d75cd0f8af57662de887a9b9",
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": "600e35cf87baf97411faebb1e5370e15b3573b7c9504597817511a3932bdc51b",
218
+ "content_sha256": "b2d7ab3d9db89007ffe433603d9a109c29867f727f8cdd44afd202c9c5162595",
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": "fc2f83fdd360c64e9265b26a4cdb2345fc0d16892aa0b201892909956013b24f",
225
+ "content_sha256": "af77841b0bcbee199f907b0e411eb4660ad2b375b0025fde499fa234714a2174",
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": "00e235e9c38f94464c1445c0e3390a7ccc68113e2de569def37afcabc6813a76",
239
+ "content_sha256": "9009e4a9ccf16f942f8898096920bdadb88152b5dee8ab052cd4efb8963a11e5",
240
240
  "hash_history": [],
241
241
  "deprecated_aliases": []
242
242
  },
@@ -250,14 +250,14 @@
250
250
  {
251
251
  "canonical_name": "mad-db",
252
252
  "type": "official",
253
- "content_sha256": "81706feee9b3141a1a3095b84aaca418b8fc0e91351ff2d9a1043e979825ee5b",
253
+ "content_sha256": "427865feaa94f0b6d28b1b024642820adca955b94f6f52072f2527be01dcc7d1",
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": "1cd78a2455b8bdede7423bcba36fbfd986f225d059c7d325f62b06465f42aadb",
260
+ "content_sha256": "de73c8bb6bacf097816b93782d6fbc1c62b78f0b63f421e803a18652be43f835",
261
261
  "hash_history": [],
262
262
  "deprecated_aliases": []
263
263
  },
@@ -273,35 +273,35 @@
273
273
  {
274
274
  "canonical_name": "performance-evaluator",
275
275
  "type": "official",
276
- "content_sha256": "2f336e13330972dbd96dab8791f96f1f1583494cbab934c36a9cba3f38724216",
276
+ "content_sha256": "ff6136e9fb66dbdc3492c983f051cebaa8f78cc9737c201a24a9feed3d1584b5",
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": "1c737bc9763882cd38d3e65948c8fad7b6fbbe9f4490972904976d21d82cca55",
283
+ "content_sha256": "0414991b5cab61edc3cb4ebc2fdc67f87d6424271a26f8fb93cb6643fd9056e5",
284
284
  "hash_history": [],
285
285
  "deprecated_aliases": []
286
286
  },
287
287
  {
288
288
  "canonical_name": "plan",
289
289
  "type": "official",
290
- "content_sha256": "d671f1517816c3a9bed743e6d0e2e32ae4ffa367f7fb82df0cd030320a109056",
290
+ "content_sha256": "767f4ce563bd72ddd1fd13760d9c1ee8150fa2d24a73ae571580234d0f72da68",
291
291
  "hash_history": [],
292
292
  "deprecated_aliases": []
293
293
  },
294
294
  {
295
295
  "canonical_name": "ppt",
296
296
  "type": "official",
297
- "content_sha256": "b1c4484c2e74114c096c897415eca2df77e2aec35782bcea71dc6ea6b4478ca8",
297
+ "content_sha256": "f2406ac978bef0651857a6f89eaaffcabd0133cdf8113bacb9e6ef5b21d2da22",
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": "7474939aa6643965678b3ba50a543fd518742f6deb95ea71ea02e187f3570a31",
304
+ "content_sha256": "a57be72ced7d318d8a44c87e90ca70634f989ef4c8c59dd77d94f020e4eb896d",
305
305
  "hash_history": [],
306
306
  "deprecated_aliases": []
307
307
  },
@@ -317,21 +317,21 @@
317
317
  {
318
318
  "canonical_name": "reasoning-router",
319
319
  "type": "official",
320
- "content_sha256": "35fd107c2633aaea1f73f4c5b097de509c88a34d163f5e6ee0d9160884402a13",
320
+ "content_sha256": "2c5241817a395a77fc242936cc919db5e3517408bb86e13873686667f1f5e9c7",
321
321
  "hash_history": [],
322
322
  "deprecated_aliases": []
323
323
  },
324
324
  {
325
325
  "canonical_name": "reflection",
326
326
  "type": "official",
327
- "content_sha256": "a10a5d1e6efabe97b75f3de0a2d84067823c3c361d12c6d63b4fc6ea6200e21b",
327
+ "content_sha256": "2472a526970d921b65852351b3ebe37e2b5236704f6973cf741db26da28ef35f",
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": "11ea919af92fa3ec7edda4096ed21e7369a12fe4241938578784e0d13384ef86",
334
+ "content_sha256": "b41c9d4140ca7ac6bef130af7b14e7efe88f05dc9730718615338baa5dacf433",
335
335
  "hash_history": [],
336
336
  "deprecated_aliases": []
337
337
  },
@@ -345,14 +345,14 @@
345
345
  {
346
346
  "canonical_name": "research-discovery",
347
347
  "type": "official",
348
- "content_sha256": "6b288cdded05dc22119ed90f2a7f196670c1548d810414fbb067b4f4d9702c8a",
348
+ "content_sha256": "4ef5dd865434092707a5dfeaaa216a3177c73a98cf863e644e4b4880c5ac8c46",
349
349
  "hash_history": [],
350
350
  "deprecated_aliases": []
351
351
  },
352
352
  {
353
353
  "canonical_name": "review",
354
354
  "type": "official",
355
- "content_sha256": "68ad426654dd4ceb41e8ee7bb50cb5654f09d0b29f85c3904179a4de2c1c210f",
355
+ "content_sha256": "72a794485e9b2bdc459f5626027706aa3e5c446a6f4861b5ee646c6ce10ac5d1",
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": "61210836ed5f1d9c95b39d5639afca814600e1941c28c563bde70072a98aa150",
376
+ "content_sha256": "f644bdb9d72c4d7a98038d99a8cc4dec068b61f146a94da574d03ef3737eb565",
377
377
  "hash_history": [],
378
378
  "deprecated_aliases": []
379
379
  },
380
380
  {
381
381
  "canonical_name": "sks",
382
382
  "type": "official",
383
- "content_sha256": "f8fb292d072a89d651d815967646f999646dd26d9954c22632919b66ea418416",
383
+ "content_sha256": "72cc01e22433d1db489f28a63ee8b70cef773c78a3751744ea380922de274cfb",
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": "9c0e7c322868feae51508b47e3b08a48edda67748a9ed7f1ebc3f0cd7c3de3fb",
395
+ "content_sha256": "a88fe2e0cf703b2ff6083a436d6baf80c0e564ee07c370024336325d1f495773",
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": "fdd53664a721bf16066b2f8efb25ab07328aca286334d9f02c5a4ba40ea9d146",
402
+ "content_sha256": "bfca7cb8446dc056ae9cc940c9e381b1a6748dc3cde301638a8247dcaef67b26",
403
403
  "hash_history": [],
404
404
  "deprecated_aliases": []
405
405
  },
406
406
  {
407
407
  "canonical_name": "swarm",
408
408
  "type": "official",
409
- "content_sha256": "9735a5cd9e5518b8e19fe112df0589d0184c35be1a8abf99a87a5b47ef5d1c1e",
409
+ "content_sha256": "b7dd3ff26da89578eb0d3f64d6b75a30f287571f45f87aae183184119874e367",
410
410
  "hash_history": [],
411
411
  "deprecated_aliases": []
412
412
  },
413
413
  {
414
414
  "canonical_name": "team",
415
415
  "type": "official",
416
- "content_sha256": "1c8a662fed4b757f9a948d03adb18f1778eefd2cc638ae57934a62363a9d2339",
416
+ "content_sha256": "4d6265cef89ab70f19ac73f05ac29d746ac0d2ca6ca59017dade4c57969578f2",
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": "60bdc65e1e10f0cf3d63affee52f24851d6d6470926fe513de4c2cdf69064ea0",
425
+ "content_sha256": "67882585d5589807cb536b721a60bcd02c8f56cb36626b67eaaf1abc13690e0f",
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": "52f18b10906ef131d167bc5fcc3b36326ac6da328b1bbbff6433687c5b4dc192",
432
+ "content_sha256": "6a7471656fd45f4c0b6eabfe9e2c0dec1b2f1c960e27fecad294e3ab25d98587",
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": "2e2de6b2337dedf43f2ce0ee9daf0ea7f01d0ccbdf1264ef370c85eb35e6c731",
439
+ "content_sha256": "7571f1db8904cebd6b87aecd355e6404d401af4002b79705c725ee091d8b9c27",
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": "d9c31b740e8a2bf60d6c245334eeaa3870fc4e4df0886548c12ec2804f9f1d96",
446
+ "content_sha256": "0f74d1216fa4edfeab63245b044bbfc9763849d088749d74029c51e55d3ce591",
447
447
  "hash_history": [],
448
448
  "deprecated_aliases": []
449
449
  },
450
450
  {
451
451
  "canonical_name": "wiki",
452
452
  "type": "official",
453
- "content_sha256": "52486d2dd195a5b1e978e8f4c6ed48018a0863e87b0bd882447258b26e1ca4cd",
453
+ "content_sha256": "eaa5415ea2dc52517041532af663228ec1a0c5ed5542aaae0392799fadabb4dc",
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": "1d4a4553a7dd6f23c870d8eb01c3c6e21c2456e8a2e2bc56989bebeb194bf213",
463
+ "content_sha256": "fa02f75c1778c31377fd0fb84c9627a0f24b11f4c6a247fafa1b512df3207018",
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": "85f6703fd5680a4cdb4addb4b8effc4e1a76a144dbebc934431af96e8882bd25",
470
+ "content_sha256": "737ac31090f94def9f635ec277f9cb8d99b764aadacd9dd223d1f063a5f03331",
471
471
  "hash_history": [],
472
472
  "deprecated_aliases": []
473
473
  },
474
474
  {
475
475
  "canonical_name": "work",
476
476
  "type": "official",
477
- "content_sha256": "a7940e696e27f2d3ce5b22974f32cd2a25916722540f2b836bcacfd0c2fa55b8",
477
+ "content_sha256": "380a6b42a3c24550fdababe773b7ba55fc802072001869045848e6c754a1779b",
478
478
  "hash_history": [],
479
479
  "deprecated_aliases": []
480
480
  }
@@ -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: [] });