sneakoscope 2.0.2 → 2.0.5

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 (126) hide show
  1. package/README.md +12 -8
  2. package/crates/sks-core/Cargo.lock +1 -1
  3. package/crates/sks-core/Cargo.toml +1 -1
  4. package/crates/sks-core/src/main.rs +1 -1
  5. package/dist/.sks-build-stamp.json +4 -4
  6. package/dist/bin/sks.js +1 -1
  7. package/dist/build-manifest.json +86 -8
  8. package/dist/commands/doctor.js +14 -0
  9. package/dist/core/agents/agent-orchestrator.js +70 -4
  10. package/dist/core/agents/agent-patch-proof.js +5 -0
  11. package/dist/core/agents/agent-proof-evidence.js +61 -0
  12. package/dist/core/agents/agent-roster.js +35 -6
  13. package/dist/core/agents/agent-schema.js +1 -1
  14. package/dist/core/agents/native-worker-backend-router.js +31 -9
  15. package/dist/core/agents/ollama-worker-config.js +164 -15
  16. package/dist/core/codex/codex-0-137-compat.js +119 -0
  17. package/dist/core/codex-control/codex-control-proof.js +4 -1
  18. package/dist/core/codex-control/codex-fake-sdk-adapter.js +20 -0
  19. package/dist/core/codex-control/codex-output-schemas.js +5 -1
  20. package/dist/core/codex-control/codex-sdk-capability.js +1 -1
  21. package/dist/core/codex-control/codex-task-runner.js +329 -5
  22. package/dist/core/codex-control/gpt-final-arbiter.js +160 -0
  23. package/dist/core/codex-control/gpt-final-context-compressor.js +17 -0
  24. package/dist/core/codex-control/gpt-final-proof-pack.js +120 -0
  25. package/dist/core/codex-control/gpt-final-review-schema.js +71 -0
  26. package/dist/core/codex-control/python-codex-sdk-adapter.js +197 -0
  27. package/dist/core/codex-control/python-codex-sdk-event-translator.js +14 -0
  28. package/dist/core/commands/local-model-command.js +79 -18
  29. package/dist/core/commands/naruto-command.js +195 -12
  30. package/dist/core/commands/run-command.js +6 -2
  31. package/dist/core/doctor/doctor-readiness-matrix.js +34 -0
  32. package/dist/core/feature-fixtures.js +4 -0
  33. package/dist/core/fsx.js +1 -1
  34. package/dist/core/git-simple.js +143 -4
  35. package/dist/core/local-llm/local-collaboration-policy.js +93 -0
  36. package/dist/core/local-llm/local-llm-backpressure.js +20 -0
  37. package/dist/core/local-llm/local-llm-capability.js +29 -0
  38. package/dist/core/local-llm/local-llm-client.js +100 -0
  39. package/dist/core/local-llm/local-llm-config.js +20 -0
  40. package/dist/core/local-llm/local-llm-context-cache.js +21 -0
  41. package/dist/core/local-llm/local-llm-control-adapter.js +101 -0
  42. package/dist/core/local-llm/local-llm-json-repair.js +52 -0
  43. package/dist/core/local-llm/local-llm-metrics.js +42 -0
  44. package/dist/core/local-llm/local-llm-ollama-client.js +67 -0
  45. package/dist/core/local-llm/local-llm-openai-compatible-client.js +30 -0
  46. package/dist/core/local-llm/local-llm-prompt-cache.js +12 -0
  47. package/dist/core/local-llm/local-llm-scheduler.js +29 -0
  48. package/dist/core/local-llm/local-llm-schema-enforcer.js +15 -0
  49. package/dist/core/local-llm/local-llm-smoke.js +83 -0
  50. package/dist/core/local-llm/local-llm-warmup.js +20 -0
  51. package/dist/core/local-llm/local-worker-eligibility.js +27 -0
  52. package/dist/core/naruto/hardware-capacity-probe.js +36 -0
  53. package/dist/core/naruto/naruto-active-pool.js +118 -0
  54. package/dist/core/naruto/naruto-backpressure.js +13 -0
  55. package/dist/core/naruto/naruto-concurrency-governor.js +65 -0
  56. package/dist/core/naruto/naruto-finalizer.js +18 -0
  57. package/dist/core/naruto/naruto-generation-scheduler.js +18 -0
  58. package/dist/core/naruto/naruto-gpt-final-pack.js +49 -0
  59. package/dist/core/naruto/naruto-parallel-patch-apply.js +95 -0
  60. package/dist/core/naruto/naruto-patch-transaction-batch.js +42 -0
  61. package/dist/core/naruto/naruto-role-policy.js +107 -0
  62. package/dist/core/naruto/naruto-verification-dag.js +42 -0
  63. package/dist/core/naruto/naruto-verification-pool.js +18 -0
  64. package/dist/core/naruto/naruto-work-graph.js +198 -0
  65. package/dist/core/naruto/naruto-work-item.js +40 -0
  66. package/dist/core/naruto/naruto-work-stealing.js +11 -0
  67. package/dist/core/naruto/resource-pressure-monitor.js +32 -0
  68. package/dist/core/pipeline/final-gpt-patch-stage.js +31 -0
  69. package/dist/core/pipeline/final-gpt-review-stage.js +5 -0
  70. package/dist/core/pipeline/finalize-pipeline-result.js +58 -0
  71. package/dist/core/pipeline/gpt-final-required.js +12 -0
  72. package/dist/core/prompt/prompt-placeholder-guard.js +30 -0
  73. package/dist/core/router/capability-card.js +13 -0
  74. package/dist/core/router/route-cache.js +3 -0
  75. package/dist/core/router/ultra-router.js +2 -1
  76. package/dist/core/routes.js +4 -4
  77. package/dist/core/safety/mutation-guard.js +2 -0
  78. package/dist/core/update-check.js +60 -25
  79. package/dist/core/version.js +1 -1
  80. package/dist/core/zellij/zellij-lane-runtime.js +2 -2
  81. package/dist/core/zellij/zellij-naruto-dashboard.js +36 -0
  82. package/dist/core/zellij/zellij-worker-pane-manager.js +4 -4
  83. package/dist/scripts/blackbox-command-import-smoke.js +10 -1
  84. package/dist/scripts/check-package-boundary.js +12 -3
  85. package/dist/scripts/codex-0-137-compat-check.js +27 -0
  86. package/dist/scripts/codex-environment-scoped-approvals-check.js +10 -0
  87. package/dist/scripts/codex-plugin-list-json-check.js +8 -0
  88. package/dist/scripts/codex-sdk-team-naruto-agent-pipeline-check.js +2 -1
  89. package/dist/scripts/codex-thread-runtime-choice-check.js +10 -0
  90. package/dist/scripts/gpt-final-arbiter-check.js +63 -0
  91. package/dist/scripts/gpt-final-arbiter-performance-check.js +36 -0
  92. package/dist/scripts/local-collab-all-pipelines-final-gpt-check.js +21 -0
  93. package/dist/scripts/local-collab-gpt-final-availability-check.js +58 -0
  94. package/dist/scripts/local-collab-no-local-only-final-check.js +27 -0
  95. package/dist/scripts/local-collab-policy-check.js +17 -0
  96. package/dist/scripts/local-llm-all-pipelines-check.js +11 -0
  97. package/dist/scripts/local-llm-cache-performance-check.js +10 -0
  98. package/dist/scripts/local-llm-capability-check.js +14 -0
  99. package/dist/scripts/local-llm-smoke-check.js +23 -0
  100. package/dist/scripts/local-llm-structured-output-check.js +11 -0
  101. package/dist/scripts/local-llm-throughput-check.js +10 -0
  102. package/dist/scripts/local-llm-tool-call-repair-check.js +10 -0
  103. package/dist/scripts/local-llm-warmup-check.js +11 -0
  104. package/dist/scripts/naruto-active-pool-check.js +27 -0
  105. package/dist/scripts/naruto-concurrency-governor-check.js +52 -0
  106. package/dist/scripts/naruto-gpt-final-pack-check.js +34 -0
  107. package/dist/scripts/naruto-parallel-patch-apply-check.js +41 -0
  108. package/dist/scripts/naruto-real-local-gpt-final-smoke.js +16 -0
  109. package/dist/scripts/naruto-role-distribution-check.js +23 -0
  110. package/dist/scripts/naruto-shadow-clone-swarm-check.js +6 -0
  111. package/dist/scripts/naruto-verification-pool-check.js +36 -0
  112. package/dist/scripts/naruto-work-graph-check.js +24 -0
  113. package/dist/scripts/naruto-zellij-massive-ui-check.js +23 -0
  114. package/dist/scripts/prompt-placeholder-guard-check.js +33 -0
  115. package/dist/scripts/python-codex-sdk-all-pipelines-check.js +47 -0
  116. package/dist/scripts/python-codex-sdk-capability-check.js +75 -0
  117. package/dist/scripts/python-codex-sdk-sandbox-policy-check.js +10 -0
  118. package/dist/scripts/python-codex-sdk-stream-bridge-check.js +12 -0
  119. package/dist/scripts/release-parallel-check.js +1 -1
  120. package/dist/scripts/release-real-check.js +5 -0
  121. package/dist/scripts/zellij-worker-pane-manager-check.js +1 -1
  122. package/package.json +38 -4
  123. package/schemas/local-llm/local-collaboration-policy.schema.json +57 -0
  124. package/schemas/local-llm/local-model-config.schema.json +74 -0
  125. package/schemas/naruto/naruto-concurrency-governor.schema.json +21 -0
  126. package/schemas/naruto/naruto-work-graph.schema.json +22 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sneakoscope",
3
3
  "displayName": "ㅅㅋㅅ",
4
- "version": "2.0.2",
4
+ "version": "2.0.5",
5
5
  "description": "Sneakoscope Codex: fast proof-first Codex trust layer with image-based Voxel TriWiki.",
6
6
  "type": "module",
7
7
  "homepage": "https://github.com/mandarange/Sneakoscope-Codex#readme",
@@ -283,11 +283,35 @@
283
283
  "codex-control:tool-call-sequence-repair": "node ./dist/scripts/codex-control-tool-call-sequence-repair-check.js",
284
284
  "codex-control:keepalive-no-cot-leak": "node ./dist/scripts/codex-control-keepalive-no-cot-leak-check.js",
285
285
  "codex-control:real-smoke": "node ./dist/scripts/codex-sdk-real-smoke-check.js",
286
+ "local-collab:policy": "node ./dist/scripts/local-collab-policy-check.js",
287
+ "local-collab:gpt-final-arbiter": "node ./dist/scripts/gpt-final-arbiter-check.js",
288
+ "local-collab:no-local-only-final": "node ./dist/scripts/local-collab-no-local-only-final-check.js",
289
+ "local-collab:gpt-final-availability": "node ./dist/scripts/local-collab-gpt-final-availability-check.js",
290
+ "local-collab:gpt-final-performance": "node ./dist/scripts/gpt-final-arbiter-performance-check.js",
291
+ "local-llm:capability": "node ./dist/scripts/local-llm-capability-check.js",
292
+ "local-llm:smoke": "node ./dist/scripts/local-llm-smoke-check.js",
293
+ "local-llm:structured-output": "node ./dist/scripts/local-llm-structured-output-check.js",
294
+ "local-llm:tool-call-repair": "node ./dist/scripts/local-llm-tool-call-repair-check.js",
295
+ "local-llm:throughput": "node ./dist/scripts/local-llm-throughput-check.js",
296
+ "local-llm:cache-performance": "node ./dist/scripts/local-llm-cache-performance-check.js",
297
+ "local-llm:warmup": "node ./dist/scripts/local-llm-warmup-check.js",
298
+ "local-llm:all-pipelines": "node ./dist/scripts/local-llm-all-pipelines-check.js",
299
+ "local-collab:all-pipelines-final-gpt": "node ./dist/scripts/local-collab-all-pipelines-final-gpt-check.js",
300
+ "python-sdk:capability": "node ./dist/scripts/python-codex-sdk-capability-check.js",
301
+ "python-sdk:stream-bridge": "node ./dist/scripts/python-codex-sdk-stream-bridge-check.js",
302
+ "python-sdk:sandbox-policy": "node ./dist/scripts/python-codex-sdk-sandbox-policy-check.js",
303
+ "python-sdk:all-pipelines": "node ./dist/scripts/python-codex-sdk-all-pipelines-check.js",
304
+ "python-sdk:real-smoke": "node ./dist/scripts/python-codex-sdk-capability-check.js --require-real",
305
+ "codex:0.137-compat": "node ./dist/scripts/codex-0-137-compat-check.js",
306
+ "codex:0.137-compat:require-real": "node ./dist/scripts/codex-0-137-compat-check.js --require-real",
307
+ "codex:plugin-list-json": "node ./dist/scripts/codex-plugin-list-json-check.js",
308
+ "codex:thread-runtime-choice": "node ./dist/scripts/codex-thread-runtime-choice-check.js",
309
+ "codex:environment-scoped-approvals": "node ./dist/scripts/codex-environment-scoped-approvals-check.js",
286
310
  "ultra-router:classification": "node ./dist/scripts/ultra-router-classification-check.js",
287
311
  "ultra-router:auto-router": "node ./dist/scripts/ultra-router-auto-router-check.js",
288
312
  "coverage": "node --experimental-test-coverage --test \"test/**/*.test.mjs\"",
289
- "release:check": "npm run release:check:parallel && npm run mad-sks:app-ui-no-mutation && npm run codex-app:fast-ui-preservation && npm run codex-app:ui-clobber-guard && npm run doctor:fixes-codex-app-fast-ui && npm run provider:badge-context && npm run provider:context-config-toml && npm run codex-app:provider-badge && npm run zellij:spawn-on-demand-layout && npm run zellij:worker-pane-manager && npm run zellij:worker-pane-manager-single-owner && npm run agent:worker-pane-communication-contract && npm run runtime:no-mjs-scripts && npm run runtime:ts-python-boundary && npm run codex-sdk:capability && npm run codex-sdk:no-legacy-fallback && npm run codex-sdk:backend-router && npm run codex-sdk:structured-output && npm run codex-sdk:event-stream-ledger && npm run codex-sdk:thread-registry && npm run codex-sdk:sandbox-policy && npm run codex-sdk:zellij-pane-binding && npm run codex-sdk:all-pipelines && npm run codex-sdk:dfix-pipeline && npm run codex-sdk:qa-pipeline && npm run codex-sdk:research-pipeline && npm run codex-sdk:team-naruto-agent-pipeline && npm run codex-sdk:release-review-pipeline && npm run codex-sdk:ux-ppt-review-pipeline && npm run codex-sdk:core-skill-pipeline && npm run codex-control:capability && npm run codex-control:no-legacy-fallback && npm run codex-control:structured-output && npm run codex-control:event-stream-ledger && npm run codex-control:thread-registry && npm run codex-control:side-effect-scope && npm run codex-control:all-pipelines && npm run codex-control:empty-result-retry && npm run codex-control:stream-idle-watchdog && npm run codex-control:tool-call-sequence-repair && npm run codex-control:keepalive-no-cot-leak && npm run ultra-router:classification && npm run ultra-router:auto-router && npm run release:version-truth && npm run codex:0.136-compat && npm run codex:0.135-compat && npm run doctor:codex-doctor-parity && npm run codex:permission-profiles && npm run codex:legacy-profile-consumers-removed && npm run terminal:keyboard-enhancement-safety && npm run terminal:tui-output-stability && npm run codex:resume-cwd-truth && npm run mcp:tool-naming-parity && npm run responses:retry-policy-centralized && npm run runtime:no-tmux && npm run zellij:layout-valid && npm run agent:zellij-dynamic-backfill-panes && npm run agent:worker-pane-communication-contract && npm run agent:slot-pane-binding-proof && npm run zellij:worker-pane-manager && npm run zellij:spawn-on-demand-layout && npm run zellij:lane-renderer && npm run mad-sks:zellij-launch && npm run mad-sks:zellij-default-pane-worker && npm run agent:zellij-runtime && npm run codex:config-eperm-fixture && npm run doctor:fix-proves-codex-read && npm run mad:preflight-blocks-unreadable-config && npm run fast:codex-service-tier-proof && npm run codex:project-config-policy-splitter && npm run test:no-orphan-dist-imports && npm run agent:patch-envelope-extraction && npm run agent:patch-queue-runtime && npm run agent:strategy-to-lease-wiring && npm run agent:patch-swarm-runtime && npm run agent:patch-transaction-journal && npm run agent:patch-conflict-rebase && npm run agent:strategy-to-patch-strict && npm run agent:patch-swarm-runtime-truth && npm run agent:rollback-command && npm run agent:patch-verification-dag && npm run agent:patch-rollback-dag && npm run agent:patch-proof-runtime && npm run agent:patch-swarm-route-blackbox && npm run team:patch-swarm-route-blackbox && npm run dfix:patch-swarm-route-blackbox && npm run appshots:thread-attachment-discovery && npm run mcp:readonly-runtime-scheduler && npm run codex:0.134-runner-truth && npm run agent:native-cli-session-swarm && npm run agent:native-cli-session-swarm-10 && npm run agent:native-cli-session-swarm-20 && npm run agent:no-subagent-scaling && npm run agent:native-cli-session-proof && npm run agent:worker-backend-router && npm run agent:codex-child-overlap && npm run agent:model-authored-patch-envelope && npm run agent:fast-mode-default && npm run agent:fast-mode-worker-propagation && npm run codex:fast-mode-profile-propagation && npm run mad-sks:fast-mode-propagation && npm run zellij:launch-command-truth && npm run zellij:real-session-heartbeat && npm run zellij:ui-design && npm run zellij:doctor-readiness && npm run legacy:upgrade-zero-break && npm run publish:packlist-performance && npm run postinstall:safe-side-effects && npm run runtime:ts-rust-boundary && npm run core-skill:card-schema && npm run core-skill:rollout-scoring && npm run core-skill:patch && npm run core-skill:heldout-validation && npm run core-skill:deployment-snapshot && npm run core-skill:no-inference-optimizer && npm run core-skill:route-runtime-integration && npm run core-skill:promotion-side-effect-ledger && npm run core-skill:legacy-promotion-api-audit && npm run safety:side-effect-zero && npm run safety:mutation-callsite-coverage && npm run safety:mutation-callsite-coverage:repo-wide && npm run side-effect:runtime-report && npm run release:gate-planner && npm run release:dynamic-performance && npm run release:provenance && npm run release:gate-budget && npm run agent:wiki-context-proof && npm run shared-memory:check && npm run wrongness:check && npm run wrongness:fixtures && npm run trust:check && npm run git-collaboration:e2e && node ./dist/scripts/release-check-stamp.js write && npm run release:readiness --silent && node ./dist/scripts/release-check-stamp.js write",
290
- "release:real-check": "node ./dist/scripts/release-real-check.js && npm run codex-control:real-smoke -- --require-real && npm run codex-sdk:real-smoke -- --require-real && npm run zellij:real-session-launch -- --require-real --main-only --mission M-release-real-zellij-extra --session sks-rrz-extra && npm run zellij:pane-proof -- --require-real --mission M-release-real-zellij-extra --session sks-rrz-extra --expected-lanes 0 && npm run zellij:screen-proof -- --require-real --main-only --mission M-release-real-zellij-extra && npm run zellij:real-session-cleanup -- --mission M-release-real-zellij-extra --session sks-rrz-extra && npm run agent:real-codex-in-zellij-worker-pane -- --require-real",
313
+ "release:check": "npm run release:check:parallel && npm run mad-sks:app-ui-no-mutation && npm run codex-app:fast-ui-preservation && npm run codex-app:ui-clobber-guard && npm run doctor:fixes-codex-app-fast-ui && npm run provider:badge-context && npm run provider:context-config-toml && npm run codex-app:provider-badge && npm run zellij:spawn-on-demand-layout && npm run zellij:worker-pane-manager && npm run zellij:worker-pane-manager-single-owner && npm run agent:worker-pane-communication-contract && npm run runtime:no-mjs-scripts && npm run runtime:ts-python-boundary && npm run codex-sdk:capability && npm run codex-sdk:no-legacy-fallback && npm run codex-sdk:backend-router && npm run codex-sdk:structured-output && npm run codex-sdk:event-stream-ledger && npm run codex-sdk:thread-registry && npm run codex-sdk:sandbox-policy && npm run codex-sdk:zellij-pane-binding && npm run codex-sdk:all-pipelines && npm run codex-sdk:dfix-pipeline && npm run codex-sdk:qa-pipeline && npm run codex-sdk:research-pipeline && npm run codex-sdk:team-naruto-agent-pipeline && npm run codex-sdk:release-review-pipeline && npm run codex-sdk:ux-ppt-review-pipeline && npm run codex-sdk:core-skill-pipeline && npm run codex-control:capability && npm run codex-control:no-legacy-fallback && npm run codex-control:structured-output && npm run codex-control:event-stream-ledger && npm run codex-control:thread-registry && npm run codex-control:side-effect-scope && npm run codex-control:all-pipelines && npm run codex-control:empty-result-retry && npm run codex-control:stream-idle-watchdog && npm run codex-control:tool-call-sequence-repair && npm run codex-control:keepalive-no-cot-leak && npm run local-collab:policy && npm run local-collab:gpt-final-arbiter && npm run local-collab:no-local-only-final && npm run local-collab:gpt-final-availability && npm run local-llm:capability && npm run local-llm:structured-output && npm run local-llm:tool-call-repair && npm run local-llm:all-pipelines && npm run local-collab:all-pipelines-final-gpt && npm run python-sdk:capability && npm run python-sdk:stream-bridge && npm run python-sdk:sandbox-policy && npm run python-sdk:all-pipelines && npm run codex:plugin-list-json && npm run codex:thread-runtime-choice && npm run codex:environment-scoped-approvals && npm run ultra-router:classification && npm run ultra-router:auto-router && npm run release:version-truth && npm run codex:0.137-compat && npm run codex:0.136-compat && npm run codex:0.135-compat && npm run doctor:codex-doctor-parity && npm run codex:permission-profiles && npm run codex:legacy-profile-consumers-removed && npm run terminal:keyboard-enhancement-safety && npm run terminal:tui-output-stability && npm run codex:resume-cwd-truth && npm run mcp:tool-naming-parity && npm run responses:retry-policy-centralized && npm run runtime:no-tmux && npm run zellij:layout-valid && npm run agent:zellij-dynamic-backfill-panes && npm run agent:worker-pane-communication-contract && npm run agent:slot-pane-binding-proof && npm run zellij:worker-pane-manager && npm run zellij:spawn-on-demand-layout && npm run zellij:lane-renderer && npm run mad-sks:zellij-launch && npm run mad-sks:zellij-default-pane-worker && npm run agent:zellij-runtime && npm run codex:config-eperm-fixture && npm run doctor:fix-proves-codex-read && npm run mad:preflight-blocks-unreadable-config && npm run fast:codex-service-tier-proof && npm run codex:project-config-policy-splitter && npm run test:no-orphan-dist-imports && npm run agent:patch-envelope-extraction && npm run agent:patch-queue-runtime && npm run agent:strategy-to-lease-wiring && npm run agent:patch-swarm-runtime && npm run agent:patch-transaction-journal && npm run agent:patch-conflict-rebase && npm run agent:strategy-to-patch-strict && npm run agent:patch-swarm-runtime-truth && npm run agent:rollback-command && npm run agent:patch-verification-dag && npm run agent:patch-rollback-dag && npm run agent:patch-proof-runtime && npm run agent:patch-swarm-route-blackbox && npm run team:patch-swarm-route-blackbox && npm run dfix:patch-swarm-route-blackbox && npm run appshots:thread-attachment-discovery && npm run mcp:readonly-runtime-scheduler && npm run naruto:work-graph && npm run naruto:concurrency-governor && npm run naruto:active-pool && npm run naruto:role-distribution && npm run naruto:parallel-patch-apply && npm run naruto:verification-pool && npm run naruto:zellij-massive-ui && npm run naruto:gpt-final-pack && npm run prompt:placeholder-guard && npm run codex:0.134-runner-truth && npm run agent:native-cli-session-swarm && npm run naruto:shadow-clone-swarm && npm run agent:native-cli-session-swarm-10 && npm run agent:native-cli-session-swarm-20 && npm run agent:no-subagent-scaling && npm run agent:native-cli-session-proof && npm run agent:worker-backend-router && npm run agent:codex-child-overlap && npm run agent:model-authored-patch-envelope && npm run agent:fast-mode-default && npm run agent:fast-mode-worker-propagation && npm run codex:fast-mode-profile-propagation && npm run mad-sks:fast-mode-propagation && npm run zellij:launch-command-truth && npm run zellij:real-session-heartbeat && npm run zellij:ui-design && npm run zellij:doctor-readiness && npm run legacy:upgrade-zero-break && npm run publish:packlist-performance && npm run postinstall:safe-side-effects && npm run runtime:ts-rust-boundary && npm run core-skill:card-schema && npm run core-skill:rollout-scoring && npm run core-skill:patch && npm run core-skill:heldout-validation && npm run core-skill:deployment-snapshot && npm run core-skill:no-inference-optimizer && npm run core-skill:route-runtime-integration && npm run core-skill:promotion-side-effect-ledger && npm run core-skill:legacy-promotion-api-audit && npm run safety:side-effect-zero && npm run safety:mutation-callsite-coverage && npm run safety:mutation-callsite-coverage:repo-wide && npm run side-effect:runtime-report && npm run release:gate-planner && npm run release:dynamic-performance && npm run release:provenance && npm run release:gate-budget && npm run agent:wiki-context-proof && npm run shared-memory:check && npm run wrongness:check && npm run wrongness:fixtures && npm run trust:check && npm run git-collaboration:e2e && node ./dist/scripts/release-check-stamp.js write && npm run release:readiness --silent && node ./dist/scripts/release-check-stamp.js write",
314
+ "release:real-check": "node ./dist/scripts/release-real-check.js && npm run codex-control:real-smoke -- --require-real && npm run codex-sdk:real-smoke -- --require-real && SKS_REQUIRE_LOCAL_LLM=1 npm run local-llm:smoke && SKS_REQUIRE_LOCAL_LLM=1 npm run local-llm:throughput && SKS_REQUIRE_LOCAL_LLM=1 npm run local-llm:cache-performance && SKS_REQUIRE_PYTHON_CODEX_SDK=1 npm run python-sdk:real-smoke && SKS_REQUIRE_CODEX_0137=1 npm run codex:0.137-compat:require-real && npm run zellij:real-session-launch -- --require-real --main-only --mission M-release-real-zellij-extra --session sks-rrz-extra && npm run zellij:pane-proof -- --require-real --mission M-release-real-zellij-extra --session sks-rrz-extra --expected-lanes 0 && npm run zellij:screen-proof -- --require-real --main-only --mission M-release-real-zellij-extra && npm run zellij:real-session-cleanup -- --mission M-release-real-zellij-extra --session sks-rrz-extra && npm run agent:real-codex-in-zellij-worker-pane -- --require-real && SKS_REQUIRE_ZELLIJ=1 npm run naruto:zellij-massive-ui -- --require-real && SKS_REQUIRE_LOCAL_LLM=1 SKS_REQUIRE_GPT_FINAL=1 npm run naruto:real-local-gpt-final-smoke && SKS_REQUIRE_LOCAL_LLM=1 SKS_REQUIRE_GPT_FINAL=1 npm run local-collab:gpt-final-performance",
291
315
  "release:publish": "npm run publish:npm",
292
316
  "publish:dry": "npm run release:metadata && npm run release:version-truth && npm run publish:packlist-performance && npm run prepublish:release-check-or-fast && node ./dist/scripts/release-check-stamp.js verify && npm run release:provenance -- --publish && npm run release:dist-freshness && npm --cache /tmp/sks-npm-cache publish --dry-run --registry https://registry.npmjs.org/ --access public",
293
317
  "publish:npm": "npm --cache /tmp/sks-npm-cache publish --registry https://registry.npmjs.org/ --access public",
@@ -428,6 +452,16 @@
428
452
  "agent:rollback-command": "node ./dist/scripts/agent-rollback-command-check.js",
429
453
  "agent:native-cli-session-swarm": "node ./dist/scripts/agent-native-cli-session-swarm-check.js",
430
454
  "naruto:shadow-clone-swarm": "node ./dist/scripts/naruto-shadow-clone-swarm-check.js",
455
+ "naruto:work-graph": "node ./dist/scripts/naruto-work-graph-check.js",
456
+ "naruto:concurrency-governor": "node ./dist/scripts/naruto-concurrency-governor-check.js",
457
+ "naruto:active-pool": "node ./dist/scripts/naruto-active-pool-check.js",
458
+ "naruto:role-distribution": "node ./dist/scripts/naruto-role-distribution-check.js",
459
+ "naruto:parallel-patch-apply": "node ./dist/scripts/naruto-parallel-patch-apply-check.js",
460
+ "naruto:verification-pool": "node ./dist/scripts/naruto-verification-pool-check.js",
461
+ "naruto:zellij-massive-ui": "node ./dist/scripts/naruto-zellij-massive-ui-check.js",
462
+ "naruto:gpt-final-pack": "node ./dist/scripts/naruto-gpt-final-pack-check.js",
463
+ "naruto:real-local-gpt-final-smoke": "node ./dist/scripts/naruto-real-local-gpt-final-smoke.js",
464
+ "prompt:placeholder-guard": "node ./dist/scripts/prompt-placeholder-guard-check.js",
431
465
  "agent:native-cli-session-swarm-10": "node ./dist/scripts/agent-native-cli-session-swarm-10-check.js",
432
466
  "agent:native-cli-session-swarm-20": "node ./dist/scripts/agent-native-cli-session-swarm-20-check.js",
433
467
  "agent:worker-backend-router": "node ./dist/scripts/agent-worker-backend-router-check.js",
@@ -507,7 +541,7 @@
507
541
  "license": "MIT",
508
542
  "dependencies": {
509
543
  "@modelcontextprotocol/sdk": "1.29.0",
510
- "@openai/codex-sdk": "0.136.0",
544
+ "@openai/codex-sdk": "0.137.0",
511
545
  "figlet": "^1.11.0",
512
546
  "typescript": "^5.9.3"
513
547
  },
@@ -0,0 +1,57 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "sks.local-collaboration-policy.v1",
4
+ "type": "object",
5
+ "required": [
6
+ "schema",
7
+ "mode",
8
+ "gpt_final_required",
9
+ "gpt_final_backend_must_be_remote",
10
+ "local_only_draft",
11
+ "final_accepted_statuses",
12
+ "final_patch_source_when_enabled",
13
+ "blockers"
14
+ ],
15
+ "properties": {
16
+ "schema": {
17
+ "const": "sks.local-collaboration-policy.v1"
18
+ },
19
+ "mode": {
20
+ "enum": [
21
+ "disabled",
22
+ "local-draft-gpt-final",
23
+ "local-worker-gpt-orchestrator",
24
+ "local-parallel-gpt-final",
25
+ "local-only-draft"
26
+ ]
27
+ },
28
+ "gpt_final_required": {
29
+ "type": "boolean"
30
+ },
31
+ "gpt_final_backend_must_be_remote": {
32
+ "type": "boolean"
33
+ },
34
+ "local_only_draft": {
35
+ "type": "boolean"
36
+ },
37
+ "final_accepted_statuses": {
38
+ "type": "array",
39
+ "items": {
40
+ "enum": [
41
+ "approved",
42
+ "modified"
43
+ ]
44
+ }
45
+ },
46
+ "final_patch_source_when_enabled": {
47
+ "const": "gpt_final_arbiter"
48
+ },
49
+ "blockers": {
50
+ "type": "array",
51
+ "items": {
52
+ "type": "string"
53
+ }
54
+ }
55
+ },
56
+ "additionalProperties": true
57
+ }
@@ -0,0 +1,74 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "sks.local-model-config.v2",
4
+ "type": "object",
5
+ "required": ["schema", "enabled", "status", "provider", "endpoint", "model", "policy", "capability", "blockers"],
6
+ "properties": {
7
+ "schema": { "const": "sks.local-model-config.v2" },
8
+ "generated_at": { "type": "string" },
9
+ "updated_at": { "type": "string" },
10
+ "enabled": { "type": "boolean" },
11
+ "status": {
12
+ "enum": ["disabled", "enabled_unverified", "verified", "degraded", "blocked"]
13
+ },
14
+ "provider": { "enum": ["ollama", "mlx-lm", "openai-compatible"] },
15
+ "endpoint": { "type": "string" },
16
+ "base_url": { "type": "string" },
17
+ "model": { "type": "string", "minLength": 1 },
18
+ "keep_alive": { "type": "string" },
19
+ "timeout_ms": { "type": "number", "minimum": 1 },
20
+ "temperature": { "type": "number" },
21
+ "think": { "type": "boolean" },
22
+ "policy": {
23
+ "type": "object",
24
+ "required": ["role", "allowed_task_classes", "forbidden_task_classes", "requires_gpt_final"],
25
+ "properties": {
26
+ "role": { "const": "worker_only" },
27
+ "allowed_task_classes": { "type": "array", "items": { "type": "string" } },
28
+ "forbidden_task_classes": { "type": "array", "items": { "type": "string" } },
29
+ "requires_gpt_final": { "type": "boolean" }
30
+ },
31
+ "additionalProperties": false
32
+ },
33
+ "capability": {
34
+ "type": "object",
35
+ "required": ["api_reachable", "model_installed", "supports_streaming", "supports_json_schema", "supports_tools", "supports_images", "context_window", "max_parallel_requests"],
36
+ "properties": {
37
+ "api_reachable": { "type": "boolean" },
38
+ "model_installed": { "type": "boolean" },
39
+ "supports_streaming": { "type": "boolean" },
40
+ "supports_json_schema": { "type": "boolean" },
41
+ "supports_tools": { "type": "boolean" },
42
+ "supports_images": { "type": "boolean" },
43
+ "context_window": { "type": "number", "minimum": 1 },
44
+ "max_parallel_requests": { "type": "number", "minimum": 1 }
45
+ },
46
+ "additionalProperties": false
47
+ },
48
+ "last_smoke": {
49
+ "anyOf": [
50
+ { "type": "null" },
51
+ {
52
+ "type": "object",
53
+ "required": ["ok"],
54
+ "properties": {
55
+ "ok": { "type": "boolean" },
56
+ "skipped": { "type": "boolean" },
57
+ "ran_at": { "type": "string" },
58
+ "prompt_hash": { "type": "string" },
59
+ "latency_ms": { "type": "number" },
60
+ "tokens_per_second": { "type": "number" },
61
+ "schema_valid": { "type": "boolean" },
62
+ "result_path": { "type": "string" },
63
+ "status": { "enum": ["enabled_unverified", "verified", "degraded", "blocked"] },
64
+ "reason": { "type": "string" },
65
+ "blockers": { "type": "array", "items": { "type": "string" } }
66
+ },
67
+ "additionalProperties": false
68
+ }
69
+ ]
70
+ },
71
+ "blockers": { "type": "array", "items": { "type": "string" } }
72
+ },
73
+ "additionalProperties": false
74
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "sks.naruto-concurrency-governor.v1",
4
+ "type": "object",
5
+ "required": ["schema", "requested_clones", "total_work_items", "safe_active_workers", "safe_zellij_visible_panes", "headless_workers", "backpressure"],
6
+ "properties": {
7
+ "schema": { "const": "sks.naruto-concurrency-governor.v1" },
8
+ "requested_clones": { "type": "integer", "minimum": 1 },
9
+ "total_work_items": { "type": "integer", "minimum": 1 },
10
+ "safe_active_workers": { "type": "integer", "minimum": 1 },
11
+ "safe_zellij_visible_panes": { "type": "integer", "minimum": 1 },
12
+ "headless_workers": { "type": "integer", "minimum": 0 },
13
+ "local_llm_parallel": { "type": "integer", "minimum": 1 },
14
+ "remote_codex_parallel": { "type": "integer", "minimum": 1 },
15
+ "verification_parallel": { "type": "integer", "minimum": 1 },
16
+ "reasons": { "type": "array", "items": { "type": "string" } },
17
+ "backpressure": { "enum": ["normal", "throttled", "saturated"] }
18
+ },
19
+ "additionalProperties": true
20
+ }
21
+
@@ -0,0 +1,22 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "sks.naruto-work-graph.v1",
4
+ "type": "object",
5
+ "required": ["schema", "route", "requested_clones", "total_work_items", "work_items", "active_waves", "ok"],
6
+ "properties": {
7
+ "schema": { "const": "sks.naruto-work-graph.v1" },
8
+ "route": { "const": "$Naruto" },
9
+ "requested_clones": { "type": "integer", "minimum": 1 },
10
+ "total_work_items": { "type": "integer", "minimum": 1 },
11
+ "readonly": { "type": "boolean" },
12
+ "write_capable": { "type": "boolean" },
13
+ "work_items": { "type": "array", "items": { "type": "object" } },
14
+ "active_waves": { "type": "array", "items": { "type": "object" } },
15
+ "mixed_work_kinds": { "type": "array", "items": { "type": "string" } },
16
+ "write_allowed_count": { "type": "integer", "minimum": 0 },
17
+ "blockers": { "type": "array", "items": { "type": "string" } },
18
+ "ok": { "type": "boolean" }
19
+ },
20
+ "additionalProperties": true
21
+ }
22
+