sneakoscope 4.0.13 → 4.0.15
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.
- package/README.md +19 -2
- package/config/codex-releases/rust-v0.142.0.json +39 -0
- package/crates/sks-core/Cargo.lock +1 -1
- package/crates/sks-core/Cargo.toml +1 -1
- package/crates/sks-core/src/main.rs +1 -1
- package/dist/bin/sks.js +1 -1
- package/dist/cli/global-mode-router.js +2 -1
- package/dist/commands/codex.js +15 -1
- package/dist/core/codex-adapter.js +7 -12
- package/dist/core/codex-compat/codex-compat-report.js +11 -1
- package/dist/core/codex-compat/codex-release-manifest.js +66 -0
- package/dist/core/codex-compat/codex-version-policy.js +5 -4
- package/dist/core/codex-compat/codex-version.js +5 -2
- package/dist/core/codex-control/codex-0142-capability.js +243 -0
- package/dist/core/codex-control/codex-app-server-v2-client.js +211 -0
- package/dist/core/codex-control/codex-sdk-adapter.js +37 -7
- package/dist/core/codex-control/codex-sdk-capability.js +2 -1
- package/dist/core/codex-control/codex-sdk-config-policy.js +16 -0
- package/dist/core/codex-control/codex-sdk-env-policy.js +29 -5
- package/dist/core/codex-control/codex-thread-registry.js +110 -19
- package/dist/core/codex-runtime/resolve-codex-runtime.js +102 -0
- package/dist/core/commands/mad-sks-command.js +3 -0
- package/dist/core/fsx.js +1 -1
- package/dist/core/providers/glm/bench/glm-bench-model-lock-proof.js +32 -3
- package/dist/core/providers/glm/bench/glm-benchmark-runner.js +29 -5
- package/dist/core/providers/glm/bench/glm-benchmark-types.js +1 -1
- package/dist/core/providers/glm/naruto/glm-naruto-critical-path.js +51 -0
- package/dist/core/providers/glm/naruto/glm-naruto-final-seal.js +9 -2
- package/dist/core/providers/glm/naruto/glm-naruto-orchestrator.js +101 -15
- package/dist/core/providers/glm/naruto/glm-naruto-parallelism-summary.js +55 -0
- package/dist/core/providers/glm/naruto/glm-naruto-requirement-coverage.js +92 -0
- package/dist/core/providers/glm/naruto/glm-naruto-requirement-ledger.js +42 -0
- package/dist/core/providers/glm/naruto/glm-naruto-stage-scheduler.js +85 -0
- package/dist/core/providers/glm/naruto/glm-naruto-task-size-classifier.js +12 -0
- package/dist/core/providers/glm/naruto/glm-naruto-trace.js +4 -0
- package/dist/core/providers/glm/naruto/glm-naruto-verifier-output.js +5 -0
- package/dist/core/providers/glm/naruto/glm-naruto-worker-pool.js +130 -44
- package/dist/core/providers/glm/naruto/glm-naruto-worker-runtime.js +6 -2
- package/dist/core/release/gate-manifest.js +24 -1
- package/dist/core/release/gate-pack-manifest.js +6 -6
- package/dist/core/release/release-gate-affected-selector.js +24 -0
- package/dist/core/routes/model-mode-router.js +44 -0
- package/dist/core/routes.js +1 -1
- package/dist/core/version.js +1 -1
- package/dist/scripts/agent-ast-aware-work-graph-check.js +25 -0
- package/dist/scripts/agent-backfill-replenishment-check.js +13 -0
- package/dist/scripts/agent-backfill-route-blackbox.js +5 -0
- package/dist/scripts/agent-background-terminals-check.js +16 -0
- package/dist/scripts/agent-cleanup-command-ux-check.js +12 -0
- package/dist/scripts/agent-cleanup-executor-check.js +53 -0
- package/dist/scripts/agent-cleanup-executor-v2-check.js +39 -0
- package/dist/scripts/agent-cli-options-to-task-graph-check.js +5 -0
- package/dist/scripts/agent-codex-app-cockpit-check.js +91 -0
- package/dist/scripts/agent-codex-child-overlap-check.js +21 -0
- package/dist/scripts/agent-dynamic-cockpit-check.js +10 -0
- package/dist/scripts/agent-dynamic-pool-check.js +13 -0
- package/dist/scripts/agent-dynamic-pool-route-blackbox.js +5 -0
- package/dist/scripts/agent-fast-mode-default-check.js +79 -0
- package/dist/scripts/agent-fast-mode-worker-propagation-check.js +7 -0
- package/dist/scripts/agent-follow-up-work-schema-check.js +80 -0
- package/dist/scripts/agent-goal-mode-propagation-check.js +9 -0
- package/dist/scripts/agent-intelligent-work-graph-check.js +29 -0
- package/dist/scripts/agent-janitor-check.js +79 -0
- package/dist/scripts/agent-main-no-scout-check.js +11 -0
- package/dist/scripts/agent-message-bus-reader-check.js +19 -0
- package/dist/scripts/agent-model-authored-patch-envelope-check.js +15 -0
- package/dist/scripts/agent-multi-project-isolation-check.js +86 -0
- package/dist/scripts/agent-native-cli-session-proof-check.js +7 -0
- package/dist/scripts/agent-native-cli-session-swarm-10-check.js +7 -0
- package/dist/scripts/agent-native-cli-session-swarm-20-check.js +7 -0
- package/dist/scripts/agent-native-cli-session-swarm-check.js +7 -0
- package/dist/scripts/agent-no-subagent-scaling-check.js +7 -0
- package/dist/scripts/agent-official-subagent-helper-policy-check.js +71 -0
- package/dist/scripts/agent-parallel-write-blackbox.js +56 -0
- package/dist/scripts/agent-parallel-write-kernel-check.js +103 -0
- package/dist/scripts/agent-patch-conflict-rebase-check.js +198 -0
- package/dist/scripts/agent-patch-envelope-extraction-check.js +17 -0
- package/dist/scripts/agent-patch-proof-check.js +41 -0
- package/dist/scripts/agent-patch-proof-runtime-check.js +63 -0
- package/dist/scripts/agent-patch-queue-runtime-check.js +36 -0
- package/dist/scripts/agent-patch-rollback-check.js +38 -0
- package/dist/scripts/agent-patch-rollback-dag-check.js +14 -0
- package/dist/scripts/agent-patch-swarm-route-blackbox.js +10 -0
- package/dist/scripts/agent-patch-swarm-runtime-check.js +10 -0
- package/dist/scripts/agent-patch-swarm-runtime-truth-check.js +76 -0
- package/dist/scripts/agent-patch-transaction-journal-check.js +57 -0
- package/dist/scripts/agent-patch-verification-dag-check.js +14 -0
- package/dist/scripts/agent-proof-contract-reconciled-check.js +5 -0
- package/dist/scripts/agent-real-codex-dynamic-smoke-check.js +166 -0
- package/dist/scripts/agent-real-codex-dynamic-smoke-v2-check.js +14 -0
- package/dist/scripts/agent-real-codex-in-zellij-worker-pane-check.js +227 -0
- package/dist/scripts/agent-real-codex-parallel-workers-10-check.js +5 -0
- package/dist/scripts/agent-real-codex-parallel-workers-20-check.js +5 -0
- package/dist/scripts/agent-real-codex-parallel-workers-5-check.js +5 -0
- package/dist/scripts/agent-real-codex-parallel-workers-check.js +5 -0
- package/dist/scripts/agent-role-config-repair-check.js +33 -0
- package/dist/scripts/agent-rollback-command-check.js +86 -0
- package/dist/scripts/agent-route-truth-backfill-check.js +5 -0
- package/dist/scripts/agent-scheduler-proof-check.js +13 -0
- package/dist/scripts/agent-scheduler-proof-hardening-check.js +22 -0
- package/dist/scripts/agent-session-generation-check.js +21 -0
- package/dist/scripts/agent-slot-pane-binding-proof-check.js +64 -0
- package/dist/scripts/agent-slot-telemetry-wiring-check.js +11 -0
- package/dist/scripts/agent-source-intelligence-propagation-check.js +9 -0
- package/dist/scripts/agent-strategy-to-lease-wiring-check.js +32 -0
- package/dist/scripts/agent-strategy-to-patch-strict-check.js +54 -0
- package/dist/scripts/agent-task-graph-expansion-check.js +14 -0
- package/dist/scripts/agent-terminal-generations-check.js +23 -0
- package/dist/scripts/agent-visual-consistency-check.js +9 -0
- package/dist/scripts/agent-wiki-context-proof-check.js +62 -0
- package/dist/scripts/agent-worker-backend-router-check.js +63 -0
- package/dist/scripts/agent-worker-scout-limited-check.js +17 -0
- package/dist/scripts/agent-zellij-dynamic-backfill-panes-check.js +34 -0
- package/dist/scripts/agent-zellij-runtime-check.js +85 -0
- package/dist/scripts/all-feature-deep-completion-check.js +31 -0
- package/dist/scripts/appshots-capability-check.js +18 -0
- package/dist/scripts/appshots-evidence-check.js +48 -0
- package/dist/scripts/appshots-operator-policy-check.js +25 -0
- package/dist/scripts/appshots-privacy-safety-check.js +48 -0
- package/dist/scripts/appshots-source-intelligence-check.js +53 -0
- package/dist/scripts/appshots-thread-attachment-discovery-check.js +87 -0
- package/dist/scripts/appshots-triwiki-voxel-check.js +46 -0
- package/dist/scripts/architecture-guard-check.js +55 -0
- package/dist/scripts/brand-neutrality-generated-artifacts-check.js +161 -0
- package/dist/scripts/brand-neutrality-rename-map-check.js +4 -0
- package/dist/scripts/brand-neutrality-zero-leakage-blackbox.js +4 -0
- package/dist/scripts/brand-neutrality-zero-leakage-check.js +4 -0
- package/dist/scripts/build-once-runner-blackbox.js +34 -0
- package/dist/scripts/build-once-runner-check.js +8 -0
- package/dist/scripts/certificate-sla-check.js +9 -0
- package/dist/scripts/changelog-check.js +47 -0
- package/dist/scripts/changelog-loop-productionization-check.js +3 -0
- package/dist/scripts/cli-check-tiers-check.js +10 -0
- package/dist/scripts/cli-five-minute-task-check.js +6 -0
- package/dist/scripts/codex-0-133-official-compat-report.js +53 -0
- package/dist/scripts/codex-0-134-official-compat-report.js +110 -0
- package/dist/scripts/codex-0-134-runner-truth-check.js +66 -0
- package/dist/scripts/codex-0-135-compat-check.js +57 -0
- package/dist/scripts/codex-0-136-compat-check.js +30 -0
- package/dist/scripts/codex-0-137-compat-check.js +27 -0
- package/dist/scripts/codex-0138-capability-artifact-check.js +15 -0
- package/dist/scripts/codex-0138-capability-check.js +11 -0
- package/dist/scripts/codex-0138-doctor-check.js +15 -0
- package/dist/scripts/codex-0138-feature-probes-check.js +12 -0
- package/dist/scripts/codex-0139-capability-check.js +26 -0
- package/dist/scripts/codex-0139-code-mode-web-search-check.js +25 -0
- package/dist/scripts/codex-0139-code-mode-web-search-real-check.js +10 -0
- package/dist/scripts/codex-0139-doctor-env-real-check.js +10 -0
- package/dist/scripts/codex-0139-doctor-env-redaction-check.js +18 -0
- package/dist/scripts/codex-0139-feature-probes-check.js +30 -0
- package/dist/scripts/codex-0139-image-path-real-check.js +10 -0
- package/dist/scripts/codex-0139-interrupt-agent-check.js +14 -0
- package/dist/scripts/codex-0139-interrupt-agent-real-check.js +8 -0
- package/dist/scripts/codex-0139-marketplace-source-check.js +13 -0
- package/dist/scripts/codex-0139-plugin-cache-real-check.js +10 -0
- package/dist/scripts/codex-0139-plugin-marketplace-real-check.js +10 -0
- package/dist/scripts/codex-0139-real-probe-summary-check.js +14 -0
- package/dist/scripts/codex-0139-real-probes-check.js +37 -0
- package/dist/scripts/codex-0139-rich-tool-schema-check.js +12 -0
- package/dist/scripts/codex-0139-rich-tool-schema-real-check.js +10 -0
- package/dist/scripts/codex-0139-sandbox-profile-alias-check.js +13 -0
- package/dist/scripts/codex-0139-sandbox-profile-alias-real-check.js +10 -0
- package/dist/scripts/codex-0139-sandbox-proxy-real-check.js +10 -0
- package/dist/scripts/codex-0140-bedrock-managed-auth-check.js +4 -0
- package/dist/scripts/codex-0140-capability-check.js +15 -0
- package/dist/scripts/codex-0140-deep-probes-check.js +40 -0
- package/dist/scripts/codex-0140-feature-probes-check.js +24 -0
- package/dist/scripts/codex-0140-goal-attachment-preservation-check.js +8 -0
- package/dist/scripts/codex-0140-goal-attachment-roundtrip-check.js +9 -0
- package/dist/scripts/codex-0140-import-check.js +4 -0
- package/dist/scripts/codex-0140-integration-blackbox.js +13 -0
- package/dist/scripts/codex-0140-large-repo-performance-check.js +4 -0
- package/dist/scripts/codex-0140-mcp-reliability-check.js +4 -0
- package/dist/scripts/codex-0140-non-tty-interrupt-check.js +4 -0
- package/dist/scripts/codex-0140-real-probes-check.js +9 -0
- package/dist/scripts/codex-0140-session-delete-check.js +4 -0
- package/dist/scripts/codex-0140-sqlite-recovery-check.js +4 -0
- package/dist/scripts/codex-0140-unified-mentions-check.js +4 -0
- package/dist/scripts/codex-0140-usage-check.js +4 -0
- package/dist/scripts/codex-0140-usage-real-parser-check.js +17 -0
- package/dist/scripts/codex-0141-capability-check.js +17 -0
- package/dist/scripts/codex-0142-app-server-v2-check.js +46 -0
- package/dist/scripts/codex-0142-binary-identity-check.js +17 -0
- package/dist/scripts/codex-0142-capability-check.js +21 -0
- package/dist/scripts/codex-0142-manifest-check.js +21 -0
- package/dist/scripts/codex-0142-policy-check.js +32 -0
- package/dist/scripts/codex-0142-thread-store-check.js +54 -0
- package/dist/scripts/codex-account-usage-autodiscovery-check.js +22 -0
- package/dist/scripts/codex-account-usage-check.js +9 -0
- package/dist/scripts/codex-agent-role-rich-content-check.js +4 -0
- package/dist/scripts/codex-agent-role-sync-check.js +4 -0
- package/dist/scripts/codex-agent-type-blackbox.js +4 -0
- package/dist/scripts/codex-agent-type-probe-check.js +4 -0
- package/dist/scripts/codex-agent-type-routing-check.js +4 -0
- package/dist/scripts/codex-app-execution-profile-check.js +4 -0
- package/dist/scripts/codex-app-fast-ui-preservation-check.js +32 -0
- package/dist/scripts/codex-app-handoff-check.js +25 -0
- package/dist/scripts/codex-app-handoff-launch-check.js +25 -0
- package/dist/scripts/codex-app-harness-blackbox.js +4 -0
- package/dist/scripts/codex-app-harness-matrix-check.js +4 -0
- package/dist/scripts/codex-app-launcher-check.js +17 -0
- package/dist/scripts/codex-app-provider-badge-check.js +37 -0
- package/dist/scripts/codex-app-skill-agent-blackbox.js +4 -0
- package/dist/scripts/codex-app-type-safety-check.js +4 -0
- package/dist/scripts/codex-app-ui-clobber-guard-check.js +22 -0
- package/dist/scripts/codex-app-ui-preservation-check.js +96 -0
- package/dist/scripts/codex-control-all-pipelines-check.js +37 -0
- package/dist/scripts/codex-control-capability-check.js +10 -0
- package/dist/scripts/codex-control-empty-result-retry-check.js +43 -0
- package/dist/scripts/codex-control-event-stream-ledger-check.js +10 -0
- package/dist/scripts/codex-control-keepalive-no-cot-leak-check.js +14 -0
- package/dist/scripts/codex-control-no-legacy-fallback-check.js +31 -0
- package/dist/scripts/codex-control-side-effect-scope-check.js +26 -0
- package/dist/scripts/codex-control-stream-idle-watchdog-check.js +18 -0
- package/dist/scripts/codex-control-structured-output-check.js +11 -0
- package/dist/scripts/codex-control-thread-registry-check.js +11 -0
- package/dist/scripts/codex-control-tool-call-sequence-repair-check.js +14 -0
- package/dist/scripts/codex-effort-auto-discovery-check.js +17 -0
- package/dist/scripts/codex-effort-order-check.js +9 -0
- package/dist/scripts/codex-environment-scoped-approvals-check.js +10 -0
- package/dist/scripts/codex-exec-output-schema-actual-syntax-check.js +33 -0
- package/dist/scripts/codex-fast-mode-profile-propagation-check.js +14 -0
- package/dist/scripts/codex-history-search-check.js +19 -0
- package/dist/scripts/codex-hook-approval-blackbox.js +4 -0
- package/dist/scripts/codex-hook-approval-matrix-check.js +4 -0
- package/dist/scripts/codex-hook-approval-probe-check.js +4 -0
- package/dist/scripts/codex-hook-lifecycle-check.js +4 -0
- package/dist/scripts/codex-hook-semantic-check.js +15 -0
- package/dist/scripts/codex-hook-strict-subset-check.js +61 -0
- package/dist/scripts/codex-init-deep-check.js +4 -0
- package/dist/scripts/codex-init-deep-directory-local-blackbox.js +4 -0
- package/dist/scripts/codex-init-deep-managed-agents-check.js +4 -0
- package/dist/scripts/codex-lb-config-toml-safety-check.js +85 -0
- package/dist/scripts/codex-lb-persistence-truth-check.js +96 -0
- package/dist/scripts/codex-lb-setup-fixture-check.js +91 -0
- package/dist/scripts/codex-lb-setup-truthfulness-check.js +84 -0
- package/dist/scripts/codex-legacy-profile-consumers-removed-check.js +24 -0
- package/dist/scripts/codex-managed-proxy-env-check.js +17 -0
- package/dist/scripts/codex-model-metadata-check.js +10 -0
- package/dist/scripts/codex-native-agent-role-content-check.js +27 -0
- package/dist/scripts/codex-native-broker-read-only-check.js +44 -0
- package/dist/scripts/codex-native-feature-broker-blackbox.js +4 -0
- package/dist/scripts/codex-native-feature-broker-check.js +4 -0
- package/dist/scripts/codex-native-harness-compat-check.js +4 -0
- package/dist/scripts/codex-native-hook-lifecycle-proof-check.js +4 -0
- package/dist/scripts/codex-native-interop-policy-check.js +4 -0
- package/dist/scripts/codex-native-invocation-defaults-check.js +4 -0
- package/dist/scripts/codex-native-invocation-router-check.js +4 -0
- package/dist/scripts/codex-native-pattern-analysis-blackbox.js +4 -0
- package/dist/scripts/codex-native-pattern-analysis-check.js +4 -0
- package/dist/scripts/codex-native-read-repair-split-blackbox.js +55 -0
- package/dist/scripts/codex-native-reference-cache-blackbox.js +41 -0
- package/dist/scripts/codex-native-reference-cache-check.js +23 -0
- package/dist/scripts/codex-native-reference-evidence-check.js +4 -0
- package/dist/scripts/codex-native-repair-transaction-check.js +45 -0
- package/dist/scripts/codex-native-route-map-check.js +4 -0
- package/dist/scripts/codex-native-skill-content-check.js +24 -0
- package/dist/scripts/codex-output-schema-fixture-check.js +25 -0
- package/dist/scripts/codex-permission-profiles-check.js +36 -0
- package/dist/scripts/codex-plugin-app-template-policy-check.js +11 -0
- package/dist/scripts/codex-plugin-cache-check.js +15 -0
- package/dist/scripts/codex-plugin-diff-check.js +16 -0
- package/dist/scripts/codex-plugin-inventory-check.js +15 -0
- package/dist/scripts/codex-plugin-json-check.js +10 -0
- package/dist/scripts/codex-plugin-list-json-check.js +8 -0
- package/dist/scripts/codex-plugin-parallel-detail-fetch-check.js +12 -0
- package/dist/scripts/codex-profile-primary-check.js +13 -0
- package/dist/scripts/codex-project-config-policy-splitter-check.js +51 -0
- package/dist/scripts/codex-resume-cwd-truth-check.js +17 -0
- package/dist/scripts/codex-sdk-all-pipelines-check.js +33 -0
- package/dist/scripts/codex-sdk-backend-router-check.js +65 -0
- package/dist/scripts/codex-sdk-capability-check.js +11 -0
- package/dist/scripts/codex-sdk-core-skill-pipeline-check.js +9 -0
- package/dist/scripts/codex-sdk-dfix-pipeline-check.js +9 -0
- package/dist/scripts/codex-sdk-event-stream-ledger-check.js +9 -0
- package/dist/scripts/codex-sdk-no-legacy-fallback-check.js +33 -0
- package/dist/scripts/codex-sdk-qa-pipeline-check.js +8 -0
- package/dist/scripts/codex-sdk-real-smoke-check.js +39 -0
- package/dist/scripts/codex-sdk-release-review-pipeline-check.js +13 -0
- package/dist/scripts/codex-sdk-research-pipeline-check.js +47 -0
- package/dist/scripts/codex-sdk-sandbox-policy-check.js +21 -0
- package/dist/scripts/codex-sdk-structured-output-check.js +10 -0
- package/dist/scripts/codex-sdk-team-naruto-agent-pipeline-check.js +12 -0
- package/dist/scripts/codex-sdk-thread-registry-check.js +11 -0
- package/dist/scripts/codex-sdk-ux-ppt-review-pipeline-check.js +9 -0
- package/dist/scripts/codex-sdk-version-compat-check.js +10 -0
- package/dist/scripts/codex-sdk-zellij-pane-binding-check.js +13 -0
- package/dist/scripts/codex-skill-rich-content-check.js +4 -0
- package/dist/scripts/codex-skill-sync-check.js +4 -0
- package/dist/scripts/codex-thread-runtime-choice-check.js +10 -0
- package/dist/scripts/codex-web-adapter-check.js +12 -0
- package/dist/scripts/computer-use-live-evidence-check.js +55 -0
- package/dist/scripts/computer-use-live-optional-check.js +32 -0
- package/dist/scripts/computer-use-policy-check.js +69 -0
- package/dist/scripts/computer-use-visual-route-fixture-check.js +37 -0
- package/dist/scripts/config-managed-merge-callsite-coverage-check.js +200 -0
- package/dist/scripts/context7-evidence-dedupe-check.js +54 -0
- package/dist/scripts/core-skill-card-schema-check.js +61 -0
- package/dist/scripts/core-skill-deployment-snapshot-check.js +54 -0
- package/dist/scripts/core-skill-heldout-validation-check.js +49 -0
- package/dist/scripts/core-skill-immutable-sync-check.js +18 -0
- package/dist/scripts/core-skill-integrity-blackbox.js +32 -0
- package/dist/scripts/core-skill-manifest-check.js +15 -0
- package/dist/scripts/core-skill-no-drift-check.js +24 -0
- package/dist/scripts/core-skill-no-inference-optimizer-check.js +75 -0
- package/dist/scripts/core-skill-patch-check.js +79 -0
- package/dist/scripts/core-skill-promotion-side-effect-ledger-check.js +64 -0
- package/dist/scripts/core-skill-rollout-scoring-check.js +72 -0
- package/dist/scripts/core-skill-route-runtime-integration-check.js +49 -0
- package/dist/scripts/core-skill-trainer-check.js +116 -0
- package/dist/scripts/dfix-fast-blackbox-check.js +37 -0
- package/dist/scripts/dfix-fast-kernel-check.js +26 -0
- package/dist/scripts/dfix-fixture-check.js +6 -0
- package/dist/scripts/dfix-parallel-write-blackbox.js +48 -0
- package/dist/scripts/dfix-patch-handoff-check.js +13 -0
- package/dist/scripts/dfix-patch-swarm-route-blackbox.js +10 -0
- package/dist/scripts/dfix-performance-check.js +15 -0
- package/dist/scripts/dfix-verification-check.js +9 -0
- package/dist/scripts/dfix-verification-recommendation-check.js +15 -0
- package/dist/scripts/docs-brand-neutrality-check.js +4 -0
- package/dist/scripts/docs-codex-0139-wording-check.js +21 -0
- package/dist/scripts/docs-loop-productionization-check.js +3 -0
- package/dist/scripts/docs-loop-runtime-check.js +3 -0
- package/dist/scripts/docs-truthfulness-check.js +61 -0
- package/dist/scripts/doctor-codex-0138-fix-check.js +10 -0
- package/dist/scripts/doctor-codex-0139-real-probes-check.js +25 -0
- package/dist/scripts/doctor-codex-app-harness-check.js +4 -0
- package/dist/scripts/doctor-codex-doctor-parity-check.js +17 -0
- package/dist/scripts/doctor-codex-native-readiness-ux-check.js +29 -0
- package/dist/scripts/doctor-codex-native-repair-actions-check.js +24 -0
- package/dist/scripts/doctor-codex-startup-repair-check.js +103 -0
- package/dist/scripts/doctor-context7-mcp-repair-blackbox.js +16 -0
- package/dist/scripts/doctor-context7-mcp-repair-check.js +11 -0
- package/dist/scripts/doctor-context7-repair-check.js +47 -0
- package/dist/scripts/doctor-dirty-plan-check.js +9 -0
- package/dist/scripts/doctor-dirty-repair-blackbox.js +22 -0
- package/dist/scripts/doctor-dirty-repair-check.js +8 -0
- package/dist/scripts/doctor-dirty-semantic-blackbox.js +8 -0
- package/dist/scripts/doctor-dirty-semantic-check.js +7 -0
- package/dist/scripts/doctor-fix-production-blackbox.js +26 -0
- package/dist/scripts/doctor-fix-proves-codex-read-check.js +102 -0
- package/dist/scripts/doctor-fix-recovers-corrupted-config-check.js +122 -0
- package/dist/scripts/doctor-fixes-codex-app-fast-ui-check.js +44 -0
- package/dist/scripts/doctor-native-capability-repair-blackbox.js +39 -0
- package/dist/scripts/doctor-native-capability-repair-check.js +10 -0
- package/dist/scripts/doctor-native-repair-output-check.js +18 -0
- package/dist/scripts/doctor-startup-config-repair-blackbox.js +13 -0
- package/dist/scripts/doctor-startup-config-repair-check.js +10 -0
- package/dist/scripts/doctor-supabase-mcp-repair-blackbox.js +14 -0
- package/dist/scripts/doctor-supabase-mcp-repair-check.js +12 -0
- package/dist/scripts/doctor-transaction-engine-blackbox.js +28 -0
- package/dist/scripts/doctor-transaction-engine-check.js +31 -0
- package/dist/scripts/doctor-zellij-fix-blackbox.js +4 -0
- package/dist/scripts/doctor-zellij-fix-output-check.js +4 -0
- package/dist/scripts/doctor-zellij-no-homebrew-blackbox.js +4 -0
- package/dist/scripts/doctor-zellij-repair-check.js +4 -0
- package/dist/scripts/doctor-zellij-upgrade-blackbox.js +4 -0
- package/dist/scripts/evidence-fixture-check.js +26 -0
- package/dist/scripts/evidence-flagship-coverage-check.js +55 -0
- package/dist/scripts/fake-real-proof-policy-v2-check.js +27 -0
- package/dist/scripts/fake-vs-real-proof-policy-check.js +14 -0
- package/dist/scripts/fast-codex-service-tier-proof-check.js +42 -0
- package/dist/scripts/flagship-proof-graph-v2-check.js +48 -0
- package/dist/scripts/flagship-proof-graph-v3-check.js +67 -0
- package/dist/scripts/flagship-proof-graph-v4-check.js +61 -0
- package/dist/scripts/gate-pack-fixture-cache-check.js +9 -0
- package/dist/scripts/gate-pack-manifest-check.js +9 -0
- package/dist/scripts/gate-pack-runner-blackbox.js +27 -0
- package/dist/scripts/gate-pack-runner-check.js +6 -0
- package/dist/scripts/gate-pack-v2-blackbox.js +18 -0
- package/dist/scripts/git-precommit-fixture-check.js +41 -0
- package/dist/scripts/git-worktree-batch-allocation-check.js +10 -0
- package/dist/scripts/git-worktree-cache-performance-check.js +25 -0
- package/dist/scripts/git-worktree-capability-check.js +27 -0
- package/dist/scripts/git-worktree-checkpoint-check.js +20 -0
- package/dist/scripts/git-worktree-cleanup-check.js +27 -0
- package/dist/scripts/git-worktree-cross-rebase-check.js +41 -0
- package/dist/scripts/git-worktree-diff-envelope-check.js +17 -0
- package/dist/scripts/git-worktree-diff-export-check.js +43 -0
- package/dist/scripts/git-worktree-dirty-lock-check.js +17 -0
- package/dist/scripts/git-worktree-dirty-main-detection-check.js +14 -0
- package/dist/scripts/git-worktree-integration-primary-check.js +24 -0
- package/dist/scripts/git-worktree-integration-primary-runtime-check.js +20 -0
- package/dist/scripts/git-worktree-manager-check.js +37 -0
- package/dist/scripts/git-worktree-manifest-append-check.js +18 -0
- package/dist/scripts/git-worktree-merge-queue-check.js +31 -0
- package/dist/scripts/git-worktree-pool-performance-check.js +20 -0
- package/dist/scripts/git-worktree-prewarm-runtime-check.js +7 -0
- package/dist/scripts/git-worktree-untracked-diff-check.js +18 -0
- package/dist/scripts/goal-artifact-compat-check.js +3 -0
- package/dist/scripts/goal-legacy-runtime-escape-check.js +3 -0
- package/dist/scripts/goal-loop-compat-check.js +3 -0
- package/dist/scripts/goal-loop-runtime-default-check.js +3 -0
- package/dist/scripts/goal-mode-official-default-check.js +12 -0
- package/dist/scripts/gpt-final-arbiter-check.js +63 -0
- package/dist/scripts/gpt-final-arbiter-performance-check.js +36 -0
- package/dist/scripts/gpt-image-2-request-validator-check.js +35 -0
- package/dist/scripts/hooks-0.134-context-parity-check.js +20 -0
- package/dist/scripts/hooks-actual-parity-check.js +17 -0
- package/dist/scripts/hooks-actual-parity-v2-check.js +21 -0
- package/dist/scripts/hooks-latest-schema-check.js +20 -0
- package/dist/scripts/hooks-managed-install-fixture-check.js +21 -0
- package/dist/scripts/hooks-official-hash-oracle-check.js +35 -0
- package/dist/scripts/hooks-official-hash-parity-check.js +17 -0
- package/dist/scripts/hooks-subagent-events-check.js +17 -0
- package/dist/scripts/hooks-trust-state-check.js +14 -0
- package/dist/scripts/image-artifact-path-contract-check.js +14 -0
- package/dist/scripts/image-artifact-registry-check.js +14 -0
- package/dist/scripts/image-fidelity-fixture-check.js +24 -0
- package/dist/scripts/image-followup-edit-path-check.js +14 -0
- package/dist/scripts/image-generation-path-handoff-check.js +8 -0
- package/dist/scripts/image-global-path-contract-check.js +38 -0
- package/dist/scripts/imagegen-capability-check.js +30 -0
- package/dist/scripts/imagegen-real-smoke-check.js +155 -0
- package/dist/scripts/init-deep-backup-retention-check.js +37 -0
- package/dist/scripts/init-deep-memory-scope-safety-check.js +23 -0
- package/dist/scripts/install-update-preserves-config-check.js +172 -0
- package/dist/scripts/json-schema-recursive-check.js +78 -0
- package/dist/scripts/legacy-gate-inventory-check.js +49 -0
- package/dist/scripts/legacy-gate-purge-check.js +7 -0
- package/dist/scripts/legacy-multiagent-removal-check.js +85 -0
- package/dist/scripts/legacy-purge-final-check.js +5 -0
- package/dist/scripts/legacy-strong-inventory-check.js +43 -0
- package/dist/scripts/legacy-upgrade-matrix-check.js +300 -0
- package/dist/scripts/local-collab-all-pipelines-final-gpt-check.js +21 -0
- package/dist/scripts/local-collab-gpt-final-availability-check.js +58 -0
- package/dist/scripts/local-collab-no-local-only-final-check.js +27 -0
- package/dist/scripts/local-collab-policy-check.js +17 -0
- package/dist/scripts/local-collab-worktree-gpt-final-apply-policy-check.js +63 -0
- package/dist/scripts/local-llm-all-pipelines-check.js +11 -0
- package/dist/scripts/local-llm-cache-performance-check.js +10 -0
- package/dist/scripts/local-llm-capability-check.js +14 -0
- package/dist/scripts/local-llm-smoke-check.js +32 -0
- package/dist/scripts/local-llm-structured-output-check.js +11 -0
- package/dist/scripts/local-llm-throughput-check.js +10 -0
- package/dist/scripts/local-llm-tool-call-repair-check.js +10 -0
- package/dist/scripts/local-llm-warmup-check.js +11 -0
- package/dist/scripts/loop-artifact-paths-check.js +3 -0
- package/dist/scripts/loop-blocker-check.js +15 -0
- package/dist/scripts/loop-cli-check.js +3 -0
- package/dist/scripts/loop-cli-registry-check.js +3 -0
- package/dist/scripts/loop-collision-blackbox.js +3 -0
- package/dist/scripts/loop-concurrency-budget-check.js +3 -0
- package/dist/scripts/loop-concurrency-budget-runtime-check.js +3 -0
- package/dist/scripts/loop-concurrency-oversubscription-blackbox.js +3 -0
- package/dist/scripts/loop-continuation-enforcer-check.js +4 -0
- package/dist/scripts/loop-decomposer-check.js +3 -0
- package/dist/scripts/loop-directive-check-lib.js +388 -0
- package/dist/scripts/loop-execution-profile-routing-check.js +4 -0
- package/dist/scripts/loop-final-arbiter-contract-check.js +3 -0
- package/dist/scripts/loop-fixture-policy-check.js +3 -0
- package/dist/scripts/loop-fixture-production-misuse-blackbox.js +3 -0
- package/dist/scripts/loop-fixture-safety-check.js +3 -0
- package/dist/scripts/loop-gate-fixture-guard-check.js +3 -0
- package/dist/scripts/loop-gate-ladder-check.js +3 -0
- package/dist/scripts/loop-gate-runner-check.js +3 -0
- package/dist/scripts/loop-gate-selector-check.js +3 -0
- package/dist/scripts/loop-gpt-final-contract-crossref-check.js +3 -0
- package/dist/scripts/loop-gpt-final-fixture-guard-check.js +3 -0
- package/dist/scripts/loop-gpt-final-gate-contract-check.js +3 -0
- package/dist/scripts/loop-hardening-check-lib.js +289 -0
- package/dist/scripts/loop-integration-finalizer-check.js +3 -0
- package/dist/scripts/loop-integration-merge-strategy-check.js +3 -0
- package/dist/scripts/loop-interrupt-registry-check.js +3 -0
- package/dist/scripts/loop-kill-interrupt-real-blackbox.js +3 -0
- package/dist/scripts/loop-lease-check.js +3 -0
- package/dist/scripts/loop-merge-strategy-blackbox.js +3 -0
- package/dist/scripts/loop-merge-strategy-check.js +3 -0
- package/dist/scripts/loop-mesh-production-e2e-blackbox.js +3 -0
- package/dist/scripts/loop-mutation-ledger-check.js +3 -0
- package/dist/scripts/loop-observability-check.js +3 -0
- package/dist/scripts/loop-owner-inference-check.js +3 -0
- package/dist/scripts/loop-planner-check.js +3 -0
- package/dist/scripts/loop-planner-project-memory-check.js +4 -0
- package/dist/scripts/loop-planner-project-memory-deep-check.js +4 -0
- package/dist/scripts/loop-proof-check.js +3 -0
- package/dist/scripts/loop-proof-summary-cli-check.js +3 -0
- package/dist/scripts/loop-risk-classifier-check.js +3 -0
- package/dist/scripts/loop-runtime-check.js +3 -0
- package/dist/scripts/loop-scheduler-check.js +3 -0
- package/dist/scripts/loop-schema-check.js +3 -0
- package/dist/scripts/loop-side-effect-blackbox.js +3 -0
- package/dist/scripts/loop-side-effect-final-arbiter-check.js +3 -0
- package/dist/scripts/loop-side-effect-scanner-check.js +3 -0
- package/dist/scripts/loop-state-check.js +3 -0
- package/dist/scripts/loop-status-proof-ux-check.js +3 -0
- package/dist/scripts/loop-worker-fixture-guard-check.js +3 -0
- package/dist/scripts/loop-worker-handle-registration-check.js +3 -0
- package/dist/scripts/loop-worker-interrupt-check.js +3 -0
- package/dist/scripts/loop-worktree-policy-check.js +3 -0
- package/dist/scripts/loop-zellij-ui-check.js +3 -0
- package/dist/scripts/mad-db-capability-check.js +15 -0
- package/dist/scripts/mad-db-command-check.js +13 -0
- package/dist/scripts/mad-db-ledger-check.js +7 -0
- package/dist/scripts/mad-db-lifecycle-hook-decision-check.js +17 -0
- package/dist/scripts/mad-db-mad-command-check.js +100 -0
- package/dist/scripts/mad-db-mcp-result-lifecycle-check.js +30 -0
- package/dist/scripts/mad-db-one-cycle-bounded-check.js +27 -0
- package/dist/scripts/mad-db-one-cycle-consumption-check.js +16 -0
- package/dist/scripts/mad-db-operation-lifecycle-blackbox.js +29 -0
- package/dist/scripts/mad-db-operation-lifecycle-ledger-check.js +17 -0
- package/dist/scripts/mad-db-priority-resolver-check.js +20 -0
- package/dist/scripts/mad-db-safety-conflict-matrix-check.js +22 -0
- package/dist/scripts/mad-preflight-blocks-unreadable-config-check.js +66 -0
- package/dist/scripts/mad-sks-actual-executor-blackbox.js +5 -0
- package/dist/scripts/mad-sks-app-ui-no-mutation-check.js +92 -0
- package/dist/scripts/mad-sks-audit-proof-check.js +34 -0
- package/dist/scripts/mad-sks-db-executor-check.js +5 -0
- package/dist/scripts/mad-sks-executor-proof-graph-check.js +5 -0
- package/dist/scripts/mad-sks-fast-mode-propagation-check.js +24 -0
- package/dist/scripts/mad-sks-file-write-executor-check.js +5 -0
- package/dist/scripts/mad-sks-immutable-harness-check.js +36 -0
- package/dist/scripts/mad-sks-no-harness-modification-check.js +25 -0
- package/dist/scripts/mad-sks-package-executor-check.js +5 -0
- package/dist/scripts/mad-sks-permission-model-check.js +22 -0
- package/dist/scripts/mad-sks-rollback-apply-check.js +5 -0
- package/dist/scripts/mad-sks-service-executor-check.js +5 -0
- package/dist/scripts/mad-sks-shell-executor-check.js +5 -0
- package/dist/scripts/mad-sks-write-guard-check.js +28 -0
- package/dist/scripts/mad-sks-zellij-default-pane-worker-check.js +37 -0
- package/dist/scripts/mad-sks-zellij-launch-check.js +102 -0
- package/dist/scripts/mad-zellij-headless-fallback-blackbox.js +4 -0
- package/dist/scripts/mad-zellij-no-contradictory-output-check.js +4 -0
- package/dist/scripts/mad-zellij-self-heal-blackbox.js +4 -0
- package/dist/scripts/mad-zellij-self-heal-check.js +4 -0
- package/dist/scripts/managed-config-merge-check.js +24 -0
- package/dist/scripts/mcp-0-134-modernization-check.js +55 -0
- package/dist/scripts/mcp-plugin-inventory-check.js +12 -0
- package/dist/scripts/mcp-readonly-concurrency-check.js +17 -0
- package/dist/scripts/mcp-readonly-runtime-scheduler-check.js +20 -0
- package/dist/scripts/mcp-tool-naming-parity-check.js +16 -0
- package/dist/scripts/memory-summary-rebuild-check.js +22 -0
- package/dist/scripts/model-call-concurrency-check.js +15 -0
- package/dist/scripts/mutation-callsite-coverage-check.js +180 -0
- package/dist/scripts/naruto-active-pool-check.js +39 -0
- package/dist/scripts/naruto-actual-worker-control-plane-check.js +56 -0
- package/dist/scripts/naruto-allocation-policy-check.js +33 -0
- package/dist/scripts/naruto-allocation-runtime-wiring-check.js +92 -0
- package/dist/scripts/naruto-concurrency-governor-check.js +53 -0
- package/dist/scripts/naruto-extreme-parallelism-check.js +22 -0
- package/dist/scripts/naruto-extreme-parallelism-real-check.js +43 -0
- package/dist/scripts/naruto-gpt-final-pack-check.js +34 -0
- package/dist/scripts/naruto-loop-maker-checker-check.js +3 -0
- package/dist/scripts/naruto-loop-mesh-blackbox.js +3 -0
- package/dist/scripts/naruto-loop-mesh-check.js +3 -0
- package/dist/scripts/naruto-loop-worker-router-check.js +3 -0
- package/dist/scripts/naruto-orchestrator-runtime-source-check.js +70 -0
- package/dist/scripts/naruto-parallel-gate-consistency-check.js +8 -0
- package/dist/scripts/naruto-parallel-patch-apply-check.js +41 -0
- package/dist/scripts/naruto-parallel-runtime-proof-check.js +9 -0
- package/dist/scripts/naruto-parallelism-mode-check.js +12 -0
- package/dist/scripts/naruto-parallelism-ux-check.js +8 -0
- package/dist/scripts/naruto-proof-message-summary-check.js +9 -0
- package/dist/scripts/naruto-proof-zellij-stacked-summary-check.js +47 -0
- package/dist/scripts/naruto-readonly-routing-check.js +119 -0
- package/dist/scripts/naruto-real-active-pool-check.js +39 -0
- package/dist/scripts/naruto-real-active-pool-runtime-check.js +55 -0
- package/dist/scripts/naruto-real-parallelism-blackbox.js +294 -0
- package/dist/scripts/naruto-rebalance-policy-check.js +41 -0
- package/dist/scripts/naruto-role-distribution-check.js +23 -0
- package/dist/scripts/naruto-shadow-clone-swarm-check.js +164 -0
- package/dist/scripts/naruto-ssot-default-check.js +9 -0
- package/dist/scripts/naruto-ssot-gate-aliases-check.js +10 -0
- package/dist/scripts/naruto-ssot-pipeline-default-check.js +11 -0
- package/dist/scripts/naruto-ssot-route-normalization-check.js +9 -0
- package/dist/scripts/naruto-ssot-routing-check.js +13 -0
- package/dist/scripts/naruto-verification-pool-check.js +36 -0
- package/dist/scripts/naruto-visible-vs-active-workers-check.js +10 -0
- package/dist/scripts/naruto-work-graph-check.js +24 -0
- package/dist/scripts/naruto-worktree-coding-blackbox.js +29 -0
- package/dist/scripts/naruto-worktree-coding-check.js +44 -0
- package/dist/scripts/naruto-worktree-gpt-final-check.js +45 -0
- package/dist/scripts/naruto-worktree-zellij-ui-check.js +28 -0
- package/dist/scripts/naruto-zellij-dynamic-right-column-check.js +48 -0
- package/dist/scripts/naruto-zellij-massive-ui-check.js +23 -0
- package/dist/scripts/native-app-screenshot-repair-check.js +11 -0
- package/dist/scripts/native-capability-postcheck-check.js +16 -0
- package/dist/scripts/native-capability-repair-check.js +15 -0
- package/dist/scripts/native-capability-repair-matrix-check.js +10 -0
- package/dist/scripts/native-chrome-web-review-repair-check.js +10 -0
- package/dist/scripts/native-computer-use-repair-check.js +10 -0
- package/dist/scripts/native-image-generation-repair-check.js +9 -0
- package/dist/scripts/native-swarm-heartbeat-does-not-serialize-launch-check.js +8 -0
- package/dist/scripts/native-swarm-process-spawn-proof-check.js +7 -0
- package/dist/scripts/native-swarm-zellij-does-not-block-workers-check.js +11 -0
- package/dist/scripts/no-ts-nocheck-core-check.js +4 -0
- package/dist/scripts/no-ts-nocheck-release-scripts-check.js +4 -0
- package/dist/scripts/non-recursive-pipeline-check.js +68 -0
- package/dist/scripts/npm-publish-performance-check.js +65 -0
- package/dist/scripts/official-docs-compat-report.js +304 -0
- package/dist/scripts/orphan-gate-detection-check.js +53 -0
- package/dist/scripts/orphan-purge-final-check.js +5 -0
- package/dist/scripts/orphan-strong-detection-check.js +12 -0
- package/dist/scripts/package-published-contract-check.js +46 -0
- package/dist/scripts/packlist-performance-check.js +83 -0
- package/dist/scripts/parallel-claim-enforcement-check.js +21 -0
- package/dist/scripts/parallel-missing-pid-rejection-check.js +55 -0
- package/dist/scripts/parallel-runtime-proof-check.js +23 -0
- package/dist/scripts/parallel-runtime-proof-events-check.js +13 -0
- package/dist/scripts/parallel-runtime-real-blackbox.js +44 -0
- package/dist/scripts/parallel-strict-pid-proof-check.js +54 -0
- package/dist/scripts/parallel-verification-engine-check.js +85 -0
- package/dist/scripts/pipeline-codex-0140-integration-check.js +30 -0
- package/dist/scripts/pipeline-codex-native-doctor-mad-routing-check.js +4 -0
- package/dist/scripts/pipeline-codex-native-doctor-mad-routing-real-blackbox.js +77 -0
- package/dist/scripts/pipeline-codex-native-e2e-blackbox.js +13 -0
- package/dist/scripts/pipeline-codex-native-image-routing-check.js +4 -0
- package/dist/scripts/pipeline-codex-native-image-routing-real-blackbox.js +50 -0
- package/dist/scripts/pipeline-codex-native-loop-routing-check.js +4 -0
- package/dist/scripts/pipeline-codex-native-loop-routing-real-blackbox.js +74 -0
- package/dist/scripts/pipeline-codex-native-qa-routing-check.js +4 -0
- package/dist/scripts/pipeline-codex-native-qa-routing-real-blackbox.js +51 -0
- package/dist/scripts/pipeline-codex-native-research-routing-check.js +4 -0
- package/dist/scripts/pipeline-codex-native-research-routing-real-blackbox.js +45 -0
- package/dist/scripts/pipeline-execution-profile-routing-blackbox.js +4 -0
- package/dist/scripts/pipeline-five-minute-sla-check.js +7 -0
- package/dist/scripts/postinstall-safe-side-effects-check.js +65 -0
- package/dist/scripts/ppt-full-e2e-artifact-graph-check.js +40 -0
- package/dist/scripts/ppt-full-e2e-blackbox-check.js +109 -0
- package/dist/scripts/ppt-image-voxel-relations-check.js +9 -0
- package/dist/scripts/ppt-imagegen-blackbox-check.js +46 -0
- package/dist/scripts/ppt-imagegen-review-fixture-check.js +6 -0
- package/dist/scripts/ppt-issue-extraction-fixture-check.js +7 -0
- package/dist/scripts/ppt-no-mock-as-real-check.js +8 -0
- package/dist/scripts/ppt-no-text-fallback-check.js +7 -0
- package/dist/scripts/ppt-proof-trust-fixture-check.js +10 -0
- package/dist/scripts/ppt-real-export-adapter-check.js +13 -0
- package/dist/scripts/ppt-real-imagegen-smoke-check.js +42 -0
- package/dist/scripts/ppt-real-imagegen-wiring-check.js +16 -0
- package/dist/scripts/ppt-reexport-rereview-check.js +19 -0
- package/dist/scripts/ppt-slide-export-fixture-check.js +7 -0
- package/dist/scripts/prepublish-fast-check.js +128 -0
- package/dist/scripts/priority-full-closure-check.js +12 -0
- package/dist/scripts/probe-memoization-check.js +11 -0
- package/dist/scripts/product-design-auto-install-check.js +119 -0
- package/dist/scripts/product-design-plugin-routing-check.js +101 -0
- package/dist/scripts/project-skill-dedupe-blackbox.js +36 -0
- package/dist/scripts/project-skill-dedupe-check.js +16 -0
- package/dist/scripts/prompt-placeholder-guard-check.js +33 -0
- package/dist/scripts/proof-root-cause-policy-check.js +70 -0
- package/dist/scripts/provider-badge-context-check.js +26 -0
- package/dist/scripts/provider-context-config-toml-check.js +63 -0
- package/dist/scripts/python-codex-sdk-all-pipelines-check.js +47 -0
- package/dist/scripts/python-codex-sdk-capability-check.js +75 -0
- package/dist/scripts/python-codex-sdk-sandbox-policy-check.js +10 -0
- package/dist/scripts/python-codex-sdk-stream-bridge-check.js +12 -0
- package/dist/scripts/python-tools-smoke-check.js +71 -0
- package/dist/scripts/qa-actual-route-backfill-check.js +5 -0
- package/dist/scripts/qa-backfill-route-blackbox.js +5 -0
- package/dist/scripts/qa-loop-app-handoff-capability-check.js +9 -0
- package/dist/scripts/qa-loop-app-handoff-check.js +9 -0
- package/dist/scripts/qa-loop-app-handoff-cli-check.js +8 -0
- package/dist/scripts/qa-loop-app-handoff-confirmation-check.js +24 -0
- package/dist/scripts/qa-loop-app-handoff-gate-lifecycle-check.js +44 -0
- package/dist/scripts/qa-loop-app-handoff-launch-check.js +7 -0
- package/dist/scripts/qa-loop-app-handoff-status-lifecycle-check.js +7 -0
- package/dist/scripts/qa-loop-budget-policy-check.js +8 -0
- package/dist/scripts/qa-loop-effort-escalation-check.js +9 -0
- package/dist/scripts/qa-loop-execution-profile-routing-check.js +4 -0
- package/dist/scripts/qa-loop-image-path-exposure-check.js +9 -0
- package/dist/scripts/qa-loop-image-path-prompt-injection-check.js +8 -0
- package/dist/scripts/qa-patch-swarm-route-blackbox.js +10 -0
- package/dist/scripts/readme-architecture-imagegen-official-check.js +448 -0
- package/dist/scripts/release-affected-selector-check.js +41 -0
- package/dist/scripts/release-aggressive-resource-governor-check.js +25 -0
- package/dist/scripts/release-batch-runner-check.js +6 -0
- package/dist/scripts/release-cache-bridge-check.js +23 -0
- package/dist/scripts/release-cache-glob-hashing-check.js +42 -0
- package/dist/scripts/release-cache-input-classifier-check.js +13 -0
- package/dist/scripts/release-cache-neutralization-report-check.js +13 -0
- package/dist/scripts/release-cache-version-neutral-fixture-check.js +65 -0
- package/dist/scripts/release-check-stamp.js +2 -1
- package/dist/scripts/release-dag-full-coverage-check.js +428 -0
- package/dist/scripts/release-dist-freshness-check.js +8 -0
- package/dist/scripts/release-dynamic-performance-check.js +110 -0
- package/dist/scripts/release-dynamic-presets-check.js +20 -0
- package/dist/scripts/release-full-parallelism-blackbox.js +41 -0
- package/dist/scripts/release-gate-batch-runner-check.js +43 -0
- package/dist/scripts/release-gate-budget-check.js +36 -0
- package/dist/scripts/release-gate-dag-runner-check.js +107 -0
- package/dist/scripts/release-gate-script-parity-check.js +117 -0
- package/dist/scripts/release-metadata-1-11-check.js +37 -0
- package/dist/scripts/release-metadata-1-12-check.js +48 -0
- package/dist/scripts/release-metadata-1-13-check.js +53 -0
- package/dist/scripts/release-metadata-1-14-check.js +63 -0
- package/dist/scripts/release-metadata-1-16-check.js +81 -0
- package/dist/scripts/release-metadata-1-17-check.js +51 -0
- package/dist/scripts/release-metadata-1-19-check.js +376 -0
- package/dist/scripts/release-metadata-check.js +7 -0
- package/dist/scripts/release-native-agent-fixture-check.js +41 -0
- package/dist/scripts/release-parallel-check.js +375 -0
- package/dist/scripts/release-parallel-full-coverage-check.js +13 -0
- package/dist/scripts/release-parallel-speed-budget-check.js +91 -0
- package/dist/scripts/release-proof-truth-check.js +14 -0
- package/dist/scripts/release-provenance-check.js +143 -0
- package/dist/scripts/release-readiness-report.js +1231 -0
- package/dist/scripts/release-real-check.js +338 -0
- package/dist/scripts/release-registry-check.js +353 -0
- package/dist/scripts/release-runtime-truth-matrix-check.js +47 -0
- package/dist/scripts/release-script-type-safety-check.js +4 -0
- package/dist/scripts/release-speed-summary-check.js +20 -0
- package/dist/scripts/release-stability-report-check.js +99 -0
- package/dist/scripts/release-triwiki-first-runner-blackbox.js +44 -0
- package/dist/scripts/release-triwiki-first-runner-check.js +9 -0
- package/dist/scripts/release-version-truth-check.js +134 -0
- package/dist/scripts/release-wiring-3110-blackbox.js +27 -0
- package/dist/scripts/release-wiring-3112-blackbox.js +17 -0
- package/dist/scripts/release-wiring-3113-blackbox.js +17 -0
- package/dist/scripts/research-actual-route-backfill-check.js +5 -0
- package/dist/scripts/research-backfill-route-blackbox.js +5 -0
- package/dist/scripts/research-blueprint-densifier-check.js +21 -0
- package/dist/scripts/research-claim-builder-check.js +19 -0
- package/dist/scripts/research-complete-package-fixture-check.js +29 -0
- package/dist/scripts/research-execution-profile-routing-check.js +4 -0
- package/dist/scripts/research-final-reviewer-blackbox.js +70 -0
- package/dist/scripts/research-handoff-consumability-check.js +23 -0
- package/dist/scripts/research-parallel-source-shards-check.js +22 -0
- package/dist/scripts/research-quality-gate-check.js +112 -0
- package/dist/scripts/research-real-cycle-no-legacy-final-md-check.js +14 -0
- package/dist/scripts/research-real-synthesis-no-deterministic-renderer-check.js +14 -0
- package/dist/scripts/research-repetition-detector-check.js +19 -0
- package/dist/scripts/research-short-report-rejection-check.js +46 -0
- package/dist/scripts/research-source-ledger-merge-check.js +26 -0
- package/dist/scripts/research-stage-cycle-runtime-blackbox.js +40 -0
- package/dist/scripts/research-synthesis-prompt-contract-check.js +36 -0
- package/dist/scripts/research-synthesis-writer-blackbox.js +24 -0
- package/dist/scripts/research-synthesis-writer-check.js +26 -0
- package/dist/scripts/research-template-report-rejection-check.js +56 -0
- package/dist/scripts/research-ultra-stability-report.js +45 -0
- package/dist/scripts/responses-retry-policy-centralized-check.js +19 -0
- package/dist/scripts/retention-cleanup-safety-check.js +155 -0
- package/dist/scripts/route-blackbox-realism-check.js +21 -0
- package/dist/scripts/route-proof-artifact-structure-check.js +145 -0
- package/dist/scripts/runtime-dist-parity-check.js +78 -0
- package/dist/scripts/runtime-no-mjs-scripts-check.js +45 -0
- package/dist/scripts/runtime-no-src-mjs-check.js +32 -0
- package/dist/scripts/runtime-no-tmux-check.js +114 -0
- package/dist/scripts/runtime-proof-summary-check.js +58 -0
- package/dist/scripts/runtime-proof-summary-cli-check.js +51 -0
- package/dist/scripts/runtime-proof-summary-messages-check.js +37 -0
- package/dist/scripts/runtime-proof-zellij-stacked-summary-check.js +58 -0
- package/dist/scripts/runtime-ts-python-boundary-check.js +59 -0
- package/dist/scripts/runtime-ts-rust-boundary-check.js +74 -0
- package/dist/scripts/runtime-ts-source-of-truth-check.js +55 -0
- package/dist/scripts/safety-check.js +23 -0
- package/dist/scripts/scheduler-batch-dispatch-check.js +17 -0
- package/dist/scripts/scheduler-critical-path-check.js +9 -0
- package/dist/scripts/scheduler-extreme-parallel-check.js +7 -0
- package/dist/scripts/scheduler-no-false-pending-block-check.js +7 -0
- package/dist/scripts/scheduler-parallel-proof-consistency-check.js +65 -0
- package/dist/scripts/scheduler-resource-budget-check.js +7 -0
- package/dist/scripts/scheduler-resource-claim-blackbox.js +24 -0
- package/dist/scripts/scheduler-utilization-integral-check.js +105 -0
- package/dist/scripts/scheduler-utilization-proof-check.js +8 -0
- package/dist/scripts/secret-line-rollback-check.js +35 -0
- package/dist/scripts/secret-preservation-check.js +11 -0
- package/dist/scripts/secret-preservation-guard-check.js +37 -0
- package/dist/scripts/shared-memory-fixture-check.js +27 -0
- package/dist/scripts/side-effect-runtime-report-check.js +19 -0
- package/dist/scripts/side-effect-zero-gate-check.js +226 -0
- package/dist/scripts/skill-name-canonicalizer-check.js +9 -0
- package/dist/scripts/skill-registry-ledger-check.js +14 -0
- package/dist/scripts/skill-sync-atomic-check.js +35 -0
- package/dist/scripts/sks-1-11-fixture-check.js +130 -0
- package/dist/scripts/sks-1-12-real-execution-check-lib.js +27 -0
- package/dist/scripts/sks-3-1-4-directive-check-lib.js +212 -0
- package/dist/scripts/sks-3-1-5-directive-check-lib.js +318 -0
- package/dist/scripts/sks-3-1-6-directive-check-lib.js +522 -0
- package/dist/scripts/sks-3-1-7-directive-check-lib.js +58 -0
- package/dist/scripts/sks-3-1-8-check-lib.js +30 -0
- package/dist/scripts/sks-3110-all-feature-regression-blackbox.js +116 -0
- package/dist/scripts/sks-3112-all-feature-regression-blackbox.js +29 -0
- package/dist/scripts/sks-3113-all-feature-regression-blackbox.js +17 -0
- package/dist/scripts/sks-400-all-feature-regression-blackbox.js +21 -0
- package/dist/scripts/sks-400-extreme-parallel-blackbox.js +8 -0
- package/dist/scripts/sks-400-five-minute-blackbox.js +9 -0
- package/dist/scripts/sks-400-legacy-purge-blackbox.js +8 -0
- package/dist/scripts/sks-401-all-feature-regression-blackbox.js +46 -0
- package/dist/scripts/sks-401-five-minute-actual-blackbox.js +23 -0
- package/dist/scripts/sks-402-all-feature-regression-blackbox.js +9 -0
- package/dist/scripts/sks-402-five-minute-real-blackbox.js +22 -0
- package/dist/scripts/sksd-daemon-check.js +9 -0
- package/dist/scripts/sksd-warm-cache-blackbox.js +12 -0
- package/dist/scripts/source-intelligence-all-modes-check.js +32 -0
- package/dist/scripts/source-intelligence-policy-check.js +13 -0
- package/dist/scripts/strategy-adhd-orchestrating-gate-check.js +22 -0
- package/dist/scripts/strategy-file-ownership-plan-check.js +18 -0
- package/dist/scripts/strategy-parallel-modification-plan-check.js +19 -0
- package/dist/scripts/strategy-verification-rollback-dag-check.js +19 -0
- package/dist/scripts/supabase-secret-preservation-blackbox.js +29 -0
- package/dist/scripts/team-actual-route-backfill-check.js +5 -0
- package/dist/scripts/team-alias-to-naruto-check.js +7 -0
- package/dist/scripts/team-backfill-route-blackbox.js +5 -0
- package/dist/scripts/team-legacy-create-removed-check.js +12 -0
- package/dist/scripts/team-parallel-write-blackbox.js +55 -0
- package/dist/scripts/team-patch-swarm-route-blackbox.js +10 -0
- package/dist/scripts/terminal-keyboard-enhancement-safety-check.js +12 -0
- package/dist/scripts/terminal-tui-output-stability-check.js +35 -0
- package/dist/scripts/test-no-orphan-dist-imports-check.js +73 -0
- package/dist/scripts/triwiki-affected-graph-blackbox.js +28 -0
- package/dist/scripts/triwiki-affected-graph-check.js +10 -0
- package/dist/scripts/triwiki-cache-key-check.js +9 -0
- package/dist/scripts/triwiki-gate-impact-map-check.js +8 -0
- package/dist/scripts/triwiki-module-card-check.js +7 -0
- package/dist/scripts/triwiki-proof-bank-blackbox.js +30 -0
- package/dist/scripts/triwiki-proof-bank-check.js +7 -0
- package/dist/scripts/triwiki-proof-bank-lock-blackbox.js +7 -0
- package/dist/scripts/triwiki-proof-card-check.js +23 -0
- package/dist/scripts/triwiki-stale-proof-rejection-check.js +25 -0
- package/dist/scripts/trust-fixture-check.js +33 -0
- package/dist/scripts/type-surface-codex-app-check.js +4 -0
- package/dist/scripts/typescript-migration-report.js +78 -0
- package/dist/scripts/ultra-router-auto-router-check.js +33 -0
- package/dist/scripts/ultra-router-classification-check.js +28 -0
- package/dist/scripts/update-gate-removed-check.js +9 -0
- package/dist/scripts/update-mad-zellij-notice-check.js +9 -0
- package/dist/scripts/update-notice-check.js +10 -0
- package/dist/scripts/update-preserves-supabase-keys-blackbox.js +27 -0
- package/dist/scripts/update-secret-migration-journal-check.js +8 -0
- package/dist/scripts/update-secret-preservation-guard-check.js +10 -0
- package/dist/scripts/ux-patch-swarm-route-blackbox.js +10 -0
- package/dist/scripts/ux-ppt-structured-extraction-check.js +21 -0
- package/dist/scripts/ux-review-extract-real-callouts-fixture-check.js +8 -0
- package/dist/scripts/ux-review-extract-wires-real-extractor-check.js +15 -0
- package/dist/scripts/ux-review-generate-callouts-fixture-check.js +9 -0
- package/dist/scripts/ux-review-image-voxel-relations-check.js +31 -0
- package/dist/scripts/ux-review-imagegen-blackbox-check.js +67 -0
- package/dist/scripts/ux-review-no-fake-callouts-check.js +8 -0
- package/dist/scripts/ux-review-no-text-fallback-check.js +25 -0
- package/dist/scripts/ux-review-patch-diff-recheck-check.js +20 -0
- package/dist/scripts/ux-review-patch-handoff-fixture-check.js +8 -0
- package/dist/scripts/ux-review-real-imagegen-smoke-check.js +31 -0
- package/dist/scripts/ux-review-real-loop-fixture-check.js +24 -0
- package/dist/scripts/ux-review-recapture-recheck-fixture-check.js +8 -0
- package/dist/scripts/ux-review-run-wires-imagegen-check.js +11 -0
- package/dist/scripts/worker-pane-communication-contract-check.js +54 -0
- package/dist/scripts/wrongness-fixture-check.js +65 -0
- package/dist/scripts/xai-mcp-capability-check.js +14 -0
- package/dist/scripts/zellij-capability-check.js +15 -0
- package/dist/scripts/zellij-dashboard-pane-check.js +70 -0
- package/dist/scripts/zellij-developer-controls-check.js +20 -0
- package/dist/scripts/zellij-doctor-readiness-check.js +63 -0
- package/dist/scripts/zellij-dynamic-pane-lifecycle-check.js +21 -0
- package/dist/scripts/zellij-fake-adapter-check.js +33 -0
- package/dist/scripts/zellij-first-slot-down-stack-check.js +21 -0
- package/dist/scripts/zellij-first-slot-down-stack-real-check.js +349 -0
- package/dist/scripts/zellij-homebrew-policy-check.js +4 -0
- package/dist/scripts/zellij-initial-main-only-blackbox.js +28 -0
- package/dist/scripts/zellij-lane-renderer-check.js +80 -0
- package/dist/scripts/zellij-launch-command-truth-check.js +75 -0
- package/dist/scripts/zellij-layout-valid-check.js +90 -0
- package/dist/scripts/zellij-pane-creation-lock-metrics-check.js +12 -0
- package/dist/scripts/zellij-pane-lock-concurrency-blackbox.js +80 -0
- package/dist/scripts/zellij-pane-lock-does-not-block-worker-check.js +14 -0
- package/dist/scripts/zellij-pane-lock-open-worker-integration-blackbox.js +137 -0
- package/dist/scripts/zellij-pane-proof-check.js +59 -0
- package/dist/scripts/zellij-qa-app-handoff-status-check.js +9 -0
- package/dist/scripts/zellij-real-session-cleanup-check.js +21 -0
- package/dist/scripts/zellij-real-session-heartbeat-check.js +49 -0
- package/dist/scripts/zellij-real-session-launch-check.js +57 -0
- package/dist/scripts/zellij-right-column-headless-overflow-check.js +22 -0
- package/dist/scripts/zellij-right-column-manager-check.js +27 -0
- package/dist/scripts/zellij-screen-proof-check.js +45 -0
- package/dist/scripts/zellij-self-heal-check.js +4 -0
- package/dist/scripts/zellij-self-heal-dry-run-check.js +4 -0
- package/dist/scripts/zellij-self-heal-status-contract-check.js +4 -0
- package/dist/scripts/zellij-self-heal-typed-blackbox.js +4 -0
- package/dist/scripts/zellij-slot-column-anchor-check.js +66 -0
- package/dist/scripts/zellij-slot-column-anchor-telemetry-check.js +9 -0
- package/dist/scripts/zellij-slot-only-ui-check.js +31 -0
- package/dist/scripts/zellij-slot-pane-renderer-check.js +150 -0
- package/dist/scripts/zellij-slot-pane-stale-detection-check.js +74 -0
- package/dist/scripts/zellij-slot-pane-telemetry-renderer-check.js +11 -0
- package/dist/scripts/zellij-slot-renderer-proof-semantics-check.js +59 -0
- package/dist/scripts/zellij-slot-telemetry-check.js +39 -0
- package/dist/scripts/zellij-slot-telemetry-incremental-check.js +48 -0
- package/dist/scripts/zellij-slot-telemetry-live-flush-check.js +57 -0
- package/dist/scripts/zellij-slot-telemetry-performance-check.js +34 -0
- package/dist/scripts/zellij-slot-telemetry-real-blackbox.js +20 -0
- package/dist/scripts/zellij-slot-telemetry-renderer-check.js +10 -0
- package/dist/scripts/zellij-slot-telemetry-runtime-check.js +23 -0
- package/dist/scripts/zellij-spawn-on-demand-layout-check.js +40 -0
- package/dist/scripts/zellij-stacked-capability-routing-check.js +11 -0
- package/dist/scripts/zellij-stacked-fallback-integration-blackbox.js +81 -0
- package/dist/scripts/zellij-stacked-version-matrix-check.js +31 -0
- package/dist/scripts/zellij-stacked-version-parser-check.js +21 -0
- package/dist/scripts/zellij-ui-design-check.js +105 -0
- package/dist/scripts/zellij-update-missing-self-heal-check.js +4 -0
- package/dist/scripts/zellij-update-prompt-matrix-check.js +18 -0
- package/dist/scripts/zellij-update-prompt-mode-check.js +20 -0
- package/dist/scripts/zellij-update-prompt-safety-check.js +10 -0
- package/dist/scripts/zellij-worker-pane-manager-check.js +109 -0
- package/dist/scripts/zellij-worker-pane-manager-single-owner-check.js +47 -0
- package/dist/scripts/zellij-worker-pane-real-ui-blackbox.js +202 -0
- package/dist/scripts/zellij-worker-pane-spawn-order-check.js +35 -0
- package/package.json +17 -7
- package/schemas/codex/app-server-0.142/codex_app_server_protocol.v2.schemas.json +18447 -0
- package/schemas/codex-release-manifest.schema.json +44 -0
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import fs from 'node:fs';
|
|
4
|
+
import path from 'node:path';
|
|
5
|
+
import { spawnSync } from 'node:child_process';
|
|
6
|
+
import { assertGate, emitGate, root } from './sks-1-18-gate-lib.js';
|
|
7
|
+
const pkg = readJson('package.json');
|
|
8
|
+
const expected = String(pkg.version || '');
|
|
9
|
+
const mismatches = [];
|
|
10
|
+
const warnings = [];
|
|
11
|
+
checkJson('package.json', 'version', pkg.version);
|
|
12
|
+
const lock = readJson('package-lock.json');
|
|
13
|
+
checkJson('package-lock.json', 'version', lock.version);
|
|
14
|
+
checkJson('package-lock.json', 'packages[""].version', lock.packages?.['']?.version);
|
|
15
|
+
checkRegex('src/core/version.ts', /PACKAGE_VERSION\s*=\s*['"]([^'"]+)['"]/, 'PACKAGE_VERSION');
|
|
16
|
+
checkRegex('src/core/fsx.ts', /PACKAGE_VERSION\s*=\s*['"]([^'"]+)['"]/, 'PACKAGE_VERSION');
|
|
17
|
+
checkRegex('src/bin/sks.ts', /FAST_PACKAGE_VERSION\s*=\s*['"]([^'"]+)['"]/, 'FAST_PACKAGE_VERSION');
|
|
18
|
+
checkRegex('crates/sks-core/Cargo.toml', /^version\s*=\s*"([^"]+)"/m, 'package.version');
|
|
19
|
+
checkCargoLock('crates/sks-core/Cargo.lock', 'sks-core');
|
|
20
|
+
const dist = readJson('dist/build-manifest.json', null);
|
|
21
|
+
checkJson('dist/build-manifest.json', 'package_version', dist?.package_version);
|
|
22
|
+
checkJson('dist/build-manifest.json', 'version', dist?.version);
|
|
23
|
+
checkChangelog();
|
|
24
|
+
checkReadme();
|
|
25
|
+
checkReleaseMetadataScript();
|
|
26
|
+
checkCargoMetadata();
|
|
27
|
+
const ok = mismatches.length === 0;
|
|
28
|
+
const report = {
|
|
29
|
+
schema: 'sks.release-version-truth.v1',
|
|
30
|
+
ok,
|
|
31
|
+
expected,
|
|
32
|
+
mismatches,
|
|
33
|
+
warnings,
|
|
34
|
+
generated_at: new Date().toISOString()
|
|
35
|
+
};
|
|
36
|
+
const out = path.join(root, '.sneakoscope', 'reports', 'release-version-truth.json');
|
|
37
|
+
fs.mkdirSync(path.dirname(out), { recursive: true });
|
|
38
|
+
fs.writeFileSync(out, `${JSON.stringify(report, null, 2)}\n`);
|
|
39
|
+
assertGate(ok, 'release version truth mismatch', { expected, mismatches });
|
|
40
|
+
emitGate('release:version-truth', { version: expected, checked: 13, warnings: warnings.length });
|
|
41
|
+
function checkJson(file, field, actual) {
|
|
42
|
+
if (actual !== expected)
|
|
43
|
+
mismatch(file, field, actual);
|
|
44
|
+
}
|
|
45
|
+
function checkRegex(file, re, field) {
|
|
46
|
+
const text = readText(file);
|
|
47
|
+
const match = text.match(re);
|
|
48
|
+
if (!match)
|
|
49
|
+
mismatch(file, field, null);
|
|
50
|
+
else if (match[1] !== expected)
|
|
51
|
+
mismatch(file, field, match[1]);
|
|
52
|
+
}
|
|
53
|
+
function checkCargoLock(file, name) {
|
|
54
|
+
const text = readText(file);
|
|
55
|
+
const block = text.split(/\n\[\[package\]\]\n/).find((part) => new RegExp(`name\\s*=\\s*"${escapeRe(name)}"`).test(part));
|
|
56
|
+
const match = block?.match(/version\s*=\s*"([^"]+)"/);
|
|
57
|
+
if (!match)
|
|
58
|
+
mismatch(file, `${name}.version`, null);
|
|
59
|
+
else if (match[1] !== expected)
|
|
60
|
+
mismatch(file, `${name}.version`, match[1]);
|
|
61
|
+
}
|
|
62
|
+
function checkChangelog() {
|
|
63
|
+
const text = readText('CHANGELOG.md');
|
|
64
|
+
const latest = latestVersionedChangelogSection(text);
|
|
65
|
+
if (latest !== expected)
|
|
66
|
+
mismatch('CHANGELOG.md', 'latest release section', latest);
|
|
67
|
+
}
|
|
68
|
+
function checkReadme() {
|
|
69
|
+
const text = readText('README.md');
|
|
70
|
+
const displayed = text.match(/SKS \*\*([0-9]+\.[0-9]+\.[0-9]+)\*\*/)?.[1] || null;
|
|
71
|
+
if (displayed && displayed !== expected)
|
|
72
|
+
mismatch('README.md', 'displayed current version', displayed);
|
|
73
|
+
}
|
|
74
|
+
function checkReleaseMetadataScript() {
|
|
75
|
+
const script = String(pkg.scripts?.['release:metadata'] || '');
|
|
76
|
+
if (!script.includes('dist/scripts/release-metadata-check.js')) {
|
|
77
|
+
mismatch('package.json', 'scripts.release:metadata', script || null, 'node ./dist/scripts/release-metadata-check.js');
|
|
78
|
+
}
|
|
79
|
+
const text = readText('src/scripts/release-metadata-check.ts');
|
|
80
|
+
if (!text.includes('release-metadata-1-19-check.js')) {
|
|
81
|
+
warnings.push({ file: 'src/scripts/release-metadata-check.ts', message: 'generic entrypoint does not reference historical implementation wrapper' });
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
function checkCargoMetadata() {
|
|
85
|
+
const res = spawnSync('cargo', ['metadata', '--no-deps', '--manifest-path', path.join(root, 'crates/sks-core/Cargo.toml'), '--format-version', '1'], {
|
|
86
|
+
cwd: root,
|
|
87
|
+
encoding: 'utf8',
|
|
88
|
+
timeout: 30000
|
|
89
|
+
});
|
|
90
|
+
if (res.status !== 0) {
|
|
91
|
+
warnings.push({ file: 'crates/sks-core/Cargo.toml', message: 'cargo metadata unavailable', stderr_tail: tail(res.stderr) });
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
try {
|
|
95
|
+
const metadata = JSON.parse(res.stdout);
|
|
96
|
+
const crate = metadata.packages?.find((row) => row.name === 'sks-core');
|
|
97
|
+
if (crate?.version !== expected)
|
|
98
|
+
mismatch('cargo metadata', 'sks-core.version', crate?.version || null);
|
|
99
|
+
}
|
|
100
|
+
catch (err) {
|
|
101
|
+
warnings.push({ file: 'cargo metadata', message: `unparseable:${err instanceof Error ? err.message : String(err)}` });
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
function mismatch(file, field, actual, wanted = expected) {
|
|
105
|
+
mismatches.push({ file, field, expected: wanted, actual: actual ?? null });
|
|
106
|
+
}
|
|
107
|
+
function readJson(rel, fallback) {
|
|
108
|
+
try {
|
|
109
|
+
return JSON.parse(readText(rel));
|
|
110
|
+
}
|
|
111
|
+
catch (err) {
|
|
112
|
+
if (arguments.length > 1)
|
|
113
|
+
return fallback;
|
|
114
|
+
throw err;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
function readText(rel) {
|
|
118
|
+
return fs.readFileSync(path.join(root, rel), 'utf8');
|
|
119
|
+
}
|
|
120
|
+
function escapeRe(value) {
|
|
121
|
+
return String(value).replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
122
|
+
}
|
|
123
|
+
function latestVersionedChangelogSection(text) {
|
|
124
|
+
for (const match of text.matchAll(/^## \[([^\]]+)\]/gm)) {
|
|
125
|
+
if (/^[0-9]+\.[0-9]+\.[0-9]+$/.test(match[1]))
|
|
126
|
+
return match[1];
|
|
127
|
+
}
|
|
128
|
+
return null;
|
|
129
|
+
}
|
|
130
|
+
function tail(value, limit = 1000) {
|
|
131
|
+
const text = String(value || '');
|
|
132
|
+
return text.length > limit ? text.slice(-limit) : text;
|
|
133
|
+
}
|
|
134
|
+
//# sourceMappingURL=release-version-truth-check.js.map
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import path from 'node:path';
|
|
3
|
+
import { assertGate, emitGate, readText, root } from './sks-1-18-gate-lib.js';
|
|
4
|
+
import { REQUIRED_3110_RELEASE_IDS, buildReleaseGateScriptParityReport } from './release-gate-script-parity-check.js';
|
|
5
|
+
import { writeJsonAtomic } from '../core/fsx.js';
|
|
6
|
+
const required = REQUIRED_3110_RELEASE_IDS;
|
|
7
|
+
const parity = buildReleaseGateScriptParityReport();
|
|
8
|
+
const dag = readText('src/scripts/release-dag-full-coverage-check.ts');
|
|
9
|
+
const missingDag = required.filter((id) => !dag.includes(`'${id}'`));
|
|
10
|
+
const report = {
|
|
11
|
+
schema: 'sks.release-wiring-3110-blackbox.v1',
|
|
12
|
+
ok: parity.ok && missingDag.length === 0,
|
|
13
|
+
required_count: required.length,
|
|
14
|
+
missing_scripts: parity.missing_scripts,
|
|
15
|
+
missing_gates: parity.missing_gates,
|
|
16
|
+
missing_release_preset: parity.missing_release_preset,
|
|
17
|
+
missing_required_ids: missingDag,
|
|
18
|
+
wrong_commands: parity.wrong_commands,
|
|
19
|
+
missing_sources: parity.missing_source_targets,
|
|
20
|
+
missing_dist_targets: parity.missing_dist_targets,
|
|
21
|
+
generated_at: new Date().toISOString()
|
|
22
|
+
};
|
|
23
|
+
const out = path.join(root, '.sneakoscope', 'reports', 'release-wiring-3110-blackbox.json');
|
|
24
|
+
await writeJsonAtomic(out, report);
|
|
25
|
+
assertGate(report.ok, '3.1.10 release wiring blackbox failed', report);
|
|
26
|
+
emitGate('release:wiring-3110-blackbox', { required_count: required.length });
|
|
27
|
+
//# sourceMappingURL=release-wiring-3110-blackbox.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { assertGate, emitGate, readJson } from './sks-1-18-gate-lib.js';
|
|
3
|
+
import { REQUIRED_3112_REAL_CHECK_IDS, REQUIRED_3112_RELEASE_IDS } from './release-3112-required-gates.js';
|
|
4
|
+
const scripts = readJson('package.json').scripts || {};
|
|
5
|
+
const gates = readJson('release-gates.v2.json').gates || [];
|
|
6
|
+
const gateIds = new Set(gates.map((gate) => gate.id));
|
|
7
|
+
for (const id of REQUIRED_3112_RELEASE_IDS) {
|
|
8
|
+
assertGate(Boolean(scripts[id]), `3.1.12 release script missing: ${id}`);
|
|
9
|
+
assertGate(gateIds.has(id), `3.1.12 release gate missing: ${id}`);
|
|
10
|
+
}
|
|
11
|
+
for (const id of REQUIRED_3112_REAL_CHECK_IDS) {
|
|
12
|
+
const gate = gates.find((entry) => entry.id === id);
|
|
13
|
+
assertGate(Boolean(scripts[id]), `3.1.12 real-check script missing: ${id}`);
|
|
14
|
+
assertGate(Boolean(gate) && gate.preset.includes('real-check'), `3.1.12 real-check gate missing real-check preset: ${id}`, gate);
|
|
15
|
+
}
|
|
16
|
+
emitGate('release:wiring-3112-blackbox', { release_ids: REQUIRED_3112_RELEASE_IDS.length, real_check_ids: REQUIRED_3112_REAL_CHECK_IDS.length });
|
|
17
|
+
//# sourceMappingURL=release-wiring-3112-blackbox.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { assertGate, emitGate, readJson } from './sks-1-18-gate-lib.js';
|
|
3
|
+
import { REQUIRED_3113_REAL_CHECK_IDS, REQUIRED_3113_RELEASE_IDS } from './release-3113-required-gates.js';
|
|
4
|
+
const scripts = readJson('package.json').scripts || {};
|
|
5
|
+
const gates = readJson('release-gates.v2.json').gates || [];
|
|
6
|
+
const gateIds = new Set(gates.map((gate) => gate.id));
|
|
7
|
+
for (const id of REQUIRED_3113_RELEASE_IDS) {
|
|
8
|
+
assertGate(Boolean(scripts[id]), `3.1.13 release script missing: ${id}`);
|
|
9
|
+
assertGate(gateIds.has(id), `3.1.13 release gate missing: ${id}`);
|
|
10
|
+
}
|
|
11
|
+
for (const id of REQUIRED_3113_REAL_CHECK_IDS) {
|
|
12
|
+
const gate = gates.find((entry) => entry.id === id);
|
|
13
|
+
assertGate(Boolean(scripts[id]), `3.1.13 real-check script missing: ${id}`);
|
|
14
|
+
assertGate(Boolean(gate) && gate.preset.includes('real-check'), `3.1.13 real-check gate missing real-check preset: ${id}`, gate);
|
|
15
|
+
}
|
|
16
|
+
emitGate('release:wiring-3113-blackbox', { release_ids: REQUIRED_3113_RELEASE_IDS.length, real_check_ids: REQUIRED_3113_REAL_CHECK_IDS.length });
|
|
17
|
+
//# sourceMappingURL=release-wiring-3113-blackbox.js.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import fs from 'node:fs';
|
|
4
|
+
import os from 'node:os';
|
|
5
|
+
import path from 'node:path';
|
|
6
|
+
import { assertGate, emitGate, importDist } from './sks-1-18-gate-lib.js';
|
|
7
|
+
const research = await importDist('core/research.js');
|
|
8
|
+
const workGraph = await importDist('core/research/research-work-graph.js');
|
|
9
|
+
const cycleRunner = await importDist('core/research/research-cycle-runner.js');
|
|
10
|
+
const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'sks-research-blueprint-'));
|
|
11
|
+
const plan = await research.writeResearchPlan(dir, 'blueprint densifier blackbox', { missionId: 'M-BLUEPRINT' });
|
|
12
|
+
const graph = workGraph.buildResearchWorkGraph(plan);
|
|
13
|
+
await cycleRunner.runResearchCycle({ root: process.cwd(), dir, plan, graph, cycle: 1, backend: 'mock', timeoutMs: 120000, maxParallelStages: 4, mock: true });
|
|
14
|
+
const blueprint = JSON.parse(fs.readFileSync(path.join(dir, 'implementation-blueprint.json'), 'utf8'));
|
|
15
|
+
assertGate(blueprint.repository_aware === true, 'blueprint must be repository-aware', blueprint);
|
|
16
|
+
assertGate((blueprint.existing_files || []).length > 0, 'blueprint must list concrete existing files', blueprint);
|
|
17
|
+
assertGate((blueprint.sections || []).length >= 8, 'blueprint must keep required sections', blueprint);
|
|
18
|
+
assertGate((blueprint.test_commands || []).some((cmd) => String(cmd).includes('research:stage-cycle-runtime-blackbox')), 'blueprint must include concrete test commands', blueprint);
|
|
19
|
+
assertGate(fs.existsSync(path.join(dir, 'team-handoff-goal.md')), 'team handoff goal must exist');
|
|
20
|
+
emitGate('research:blueprint-densifier', { dir, sections: blueprint.sections.length, files: blueprint.existing_files.length });
|
|
21
|
+
//# sourceMappingURL=research-blueprint-densifier-check.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import fs from 'node:fs';
|
|
4
|
+
import os from 'node:os';
|
|
5
|
+
import path from 'node:path';
|
|
6
|
+
import { assertGate, emitGate, importDist } from './sks-1-18-gate-lib.js';
|
|
7
|
+
const research = await importDist('core/research.js');
|
|
8
|
+
const workGraph = await importDist('core/research/research-work-graph.js');
|
|
9
|
+
const cycleRunner = await importDist('core/research/research-cycle-runner.js');
|
|
10
|
+
const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'sks-research-claim-builder-'));
|
|
11
|
+
const plan = await research.writeResearchPlan(dir, 'claim builder blackbox', { missionId: 'M-CLAIM-BUILDER' });
|
|
12
|
+
const graph = workGraph.buildResearchWorkGraph(plan);
|
|
13
|
+
await cycleRunner.runResearchCycle({ root: process.cwd(), dir, plan, graph, cycle: 1, backend: 'mock', timeoutMs: 120000, maxParallelStages: 4, mock: true });
|
|
14
|
+
const matrix = JSON.parse(fs.readFileSync(path.join(dir, 'claim-evidence-matrix.json'), 'utf8'));
|
|
15
|
+
assertGate(matrix.key_claim_ids.length >= 8, 'claim builder must produce key claims', matrix);
|
|
16
|
+
assertGate(matrix.triangulated_claim_count >= 6, 'claim builder must triangulate claims', matrix);
|
|
17
|
+
assertGate((matrix.unsupported_claims || []).length === 0, 'claim builder must not leave important claims unsupported in complete fixture', matrix);
|
|
18
|
+
emitGate('research:claim-builder', { dir, key_claims: matrix.key_claim_ids.length, triangulated: matrix.triangulated_claim_count });
|
|
19
|
+
//# sourceMappingURL=research-claim-builder-check.js.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import fs from 'node:fs';
|
|
4
|
+
import os from 'node:os';
|
|
5
|
+
import path from 'node:path';
|
|
6
|
+
import { assertGate, emitGate, importDist } from './sks-1-18-gate-lib.js';
|
|
7
|
+
const research = await importDist('core/research.js');
|
|
8
|
+
const quality = await importDist('core/research/research-report-quality.js');
|
|
9
|
+
const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'sks-research-complete-package-'));
|
|
10
|
+
const plan = await research.writeResearchPlan(dir, 'complete package fixture blackbox', { missionId: 'M-COMPLETE-PACKAGE' });
|
|
11
|
+
const gate = await research.writeMockResearchResult(dir, plan);
|
|
12
|
+
const metrics = gate.metrics || {};
|
|
13
|
+
const reportQuality = quality.analyzeResearchReportQuality(fs.readFileSync(path.join(dir, 'research-report.md'), 'utf8'));
|
|
14
|
+
assertGate(gate.passed === true, 'complete mock research package must pass', gate);
|
|
15
|
+
assertGate(metrics.report_word_count >= 2200, 'report must satisfy word floor', metrics);
|
|
16
|
+
assertGate(fs.existsSync(path.join(dir, 'research-synthesis-output.json')), 'synthesis output must exist');
|
|
17
|
+
assertGate(metrics.source_entries_total_with_counterevidence >= 12, 'source count must satisfy contract', metrics);
|
|
18
|
+
assertGate(metrics.source_layers_covered >= 5, 'source layer coverage must satisfy contract', metrics);
|
|
19
|
+
assertGate(metrics.key_claims >= 8, 'key claims must satisfy contract', metrics);
|
|
20
|
+
assertGate(metrics.counterevidence_sources >= 2, 'counterevidence count must satisfy contract', metrics);
|
|
21
|
+
assertGate(metrics.final_review_approved === true, 'static plus mock Codex final review must approve', metrics);
|
|
22
|
+
assertGate(metrics.implementation_blueprint_validation?.ok === true, 'blueprint must validate', metrics);
|
|
23
|
+
assertGate(metrics.experiment_plan_validation?.ok === true, 'experiment plan must validate', metrics);
|
|
24
|
+
assertGate(metrics.replication_pack_validation?.ok === true, 'replication pack must validate', metrics);
|
|
25
|
+
assertGate(reportQuality.ok === true, 'complete package report must pass anti-template quality checks', reportQuality);
|
|
26
|
+
assertGate(reportQuality.repetition.repeated_paragraph_ratio <= 0.18, 'complete package must not rely on repeated paragraphs', reportQuality.repetition);
|
|
27
|
+
assertGate(reportQuality.repetition.template_phrase_hits.length === 0, 'complete package must not contain template phrases', reportQuality.repetition);
|
|
28
|
+
emitGate('research:complete-package-fixture', { dir, metrics, report_quality: reportQuality });
|
|
29
|
+
//# sourceMappingURL=research-complete-package-fixture-check.js.map
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import fs from 'node:fs';
|
|
4
|
+
import os from 'node:os';
|
|
5
|
+
import path from 'node:path';
|
|
6
|
+
import { assertGate, emitGate, importDist } from './sks-1-18-gate-lib.js';
|
|
7
|
+
const research = await importDist('core/research.js');
|
|
8
|
+
const reviewer = await importDist('core/research/research-final-reviewer.js');
|
|
9
|
+
const fsx = await importDist('core/fsx.js');
|
|
10
|
+
const badDir = fs.mkdtempSync(path.join(os.tmpdir(), 'sks-research-final-review-bad-'));
|
|
11
|
+
await research.writeResearchPlan(badDir, 'bad final reviewer fixture', { missionId: 'M-FINAL-BAD' });
|
|
12
|
+
await fsx.writeTextAtomic(path.join(badDir, 'research-report.md'), '# Bad\n\nToo short.\n');
|
|
13
|
+
const bad = await reviewer.runResearchFinalReviewer(badDir, { codexRequired: true });
|
|
14
|
+
assertGate(bad.approved === false, 'static failure must not approve final review', bad);
|
|
15
|
+
const templateDir = fs.mkdtempSync(path.join(os.tmpdir(), 'sks-research-final-review-template-'));
|
|
16
|
+
const templatePlan = await research.writeResearchPlan(templateDir, 'template final reviewer fixture', { missionId: 'M-FINAL-TEMPLATE' });
|
|
17
|
+
await research.writeMockResearchResult(templateDir, templatePlan);
|
|
18
|
+
await fsx.writeTextAtomic(path.join(templateDir, 'research-report.md'), [
|
|
19
|
+
'# SKS Research Report',
|
|
20
|
+
'',
|
|
21
|
+
'## Question',
|
|
22
|
+
'Runtime evidence note: This paragraph exists to make report quality measurable.',
|
|
23
|
+
'',
|
|
24
|
+
'## Methodology',
|
|
25
|
+
'Runtime evidence note: This paragraph exists to make report quality measurable.',
|
|
26
|
+
'',
|
|
27
|
+
'## Source Map',
|
|
28
|
+
'mock-source-1 mock-source-2 mock-source-3 mock-source-4 mock-source-5 mock-source-6 mock-source-7 mock-source-8.',
|
|
29
|
+
'',
|
|
30
|
+
'## Key Claims',
|
|
31
|
+
'- mock-claim-1 cites mock-source-1 and mock-counter-1.',
|
|
32
|
+
'',
|
|
33
|
+
'## Evidence Matrix Summary',
|
|
34
|
+
Array.from({ length: 36 }, () => 'Runtime evidence note: This paragraph exists to make report quality measurable while deterministic fixture text repeats the same sentence for mock-claim-1 using mock-source-1 and mock-counter-1.').join('\n\n'),
|
|
35
|
+
'',
|
|
36
|
+
'## Counterevidence',
|
|
37
|
+
'mock-counter-1 and mock-counter-2 challenge the report.',
|
|
38
|
+
'',
|
|
39
|
+
'## Falsification',
|
|
40
|
+
'Runtime evidence note: This paragraph exists to make report quality measurable.',
|
|
41
|
+
'',
|
|
42
|
+
'## Implementation Blueprint',
|
|
43
|
+
'Runtime evidence note: This paragraph exists to make report quality measurable.',
|
|
44
|
+
'',
|
|
45
|
+
'## Experiment / Validation Plan',
|
|
46
|
+
'Runtime evidence note: This paragraph exists to make report quality measurable.',
|
|
47
|
+
'',
|
|
48
|
+
'## Limitations',
|
|
49
|
+
'Runtime evidence note: This paragraph exists to make report quality measurable.',
|
|
50
|
+
'',
|
|
51
|
+
'## References',
|
|
52
|
+
'- mock-source-1',
|
|
53
|
+
'- mock-counter-1'
|
|
54
|
+
].join('\n\n'));
|
|
55
|
+
await fsx.rmrf(path.join(templateDir, 'research-final-review.codex.json'));
|
|
56
|
+
const template = await reviewer.runResearchFinalReviewer(templateDir, { codexRequired: true });
|
|
57
|
+
assertGate(template.approved === false, 'template/repeated report must not approve final review', template);
|
|
58
|
+
assertGate((template.blockers || []).some((reason) => String(reason).includes('research_report_repeated_paragraphs') || String(reason).includes('research_report_template_phrase_hit')), 'template blockers must include repetition/template reasons', template);
|
|
59
|
+
const goodDir = fs.mkdtempSync(path.join(os.tmpdir(), 'sks-research-final-review-good-'));
|
|
60
|
+
const plan = await research.writeResearchPlan(goodDir, 'good final reviewer fixture', { missionId: 'M-FINAL-GOOD' });
|
|
61
|
+
await research.writeMockResearchResult(goodDir, plan);
|
|
62
|
+
const good = JSON.parse(fs.readFileSync(path.join(goodDir, 'research-final-review.json'), 'utf8'));
|
|
63
|
+
assertGate(good.approved === true, 'complete package must approve final review with mock Codex reviewer', good);
|
|
64
|
+
assertGate(good.codex_review?.verdict === 'approve', 'merged final review must include Codex/mock approval', good);
|
|
65
|
+
assertGate(good.codex_review?.template_like_prose === false, 'mock Codex review must preserve template_like_prose=false', good);
|
|
66
|
+
assertGate(good.codex_review?.source_density_ok === true, 'mock Codex review must preserve source_density_ok=true', good);
|
|
67
|
+
assertGate(good.codex_review?.implementation_concreteness_ok === true, 'mock Codex review must preserve implementation_concreteness_ok=true', good);
|
|
68
|
+
assertGate(good.codex_review?.evidence_bound_synthesis_ok === true, 'mock Codex review must preserve evidence_bound_synthesis_ok=true', good);
|
|
69
|
+
emitGate('research:final-reviewer-blackbox', { bad_dir: badDir, template_dir: templateDir, good_dir: goodDir });
|
|
70
|
+
//# sourceMappingURL=research-final-reviewer-blackbox.js.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import fs from 'node:fs';
|
|
4
|
+
import os from 'node:os';
|
|
5
|
+
import path from 'node:path';
|
|
6
|
+
import { assertGate, emitGate, importDist } from './sks-1-18-gate-lib.js';
|
|
7
|
+
const research = await importDist('core/research.js');
|
|
8
|
+
const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'sks-research-handoff-'));
|
|
9
|
+
const plan = await research.writeResearchPlan(dir, 'handoff consumability blackbox', { missionId: 'M-HANDOFF-CONSUMABILITY' });
|
|
10
|
+
await research.writeMockResearchResult(dir, plan);
|
|
11
|
+
const handoff = fs.readFileSync(path.join(dir, 'team-handoff-goal.md'), 'utf8');
|
|
12
|
+
for (const heading of ['Context', 'Key Claims', 'Evidence Summary', 'Implementation Blueprint', 'Parallel Work Items', 'Acceptance Tests', 'Rollback Plan', 'Source Appendix']) {
|
|
13
|
+
assertGate(handoff.includes(`## ${heading}`), `handoff missing section: ${heading}`, handoff);
|
|
14
|
+
}
|
|
15
|
+
const workItems = handoff.match(/^\d+\. .+$/gm) || [];
|
|
16
|
+
assertGate(workItems.length >= 4, 'handoff must include at least 4 parallel work items', { workItems });
|
|
17
|
+
for (const item of workItems) {
|
|
18
|
+
assertGate(/Files: (?!explicit blocker: file list missing).+/.test(item) || item.includes('explicit blocker:'), 'work item must include files or explicit blocker', item);
|
|
19
|
+
}
|
|
20
|
+
assertGate(handoff.includes('$Team') || handoff.includes('$Naruto'), 'handoff must name Team or Naruto route', handoff);
|
|
21
|
+
assertGate(!handoff.includes('Sources: explicit blocker: source ids missing'), 'mock handoff must not include unsupported claims without source ids', handoff);
|
|
22
|
+
emitGate('research:handoff-consumability', { dir, work_item_count: workItems.length });
|
|
23
|
+
//# sourceMappingURL=research-handoff-consumability-check.js.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import { assertGate, emitGate, importDist } from './sks-1-18-gate-lib.js';
|
|
4
|
+
const workGraph = await importDist('core/research/research-work-graph.js');
|
|
5
|
+
const graph = workGraph.buildResearchWorkGraph({ mission_id: 'M-PARALLEL-SHARDS' });
|
|
6
|
+
const shards = graph.work_items.filter((item) => item.stage_kind === 'source_shard');
|
|
7
|
+
const shardIds = new Set(shards.map((item) => item.id));
|
|
8
|
+
const claim = graph.work_items.find((item) => item.id === 'claim_matrix_build');
|
|
9
|
+
const merge = graph.work_items.find((item) => item.id === 'source_ledger_merge');
|
|
10
|
+
assertGate(shards.length >= 8, 'work graph must create source layer shards', { count: shards.length });
|
|
11
|
+
assertGate(shards.some((item) => item.id === 'source_shard_academic_literature'), 'academic source shard missing');
|
|
12
|
+
assertGate(shards.some((item) => item.id === 'source_shard_official_government_data'), 'official government source shard missing');
|
|
13
|
+
assertGate(shards.some((item) => item.id === 'source_shard_standards_primary_docs'), 'standards source shard missing');
|
|
14
|
+
assertGate(shards.some((item) => item.id === 'source_shard_news_current_events'), 'news source shard missing');
|
|
15
|
+
assertGate(shards.some((item) => item.id === 'source_shard_public_discourse'), 'public discourse source shard missing');
|
|
16
|
+
assertGate(shards.some((item) => item.id === 'source_shard_developer_practitioner'), 'developer practitioner source shard missing');
|
|
17
|
+
assertGate(shards.some((item) => item.id === 'source_shard_counterevidence_factcheck'), 'counterevidence source shard missing');
|
|
18
|
+
assertGate(shards.some((item) => item.id === 'source_shard_local_project_evidence'), 'local project evidence source shard missing');
|
|
19
|
+
assertGate(merge && merge.dependencies.every((id) => shardIds.has(id)), 'source merge must depend on every source shard', merge);
|
|
20
|
+
assertGate(claim && [...shardIds].every((id) => claim.dependencies.includes(id)), 'claim matrix must depend on source shards', claim);
|
|
21
|
+
emitGate('research:parallel-source-shards', { shard_count: shards.length });
|
|
22
|
+
//# sourceMappingURL=research-parallel-source-shards-check.js.map
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import { assertGate, emitGate, readText } from './lib/codex-sdk-gate-lib.js';
|
|
4
|
+
const mode = process.argv[2] || 'all';
|
|
5
|
+
const checks = {
|
|
6
|
+
'quality-contract': () => {
|
|
7
|
+
assertFileIncludes('src/core/research/research-quality-contract.ts', [
|
|
8
|
+
'min_sources_total: 12',
|
|
9
|
+
'min_source_layers_covered: 5',
|
|
10
|
+
'min_counterevidence_sources: 2',
|
|
11
|
+
'min_trianguled_claims: 6',
|
|
12
|
+
'min_key_claims: 8',
|
|
13
|
+
'min_report_words: 2200'
|
|
14
|
+
]);
|
|
15
|
+
assertFileIncludes('src/core/research.ts', ['quality_contract', 'writeResearchQualityContract', 'research_report_too_short']);
|
|
16
|
+
},
|
|
17
|
+
'claim-matrix': () => {
|
|
18
|
+
assertFileIncludes('src/core/research/claim-evidence-matrix.ts', ['CLAIM_EVIDENCE_MATRIX_ARTIFACT', 'validateClaimEvidenceMatrix', 'buildClaimEvidenceMatrixFromLedgers']);
|
|
19
|
+
assertFileIncludes('src/core/research.ts', ['claim_evidence_matrix_missing', 'key_claims_below_contract', 'triangulated_claims_below_contract']);
|
|
20
|
+
},
|
|
21
|
+
'source-quality-report': () => {
|
|
22
|
+
assertFileIncludes('src/core/research/source-quality-report.ts', ['SOURCE_QUALITY_REPORT_ARTIFACT', 'buildSourceQualityReport', 'claim_ids']);
|
|
23
|
+
assertFileIncludes('src/core/research.ts', ['source_quality_report_missing', 'writeSourceQualityReport']);
|
|
24
|
+
},
|
|
25
|
+
'implementation-blueprint': () => {
|
|
26
|
+
assertFileIncludes('src/core/research/implementation-blueprint.ts', ['IMPLEMENTATION_BLUEPRINT_ARTIFACT', 'validateImplementationBlueprint']);
|
|
27
|
+
assertFileIncludes('src/core/research.ts', ['implementation_blueprint_missing', 'renderImplementationBlueprintMarkdown']);
|
|
28
|
+
},
|
|
29
|
+
'experiment-plan': () => {
|
|
30
|
+
assertFileIncludes('src/core/research/experiment-plan.ts', ['EXPERIMENT_PLAN_JSON_ARTIFACT', 'min_experiment_steps', 'validateExperimentPlan']);
|
|
31
|
+
assertFileIncludes('src/core/research/experiment-plan.ts', ['experiment_plan_missing', 'experiment_plan_too_thin']);
|
|
32
|
+
assertFileIncludes('src/core/research.ts', ['experiment_plan_missing', 'validateExperimentPlan']);
|
|
33
|
+
},
|
|
34
|
+
'replication-pack': () => {
|
|
35
|
+
assertFileIncludes('src/core/research/replication-pack.ts', ['REPLICATION_PACK_ARTIFACT', 'validateReplicationPack']);
|
|
36
|
+
assertFileIncludes('src/core/research.ts', ['replication_pack_missing']);
|
|
37
|
+
},
|
|
38
|
+
'final-reviewer': () => {
|
|
39
|
+
assertFileIncludes('src/core/research/research-final-reviewer.ts', ['RESEARCH_FINAL_REVIEW_ARTIFACT', 'approved', 'runResearchFinalReviewer', 'runResearchStaticFinalReview', 'runResearchCodexFinalReviewer', 'template_like_prose', 'source_density_ok', 'implementation_concreteness_ok', 'evidence_bound_synthesis_ok']);
|
|
40
|
+
assertFileIncludes('src/core/research.ts', ['research_final_review_not_approved']);
|
|
41
|
+
},
|
|
42
|
+
'work-graph': () => {
|
|
43
|
+
assertFileIncludes('src/core/research/research-work-graph.ts', ['RESEARCH_WORK_GRAPH_ARTIFACT', 'buildResearchWorkGraph', 'sks.naruto-work-graph.v1', 'RESEARCH_SOURCE_LAYERS', 'source_shard_local_project_evidence']);
|
|
44
|
+
assertFileIncludes('src/core/commands/research-command.ts', ['narutoWorkGraph: researchWorkGraph', 'readonly: true', 'runResearchCycle']);
|
|
45
|
+
},
|
|
46
|
+
'prompt-contract': () => {
|
|
47
|
+
assertFileIncludes('src/core/research/research-prompt-contract.ts', ['researchPromptContractText', 'validateResearchPromptContract']);
|
|
48
|
+
assertFileIncludes('src/core/research.ts', ['QUALITY CONTRACT:', 'researchPromptContractText()']);
|
|
49
|
+
},
|
|
50
|
+
'gate-thresholds': () => {
|
|
51
|
+
assertFileIncludes('src/core/research.ts', [
|
|
52
|
+
'source_entries_below_research_quality_contract',
|
|
53
|
+
'source_layer_coverage_below_contract',
|
|
54
|
+
'counterevidence_below_contract',
|
|
55
|
+
'required_artifact_missing'
|
|
56
|
+
]);
|
|
57
|
+
assertFileIncludes('src/core/research/falsification.ts', ['falsification_cases_below_contract']);
|
|
58
|
+
},
|
|
59
|
+
'report-quality': () => {
|
|
60
|
+
assertFileIncludes('src/core/research/research-report-quality.ts', ['analyzeResearchReportQuality', 'REQUIRED_RESEARCH_REPORT_HEADINGS', 'research_report_references_missing_source_ids', 'source_density_per_1000_words', 'claim_density_per_1000_words', 'analyzeResearchRepetition']);
|
|
61
|
+
assertFileIncludes('src/core/research.ts', ['report_word_count', 'report_quality', 'research_report_too_short', 'report_repetition']);
|
|
62
|
+
},
|
|
63
|
+
'schemas': () => {
|
|
64
|
+
for (const file of [
|
|
65
|
+
'schemas/research/research-quality-contract.schema.json',
|
|
66
|
+
'schemas/research/claim-evidence-matrix.schema.json',
|
|
67
|
+
'schemas/research/source-quality-report.schema.json',
|
|
68
|
+
'schemas/research/implementation-blueprint.schema.json',
|
|
69
|
+
'schemas/research/experiment-plan.schema.json',
|
|
70
|
+
'schemas/research/replication-pack.schema.json',
|
|
71
|
+
'schemas/research/research-final-review.schema.json',
|
|
72
|
+
'schemas/research/research-source-shard.schema.json',
|
|
73
|
+
'schemas/research/research-synthesis-output.schema.json'
|
|
74
|
+
])
|
|
75
|
+
assertGate(readText(file).includes('"$schema"'), `${file} missing JSON Schema header`);
|
|
76
|
+
},
|
|
77
|
+
'stage-cycle-runner': () => {
|
|
78
|
+
assertFileIncludes('src/core/research/research-cycle-runner.ts', ['readyStages', 'Promise.race', 'max_observed_parallel', 'critical_path_length']);
|
|
79
|
+
assertFileIncludes('src/core/research/research-stage-runner.ts', ['ResearchStageResult', 'runSourceShardStage', 'runFinalReviewStage', 'cycle-${input.cycle}', 'stages']);
|
|
80
|
+
},
|
|
81
|
+
'parallel-source-shards': () => {
|
|
82
|
+
assertFileIncludes('src/core/research/research-work-graph.ts', ['source_shard_academic_literature', 'source_shard_official_government_data', 'source_shard_counterevidence_factcheck', 'source_shard_local_project_evidence']);
|
|
83
|
+
assertFileIncludes('src/core/research/research-source-shards.ts', ['ResearchSourceShardOutput', 'validateResearchSourceShardOutput', 'source_shard_empty_without_blocker']);
|
|
84
|
+
},
|
|
85
|
+
'source-ledger-merge': () => {
|
|
86
|
+
assertFileIncludes('src/core/research/research-source-ledger-merge.ts', ['mergeResearchSourceShards', 'source-ledger.json', 'source-quality-report.json', 'dedupeSources']);
|
|
87
|
+
},
|
|
88
|
+
'claim-builder': () => {
|
|
89
|
+
assertFileIncludes('src/core/research/research-claim-builder.ts', ['buildClaimEvidenceMatrixFromSourceShards', 'unsupported_important_claim', 'counterevidence_ids']);
|
|
90
|
+
},
|
|
91
|
+
'blueprint-densifier': () => {
|
|
92
|
+
assertFileIncludes('src/core/research/implementation-blueprint-densifier.ts', ['densifyImplementationBlueprint', 'git', 'ls-files', 'existing_files', 'parallel_work_decomposition']);
|
|
93
|
+
},
|
|
94
|
+
'real-cycle-no-legacy-final-md': () => {
|
|
95
|
+
assertFileIncludes('src/core/commands/research-command.ts', ['--legacy-research-cycle', 'SKS_RESEARCH_LEGACY_CYCLE', 'const cycleResult = await runResearchCycle({', 'legacy_final_md_loop']);
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
if (mode === 'all') {
|
|
99
|
+
for (const check of Object.values(checks))
|
|
100
|
+
check();
|
|
101
|
+
}
|
|
102
|
+
else {
|
|
103
|
+
assertGate(Boolean(checks[mode]), `unknown research quality check: ${mode}`);
|
|
104
|
+
checks[mode]();
|
|
105
|
+
}
|
|
106
|
+
emitGate(`research:${mode}`, { mode });
|
|
107
|
+
function assertFileIncludes(file, tokens) {
|
|
108
|
+
const text = readText(file);
|
|
109
|
+
for (const token of tokens)
|
|
110
|
+
assertGate(text.includes(token), `${file} missing token ${token}`);
|
|
111
|
+
}
|
|
112
|
+
//# sourceMappingURL=research-quality-gate-check.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import { assertGate, emitGate, readText } from './sks-1-18-gate-lib.js';
|
|
4
|
+
const source = readText('src/core/commands/research-command.ts');
|
|
5
|
+
const defaultIndex = source.indexOf('const cycleResult = await runResearchCycle({');
|
|
6
|
+
const legacyIndex = source.indexOf('const legacyResearchCycle');
|
|
7
|
+
const legacyExecIndex = source.indexOf('runCodexExec({');
|
|
8
|
+
assertGate(defaultIndex > 0, 'default research run must call runResearchCycle with object input');
|
|
9
|
+
assertGate(source.includes('--legacy-research-cycle'), 'legacy research cycle flag must exist');
|
|
10
|
+
assertGate(source.includes('SKS_RESEARCH_LEGACY_CYCLE'), 'legacy research cycle env flag must exist');
|
|
11
|
+
assertGate(source.includes('legacy_final_md_loop'), 'legacy final.md loop must be explicitly marked');
|
|
12
|
+
assertGate(legacyExecIndex > legacyIndex, 'runCodexExec final.md path must live after legacy gate');
|
|
13
|
+
emitGate('research:real-cycle-no-legacy-final-md', { defaultIndex, legacyIndex, legacyExecIndex });
|
|
14
|
+
//# sourceMappingURL=research-real-cycle-no-legacy-final-md-check.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import { assertGate, emitGate, readText } from './sks-1-18-gate-lib.js';
|
|
4
|
+
const source = readText('src/core/research/research-stage-runner.ts');
|
|
5
|
+
const start = source.indexOf('async function runSynthesisStage');
|
|
6
|
+
const end = source.indexOf('async function runDeterministicMockSynthesisStage');
|
|
7
|
+
const runSynthesisStage = source.slice(start, end);
|
|
8
|
+
assertGate(start >= 0 && end > start, 'runSynthesisStage and mock branch must exist');
|
|
9
|
+
assertGate(runSynthesisStage.includes("input.backend === 'mock'") && runSynthesisStage.includes("input.backend === 'deterministic'"), 'synthesis stage must branch mock/deterministic explicitly', runSynthesisStage);
|
|
10
|
+
assertGate(runSynthesisStage.includes('runResearchCodexSynthesisWriter'), 'non-mock synthesis must call runResearchCodexSynthesisWriter', runSynthesisStage);
|
|
11
|
+
assertGate(!runSynthesisStage.includes('buildDeterministicMockResearchReport'), 'non-mock branch must not call deterministic report builder', runSynthesisStage);
|
|
12
|
+
assertGate(source.includes('synthesis_writer'), 'synthesis stage result metrics must include synthesis_writer', source);
|
|
13
|
+
emitGate('research:real-synthesis-no-deterministic-renderer', { ok: true });
|
|
14
|
+
//# sourceMappingURL=research-real-synthesis-no-deterministic-renderer-check.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import { assertGate, emitGate, importDist } from './sks-1-18-gate-lib.js';
|
|
4
|
+
const detector = await importDist('core/research/research-repetition-detector.js');
|
|
5
|
+
const realistic = await importDist('core/research/research-realistic-report.js');
|
|
6
|
+
const repeated = Array.from({ length: 30 }, (_unused, index) => `Runtime evidence note ${index + 1}: This paragraph exists to make report quality measurable while a deterministic fixture repeats the same claim with source-${index % 2}.`).join('\n\n');
|
|
7
|
+
const bad = detector.analyzeResearchRepetition(repeated);
|
|
8
|
+
assertGate(bad.ok === false, 'repeated template prose must fail', bad);
|
|
9
|
+
assertGate(bad.blockers.some((reason) => reason.startsWith('research_report_template_phrase_hit:')), 'template phrase blocker missing', bad);
|
|
10
|
+
const goodText = realistic.buildRealisticResearchReport({
|
|
11
|
+
plan: { mission_id: 'M-REPETITION-GOOD', prompt: 'repetition detector check' },
|
|
12
|
+
sourceIds: Array.from({ length: 14 }, (_unused, index) => `source-${index + 1}`),
|
|
13
|
+
counterevidenceIds: ['counter-1', 'counter-2']
|
|
14
|
+
});
|
|
15
|
+
const good = detector.analyzeResearchRepetition(goodText);
|
|
16
|
+
assertGate(good.ok === true, 'realistic varied report should pass repetition detector', good);
|
|
17
|
+
assertGate(good.repeated_paragraph_ratio <= 0.18, 'realistic report repeated paragraph ratio too high', good);
|
|
18
|
+
emitGate('research:repetition-detector', { bad, good });
|
|
19
|
+
//# sourceMappingURL=research-repetition-detector-check.js.map
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import fs from 'node:fs';
|
|
4
|
+
import os from 'node:os';
|
|
5
|
+
import path from 'node:path';
|
|
6
|
+
import { assertGate, emitGate, importDist } from './sks-1-18-gate-lib.js';
|
|
7
|
+
const research = await importDist('core/research.js');
|
|
8
|
+
const fsx = await importDist('core/fsx.js');
|
|
9
|
+
const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'sks-research-short-report-'));
|
|
10
|
+
const plan = await research.writeResearchPlan(dir, 'short report rejection blackbox', { missionId: 'M-SHORT-REPORT' });
|
|
11
|
+
await fsx.writeTextAtomic(path.join(dir, 'research-report.md'), `# Short Report\n\n${Array.from({ length: 300 }, (_unused, index) => `word${index}`).join(' ')}\n`);
|
|
12
|
+
await fsx.writeJsonAtomic(path.join(dir, 'source-ledger.json'), {
|
|
13
|
+
schema_version: 1,
|
|
14
|
+
web_search_passes: 1,
|
|
15
|
+
source_layers: [{ id: 'academic_literature', label: 'Academic literature', required: true, status: 'covered', source_ids: ['short-source-1'], counterevidence_ids: [] }],
|
|
16
|
+
sources: [{
|
|
17
|
+
id: 'short-source-1',
|
|
18
|
+
layer: 'academic_literature',
|
|
19
|
+
kind: 'fixture',
|
|
20
|
+
title: 'One source',
|
|
21
|
+
locator: 'fixture://one',
|
|
22
|
+
publisher_or_author: 'fixture',
|
|
23
|
+
accessed_at: new Date().toISOString(),
|
|
24
|
+
reliability: 'low',
|
|
25
|
+
credibility: 'thin',
|
|
26
|
+
stance: 'supports',
|
|
27
|
+
claim_ids: ['short-claim-1'],
|
|
28
|
+
notes: 'Only one source should not satisfy the research quality contract.'
|
|
29
|
+
}],
|
|
30
|
+
counterevidence_sources: [],
|
|
31
|
+
triangulation: { cross_layer_checks: [], conflicts: [], synthesis_notes: [] },
|
|
32
|
+
citation_coverage: { all_key_claims_cited: false, key_claim_ids: ['short-claim-1'], cited_claim_ids: ['short-claim-1'], uncited_claim_ids: [], source_claim_map: { 'short-source-1': ['short-claim-1'] } },
|
|
33
|
+
blockers: []
|
|
34
|
+
});
|
|
35
|
+
await fsx.writeJsonAtomic(path.join(dir, 'claim-evidence-matrix.json'), { schema: 'sks.claim-evidence-matrix.v1', mission_id: plan.mission_id, claims: [], key_claim_ids: [], unsupported_claims: [], triangulated_claim_count: 0, blockers: [] });
|
|
36
|
+
await fsx.writeJsonAtomic(path.join(dir, 'implementation-blueprint.json'), { schema: 'sks.research-implementation-blueprint.v1', sections: [] });
|
|
37
|
+
await fsx.rmrf(path.join(dir, 'research-final-review.codex.json'));
|
|
38
|
+
const gate = await research.evaluateResearchGate(dir);
|
|
39
|
+
const reasons = new Set(gate.reasons || []);
|
|
40
|
+
assertGate(gate.passed === false, 'summary-only package must be blocked', gate);
|
|
41
|
+
for (const reason of ['research_report_too_short', 'source_entries_below_research_quality_contract', 'key_claims_below_contract', 'research_final_review_not_approved']) {
|
|
42
|
+
assertGate(reasons.has(reason), `missing rejection reason: ${reason}`, gate);
|
|
43
|
+
}
|
|
44
|
+
assertGate(reasons.has('implementation_blueprint_incomplete_sections') || reasons.has('implementation_blueprint_missing') || reasons.has('implementation_blueprint_sections_below_contract'), 'missing blueprint rejection reason', gate);
|
|
45
|
+
emitGate('research:short-report-rejection', { dir, reasons: gate.reasons });
|
|
46
|
+
//# sourceMappingURL=research-short-report-rejection-check.js.map
|