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,10 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { assertGate, emitGate, readText } from './sks-1-18-gate-lib.js';
|
|
3
|
+
const proofPolicy = readText('src/core/proof/route-proof-policy.ts');
|
|
4
|
+
const proofGate = readText('src/core/proof/route-proof-gate.ts');
|
|
5
|
+
const runtimeGates = readText('src/core/pipeline-internals/runtime-gates.ts');
|
|
6
|
+
assertGate(proofPolicy.includes('team') && proofPolicy.includes('$Naruto'), 'proof policy must normalize Team aliases to Naruto');
|
|
7
|
+
assertGate(proofGate.includes('MAX_NARUTO_AGENT_COUNT') || proofGate.includes('100'), 'Naruto proof gate must allow Naruto clone ceiling');
|
|
8
|
+
assertGate(runtimeGates.includes('naruto-gate.json'), 'runtime gates must recognize naruto-gate.json');
|
|
9
|
+
emitGate('naruto:ssot-gate-aliases', { proof_aliases: true });
|
|
10
|
+
//# sourceMappingURL=naruto-ssot-gate-aliases-check.js.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { assertGate, emitGate, readText } from './sks-1-18-gate-lib.js';
|
|
3
|
+
const runtimeCore = readText('src/core/pipeline-internals/runtime-core.ts');
|
|
4
|
+
const agentPlan = readText('src/core/agents/agent-plan.ts');
|
|
5
|
+
const routes = readText('src/core/routes.ts');
|
|
6
|
+
assertGate(runtimeCore.includes('prepareNaruto') && runtimeCore.includes('naruto-gate.json'), 'pipeline runtime must prepare Naruto missions and gates');
|
|
7
|
+
assertGate(runtimeCore.includes('materialize Naruto clone roster') && !runtimeCore.includes("route?.id === 'Naruto'\n ? 'materialize full Team artifacts"), 'pipeline next-actions must describe Naruto artifacts for Naruto routes');
|
|
8
|
+
assertGate(agentPlan.includes('Naruto') || agentPlan.includes('naruto'), 'agent intake planning must include Naruto route');
|
|
9
|
+
assertGate(routes.includes('routeRequiresSubagents') && routes.includes('Naruto'), 'route defaults must require subagents for Naruto');
|
|
10
|
+
emitGate('naruto:ssot-pipeline-default', { pipeline_default: 'Naruto' });
|
|
11
|
+
//# sourceMappingURL=naruto-ssot-pipeline-default-check.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { assertGate, emitGate, importDist } from './sks-1-18-gate-lib.js';
|
|
3
|
+
const routes = await importDist('core/routes.js');
|
|
4
|
+
const explicitTeam = routes.routePrompt('$Team fix a release bug');
|
|
5
|
+
const explicitNaruto = routes.routePrompt('$Naruto fix a release bug');
|
|
6
|
+
assertGate(explicitTeam?.id === 'Naruto', '$Team prompt must normalize to Naruto');
|
|
7
|
+
assertGate(explicitNaruto?.id === 'Naruto', '$Naruto prompt must resolve to Naruto');
|
|
8
|
+
emitGate('naruto:ssot-route-normalization', { team: explicitTeam?.id, naruto: explicitNaruto?.id });
|
|
9
|
+
//# sourceMappingURL=naruto-ssot-route-normalization-check.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { assertGate, emitGate, importDist, readText } from './sks-1-18-gate-lib.js';
|
|
3
|
+
const routes = await importDist('core/routes.js');
|
|
4
|
+
const explicitTeam = routes.routePrompt('$Team fix the release gate');
|
|
5
|
+
const ordinaryWork = routes.routePrompt('implement a fix for the release gate');
|
|
6
|
+
const explicitNaruto = routes.routePrompt('$Naruto run release audit');
|
|
7
|
+
assertGate(explicitTeam?.id === 'Naruto', '$Team must normalize to Naruto for new work', explicitTeam);
|
|
8
|
+
assertGate(ordinaryWork?.id === 'Naruto', 'ordinary implementation work must default to Naruto', ordinaryWork);
|
|
9
|
+
assertGate(explicitNaruto?.id === 'Naruto', '$Naruto must route to Naruto', explicitNaruto);
|
|
10
|
+
const routeSource = readText('src/core/routes.ts');
|
|
11
|
+
assertGate(routeSource.includes('hidden: true') && routeSource.includes("aliasTo: '$Naruto'"), 'Team route must be hidden deprecated alias');
|
|
12
|
+
emitGate('naruto:ssot-routing', { team_alias: explicitTeam.id, ordinary: ordinaryWork.id });
|
|
13
|
+
//# sourceMappingURL=naruto-ssot-routing-check.js.map
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import { assertGate, emitGate, importDist, root } from './sks-1-18-gate-lib.js';
|
|
4
|
+
const workGraph = await importDist('core/naruto/naruto-work-graph.js');
|
|
5
|
+
const governorMod = await importDist('core/naruto/naruto-concurrency-governor.js');
|
|
6
|
+
const verificationDag = await importDist('core/naruto/naruto-verification-dag.js');
|
|
7
|
+
const verificationPool = await importDist('core/naruto/naruto-verification-pool.js');
|
|
8
|
+
const graph = workGraph.buildNarutoWorkGraph({ requestedClones: 8, totalWorkItems: 12, writeCapable: true });
|
|
9
|
+
const governor = governorMod.decideNarutoConcurrency({
|
|
10
|
+
requestedClones: 8,
|
|
11
|
+
totalWorkItems: 12,
|
|
12
|
+
backend: 'fake',
|
|
13
|
+
hardware: {
|
|
14
|
+
cores: 4,
|
|
15
|
+
loadAverage: [0, 0, 0],
|
|
16
|
+
remoteApiRateLimitBudget: 8,
|
|
17
|
+
fileDescriptorLimit: 4096,
|
|
18
|
+
processCount: 1,
|
|
19
|
+
zellijPaneCount: 0,
|
|
20
|
+
diskIoPressure: 0,
|
|
21
|
+
freeMemoryBytes: 8 * 1024 * 1024 * 1024,
|
|
22
|
+
totalMemoryBytes: 16 * 1024 * 1024 * 1024
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
const dag = verificationDag.buildNarutoVerificationDag(graph, { cwd: root, command: 'node -e "process.exit(0)"' });
|
|
26
|
+
const report = await verificationPool.runNarutoVerificationPool(dag, { ...governor, verification_parallel: 4 }, { cwd: root });
|
|
27
|
+
assertGate(report.ok === true, 'verification pool must pass all fixture shards', report);
|
|
28
|
+
assertGate(report.safe_concurrency === 4, 'verification pool must use its own safe concurrency', report);
|
|
29
|
+
assertGate(report.task_count > 1, 'verification pool must run multiple shards', report);
|
|
30
|
+
assertGate(report.cpu_heavy_cap_respected && report.io_heavy_cap_respected && report.api_rate_cap_respected, 'verification pool must respect resource caps', report);
|
|
31
|
+
emitGate('naruto:verification-pool', {
|
|
32
|
+
task_count: report.task_count,
|
|
33
|
+
safe_concurrency: report.safe_concurrency,
|
|
34
|
+
passed: report.passed
|
|
35
|
+
});
|
|
36
|
+
//# sourceMappingURL=naruto-verification-pool-check.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import { decideNarutoConcurrency } from '../core/naruto/naruto-concurrency-governor.js';
|
|
4
|
+
import { assertGate, emitGate, readText } from './sks-1-18-gate-lib.js';
|
|
5
|
+
const decision = decideNarutoConcurrency({ requestedClones: 32, totalWorkItems: 64, backend: 'fake', zellijVisiblePaneCap: 8, parallelismMode: 'extreme' });
|
|
6
|
+
assertGate(decision.safe_active_workers >= decision.safe_zellij_visible_panes && decision.headless_workers === decision.safe_active_workers - decision.safe_zellij_visible_panes, 'active workers must be separate from visible panes', decision);
|
|
7
|
+
const src = readText('src/core/commands/naruto-command.ts');
|
|
8
|
+
assertGate(src.includes('target active workers') && src.includes('visible panes') && src.includes('headless workers'), 'Naruto UX must print active/visible/headless counts');
|
|
9
|
+
emitGate('naruto:visible-vs-active-workers', decision);
|
|
10
|
+
//# sourceMappingURL=naruto-visible-vs-active-workers-check.js.map
|
|
@@ -0,0 +1,24 @@
|
|
|
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/naruto/naruto-work-graph.js');
|
|
5
|
+
const graph = workGraph.buildNarutoWorkGraph({
|
|
6
|
+
requestedClones: 24,
|
|
7
|
+
totalWorkItems: 30,
|
|
8
|
+
writeCapable: true,
|
|
9
|
+
targetPaths: Array.from({ length: 30 }, (_, index) => `src/fixture-${index}.ts`),
|
|
10
|
+
maxActiveWorkers: 8
|
|
11
|
+
});
|
|
12
|
+
const validation = workGraph.validateNarutoWorkGraph(graph);
|
|
13
|
+
assertGate(graph.ok === true && validation.ok === true, 'Naruto work graph must validate', { graph_blockers: graph.blockers, validation });
|
|
14
|
+
assertGate(graph.total_work_items >= graph.requested_clones * 2, 'write-capable work graph must create at least 2x requested clone count', { total: graph.total_work_items, requested: graph.requested_clones });
|
|
15
|
+
assertGate(graph.mixed_work_kinds.length > 4, 'work graph must contain mixed work kinds, not only verification', { kinds: graph.mixed_work_kinds });
|
|
16
|
+
assertGate(graph.write_allowed_count > 0, 'write-capable Naruto graph must include write_allowed work items', { write_allowed_count: graph.write_allowed_count });
|
|
17
|
+
assertGate(graph.active_waves.every((wave) => wave.conflict_count === 0), 'active waves must not overlap write leases', { waves: graph.active_waves });
|
|
18
|
+
emitGate('naruto:work-graph', {
|
|
19
|
+
total_work_items: graph.total_work_items,
|
|
20
|
+
mixed_work_kinds: graph.mixed_work_kinds,
|
|
21
|
+
write_allowed_count: graph.write_allowed_count,
|
|
22
|
+
wave_count: graph.active_waves.length
|
|
23
|
+
});
|
|
24
|
+
//# sourceMappingURL=naruto-work-graph-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
|
+
import { makeGitFixture, run } from './lib/git-worktree-fixture.js';
|
|
8
|
+
const managerMod = await importDist('core/git/git-worktree-manager.js');
|
|
9
|
+
const diffMod = await importDist('core/git/git-worktree-diff.js');
|
|
10
|
+
const mergeMod = await importDist('core/git/git-worktree-merge-queue.js');
|
|
11
|
+
const repo = makeGitFixture('naruto-worktree-blackbox');
|
|
12
|
+
process.env.SKS_WORKTREE_ROOT = fs.mkdtempSync(path.join(os.tmpdir(), 'sks-naruto-blackbox-'));
|
|
13
|
+
const allocations = [];
|
|
14
|
+
for (const file of ['a.txt', 'b.txt']) {
|
|
15
|
+
const allocation = await managerMod.allocateWorkerWorktree({ repoRoot: repo, missionId: 'M-naruto-blackbox', workerId: file.replace('.txt', ''), slotId: file.replace('.txt', '') });
|
|
16
|
+
fs.writeFileSync(path.join(allocation.worktree_path, file), `${file}\nworker-change\n`);
|
|
17
|
+
allocations.push(allocation);
|
|
18
|
+
}
|
|
19
|
+
assertGate(run('git', ['status', '--porcelain=v1'], repo).trim() === '', 'main worktree must remain unchanged before integration');
|
|
20
|
+
const diffs = [];
|
|
21
|
+
for (const allocation of allocations) {
|
|
22
|
+
diffs.push(await diffMod.exportGitWorktreeDiff({ mainRepoRoot: repo, worktreePath: allocation.worktree_path, missionId: 'M-naruto-blackbox', workerId: allocation.worker_id }));
|
|
23
|
+
}
|
|
24
|
+
const integration = await managerMod.allocateWorkerWorktree({ repoRoot: repo, missionId: 'M-naruto-blackbox', workerId: 'integration', slotId: 'integration' });
|
|
25
|
+
const report = await mergeMod.applyGitWorktreeMergeQueue({ integrationWorktreePath: integration.worktree_path, diffs });
|
|
26
|
+
assertGate(report.ok === true && report.applied_count === 2, 'integration worktree merge report must apply worker diffs', report);
|
|
27
|
+
assertGate(run('git', ['status', '--porcelain=v1'], repo).trim() === '', 'main worktree must remain unchanged after integration queue');
|
|
28
|
+
emitGate('naruto:worktree-coding:blackbox', { allocations: allocations.length, applied_count: report.applied_count });
|
|
29
|
+
//# sourceMappingURL=naruto-worktree-coding-blackbox.js.map
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
import { makeGitFixture, makeNonGitFixture } from './lib/git-worktree-fixture.js';
|
|
8
|
+
const capabilityMod = await importDist('core/git/git-worktree-capability.js');
|
|
9
|
+
const workGraphMod = await importDist('core/naruto/naruto-work-graph.js');
|
|
10
|
+
const activePoolMod = await importDist('core/naruto/naruto-active-pool.js');
|
|
11
|
+
const governorMod = await importDist('core/naruto/naruto-concurrency-governor.js');
|
|
12
|
+
const repo = makeGitFixture('naruto-worktree-coding');
|
|
13
|
+
process.env.SKS_WORKTREE_ROOT = fs.mkdtempSync(path.join(os.tmpdir(), 'sks-naruto-wt-'));
|
|
14
|
+
const capability = await capabilityMod.evaluateGitWorktreeCapability({ root: repo, missionId: 'M-naruto-wt', requireGitWorktree: process.argv.includes('--require-real') });
|
|
15
|
+
const policy = {
|
|
16
|
+
mode: capability.mode,
|
|
17
|
+
required: capability.mode === 'git-worktree',
|
|
18
|
+
main_repo_root: capability.detection.root,
|
|
19
|
+
worktree_root: capability.root_resolution?.root || null,
|
|
20
|
+
fallback_reason: capability.mode === 'git-worktree' ? null : capability.blockers.join(';')
|
|
21
|
+
};
|
|
22
|
+
const graph = workGraphMod.buildNarutoWorkGraph({
|
|
23
|
+
requestedClones: 8,
|
|
24
|
+
totalWorkItems: 12,
|
|
25
|
+
writeCapable: true,
|
|
26
|
+
targetPaths: Array.from({ length: 12 }, (_, index) => `src/wt-${index}.ts`),
|
|
27
|
+
maxActiveWorkers: 4,
|
|
28
|
+
worktreePolicy: policy
|
|
29
|
+
});
|
|
30
|
+
const governor = governorMod.decideNarutoConcurrency({ requestedClones: 8, totalWorkItems: 12, pendingWorkQueueSize: 12, backend: 'fake' });
|
|
31
|
+
const pool = await activePoolMod.runNarutoActivePool({ graph, governor: { ...governor, safe_active_workers: 4 } });
|
|
32
|
+
assertGate(capability.ok === true && capability.mode === 'git-worktree', 'Git Naruto coding fixture must use git-worktree mode', capability);
|
|
33
|
+
assertGate(graph.worktree_policy.mode === 'git-worktree', 'Naruto work graph must carry git-worktree policy', graph.worktree_policy);
|
|
34
|
+
assertGate(graph.work_items.filter((item) => item.write_allowed).every((item) => item.worktree?.allocation_required === true), 'write-capable work items must require worktree allocation', graph.work_items);
|
|
35
|
+
assertGate(pool.worktree_allocation_required_count > 0, 'active pool must plan worktree allocations for write work', pool);
|
|
36
|
+
const nonGit = makeNonGitFixture('naruto-worktree-non-git');
|
|
37
|
+
const nonGitCapability = await capabilityMod.evaluateGitWorktreeCapability({ root: nonGit, missionId: 'M-naruto-non-git' });
|
|
38
|
+
assertGate(nonGitCapability.mode === 'patch-envelope-only' && nonGitCapability.worktree_probe_attempted === false, 'non-Git Naruto must degrade without worktree probe', nonGitCapability);
|
|
39
|
+
emitGate('naruto:worktree-coding', {
|
|
40
|
+
worktree_mode: graph.worktree_policy.mode,
|
|
41
|
+
allocation_required_count: pool.worktree_allocation_required_count,
|
|
42
|
+
non_git_mode: nonGitCapability.mode
|
|
43
|
+
});
|
|
44
|
+
//# sourceMappingURL=naruto-worktree-coding-check.js.map
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import { assertGate, emitGate, importDist } from './sks-1-18-gate-lib.js';
|
|
4
|
+
const workGraphMod = await importDist('core/naruto/naruto-work-graph.js');
|
|
5
|
+
const rolesMod = await importDist('core/naruto/naruto-role-policy.js');
|
|
6
|
+
const packMod = await importDist('core/naruto/naruto-gpt-final-pack.js');
|
|
7
|
+
const policy = {
|
|
8
|
+
mode: 'git-worktree',
|
|
9
|
+
required: true,
|
|
10
|
+
main_repo_root: '/repo',
|
|
11
|
+
worktree_root: '/cache/sks/worktrees/repo/M-final',
|
|
12
|
+
fallback_reason: null
|
|
13
|
+
};
|
|
14
|
+
const graph = workGraphMod.buildNarutoWorkGraph({ requestedClones: 6, totalWorkItems: 8, writeCapable: true, worktreePolicy: policy });
|
|
15
|
+
const roleDistribution = rolesMod.buildNarutoRoleDistribution(graph.work_items);
|
|
16
|
+
const worktreeDiff = {
|
|
17
|
+
schema: 'sks.git-worktree-diff.v1',
|
|
18
|
+
ok: true,
|
|
19
|
+
mission_id: 'M-final',
|
|
20
|
+
worker_id: 'worker-1',
|
|
21
|
+
main_repo_root: '/repo',
|
|
22
|
+
worktree_path: '/cache/wt/worker-1',
|
|
23
|
+
branch: 'sks/M/worker-1',
|
|
24
|
+
changed_files: ['src/a.ts'],
|
|
25
|
+
diff: 'diff --git a/src/a.ts b/src/a.ts\n',
|
|
26
|
+
diff_bytes: 37
|
|
27
|
+
};
|
|
28
|
+
const pack = packMod.buildNarutoGptFinalPack({
|
|
29
|
+
missionId: 'M-final',
|
|
30
|
+
graph,
|
|
31
|
+
roleDistribution,
|
|
32
|
+
changedFiles: ['src/a.ts'],
|
|
33
|
+
worktreePolicy: policy,
|
|
34
|
+
worktreeDiffs: [worktreeDiff],
|
|
35
|
+
localLlmMetrics: { participated: true, final_status: 'draft_until_gpt_final' }
|
|
36
|
+
});
|
|
37
|
+
assertGate(pack.worktree_policy.mode === 'git-worktree', 'GPT final pack must include worktree policy', pack.worktree_policy);
|
|
38
|
+
assertGate(pack.worktree_diffs.length === 1, 'GPT final pack must include bounded worktree diffs', pack);
|
|
39
|
+
assertGate(pack.local_llm_metrics.final_status === 'draft_until_gpt_final', 'local LLM output must remain draft until GPT final', pack.local_llm_metrics);
|
|
40
|
+
assertGate(pack.bounded === true && pack.secrets_redacted === true, 'GPT final pack must stay bounded/redacted', pack);
|
|
41
|
+
emitGate('naruto:worktree-gpt-final', {
|
|
42
|
+
worktree_mode: pack.worktree_policy.mode,
|
|
43
|
+
worktree_diffs: pack.worktree_diffs.length
|
|
44
|
+
});
|
|
45
|
+
//# sourceMappingURL=naruto-worktree-gpt-final-check.js.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import { assertGate, emitGate, importDist } from './sks-1-18-gate-lib.js';
|
|
4
|
+
const dashboardMod = await importDist('core/zellij/zellij-naruto-dashboard.js');
|
|
5
|
+
const plan = dashboardMod.planNarutoZellijDashboard({
|
|
6
|
+
targetActiveWorkers: 10,
|
|
7
|
+
visiblePaneCap: 6,
|
|
8
|
+
roles: ['implementer', 'verifier'],
|
|
9
|
+
backend: 'codex-sdk',
|
|
10
|
+
worktreePolicy: {
|
|
11
|
+
mode: 'git-worktree',
|
|
12
|
+
required: true,
|
|
13
|
+
main_repo_root: '/repo',
|
|
14
|
+
worktree_root: '/cache/sks/worktrees/repo/M',
|
|
15
|
+
fallback_reason: null
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
assertGate(plan.ok === true, 'Naruto worktree Zellij dashboard must pass', plan);
|
|
19
|
+
assertGate(plan.worktree_mode === 'git-worktree', 'dashboard must carry worktree mode', plan);
|
|
20
|
+
assertGate(plan.worktree_labels.length === plan.visible_worker_panes, 'visible panes must have worktree labels', plan);
|
|
21
|
+
assertGate(plan.pane_titles.every((title) => title.includes('WT:') && title.includes('branch:')), 'pane titles must include worktree id and branch', plan.pane_titles);
|
|
22
|
+
assertGate(plan.headless_workers === 4, 'dashboard must still expose headless worker count', plan);
|
|
23
|
+
emitGate('naruto:worktree-zellij-ui', {
|
|
24
|
+
visible_worker_panes: plan.visible_worker_panes,
|
|
25
|
+
headless_workers: plan.headless_workers,
|
|
26
|
+
sample_title: plan.pane_titles[0]
|
|
27
|
+
});
|
|
28
|
+
//# sourceMappingURL=naruto-worktree-zellij-ui-check.js.map
|
|
@@ -0,0 +1,48 @@
|
|
|
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 requireReal = process.argv.includes('--require-real') || process.env.SKS_REQUIRE_ZELLIJ === '1';
|
|
8
|
+
const naruto = fs.readFileSync(path.join(root, 'src/core/commands/naruto-command.ts'), 'utf8');
|
|
9
|
+
const worker = fs.readFileSync(path.join(root, 'src/core/zellij/zellij-worker-pane-manager.ts'), 'utf8');
|
|
10
|
+
const swarm = fs.readFileSync(path.join(root, 'src/core/agents/native-cli-session-swarm.ts'), 'utf8');
|
|
11
|
+
const realGeometryProof = requireReal ? runRealGeometryProof() : null;
|
|
12
|
+
const report = {
|
|
13
|
+
schema: 'sks.naruto-zellij-dynamic-right-column-check.v1',
|
|
14
|
+
ok: true,
|
|
15
|
+
require_real: requireReal,
|
|
16
|
+
initial_main_only: /slotCount:\s*0/.test(naruto),
|
|
17
|
+
passes_session_name: naruto.includes('zellijSessionName: liveZellij?.session_name'),
|
|
18
|
+
passes_worker_placement: naruto.includes("workerPlacement: parsed.json || parsed.noOpenZellij ? 'process' : 'zellij-pane'"),
|
|
19
|
+
passes_visible_cap: naruto.includes('zellijVisiblePaneCap: zellijVisiblePanes'),
|
|
20
|
+
worker_uses_right_column: worker.includes("rightColumnMode: 'spawn-on-first-worker'") || swarm.includes("rightColumnMode: 'spawn-on-first-worker'"),
|
|
21
|
+
real_geometry_proof: realGeometryProof
|
|
22
|
+
};
|
|
23
|
+
report.ok = report.initial_main_only
|
|
24
|
+
&& report.passes_session_name
|
|
25
|
+
&& report.passes_worker_placement
|
|
26
|
+
&& report.passes_visible_cap
|
|
27
|
+
&& report.worker_uses_right_column
|
|
28
|
+
&& (!requireReal || realGeometryProof?.ok === true);
|
|
29
|
+
assertGate(report.ok, 'Naruto must use dynamic right-column worker panes in interactive mode', report);
|
|
30
|
+
emitGate('naruto:zellij-dynamic-right-column', report);
|
|
31
|
+
function runRealGeometryProof() {
|
|
32
|
+
const res = spawnSync('npm', ['run', 'zellij:right-column-real-geometry', '--silent', '--', '--require-real'], {
|
|
33
|
+
cwd: root,
|
|
34
|
+
env: { ...process.env, SKS_REQUIRE_ZELLIJ: '1' },
|
|
35
|
+
encoding: 'utf8',
|
|
36
|
+
maxBuffer: 20 * 1024 * 1024
|
|
37
|
+
});
|
|
38
|
+
return {
|
|
39
|
+
ok: res.status === 0,
|
|
40
|
+
exit_code: res.status,
|
|
41
|
+
stdout_tail: tail(res.stdout),
|
|
42
|
+
stderr_tail: tail(res.stderr)
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function tail(text) {
|
|
46
|
+
return String(text || '').split('\n').slice(-30).join('\n');
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=naruto-zellij-dynamic-right-column-check.js.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import { assertGate, emitGate, importDist } from './sks-1-18-gate-lib.js';
|
|
4
|
+
const dashboardMod = await importDist('core/zellij/zellij-naruto-dashboard.js');
|
|
5
|
+
const plan = dashboardMod.planNarutoZellijDashboard({
|
|
6
|
+
targetActiveWorkers: 32,
|
|
7
|
+
visiblePaneCap: 12,
|
|
8
|
+
completed: 8,
|
|
9
|
+
failed: 1,
|
|
10
|
+
backpressure: 'normal',
|
|
11
|
+
roles: ['implementer', 'modifier', 'test_writer', 'verifier'],
|
|
12
|
+
backend: 'codex-sdk'
|
|
13
|
+
});
|
|
14
|
+
assertGate(plan.ok === true, 'Naruto Zellij dashboard plan must pass', plan);
|
|
15
|
+
assertGate(plan.visible_worker_panes === 12, 'targetActiveWorkers=32 and visiblePaneCap=12 must create 12 visible panes', plan);
|
|
16
|
+
assertGate(plan.headless_workers === 20, 'remaining active workers must be listed as headless', plan);
|
|
17
|
+
assertGate(plan.pane_titles.every((title) => /slot-\d+\/gen-1 · .+ · codex-sdk · active/.test(title)), 'pane titles must include slot/gen/role/backend/status', plan);
|
|
18
|
+
emitGate('naruto:zellij-massive-ui', {
|
|
19
|
+
visible_worker_panes: plan.visible_worker_panes,
|
|
20
|
+
headless_workers: plan.headless_workers,
|
|
21
|
+
dashboard: plan.dashboard
|
|
22
|
+
});
|
|
23
|
+
//# sourceMappingURL=naruto-zellij-massive-ui-check.js.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import fs from 'node:fs/promises';
|
|
3
|
+
import path from 'node:path';
|
|
4
|
+
import { assertGate, emitGate, makeTempRoot } from './sks-3-1-8-check-lib.js';
|
|
5
|
+
import { repairNativeCapabilities } from '../core/codex-native/native-capability-repair.js';
|
|
6
|
+
const root = await makeTempRoot('sks-native-appshot-');
|
|
7
|
+
const report = await repairNativeCapabilities({ root, fix: true, yes: true, capabilities: ['codex_app_screenshot'], fixture: 'all-repairable' });
|
|
8
|
+
const registry = await fs.stat(path.join(root, '.sneakoscope', 'app-screenshots', 'screenshot-registry.json')).then(() => true, () => false);
|
|
9
|
+
assertGate(registry && report.capabilities[0]?.after === 'verified', 'app screenshot repair must create registry and verify writable path', report);
|
|
10
|
+
emitGate('native:app-screenshot-repair');
|
|
11
|
+
//# sourceMappingURL=native-app-screenshot-repair-check.js.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { assertGate, emitGate, makeTempRoot } from './sks-3-1-8-check-lib.js';
|
|
3
|
+
import { buildNativeCapabilityRepairMatrix } from '../core/codex-native/native-capability-repair-matrix.js';
|
|
4
|
+
import { postcheckNativeCapabilities } from '../core/codex-native/native-capability-postcheck.js';
|
|
5
|
+
import { repairNativeCapabilities } from '../core/codex-native/native-capability-repair.js';
|
|
6
|
+
const root = await makeTempRoot('sks-native-postcheck-');
|
|
7
|
+
const matrix = await buildNativeCapabilityRepairMatrix({ root, fixture: 'manual-required', reportPath: null });
|
|
8
|
+
const postcheck = await postcheckNativeCapabilities({ root, matrix, fixture: 'manual-required' });
|
|
9
|
+
const chrome = postcheck.capabilities.find((state) => state.id === 'chrome_web_review');
|
|
10
|
+
const repairedManual = await repairNativeCapabilities({ root, fix: true, yes: true, fixture: 'manual-required' });
|
|
11
|
+
const imagePath = repairedManual.capabilities.find((state) => state.id === 'image_path_exposure');
|
|
12
|
+
assertGate(chrome?.after !== 'verified', 'postcheck must not verify Chrome/web review without extension readiness', postcheck);
|
|
13
|
+
assertGate(imagePath?.after === 'degraded', 'saved artifact path fallback must be degraded, not verified native image path exposure', repairedManual);
|
|
14
|
+
assertGate(postcheck.capabilities.every((state) => state.after !== null), 'postcheck must set after state for each capability', postcheck);
|
|
15
|
+
emitGate('native-capability:postcheck');
|
|
16
|
+
//# sourceMappingURL=native-capability-postcheck-check.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import fs from 'node:fs/promises';
|
|
3
|
+
import path from 'node:path';
|
|
4
|
+
import { assertGate, emitGate, makeTempRoot } from './sks-3-1-8-check-lib.js';
|
|
5
|
+
import { repairNativeCapabilities } from '../core/codex-native/native-capability-repair.js';
|
|
6
|
+
const root = await makeTempRoot('sks-native-repair-');
|
|
7
|
+
process.env.SKS_CHROME_EXTENSION_READY = '1';
|
|
8
|
+
process.env.SKS_COMPUTER_USE_CAPABILITY = 'verified';
|
|
9
|
+
const report = await repairNativeCapabilities({ root, fix: true, yes: true, fixture: 'all-repairable' });
|
|
10
|
+
const imageRegistry = await fs.stat(path.join(root, '.sneakoscope', 'image-artifacts', 'image-artifact-registry.json')).then(() => true, () => false);
|
|
11
|
+
const screenshotRegistry = await fs.stat(path.join(root, '.sneakoscope', 'app-screenshots', 'screenshot-registry.json')).then(() => true, () => false);
|
|
12
|
+
assertGate(report.ok === true, 'repairable native capabilities must verify after repair fixture', report);
|
|
13
|
+
assertGate(imageRegistry && screenshotRegistry, 'native repair must create image and screenshot registries', { imageRegistry, screenshotRegistry });
|
|
14
|
+
emitGate('native-capability:repair');
|
|
15
|
+
//# sourceMappingURL=native-capability-repair-check.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { assertGate, emitGate, makeTempRoot } from './sks-3-1-8-check-lib.js';
|
|
3
|
+
import { buildNativeCapabilityRepairMatrix, NATIVE_CAPABILITY_IDS } from '../core/codex-native/native-capability-repair-matrix.js';
|
|
4
|
+
const root = await makeTempRoot('sks-native-matrix-');
|
|
5
|
+
const matrix = await buildNativeCapabilityRepairMatrix({ root, fixture: 'manual-required' });
|
|
6
|
+
assertGate(matrix.schema === 'sks.native-capability-repair-matrix.v1', 'native repair matrix schema mismatch', matrix);
|
|
7
|
+
assertGate(matrix.capabilities.length === NATIVE_CAPABILITY_IDS.length, 'native repair matrix must cover every capability', matrix);
|
|
8
|
+
assertGate(matrix.capabilities.some((state) => state.id === 'chrome_web_review' && state.repairability === 'manual-required'), 'Chrome extension readiness must be manual-required when missing', matrix);
|
|
9
|
+
emitGate('native-capability:repair-matrix', { capabilities: matrix.capabilities.length });
|
|
10
|
+
//# sourceMappingURL=native-capability-repair-matrix-check.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { assertGate, emitGate, makeTempRoot } from './sks-3-1-8-check-lib.js';
|
|
3
|
+
import { repairNativeCapabilities } from '../core/codex-native/native-capability-repair.js';
|
|
4
|
+
const root = await makeTempRoot('sks-native-chrome-');
|
|
5
|
+
delete process.env.SKS_CHROME_EXTENSION_READY;
|
|
6
|
+
const report = await repairNativeCapabilities({ root, fix: true, yes: true, capabilities: ['chrome_web_review'], fixture: 'manual-required' });
|
|
7
|
+
const state = report.capabilities[0];
|
|
8
|
+
assertGate(state?.repairability === 'manual-required' && state.after !== 'verified', 'Chrome/web review must not verify without extension readiness', report);
|
|
9
|
+
emitGate('native:chrome-web-review-repair');
|
|
10
|
+
//# sourceMappingURL=native-chrome-web-review-repair-check.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { assertGate, emitGate, makeTempRoot } from './sks-3-1-8-check-lib.js';
|
|
3
|
+
import { repairNativeCapabilities } from '../core/codex-native/native-capability-repair.js';
|
|
4
|
+
const root = await makeTempRoot('sks-native-computer-');
|
|
5
|
+
delete process.env.SKS_COMPUTER_USE_CAPABILITY;
|
|
6
|
+
const report = await repairNativeCapabilities({ root, fix: true, yes: true, capabilities: ['computer_use'], fixture: 'manual-required' });
|
|
7
|
+
const state = report.capabilities[0];
|
|
8
|
+
assertGate(state?.repairability === 'manual-required' && state.after !== 'verified', 'computer use must stay manual-required when OS permission/capability is unknown', report);
|
|
9
|
+
emitGate('native:computer-use-repair');
|
|
10
|
+
//# sourceMappingURL=native-computer-use-repair-check.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { assertGate, emitGate, makeTempRoot } from './sks-3-1-8-check-lib.js';
|
|
3
|
+
import { repairNativeCapabilities } from '../core/codex-native/native-capability-repair.js';
|
|
4
|
+
const root = await makeTempRoot('sks-native-image-');
|
|
5
|
+
const report = await repairNativeCapabilities({ root, fix: true, yes: true, capabilities: ['image_generation', 'image_followup_edit', 'saved_artifact_path_contract'], fixture: 'all-repairable' });
|
|
6
|
+
assertGate(report.capabilities.some((state) => state.id === 'image_generation' && state.after === 'verified'), 'image generation fixture should verify after repair', report);
|
|
7
|
+
assertGate(report.capabilities.some((state) => state.id === 'saved_artifact_path_contract' && state.after === 'verified'), 'saved artifact path contract should verify after repair', report);
|
|
8
|
+
emitGate('native:image-generation-repair');
|
|
9
|
+
//# sourceMappingURL=native-image-generation-repair-check.js.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import { assertGate, emitGate, readText } from './sks-1-18-gate-lib.js';
|
|
4
|
+
const src = readText('src/core/agents/native-cli-session-swarm.ts');
|
|
5
|
+
assertGate(src.includes('SKS_ZELLIJ_WORKER_HEARTBEAT_TIMEOUT_MS || 5000'), 'heartbeat launch proof timeout must default to 5000ms');
|
|
6
|
+
assertGate(src.includes('zellij_worker_heartbeat_missing_launch_warning') && !src.includes("...(heartbeatOk ? [] : ['zellij_worker_heartbeat_missing'])"), 'missing heartbeat must be warning before result timeout, not launch failure');
|
|
7
|
+
emitGate('native-swarm:heartbeat-does-not-serialize-launch');
|
|
8
|
+
//# sourceMappingURL=native-swarm-heartbeat-does-not-serialize-launch-check.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import { assertGate, emitGate, readText } from './sks-1-18-gate-lib.js';
|
|
4
|
+
const src = readText('src/core/agents/native-cli-session-swarm.ts');
|
|
5
|
+
assertGate(src.includes('worker_process_spawned') && src.includes('child.pid') && src.includes('spawnCompactSlotWorkerProcess'), 'native swarm process spawn proof missing');
|
|
6
|
+
emitGate('native-swarm:process-spawn-proof');
|
|
7
|
+
//# sourceMappingURL=native-swarm-process-spawn-proof-check.js.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import { assertGate, emitGate, readText } from './sks-1-18-gate-lib.js';
|
|
4
|
+
const src = readText('src/core/agents/native-cli-session-swarm.ts');
|
|
5
|
+
const processRunStart = src.indexOf('const processRun = liveWorkerPane');
|
|
6
|
+
const compactBlock = src.slice(processRunStart, src.indexOf('const launchBlockers'));
|
|
7
|
+
assertGate(processRunStart >= 0, 'native swarm must branch compact worker process from liveWorkerPane mode');
|
|
8
|
+
assertGate(compactBlock.includes('spawnCompactSlotWorkerProcess') && compactBlock.indexOf('spawnCompactSlotWorkerProcess') < compactBlock.indexOf('openWorkerPane'), 'compact worker process should spawn before pane renderer path');
|
|
9
|
+
assertGate(src.includes("process.env.SKS_REQUIRE_ZELLIJ === '1'") && src.includes('launchWarnings'), 'Zellij pane failure must only block when required');
|
|
10
|
+
emitGate('native-swarm:zellij-does-not-block-workers');
|
|
11
|
+
//# sourceMappingURL=native-swarm-zellij-does-not-block-workers-check.js.map
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import fs from 'node:fs';
|
|
4
|
+
import path from 'node:path';
|
|
5
|
+
import { fileURLToPath } from 'node:url';
|
|
6
|
+
import { nonRecursivePipelineMarkdown, scanNonRecursivePipelinePolicy } from '../core/agents/agent-recursion-guard.js';
|
|
7
|
+
const scriptDir = path.dirname(fileURLToPath(import.meta.url));
|
|
8
|
+
const defaultRoot = path.resolve(scriptDir, '..');
|
|
9
|
+
const args = process.argv.slice(2);
|
|
10
|
+
const root = path.resolve(readFlag('--root') || defaultRoot);
|
|
11
|
+
const json = args.includes('--json');
|
|
12
|
+
const noWrite = args.includes('--no-write');
|
|
13
|
+
const outputDir = path.join(root, '.sneakoscope', 'reports');
|
|
14
|
+
const report = scanNonRecursivePipelinePolicy(collectScanRecords(root));
|
|
15
|
+
if (!noWrite) {
|
|
16
|
+
fs.mkdirSync(outputDir, { recursive: true });
|
|
17
|
+
fs.writeFileSync(path.join(outputDir, 'non-recursive-pipeline-report.json'), `${JSON.stringify(report, null, 2)}\n`);
|
|
18
|
+
fs.writeFileSync(path.join(outputDir, 'non-recursive-pipeline-report.md'), nonRecursivePipelineMarkdown(report));
|
|
19
|
+
}
|
|
20
|
+
if (json)
|
|
21
|
+
console.log(JSON.stringify(report, null, 2));
|
|
22
|
+
else
|
|
23
|
+
console.log(`non-recursive-pipeline: ${report.ok ? 'pass' : 'blocked'} (${report.violations.length} violation(s), ${report.scanned_records.length} record(s), ${report.elapsed_ms}ms)`);
|
|
24
|
+
if (!report.ok || !report.performance_ok || !report.secret_redaction_ok)
|
|
25
|
+
process.exitCode = 1;
|
|
26
|
+
function readFlag(name) {
|
|
27
|
+
const idx = args.indexOf(name);
|
|
28
|
+
return idx >= 0 ? args[idx + 1] : null;
|
|
29
|
+
}
|
|
30
|
+
function collectScanRecords(scanRoot) {
|
|
31
|
+
const candidates = [
|
|
32
|
+
['src/core/agents/agent-worker-pipeline.ts', 'source'],
|
|
33
|
+
['src/core/agents/agent-recursion-guard.ts', 'source'],
|
|
34
|
+
['src/core/agents/agent-runner-process.ts', 'source'],
|
|
35
|
+
['src/core/agents/agent-runner-codex-exec.ts', 'source'],
|
|
36
|
+
['docs/agent-non-recursive-pipeline.md', 'docs'],
|
|
37
|
+
['docs/native-agent-kernel.md', 'docs']
|
|
38
|
+
];
|
|
39
|
+
const records = [];
|
|
40
|
+
for (const [rel, channel] of candidates) {
|
|
41
|
+
const full = path.join(scanRoot, rel);
|
|
42
|
+
if (!fs.existsSync(full) || !fs.statSync(full).isFile())
|
|
43
|
+
continue;
|
|
44
|
+
records.push({ path: rel, channel, text: fs.readFileSync(full, 'utf8') });
|
|
45
|
+
}
|
|
46
|
+
records.push({
|
|
47
|
+
path: '.sneakoscope/reports/agent-worker.stdout.fixture.txt',
|
|
48
|
+
channel: 'stdout',
|
|
49
|
+
text: 'agent worker completed local slice; no nested route requested'
|
|
50
|
+
});
|
|
51
|
+
records.push({
|
|
52
|
+
path: '.sneakoscope/reports/agent-worker.stderr.fixture.txt',
|
|
53
|
+
channel: 'stderr',
|
|
54
|
+
text: 'agent worker stderr clean; no recursive SKS command emitted'
|
|
55
|
+
});
|
|
56
|
+
records.push({
|
|
57
|
+
path: '.sneakoscope/reports/agent-result.fixture.json',
|
|
58
|
+
channel: 'agent_result',
|
|
59
|
+
text: JSON.stringify({
|
|
60
|
+
schema: 'sks.agent-result.v1',
|
|
61
|
+
status: 'done',
|
|
62
|
+
recursion_guard: { ok: true, violations: [] },
|
|
63
|
+
blockers: []
|
|
64
|
+
})
|
|
65
|
+
});
|
|
66
|
+
return records;
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=non-recursive-pipeline-check.js.map
|
|
@@ -0,0 +1,65 @@
|
|
|
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 MAX_FILES = Number(process.env.SKS_MAX_PACK_FILES || 2100);
|
|
8
|
+
const MAX_PACKED = Number(process.env.SKS_MAX_PACK_BYTES || 2300 * 1024);
|
|
9
|
+
const BUDGET_MS = Number(process.env.SKS_PACK_BUDGET_MS || 30000);
|
|
10
|
+
function runNpmPack() {
|
|
11
|
+
const npmCli = process.env.npm_execpath; // set when invoked via `npm run`
|
|
12
|
+
const argv = ['pack', '--dry-run', '--json', '--ignore-scripts'];
|
|
13
|
+
const res = npmCli
|
|
14
|
+
? spawnSync(process.execPath, [npmCli, ...argv], { cwd: root, encoding: 'utf8', maxBuffer: 32 * 1024 * 1024 })
|
|
15
|
+
: spawnSync('npm', argv, { cwd: root, encoding: 'utf8', maxBuffer: 32 * 1024 * 1024 });
|
|
16
|
+
return res;
|
|
17
|
+
}
|
|
18
|
+
function writeReport(report) {
|
|
19
|
+
const out = path.join(root, '.sneakoscope', 'reports', 'npm-publish-performance.json');
|
|
20
|
+
fs.mkdirSync(path.dirname(out), { recursive: true });
|
|
21
|
+
fs.writeFileSync(out, `${JSON.stringify(report, null, 2)}\n`);
|
|
22
|
+
}
|
|
23
|
+
const t0 = Date.now();
|
|
24
|
+
const res = runNpmPack();
|
|
25
|
+
const packMs = Date.now() - t0;
|
|
26
|
+
let info;
|
|
27
|
+
if (res.status === 0) {
|
|
28
|
+
try {
|
|
29
|
+
const parsed = JSON.parse(res.stdout);
|
|
30
|
+
info = Array.isArray(parsed) ? parsed[0] : parsed;
|
|
31
|
+
}
|
|
32
|
+
catch {
|
|
33
|
+
info = undefined;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
if (!info) {
|
|
37
|
+
// Real-check gate: never fail when npm is unreachable / pack unavailable.
|
|
38
|
+
const report = { ok: true, integration_optional: true, reason: 'npm_pack_unavailable' };
|
|
39
|
+
writeReport(report);
|
|
40
|
+
emitGate('publish:dry-run-performance', { integration_optional: true });
|
|
41
|
+
process.exit(0);
|
|
42
|
+
}
|
|
43
|
+
const report = {
|
|
44
|
+
schema: 'sks.npm-publish-performance.v1',
|
|
45
|
+
ok: info.entryCount <= MAX_FILES && info.size <= MAX_PACKED,
|
|
46
|
+
pack_ms: packMs,
|
|
47
|
+
slowest_phase: 'pack',
|
|
48
|
+
file_count: info.entryCount,
|
|
49
|
+
packed_bytes: info.size,
|
|
50
|
+
unpacked_bytes: info.unpackedSize,
|
|
51
|
+
over_budget: packMs > BUDGET_MS,
|
|
52
|
+
warnings: packMs > BUDGET_MS ? ['pack_slower_than_budget'] : [],
|
|
53
|
+
blockers: [
|
|
54
|
+
...(info.entryCount > MAX_FILES ? ['pack_file_count_over_limit'] : []),
|
|
55
|
+
...(info.size > MAX_PACKED ? ['pack_size_over_limit'] : [])
|
|
56
|
+
]
|
|
57
|
+
};
|
|
58
|
+
writeReport(report);
|
|
59
|
+
if (report.blockers.length) {
|
|
60
|
+
assertGate(false, 'npm_publish_performance_blockers', { blockers: report.blockers, report });
|
|
61
|
+
}
|
|
62
|
+
// A slow pack is a WARNING only, not a blocker.
|
|
63
|
+
console.log(JSON.stringify(report, null, 2));
|
|
64
|
+
process.exit(0);
|
|
65
|
+
//# sourceMappingURL=npm-publish-performance-check.js.map
|