sneakoscope 2.0.13 → 2.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 +6 -3
- 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/.sks-build-stamp.json +4 -4
- package/dist/bin/sks.js +1 -1
- package/dist/cli/command-registry.js +1 -0
- package/dist/commands/mad-db.js +5 -0
- package/dist/commands/zellij-slot-pane.js +3 -1
- package/dist/core/agents/agent-orchestrator.js +11 -4
- package/dist/core/agents/agent-output-validator.js +1 -1
- package/dist/core/agents/agent-plan.js +3 -2
- package/dist/core/agents/native-cli-session-swarm.js +118 -0
- package/dist/core/agents/native-cli-worker.js +85 -0
- package/dist/core/codex-control/codex-fake-sdk-adapter.js +3 -3
- package/dist/core/codex-control/gpt-final-review-schema.js +61 -14
- package/dist/core/commands/basic-cli.js +1 -1
- package/dist/core/commands/command-suggestions.js +1 -1
- package/dist/core/commands/mad-db-command.js +106 -0
- package/dist/core/commands/mad-sks-command.js +50 -13
- package/dist/core/commands/naruto-command.js +82 -1
- package/dist/core/commands/research-command.js +83 -17
- package/dist/core/commands/team-command.js +25 -1
- package/dist/core/db-safety.js +26 -0
- package/dist/core/fsx.js +1 -1
- package/dist/core/mad-db/mad-db-capability.js +84 -0
- package/dist/core/mad-db/mad-db-ledger.js +17 -0
- package/dist/core/mad-db/mad-db-policy-resolver.js +46 -0
- package/dist/core/naruto/naruto-real-worker-child.js +11 -3
- package/dist/core/naruto/naruto-real-worker-runtime.js +4 -0
- package/dist/core/pipeline/final-gpt-patch-stage.js +20 -3
- package/dist/core/pipeline-internals/runtime-core.js +74 -8
- package/dist/core/pipeline-internals/runtime-gates.js +44 -0
- package/dist/core/proof/route-proof-gate.js +5 -3
- package/dist/core/proof/route-proof-policy.js +9 -1
- package/dist/core/release/release-gate-affected-selector.js +113 -0
- package/dist/core/release/release-gate-batch-runner.js +67 -0
- package/dist/core/release/release-gate-dag.js +22 -3
- package/dist/core/release/release-gate-resource-governor.js +23 -11
- package/dist/core/research/implementation-blueprint-densifier.js +124 -0
- package/dist/core/research/implementation-blueprint-markdown.js +1 -1
- package/dist/core/research/implementation-blueprint.js +68 -7
- package/dist/core/research/research-claim-builder.js +114 -0
- package/dist/core/research/research-cycle-runner.js +115 -11
- package/dist/core/research/research-final-reviewer.js +181 -1
- package/dist/core/research/research-handoff.js +69 -5
- package/dist/core/research/research-realistic-report.js +162 -0
- package/dist/core/research/research-repetition-detector.js +75 -0
- package/dist/core/research/research-report-quality.js +27 -5
- package/dist/core/research/research-source-ledger-merge.js +186 -0
- package/dist/core/research/research-source-shards.js +176 -0
- package/dist/core/research/research-stage-runner.js +537 -11
- package/dist/core/research/research-synthesis-prompt.js +52 -0
- package/dist/core/research/research-synthesis-writer.js +208 -0
- package/dist/core/research/research-work-graph.js +114 -23
- package/dist/core/research.js +72 -48
- package/dist/core/routes.js +23 -19
- package/dist/core/update/update-notice.js +120 -0
- package/dist/core/version.js +1 -1
- package/dist/core/zellij/zellij-dashboard-renderer.js +2 -0
- package/dist/core/zellij/zellij-slot-column-anchor.js +35 -1
- package/dist/core/zellij/zellij-slot-pane-renderer.js +57 -0
- package/dist/core/zellij/zellij-slot-telemetry.js +182 -0
- package/dist/scripts/release-gate-dag-runner.js +5 -0
- package/dist/scripts/release-speed-summary.js +25 -0
- package/package.json +67 -5
- package/schemas/codex/agent-result.schema.json +1 -1
- package/schemas/mad-db/mad-db-capability.schema.json +31 -0
- package/schemas/mad-db/mad-db-ledger.schema.json +14 -0
- package/schemas/research/implementation-blueprint.schema.json +6 -1
- package/schemas/research/research-final-review.schema.json +10 -0
- package/schemas/research/research-source-shard.schema.json +46 -0
- package/schemas/research/research-synthesis-output.schema.json +62 -0
- package/schemas/update/update-notice.schema.json +19 -0
- package/schemas/zellij/zellij-slot-telemetry.schema.json +89 -0
- package/dist/build-manifest.json +0 -1184
- package/dist/scripts/agent-ast-aware-work-graph-check.js +0 -25
- package/dist/scripts/agent-backfill-replenishment-check.js +0 -13
- package/dist/scripts/agent-backfill-route-blackbox.js +0 -5
- package/dist/scripts/agent-background-terminals-check.js +0 -16
- package/dist/scripts/agent-cleanup-command-ux-check.js +0 -12
- package/dist/scripts/agent-cleanup-executor-check.js +0 -53
- package/dist/scripts/agent-cleanup-executor-v2-check.js +0 -39
- package/dist/scripts/agent-cli-options-to-task-graph-check.js +0 -5
- package/dist/scripts/agent-codex-app-cockpit-check.js +0 -91
- package/dist/scripts/agent-codex-child-overlap-check.js +0 -21
- package/dist/scripts/agent-dynamic-cockpit-check.js +0 -10
- package/dist/scripts/agent-dynamic-pool-check.js +0 -13
- package/dist/scripts/agent-dynamic-pool-route-blackbox.js +0 -5
- package/dist/scripts/agent-fast-mode-default-check.js +0 -62
- package/dist/scripts/agent-fast-mode-worker-propagation-check.js +0 -7
- package/dist/scripts/agent-follow-up-work-schema-check.js +0 -80
- package/dist/scripts/agent-goal-mode-propagation-check.js +0 -9
- package/dist/scripts/agent-intelligent-work-graph-check.js +0 -25
- package/dist/scripts/agent-janitor-check.js +0 -76
- package/dist/scripts/agent-main-no-scout-check.js +0 -11
- package/dist/scripts/agent-model-authored-patch-envelope-check.js +0 -15
- package/dist/scripts/agent-multi-project-isolation-check.js +0 -86
- package/dist/scripts/agent-native-cli-session-proof-check.js +0 -7
- package/dist/scripts/agent-native-cli-session-swarm-10-check.js +0 -7
- package/dist/scripts/agent-native-cli-session-swarm-20-check.js +0 -7
- package/dist/scripts/agent-native-cli-session-swarm-check.js +0 -7
- package/dist/scripts/agent-no-subagent-scaling-check.js +0 -7
- package/dist/scripts/agent-parallel-write-blackbox.js +0 -56
- package/dist/scripts/agent-parallel-write-kernel-check.js +0 -103
- package/dist/scripts/agent-patch-conflict-rebase-check.js +0 -198
- package/dist/scripts/agent-patch-envelope-extraction-check.js +0 -17
- package/dist/scripts/agent-patch-proof-check.js +0 -41
- package/dist/scripts/agent-patch-proof-runtime-check.js +0 -63
- package/dist/scripts/agent-patch-queue-runtime-check.js +0 -36
- package/dist/scripts/agent-patch-rollback-check.js +0 -38
- package/dist/scripts/agent-patch-rollback-dag-check.js +0 -14
- package/dist/scripts/agent-patch-swarm-route-blackbox.js +0 -10
- package/dist/scripts/agent-patch-swarm-runtime-check.js +0 -10
- package/dist/scripts/agent-patch-swarm-runtime-truth-check.js +0 -76
- package/dist/scripts/agent-patch-transaction-journal-check.js +0 -57
- package/dist/scripts/agent-patch-verification-dag-check.js +0 -14
- package/dist/scripts/agent-proof-contract-reconciled-check.js +0 -5
- package/dist/scripts/agent-real-codex-dynamic-smoke-check.js +0 -166
- package/dist/scripts/agent-real-codex-dynamic-smoke-v2-check.js +0 -14
- package/dist/scripts/agent-real-codex-in-zellij-worker-pane-check.js +0 -229
- package/dist/scripts/agent-real-codex-parallel-workers-10-check.js +0 -5
- package/dist/scripts/agent-real-codex-parallel-workers-20-check.js +0 -5
- package/dist/scripts/agent-real-codex-parallel-workers-5-check.js +0 -5
- package/dist/scripts/agent-real-codex-parallel-workers-check.js +0 -5
- package/dist/scripts/agent-role-config-repair-check.js +0 -33
- package/dist/scripts/agent-rollback-command-check.js +0 -86
- package/dist/scripts/agent-route-truth-backfill-check.js +0 -5
- package/dist/scripts/agent-scheduler-proof-check.js +0 -13
- package/dist/scripts/agent-scheduler-proof-hardening-check.js +0 -22
- package/dist/scripts/agent-session-generation-check.js +0 -21
- package/dist/scripts/agent-slot-pane-binding-proof-check.js +0 -64
- package/dist/scripts/agent-source-intelligence-propagation-check.js +0 -9
- package/dist/scripts/agent-strategy-to-lease-wiring-check.js +0 -32
- package/dist/scripts/agent-strategy-to-patch-strict-check.js +0 -54
- package/dist/scripts/agent-task-graph-expansion-check.js +0 -14
- package/dist/scripts/agent-terminal-generations-check.js +0 -23
- package/dist/scripts/agent-visual-consistency-check.js +0 -9
- package/dist/scripts/agent-wiki-context-proof-check.js +0 -62
- package/dist/scripts/agent-worker-backend-router-check.js +0 -63
- package/dist/scripts/agent-worker-scout-limited-check.js +0 -17
- package/dist/scripts/agent-zellij-dynamic-backfill-panes-check.js +0 -34
- package/dist/scripts/agent-zellij-runtime-check.js +0 -84
- package/dist/scripts/all-feature-deep-completion-check.js +0 -31
- package/dist/scripts/appshots-capability-check.js +0 -18
- package/dist/scripts/appshots-evidence-check.js +0 -48
- package/dist/scripts/appshots-operator-policy-check.js +0 -25
- package/dist/scripts/appshots-privacy-safety-check.js +0 -48
- package/dist/scripts/appshots-source-intelligence-check.js +0 -53
- package/dist/scripts/appshots-thread-attachment-discovery-check.js +0 -87
- package/dist/scripts/appshots-triwiki-voxel-check.js +0 -46
- package/dist/scripts/architecture-guard-check.js +0 -55
- package/dist/scripts/changelog-check.js +0 -47
- package/dist/scripts/codex-0-133-official-compat-report.js +0 -53
- package/dist/scripts/codex-0-134-official-compat-report.js +0 -110
- package/dist/scripts/codex-0-134-runner-truth-check.js +0 -66
- package/dist/scripts/codex-0-135-compat-check.js +0 -57
- package/dist/scripts/codex-0-136-compat-check.js +0 -30
- package/dist/scripts/codex-0-137-compat-check.js +0 -27
- package/dist/scripts/codex-app-fast-ui-preservation-check.js +0 -32
- package/dist/scripts/codex-app-provider-badge-check.js +0 -37
- package/dist/scripts/codex-app-ui-clobber-guard-check.js +0 -22
- package/dist/scripts/codex-app-ui-preservation-check.js +0 -96
- package/dist/scripts/codex-control-all-pipelines-check.js +0 -36
- package/dist/scripts/codex-control-capability-check.js +0 -10
- package/dist/scripts/codex-control-empty-result-retry-check.js +0 -43
- package/dist/scripts/codex-control-event-stream-ledger-check.js +0 -10
- package/dist/scripts/codex-control-keepalive-no-cot-leak-check.js +0 -14
- package/dist/scripts/codex-control-no-legacy-fallback-check.js +0 -31
- package/dist/scripts/codex-control-side-effect-scope-check.js +0 -26
- package/dist/scripts/codex-control-stream-idle-watchdog-check.js +0 -18
- package/dist/scripts/codex-control-structured-output-check.js +0 -11
- package/dist/scripts/codex-control-thread-registry-check.js +0 -11
- package/dist/scripts/codex-control-tool-call-sequence-repair-check.js +0 -14
- package/dist/scripts/codex-environment-scoped-approvals-check.js +0 -10
- package/dist/scripts/codex-exec-output-schema-actual-syntax-check.js +0 -33
- package/dist/scripts/codex-fast-mode-profile-propagation-check.js +0 -12
- package/dist/scripts/codex-history-search-check.js +0 -19
- package/dist/scripts/codex-hook-semantic-check.js +0 -15
- package/dist/scripts/codex-hook-strict-subset-check.js +0 -61
- package/dist/scripts/codex-lb-config-toml-safety-check.js +0 -85
- package/dist/scripts/codex-lb-persistence-truth-check.js +0 -96
- package/dist/scripts/codex-lb-setup-fixture-check.js +0 -91
- package/dist/scripts/codex-lb-setup-truthfulness-check.js +0 -84
- package/dist/scripts/codex-legacy-profile-consumers-removed-check.js +0 -24
- package/dist/scripts/codex-managed-proxy-env-check.js +0 -17
- package/dist/scripts/codex-output-schema-fixture-check.js +0 -25
- package/dist/scripts/codex-permission-profiles-check.js +0 -36
- package/dist/scripts/codex-plugin-list-json-check.js +0 -8
- package/dist/scripts/codex-profile-primary-check.js +0 -13
- package/dist/scripts/codex-project-config-policy-splitter-check.js +0 -51
- package/dist/scripts/codex-resume-cwd-truth-check.js +0 -17
- package/dist/scripts/codex-sdk-all-pipelines-check.js +0 -32
- package/dist/scripts/codex-sdk-backend-router-check.js +0 -65
- package/dist/scripts/codex-sdk-capability-check.js +0 -11
- package/dist/scripts/codex-sdk-core-skill-pipeline-check.js +0 -9
- package/dist/scripts/codex-sdk-dfix-pipeline-check.js +0 -9
- package/dist/scripts/codex-sdk-event-stream-ledger-check.js +0 -9
- package/dist/scripts/codex-sdk-no-legacy-fallback-check.js +0 -33
- package/dist/scripts/codex-sdk-qa-pipeline-check.js +0 -8
- package/dist/scripts/codex-sdk-real-smoke-check.js +0 -39
- package/dist/scripts/codex-sdk-release-review-pipeline-check.js +0 -13
- package/dist/scripts/codex-sdk-research-pipeline-check.js +0 -15
- package/dist/scripts/codex-sdk-sandbox-policy-check.js +0 -21
- package/dist/scripts/codex-sdk-structured-output-check.js +0 -10
- package/dist/scripts/codex-sdk-team-naruto-agent-pipeline-check.js +0 -12
- package/dist/scripts/codex-sdk-thread-registry-check.js +0 -11
- package/dist/scripts/codex-sdk-ux-ppt-review-pipeline-check.js +0 -9
- package/dist/scripts/codex-sdk-zellij-pane-binding-check.js +0 -13
- package/dist/scripts/codex-thread-runtime-choice-check.js +0 -10
- package/dist/scripts/codex-web-adapter-check.js +0 -12
- package/dist/scripts/computer-use-live-evidence-check.js +0 -55
- package/dist/scripts/computer-use-live-optional-check.js +0 -32
- package/dist/scripts/computer-use-policy-check.js +0 -69
- package/dist/scripts/computer-use-visual-route-fixture-check.js +0 -37
- package/dist/scripts/core-skill-card-schema-check.js +0 -61
- package/dist/scripts/core-skill-deployment-snapshot-check.js +0 -54
- package/dist/scripts/core-skill-heldout-validation-check.js +0 -49
- package/dist/scripts/core-skill-no-inference-optimizer-check.js +0 -75
- package/dist/scripts/core-skill-patch-check.js +0 -79
- package/dist/scripts/core-skill-promotion-side-effect-ledger-check.js +0 -64
- package/dist/scripts/core-skill-rollout-scoring-check.js +0 -72
- package/dist/scripts/core-skill-route-runtime-integration-check.js +0 -49
- package/dist/scripts/dfix-fast-blackbox-check.js +0 -37
- package/dist/scripts/dfix-fast-kernel-check.js +0 -26
- package/dist/scripts/dfix-fixture-check.js +0 -6
- package/dist/scripts/dfix-parallel-write-blackbox.js +0 -48
- package/dist/scripts/dfix-patch-handoff-check.js +0 -13
- package/dist/scripts/dfix-patch-swarm-route-blackbox.js +0 -10
- package/dist/scripts/dfix-performance-check.js +0 -15
- package/dist/scripts/dfix-verification-check.js +0 -9
- package/dist/scripts/dfix-verification-recommendation-check.js +0 -15
- package/dist/scripts/docs-truthfulness-check.js +0 -61
- package/dist/scripts/doctor-codex-doctor-parity-check.js +0 -17
- package/dist/scripts/doctor-fix-proves-codex-read-check.js +0 -64
- package/dist/scripts/doctor-fix-recovers-corrupted-config-check.js +0 -122
- package/dist/scripts/doctor-fixes-codex-app-fast-ui-check.js +0 -39
- package/dist/scripts/evidence-fixture-check.js +0 -26
- package/dist/scripts/evidence-flagship-coverage-check.js +0 -55
- package/dist/scripts/fake-real-proof-policy-v2-check.js +0 -27
- package/dist/scripts/fake-vs-real-proof-policy-check.js +0 -14
- package/dist/scripts/fast-codex-service-tier-proof-check.js +0 -42
- package/dist/scripts/flagship-proof-graph-v2-check.js +0 -48
- package/dist/scripts/flagship-proof-graph-v3-check.js +0 -67
- package/dist/scripts/flagship-proof-graph-v4-check.js +0 -61
- package/dist/scripts/git-precommit-fixture-check.js +0 -41
- package/dist/scripts/git-worktree-cache-performance-check.js +0 -25
- package/dist/scripts/git-worktree-capability-check.js +0 -27
- package/dist/scripts/git-worktree-checkpoint-check.js +0 -20
- package/dist/scripts/git-worktree-cleanup-check.js +0 -27
- package/dist/scripts/git-worktree-cross-rebase-check.js +0 -39
- package/dist/scripts/git-worktree-diff-envelope-check.js +0 -17
- package/dist/scripts/git-worktree-diff-export-check.js +0 -43
- package/dist/scripts/git-worktree-dirty-lock-check.js +0 -17
- package/dist/scripts/git-worktree-dirty-main-detection-check.js +0 -14
- package/dist/scripts/git-worktree-integration-primary-check.js +0 -24
- package/dist/scripts/git-worktree-integration-primary-runtime-check.js +0 -20
- package/dist/scripts/git-worktree-manager-check.js +0 -37
- package/dist/scripts/git-worktree-manifest-append-check.js +0 -18
- package/dist/scripts/git-worktree-merge-queue-check.js +0 -31
- package/dist/scripts/git-worktree-pool-performance-check.js +0 -20
- package/dist/scripts/git-worktree-untracked-diff-check.js +0 -18
- package/dist/scripts/goal-mode-official-default-check.js +0 -12
- package/dist/scripts/gpt-final-arbiter-check.js +0 -63
- package/dist/scripts/gpt-final-arbiter-performance-check.js +0 -36
- package/dist/scripts/gpt-image-2-request-validator-check.js +0 -35
- package/dist/scripts/hooks-0.134-context-parity-check.js +0 -20
- package/dist/scripts/hooks-actual-parity-check.js +0 -17
- package/dist/scripts/hooks-actual-parity-v2-check.js +0 -21
- package/dist/scripts/hooks-latest-schema-check.js +0 -20
- package/dist/scripts/hooks-managed-install-fixture-check.js +0 -21
- package/dist/scripts/hooks-official-hash-oracle-check.js +0 -35
- package/dist/scripts/hooks-official-hash-parity-check.js +0 -17
- package/dist/scripts/hooks-subagent-events-check.js +0 -17
- package/dist/scripts/hooks-trust-state-check.js +0 -14
- package/dist/scripts/image-fidelity-fixture-check.js +0 -24
- package/dist/scripts/imagegen-capability-check.js +0 -30
- package/dist/scripts/imagegen-real-smoke-check.js +0 -155
- package/dist/scripts/install-update-preserves-config-check.js +0 -87
- package/dist/scripts/json-schema-recursive-check.js +0 -78
- package/dist/scripts/legacy-multiagent-removal-check.js +0 -85
- package/dist/scripts/legacy-upgrade-matrix-check.js +0 -300
- package/dist/scripts/local-collab-all-pipelines-final-gpt-check.js +0 -21
- package/dist/scripts/local-collab-gpt-final-availability-check.js +0 -58
- package/dist/scripts/local-collab-no-local-only-final-check.js +0 -27
- package/dist/scripts/local-collab-policy-check.js +0 -17
- package/dist/scripts/local-collab-worktree-gpt-final-apply-policy-check.js +0 -63
- package/dist/scripts/local-llm-all-pipelines-check.js +0 -11
- package/dist/scripts/local-llm-cache-performance-check.js +0 -10
- package/dist/scripts/local-llm-capability-check.js +0 -14
- package/dist/scripts/local-llm-smoke-check.js +0 -23
- package/dist/scripts/local-llm-structured-output-check.js +0 -11
- package/dist/scripts/local-llm-throughput-check.js +0 -10
- package/dist/scripts/local-llm-tool-call-repair-check.js +0 -10
- package/dist/scripts/local-llm-warmup-check.js +0 -11
- package/dist/scripts/loop-blocker-check.js +0 -15
- package/dist/scripts/mad-preflight-blocks-unreadable-config-check.js +0 -35
- package/dist/scripts/mad-sks-actual-executor-blackbox.js +0 -5
- package/dist/scripts/mad-sks-app-ui-no-mutation-check.js +0 -92
- package/dist/scripts/mad-sks-audit-proof-check.js +0 -34
- package/dist/scripts/mad-sks-db-executor-check.js +0 -5
- package/dist/scripts/mad-sks-executor-proof-graph-check.js +0 -5
- package/dist/scripts/mad-sks-fast-mode-propagation-check.js +0 -24
- package/dist/scripts/mad-sks-file-write-executor-check.js +0 -5
- package/dist/scripts/mad-sks-immutable-harness-check.js +0 -36
- package/dist/scripts/mad-sks-no-harness-modification-check.js +0 -25
- package/dist/scripts/mad-sks-package-executor-check.js +0 -5
- package/dist/scripts/mad-sks-permission-model-check.js +0 -22
- package/dist/scripts/mad-sks-rollback-apply-check.js +0 -5
- package/dist/scripts/mad-sks-service-executor-check.js +0 -5
- package/dist/scripts/mad-sks-shell-executor-check.js +0 -5
- package/dist/scripts/mad-sks-write-guard-check.js +0 -28
- package/dist/scripts/mad-sks-zellij-default-pane-worker-check.js +0 -37
- package/dist/scripts/mad-sks-zellij-launch-check.js +0 -102
- package/dist/scripts/mcp-0-134-modernization-check.js +0 -55
- package/dist/scripts/mcp-readonly-concurrency-check.js +0 -17
- package/dist/scripts/mcp-readonly-runtime-scheduler-check.js +0 -20
- package/dist/scripts/mcp-tool-naming-parity-check.js +0 -16
- package/dist/scripts/memory-summary-rebuild-check.js +0 -22
- package/dist/scripts/mutation-callsite-coverage-check.js +0 -180
- package/dist/scripts/naruto-active-pool-check.js +0 -39
- package/dist/scripts/naruto-actual-worker-control-plane-check.js +0 -56
- package/dist/scripts/naruto-allocation-policy-check.js +0 -33
- package/dist/scripts/naruto-allocation-runtime-wiring-check.js +0 -92
- package/dist/scripts/naruto-concurrency-governor-check.js +0 -53
- package/dist/scripts/naruto-extreme-parallelism-check.js +0 -22
- package/dist/scripts/naruto-extreme-parallelism-real-check.js +0 -43
- package/dist/scripts/naruto-gpt-final-pack-check.js +0 -34
- package/dist/scripts/naruto-orchestrator-runtime-source-check.js +0 -70
- package/dist/scripts/naruto-parallel-patch-apply-check.js +0 -41
- package/dist/scripts/naruto-readonly-routing-check.js +0 -116
- package/dist/scripts/naruto-real-active-pool-check.js +0 -39
- package/dist/scripts/naruto-real-active-pool-runtime-check.js +0 -55
- package/dist/scripts/naruto-rebalance-policy-check.js +0 -41
- package/dist/scripts/naruto-role-distribution-check.js +0 -23
- package/dist/scripts/naruto-shadow-clone-swarm-check.js +0 -153
- package/dist/scripts/naruto-verification-pool-check.js +0 -36
- package/dist/scripts/naruto-work-graph-check.js +0 -24
- package/dist/scripts/naruto-worktree-coding-blackbox.js +0 -29
- package/dist/scripts/naruto-worktree-coding-check.js +0 -44
- package/dist/scripts/naruto-worktree-gpt-final-check.js +0 -45
- package/dist/scripts/naruto-worktree-zellij-ui-check.js +0 -28
- package/dist/scripts/naruto-zellij-dynamic-right-column-check.js +0 -48
- package/dist/scripts/naruto-zellij-massive-ui-check.js +0 -23
- package/dist/scripts/non-recursive-pipeline-check.js +0 -68
- package/dist/scripts/npm-publish-performance-check.js +0 -65
- package/dist/scripts/official-docs-compat-report.js +0 -304
- package/dist/scripts/packlist-performance-check.js +0 -83
- package/dist/scripts/parallel-verification-engine-check.js +0 -85
- package/dist/scripts/postinstall-safe-side-effects-check.js +0 -65
- package/dist/scripts/ppt-full-e2e-artifact-graph-check.js +0 -40
- package/dist/scripts/ppt-full-e2e-blackbox-check.js +0 -109
- package/dist/scripts/ppt-image-voxel-relations-check.js +0 -9
- package/dist/scripts/ppt-imagegen-blackbox-check.js +0 -46
- package/dist/scripts/ppt-imagegen-review-fixture-check.js +0 -6
- package/dist/scripts/ppt-issue-extraction-fixture-check.js +0 -7
- package/dist/scripts/ppt-no-mock-as-real-check.js +0 -8
- package/dist/scripts/ppt-no-text-fallback-check.js +0 -7
- package/dist/scripts/ppt-proof-trust-fixture-check.js +0 -10
- package/dist/scripts/ppt-real-export-adapter-check.js +0 -13
- package/dist/scripts/ppt-real-imagegen-smoke-check.js +0 -42
- package/dist/scripts/ppt-real-imagegen-wiring-check.js +0 -16
- package/dist/scripts/ppt-reexport-rereview-check.js +0 -19
- package/dist/scripts/ppt-slide-export-fixture-check.js +0 -7
- package/dist/scripts/prepublish-fast-check.js +0 -128
- package/dist/scripts/priority-full-closure-check.js +0 -12
- package/dist/scripts/product-design-auto-install-check.js +0 -119
- package/dist/scripts/product-design-plugin-routing-check.js +0 -101
- package/dist/scripts/prompt-placeholder-guard-check.js +0 -33
- package/dist/scripts/provider-badge-context-check.js +0 -26
- package/dist/scripts/provider-context-config-toml-check.js +0 -63
- package/dist/scripts/python-codex-sdk-all-pipelines-check.js +0 -47
- package/dist/scripts/python-codex-sdk-capability-check.js +0 -75
- package/dist/scripts/python-codex-sdk-sandbox-policy-check.js +0 -10
- package/dist/scripts/python-codex-sdk-stream-bridge-check.js +0 -12
- package/dist/scripts/python-tools-smoke-check.js +0 -71
- package/dist/scripts/qa-actual-route-backfill-check.js +0 -5
- package/dist/scripts/qa-backfill-route-blackbox.js +0 -5
- package/dist/scripts/qa-patch-swarm-route-blackbox.js +0 -10
- package/dist/scripts/readme-architecture-imagegen-official-check.js +0 -448
- package/dist/scripts/release-cache-glob-hashing-check.js +0 -42
- package/dist/scripts/release-dag-full-coverage-check.js +0 -53
- package/dist/scripts/release-dist-freshness-check.js +0 -8
- package/dist/scripts/release-dynamic-performance-check.js +0 -103
- package/dist/scripts/release-gate-budget-check.js +0 -36
- package/dist/scripts/release-gate-dag-runner-check.js +0 -17
- package/dist/scripts/release-metadata-1-11-check.js +0 -37
- package/dist/scripts/release-metadata-1-12-check.js +0 -48
- package/dist/scripts/release-metadata-1-13-check.js +0 -53
- package/dist/scripts/release-metadata-1-14-check.js +0 -63
- package/dist/scripts/release-metadata-1-16-check.js +0 -81
- package/dist/scripts/release-metadata-1-17-check.js +0 -51
- package/dist/scripts/release-metadata-1-19-check.js +0 -371
- package/dist/scripts/release-metadata-check.js +0 -7
- package/dist/scripts/release-native-agent-fixture-check.js +0 -41
- package/dist/scripts/release-parallel-check.js +0 -374
- package/dist/scripts/release-parallel-full-coverage-check.js +0 -13
- package/dist/scripts/release-parallel-speed-budget-check.js +0 -79
- package/dist/scripts/release-provenance-check.js +0 -150
- package/dist/scripts/release-readiness-report.js +0 -1146
- package/dist/scripts/release-real-check.js +0 -330
- package/dist/scripts/release-registry-check.js +0 -344
- package/dist/scripts/release-runtime-truth-matrix-check.js +0 -47
- package/dist/scripts/release-stability-report-check.js +0 -99
- package/dist/scripts/release-version-truth-check.js +0 -134
- package/dist/scripts/research-actual-route-backfill-check.js +0 -5
- package/dist/scripts/research-backfill-route-blackbox.js +0 -5
- package/dist/scripts/research-quality-gate-check.js +0 -86
- package/dist/scripts/responses-retry-policy-centralized-check.js +0 -19
- package/dist/scripts/retention-cleanup-safety-check.js +0 -155
- package/dist/scripts/route-blackbox-realism-check.js +0 -21
- package/dist/scripts/route-proof-artifact-structure-check.js +0 -145
- package/dist/scripts/runtime-dist-parity-check.js +0 -78
- package/dist/scripts/runtime-no-mjs-scripts-check.js +0 -45
- package/dist/scripts/runtime-no-src-mjs-check.js +0 -32
- package/dist/scripts/runtime-no-tmux-check.js +0 -113
- package/dist/scripts/runtime-ts-python-boundary-check.js +0 -59
- package/dist/scripts/runtime-ts-rust-boundary-check.js +0 -74
- package/dist/scripts/runtime-ts-source-of-truth-check.js +0 -55
- package/dist/scripts/safety-check.js +0 -23
- package/dist/scripts/shared-memory-fixture-check.js +0 -27
- package/dist/scripts/side-effect-runtime-report-check.js +0 -19
- package/dist/scripts/side-effect-zero-gate-check.js +0 -226
- package/dist/scripts/sks-1-11-fixture-check.js +0 -130
- package/dist/scripts/source-intelligence-all-modes-check.js +0 -32
- package/dist/scripts/source-intelligence-policy-check.js +0 -13
- package/dist/scripts/strategy-adhd-orchestrating-gate-check.js +0 -22
- package/dist/scripts/strategy-file-ownership-plan-check.js +0 -18
- package/dist/scripts/strategy-parallel-modification-plan-check.js +0 -19
- package/dist/scripts/strategy-verification-rollback-dag-check.js +0 -19
- package/dist/scripts/team-actual-route-backfill-check.js +0 -5
- package/dist/scripts/team-backfill-route-blackbox.js +0 -5
- package/dist/scripts/team-parallel-write-blackbox.js +0 -55
- package/dist/scripts/team-patch-swarm-route-blackbox.js +0 -10
- package/dist/scripts/terminal-keyboard-enhancement-safety-check.js +0 -12
- package/dist/scripts/terminal-tui-output-stability-check.js +0 -35
- package/dist/scripts/test-no-orphan-dist-imports-check.js +0 -73
- package/dist/scripts/trust-fixture-check.js +0 -33
- package/dist/scripts/typescript-migration-report.js +0 -78
- package/dist/scripts/ultra-router-auto-router-check.js +0 -33
- package/dist/scripts/ultra-router-classification-check.js +0 -28
- package/dist/scripts/ux-patch-swarm-route-blackbox.js +0 -10
- package/dist/scripts/ux-ppt-structured-extraction-check.js +0 -21
- package/dist/scripts/ux-review-extract-real-callouts-fixture-check.js +0 -8
- package/dist/scripts/ux-review-extract-wires-real-extractor-check.js +0 -15
- package/dist/scripts/ux-review-generate-callouts-fixture-check.js +0 -9
- package/dist/scripts/ux-review-image-voxel-relations-check.js +0 -31
- package/dist/scripts/ux-review-imagegen-blackbox-check.js +0 -67
- package/dist/scripts/ux-review-no-fake-callouts-check.js +0 -8
- package/dist/scripts/ux-review-no-text-fallback-check.js +0 -25
- package/dist/scripts/ux-review-patch-diff-recheck-check.js +0 -20
- package/dist/scripts/ux-review-patch-handoff-fixture-check.js +0 -8
- package/dist/scripts/ux-review-real-imagegen-smoke-check.js +0 -31
- package/dist/scripts/ux-review-real-loop-fixture-check.js +0 -24
- package/dist/scripts/ux-review-recapture-recheck-fixture-check.js +0 -8
- package/dist/scripts/ux-review-run-wires-imagegen-check.js +0 -11
- package/dist/scripts/worker-pane-communication-contract-check.js +0 -54
- package/dist/scripts/wrongness-fixture-check.js +0 -65
- package/dist/scripts/xai-mcp-capability-check.js +0 -14
- package/dist/scripts/zellij-capability-check.js +0 -15
- package/dist/scripts/zellij-dashboard-pane-check.js +0 -70
- package/dist/scripts/zellij-developer-controls-check.js +0 -20
- package/dist/scripts/zellij-doctor-readiness-check.js +0 -63
- package/dist/scripts/zellij-dynamic-pane-lifecycle-check.js +0 -21
- package/dist/scripts/zellij-first-slot-down-stack-check.js +0 -20
- package/dist/scripts/zellij-first-slot-down-stack-real-check.js +0 -356
- package/dist/scripts/zellij-initial-main-only-blackbox.js +0 -28
- package/dist/scripts/zellij-lane-renderer-check.js +0 -65
- package/dist/scripts/zellij-launch-command-truth-check.js +0 -75
- package/dist/scripts/zellij-layout-valid-check.js +0 -90
- package/dist/scripts/zellij-pane-proof-check.js +0 -59
- package/dist/scripts/zellij-real-session-cleanup-check.js +0 -21
- package/dist/scripts/zellij-real-session-heartbeat-check.js +0 -49
- package/dist/scripts/zellij-real-session-launch-check.js +0 -57
- package/dist/scripts/zellij-right-column-headless-overflow-check.js +0 -22
- package/dist/scripts/zellij-right-column-manager-check.js +0 -27
- package/dist/scripts/zellij-screen-proof-check.js +0 -45
- package/dist/scripts/zellij-slot-column-anchor-check.js +0 -66
- package/dist/scripts/zellij-slot-only-ui-check.js +0 -26
- package/dist/scripts/zellij-slot-pane-renderer-check.js +0 -106
- package/dist/scripts/zellij-slot-renderer-proof-semantics-check.js +0 -59
- package/dist/scripts/zellij-spawn-on-demand-layout-check.js +0 -40
- package/dist/scripts/zellij-ui-design-check.js +0 -105
- package/dist/scripts/zellij-worker-pane-manager-check.js +0 -109
- package/dist/scripts/zellij-worker-pane-manager-single-owner-check.js +0 -47
- package/dist/scripts/zellij-worker-pane-real-ui-blackbox.js +0 -202
- package/dist/scripts/zellij-worker-pane-spawn-order-check.js +0 -35
- package/dist/vendor/openai-codex/rust-v0.131.0/hooks/permission-request.command.input.schema.json +0 -61
- package/dist/vendor/openai-codex/rust-v0.131.0/hooks/permission-request.command.output.schema.json +0 -103
- package/dist/vendor/openai-codex/rust-v0.131.0/hooks/post-compact.command.input.schema.json +0 -52
- package/dist/vendor/openai-codex/rust-v0.131.0/hooks/post-compact.command.output.schema.json +0 -24
- package/dist/vendor/openai-codex/rust-v0.131.0/hooks/post-tool-use.command.input.schema.json +0 -67
- package/dist/vendor/openai-codex/rust-v0.131.0/hooks/post-tool-use.command.output.schema.json +0 -84
- package/dist/vendor/openai-codex/rust-v0.131.0/hooks/pre-compact.command.input.schema.json +0 -52
- package/dist/vendor/openai-codex/rust-v0.131.0/hooks/pre-compact.command.output.schema.json +0 -24
- package/dist/vendor/openai-codex/rust-v0.131.0/hooks/pre-tool-use.command.input.schema.json +0 -65
- package/dist/vendor/openai-codex/rust-v0.131.0/hooks/pre-tool-use.command.output.schema.json +0 -105
- package/dist/vendor/openai-codex/rust-v0.131.0/hooks/session-start.command.input.schema.json +0 -59
- package/dist/vendor/openai-codex/rust-v0.131.0/hooks/session-start.command.output.schema.json +0 -63
- package/dist/vendor/openai-codex/rust-v0.131.0/hooks/snapshot-metadata.json +0 -31
- package/dist/vendor/openai-codex/rust-v0.131.0/hooks/stop.command.input.schema.json +0 -63
- package/dist/vendor/openai-codex/rust-v0.131.0/hooks/stop.command.output.schema.json +0 -45
- package/dist/vendor/openai-codex/rust-v0.131.0/hooks/user-prompt-submit.command.input.schema.json +0 -59
- package/dist/vendor/openai-codex/rust-v0.131.0/hooks/user-prompt-submit.command.output.schema.json +0 -81
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
// @ts-nocheck
|
|
3
|
-
import fs from 'node:fs';
|
|
4
|
-
import path from 'node:path';
|
|
5
|
-
import { assertGate, emitGate, importDist, root } from './sks-1-18-gate-lib.js';
|
|
6
|
-
const { selectGates } = await importDist('core/release/gate-manifest.js');
|
|
7
|
-
const { buildGateManifest } = await importDist('core/release/gate-manifest.js');
|
|
8
|
-
const manifest = loadDynamicManifest();
|
|
9
|
-
const t0 = Date.now();
|
|
10
|
-
const docsOnly = summarize(['docs/release-readiness.md']);
|
|
11
|
-
const zellijOnly = summarize(['src/core/zellij/zellij-capability.ts']);
|
|
12
|
-
const coreSkillOnly = summarize(['src/core/skills/core-skill-deployment.ts']);
|
|
13
|
-
const currentReport = readJson('.sneakoscope/reports/release-check-dynamic-execute.json', null);
|
|
14
|
-
const durationMs = Date.now() - t0;
|
|
15
|
-
const report = {
|
|
16
|
-
schema: 'sks.release-dynamic-performance.v1',
|
|
17
|
-
ok: true,
|
|
18
|
-
duration_ms: durationMs,
|
|
19
|
-
gate_count: manifest.gates.length,
|
|
20
|
-
current: currentReport ? {
|
|
21
|
-
selected_count: currentReport.selected?.length || 0,
|
|
22
|
-
executed_count: currentReport.executed?.length || 0,
|
|
23
|
-
cache_hits: currentReport.cache_hits?.length || 0,
|
|
24
|
-
skipped_count: currentReport.skipped?.length || 0,
|
|
25
|
-
mode: currentReport.mode || null
|
|
26
|
-
} : null,
|
|
27
|
-
fixtures: {
|
|
28
|
-
docs_only: docsOnly,
|
|
29
|
-
zellij_only: zellijOnly,
|
|
30
|
-
core_skill_only: coreSkillOnly
|
|
31
|
-
},
|
|
32
|
-
warnings: durationMs > 30_000 ? ['dynamic_performance_check_over_budget'] : []
|
|
33
|
-
};
|
|
34
|
-
report.ok = docsOnly.heavy_selected === 0
|
|
35
|
-
&& zellijOnly.selected.every((id) => id.startsWith('zellij:') || alwaysOn(id) || scopedRuntimeBoundary(id))
|
|
36
|
-
&& coreSkillOnly.selected.every((id) => id.startsWith('core-skill:') || alwaysOn(id) || scopedRuntimeBoundary(id))
|
|
37
|
-
&& docsOnly.selected_count < manifest.gates.length;
|
|
38
|
-
const out = path.join(root, '.sneakoscope', 'reports', 'release-dynamic-performance.json');
|
|
39
|
-
fs.mkdirSync(path.dirname(out), { recursive: true });
|
|
40
|
-
fs.writeFileSync(out, `${JSON.stringify(report, null, 2)}\n`);
|
|
41
|
-
assertGate(report.ok, 'dynamic release performance fixtures failed', report);
|
|
42
|
-
emitGate('release:dynamic-performance', {
|
|
43
|
-
gates: manifest.gates.length,
|
|
44
|
-
docs_only_selected: docsOnly.selected_count,
|
|
45
|
-
zellij_only_selected: zellijOnly.selected_count,
|
|
46
|
-
core_skill_only_selected: coreSkillOnly.selected_count,
|
|
47
|
-
duration_ms: durationMs
|
|
48
|
-
});
|
|
49
|
-
function summarize(changedFiles) {
|
|
50
|
-
const plan = selectGates(manifest.gates, changedFiles, { publish: false });
|
|
51
|
-
const selected = plan.selected.map((gate) => gate.id);
|
|
52
|
-
return {
|
|
53
|
-
changed_files: changedFiles,
|
|
54
|
-
selected,
|
|
55
|
-
selected_count: selected.length,
|
|
56
|
-
skipped_count: plan.skipped.length,
|
|
57
|
-
heavy_selected: plan.selected.filter((gate) => gate.cost === 'heavy' || gate.cost === 'real').length
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
function alwaysOn(id) {
|
|
61
|
-
return manifest.gates.some((gate) => gate.id === id && gate.always_on_release === true);
|
|
62
|
-
}
|
|
63
|
-
function scopedRuntimeBoundary(id) {
|
|
64
|
-
return id === 'runtime:no-mjs-scripts' || id === 'runtime:ts-python-boundary';
|
|
65
|
-
}
|
|
66
|
-
function readJson(rel, fallback) {
|
|
67
|
-
try {
|
|
68
|
-
return JSON.parse(fs.readFileSync(path.join(root, rel), 'utf8'));
|
|
69
|
-
}
|
|
70
|
-
catch {
|
|
71
|
-
return fallback;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
function loadDynamicManifest() {
|
|
75
|
-
const v2Path = path.join(root, 'release-gates.v2.json');
|
|
76
|
-
if (fs.existsSync(v2Path)) {
|
|
77
|
-
const parsed = JSON.parse(fs.readFileSync(v2Path, 'utf8'));
|
|
78
|
-
const releaseNodes = (Array.isArray(parsed.gates) ? parsed.gates : []).filter((gate) => Array.isArray(gate.preset) && gate.preset.includes('release'));
|
|
79
|
-
const byId = new Map(releaseNodes.map((gate) => [gate.id, gate]));
|
|
80
|
-
const dynamic = buildGateManifest(releaseNodes.map((gate) => gate.id));
|
|
81
|
-
return {
|
|
82
|
-
schema: 'sks.release-gate-manifest.v1.from-v2',
|
|
83
|
-
gates: dynamic.gates.map((entry) => {
|
|
84
|
-
const node = byId.get(entry.id);
|
|
85
|
-
const resource = Array.isArray(node?.resource) ? node.resource.join(',') : '';
|
|
86
|
-
return {
|
|
87
|
-
...entry,
|
|
88
|
-
affected_by: usefulCacheInputs(node?.cache?.inputs, entry.affected_by),
|
|
89
|
-
cost: node?.side_effect === 'real-env' || resource.includes('real') ? 'real' : entry.cost
|
|
90
|
-
};
|
|
91
|
-
})
|
|
92
|
-
};
|
|
93
|
-
}
|
|
94
|
-
return JSON.parse(fs.readFileSync(path.join(root, 'release-gates.json'), 'utf8'));
|
|
95
|
-
}
|
|
96
|
-
function usefulCacheInputs(inputs, fallback) {
|
|
97
|
-
if (!Array.isArray(inputs) || !inputs.length)
|
|
98
|
-
return fallback;
|
|
99
|
-
if (inputs.some((input) => ['src/**', 'package.json', 'release-gates.v2.json', 'schemas/**'].includes(input)))
|
|
100
|
-
return fallback;
|
|
101
|
-
return inputs;
|
|
102
|
-
}
|
|
103
|
-
//# sourceMappingURL=release-dynamic-performance-check.js.map
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
// @ts-nocheck
|
|
3
|
-
// Gate: release:gate-budget
|
|
4
|
-
// Reports the slowest gates and any gate exceeding its time budget, from the gate
|
|
5
|
-
// result cache. Tolerant of missing timing data (informational on a cold cache).
|
|
6
|
-
// Only a gate exceeding the HARD ceiling is a blocker.
|
|
7
|
-
import fs from 'node:fs';
|
|
8
|
-
import path from 'node:path';
|
|
9
|
-
import { assertGate, emitGate, importDist, root } from './sks-1-18-gate-lib.js';
|
|
10
|
-
const { readGateCache } = await importDist('core/release/gate-cache.js');
|
|
11
|
-
const SOFT_BUDGET_MS = Number(process.env.SKS_GATE_BUDGET_MS || 120_000);
|
|
12
|
-
const HARD_CEILING_MS = Number(process.env.SKS_GATE_HARD_CEILING_MS || 600_000);
|
|
13
|
-
const cache = await readGateCache(root);
|
|
14
|
-
const records = Object.values(cache.records || {});
|
|
15
|
-
const sorted = records.slice().sort((a, b) => (b.duration_ms || 0) - (a.duration_ms || 0));
|
|
16
|
-
const slowest = sorted.slice(0, 10).map((r) => ({ gate_id: r.gate_id, duration_ms: r.duration_ms }));
|
|
17
|
-
const overBudget = sorted.filter((r) => (r.duration_ms || 0) > SOFT_BUDGET_MS).map((r) => ({ gate_id: r.gate_id, duration_ms: r.duration_ms }));
|
|
18
|
-
const overCeiling = sorted.filter((r) => (r.duration_ms || 0) > HARD_CEILING_MS).map((r) => ({ gate_id: r.gate_id, duration_ms: r.duration_ms }));
|
|
19
|
-
const report = {
|
|
20
|
-
schema: 'sks.release-gate-budget.v1',
|
|
21
|
-
ok: overCeiling.length === 0,
|
|
22
|
-
timing_data: records.length > 0,
|
|
23
|
-
soft_budget_ms: SOFT_BUDGET_MS,
|
|
24
|
-
hard_ceiling_ms: HARD_CEILING_MS,
|
|
25
|
-
slowest,
|
|
26
|
-
over_budget: overBudget,
|
|
27
|
-
over_ceiling: overCeiling,
|
|
28
|
-
note: records.length === 0 ? 'no_timing_data (populate via release:check:dynamic gate cache)' : undefined
|
|
29
|
-
};
|
|
30
|
-
const reportDir = path.join(root, '.sneakoscope', 'reports');
|
|
31
|
-
fs.mkdirSync(reportDir, { recursive: true });
|
|
32
|
-
fs.writeFileSync(path.join(reportDir, 'release-gate-budget.json'), `${JSON.stringify(report, null, 2)}\n`);
|
|
33
|
-
// Only a gate over the HARD ceiling fails the gate; soft-budget gates are warnings.
|
|
34
|
-
assertGate(overCeiling.length === 0, 'a gate exceeded the hard time ceiling', { overCeiling, hard_ceiling_ms: HARD_CEILING_MS });
|
|
35
|
-
emitGate('release:gate-budget', { slowest: slowest.length, over_budget: overBudget.length, timing_data: records.length > 0 });
|
|
36
|
-
//# sourceMappingURL=release-gate-budget-check.js.map
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
// @ts-nocheck
|
|
3
|
-
import { assertGate, emitGate, readJson, readText } from './sks-1-18-gate-lib.js';
|
|
4
|
-
const pkg = readJson('package.json');
|
|
5
|
-
const manifest = readJson('release-gates.v2.json');
|
|
6
|
-
const runner = readText('src/core/release/release-gate-dag.ts');
|
|
7
|
-
const scheduler = readText('src/core/release/release-gate-scheduler.ts');
|
|
8
|
-
const cache = readText('src/core/release/release-gate-cache-v2.ts');
|
|
9
|
-
assertGate(pkg.scripts['release:check'].includes('release-gate-dag-runner.js'), 'release:check must execute DAG runner', pkg.scripts['release:check']);
|
|
10
|
-
assertGate(!/&&\s*npm run\s+\w/.test(pkg.scripts['release:check'].replace('npm run build --silent &&', '')), 'release:check must not be a giant npm-run chain', pkg.scripts['release:check']);
|
|
11
|
-
assertGate(pkg.scripts['release:check:legacy'], 'release:check:legacy must exist for explicit debugging');
|
|
12
|
-
assertGate(manifest.schema === 'sks.release-gates.v2' && manifest.gates.length >= 10, 'release-gates.v2 manifest must exist with nodes', manifest);
|
|
13
|
-
assertGate(runner.includes('Promise.race') && scheduler.includes('pickLaunchableReleaseGates'), 'DAG runner must schedule independent gates concurrently');
|
|
14
|
-
assertGate(runner.includes('readReleaseGateCacheHit') && cache.includes('RELEASE_GATE_CACHE_V2_SCHEMA'), 'DAG runner must use release gate cache v2 module');
|
|
15
|
-
assertGate(runner.includes('cpu_time_saved_ms') && runner.includes('peak_running') && runner.includes('budget_snapshot'), 'DAG summary must include CPU time saved, peak running gates, and resource budget proof');
|
|
16
|
-
emitGate('release:dag-runner', { gates: manifest.gates.length, default_script: pkg.scripts['release:check'] });
|
|
17
|
-
//# sourceMappingURL=release-gate-dag-runner-check.js.map
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
// @ts-nocheck
|
|
3
|
-
import fs from 'node:fs';
|
|
4
|
-
import path from 'node:path';
|
|
5
|
-
import { assertGate, emitGate, root } from './sks-1-11-gate-lib.js';
|
|
6
|
-
const pkg = JSON.parse(fs.readFileSync(path.join(root, 'package.json'), 'utf8'));
|
|
7
|
-
const requiredDocs = ['README.md', 'CHANGELOG.md', 'docs/release-readiness.md', 'docs/ux-review.md', 'docs/ppt-imagegen-review.md', 'docs/dfix.md'];
|
|
8
|
-
const requiredScripts = [
|
|
9
|
-
'ux-review:generate-callouts-fixture',
|
|
10
|
-
'ux-review:extract-real-callouts-fixture',
|
|
11
|
-
'ux-review:patch-handoff-fixture',
|
|
12
|
-
'ux-review:recapture-recheck-fixture',
|
|
13
|
-
'ux-review:no-fake-callouts',
|
|
14
|
-
'ppt:imagegen-review-fixture',
|
|
15
|
-
'ppt:slide-export-fixture',
|
|
16
|
-
'ppt:no-text-fallback',
|
|
17
|
-
'ppt:no-mock-as-real',
|
|
18
|
-
'ppt:issue-extraction-fixture',
|
|
19
|
-
'ppt:image-voxel-relations',
|
|
20
|
-
'ppt:proof-trust-fixture',
|
|
21
|
-
'dfix:fixture',
|
|
22
|
-
'dfix:verification',
|
|
23
|
-
'all-features:completion',
|
|
24
|
-
'json-schema:recursive-check'
|
|
25
|
-
];
|
|
26
|
-
assertGate(pkg.version === '1.11.0', 'package.json version must be 1.11.0', { version: pkg.version });
|
|
27
|
-
for (const script of requiredScripts)
|
|
28
|
-
assertGate(Boolean(pkg.scripts?.[script]), `missing package script: ${script}`);
|
|
29
|
-
for (const file of requiredDocs) {
|
|
30
|
-
const absolute = path.join(root, file);
|
|
31
|
-
assertGate(fs.existsSync(absolute), `missing release doc: ${file}`);
|
|
32
|
-
if (['README.md', 'CHANGELOG.md', 'docs/release-readiness.md'].includes(file)) {
|
|
33
|
-
assertGate(fs.readFileSync(absolute, 'utf8').includes('1.11.0'), `release doc does not mention 1.11.0: ${file}`);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
emitGate('release:metadata', { version: pkg.version, scripts: requiredScripts.length, docs: requiredDocs.length });
|
|
37
|
-
//# sourceMappingURL=release-metadata-1-11-check.js.map
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
// @ts-nocheck
|
|
3
|
-
import fs from 'node:fs';
|
|
4
|
-
import path from 'node:path';
|
|
5
|
-
import { assertGate, emitGate, root } from './sks-1-11-gate-lib.js';
|
|
6
|
-
const RELEASE_VERSION = '1.12.0';
|
|
7
|
-
const pkg = JSON.parse(fs.readFileSync(path.join(root, 'package.json'), 'utf8'));
|
|
8
|
-
const requiredDocs = ['README.md', 'CHANGELOG.md', 'docs/release-readiness.md', 'docs/ux-review.md', 'docs/ppt-imagegen-review.md', 'docs/dfix.md', 'docs/all-feature-completion.md'];
|
|
9
|
-
const requiredScripts = [
|
|
10
|
-
'ux-review:run-wires-imagegen',
|
|
11
|
-
'ux-review:extract-wires-real-extractor',
|
|
12
|
-
'ux-review:patch-diff-recheck',
|
|
13
|
-
'ppt:real-export-adapter',
|
|
14
|
-
'ppt:real-imagegen-wiring',
|
|
15
|
-
'ppt:reexport-rereview',
|
|
16
|
-
'dfix:patch-handoff',
|
|
17
|
-
'dfix:verification-recommendation',
|
|
18
|
-
'all-features:deep-completion',
|
|
19
|
-
'evidence:flagship-coverage',
|
|
20
|
-
'ux-review:generate-callouts-fixture',
|
|
21
|
-
'ux-review:extract-real-callouts-fixture',
|
|
22
|
-
'ux-review:patch-handoff-fixture',
|
|
23
|
-
'ux-review:recapture-recheck-fixture',
|
|
24
|
-
'ux-review:no-fake-callouts',
|
|
25
|
-
'ppt:imagegen-review-fixture',
|
|
26
|
-
'ppt:slide-export-fixture',
|
|
27
|
-
'ppt:no-text-fallback',
|
|
28
|
-
'ppt:no-mock-as-real',
|
|
29
|
-
'ppt:issue-extraction-fixture',
|
|
30
|
-
'ppt:image-voxel-relations',
|
|
31
|
-
'ppt:proof-trust-fixture',
|
|
32
|
-
'dfix:fixture',
|
|
33
|
-
'dfix:verification',
|
|
34
|
-
'all-features:completion',
|
|
35
|
-
'json-schema:recursive-check'
|
|
36
|
-
];
|
|
37
|
-
assertGate(pkg.version === RELEASE_VERSION, `package.json version must be ${RELEASE_VERSION}`, { version: pkg.version });
|
|
38
|
-
for (const script of requiredScripts)
|
|
39
|
-
assertGate(Boolean(pkg.scripts?.[script]), `missing package script: ${script}`);
|
|
40
|
-
for (const file of requiredDocs) {
|
|
41
|
-
const absolute = path.join(root, file);
|
|
42
|
-
assertGate(fs.existsSync(absolute), `missing release doc: ${file}`);
|
|
43
|
-
if (['README.md', 'CHANGELOG.md', 'docs/release-readiness.md', 'docs/all-feature-completion.md'].includes(file)) {
|
|
44
|
-
assertGate(fs.readFileSync(absolute, 'utf8').includes(RELEASE_VERSION), `release doc does not mention ${RELEASE_VERSION}: ${file}`);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
emitGate('release:metadata', { version: pkg.version, scripts: requiredScripts.length, docs: requiredDocs.length });
|
|
48
|
-
//# sourceMappingURL=release-metadata-1-12-check.js.map
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
// @ts-nocheck
|
|
3
|
-
import fs from 'node:fs';
|
|
4
|
-
import path from 'node:path';
|
|
5
|
-
import { assertGate, emitGate, root } from './sks-1-11-gate-lib.js';
|
|
6
|
-
const RELEASE_VERSION = '1.13.0';
|
|
7
|
-
const pkg = JSON.parse(fs.readFileSync(path.join(root, 'package.json'), 'utf8'));
|
|
8
|
-
const requiredDocs = [
|
|
9
|
-
'README.md',
|
|
10
|
-
'CHANGELOG.md',
|
|
11
|
-
'docs/release-readiness.md',
|
|
12
|
-
'docs/ux-review.md',
|
|
13
|
-
'docs/ppt-imagegen-review.md',
|
|
14
|
-
'docs/dfix.md',
|
|
15
|
-
'docs/all-feature-completion.md',
|
|
16
|
-
'docs/performance-budgets.md',
|
|
17
|
-
'docs/wrongness-learning-loop.md',
|
|
18
|
-
'docs/hooks-pat.md'
|
|
19
|
-
];
|
|
20
|
-
const requiredScripts = [
|
|
21
|
-
'dfix:fast-kernel',
|
|
22
|
-
'dfix:blackbox-fast',
|
|
23
|
-
'dfix:performance',
|
|
24
|
-
'dfix:patch-handoff',
|
|
25
|
-
'dfix:verification-recommendation',
|
|
26
|
-
'dfix:fixture',
|
|
27
|
-
'dfix:verification',
|
|
28
|
-
'hooks:latest-schema-check',
|
|
29
|
-
'hooks:trust-state-check',
|
|
30
|
-
'hooks:trust-warning-zero',
|
|
31
|
-
'hooks:subagent-events-check',
|
|
32
|
-
'hooks:no-unsupported-handlers',
|
|
33
|
-
'hooks:codex-validate',
|
|
34
|
-
'hooks:warning-check',
|
|
35
|
-
'hooks:semantic-check',
|
|
36
|
-
'hooks:strict-subset-check',
|
|
37
|
-
'all-features:deep-completion',
|
|
38
|
-
'all-features:completion',
|
|
39
|
-
'evidence:flagship-coverage',
|
|
40
|
-
'json-schema:recursive-check'
|
|
41
|
-
];
|
|
42
|
-
assertGate(pkg.version === RELEASE_VERSION, `package.json version must be ${RELEASE_VERSION}`, { version: pkg.version });
|
|
43
|
-
for (const script of requiredScripts)
|
|
44
|
-
assertGate(Boolean(pkg.scripts?.[script]), `missing package script: ${script}`);
|
|
45
|
-
for (const file of requiredDocs) {
|
|
46
|
-
const absolute = path.join(root, file);
|
|
47
|
-
assertGate(fs.existsSync(absolute), `missing release doc: ${file}`);
|
|
48
|
-
if (['README.md', 'CHANGELOG.md', 'docs/release-readiness.md', 'docs/dfix.md', 'docs/performance-budgets.md', 'docs/wrongness-learning-loop.md', 'docs/hooks-pat.md'].includes(file)) {
|
|
49
|
-
assertGate(fs.readFileSync(absolute, 'utf8').includes(RELEASE_VERSION), `release doc does not mention ${RELEASE_VERSION}: ${file}`);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
emitGate('release:metadata', { version: pkg.version, scripts: requiredScripts.length, docs: requiredDocs.length });
|
|
53
|
-
//# sourceMappingURL=release-metadata-1-13-check.js.map
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
// @ts-nocheck
|
|
3
|
-
import fs from 'node:fs';
|
|
4
|
-
import path from 'node:path';
|
|
5
|
-
import { assertGate, emitGate, root } from './sks-1-11-gate-lib.js';
|
|
6
|
-
const RELEASE_VERSION = '1.14.1';
|
|
7
|
-
const pkg = JSON.parse(fs.readFileSync(path.join(root, 'package.json'), 'utf8'));
|
|
8
|
-
const requiredDocs = [
|
|
9
|
-
'README.md',
|
|
10
|
-
'CHANGELOG.md',
|
|
11
|
-
'docs/release-readiness.md',
|
|
12
|
-
'docs/official-docs-compat.md',
|
|
13
|
-
'docs/ux-review.md',
|
|
14
|
-
'docs/ppt-imagegen-review.md',
|
|
15
|
-
'docs/dfix.md',
|
|
16
|
-
'docs/all-feature-completion.md',
|
|
17
|
-
'docs/performance-budgets.md',
|
|
18
|
-
'docs/wrongness-learning-loop.md',
|
|
19
|
-
'docs/hooks-pat.md'
|
|
20
|
-
];
|
|
21
|
-
const requiredScripts = [
|
|
22
|
-
'dfix:fast-kernel',
|
|
23
|
-
'dfix:blackbox-fast',
|
|
24
|
-
'dfix:performance',
|
|
25
|
-
'dfix:patch-handoff',
|
|
26
|
-
'dfix:verification-recommendation',
|
|
27
|
-
'dfix:fixture',
|
|
28
|
-
'dfix:verification',
|
|
29
|
-
'hooks:latest-schema-check',
|
|
30
|
-
'hooks:trust-state-check',
|
|
31
|
-
'hooks:trust-warning-zero',
|
|
32
|
-
'hooks:subagent-events-check',
|
|
33
|
-
'hooks:no-unsupported-handlers',
|
|
34
|
-
'hooks:actual-parity-check',
|
|
35
|
-
'hooks:official-hash-parity',
|
|
36
|
-
'hooks:managed-install-fixture',
|
|
37
|
-
'hooks:runtime-replay-warning-zero',
|
|
38
|
-
'imagegen:capability',
|
|
39
|
-
'imagegen:gpt-image-2-request-validator',
|
|
40
|
-
'ux-review:imagegen-blackbox',
|
|
41
|
-
'ppt:imagegen-blackbox',
|
|
42
|
-
'ux-ppt:structured-extraction',
|
|
43
|
-
'hooks:codex-validate',
|
|
44
|
-
'hooks:warning-check',
|
|
45
|
-
'hooks:semantic-check',
|
|
46
|
-
'hooks:strict-subset-check',
|
|
47
|
-
'all-features:deep-completion',
|
|
48
|
-
'all-features:completion',
|
|
49
|
-
'evidence:flagship-coverage',
|
|
50
|
-
'json-schema:recursive-check'
|
|
51
|
-
];
|
|
52
|
-
assertGate(pkg.version === RELEASE_VERSION, `package.json version must be ${RELEASE_VERSION}`, { version: pkg.version });
|
|
53
|
-
for (const script of requiredScripts)
|
|
54
|
-
assertGate(Boolean(pkg.scripts?.[script]), `missing package script: ${script}`);
|
|
55
|
-
for (const file of requiredDocs) {
|
|
56
|
-
const absolute = path.join(root, file);
|
|
57
|
-
assertGate(fs.existsSync(absolute), `missing release doc: ${file}`);
|
|
58
|
-
if (['README.md', 'CHANGELOG.md', 'docs/release-readiness.md', 'docs/official-docs-compat.md', 'docs/dfix.md', 'docs/performance-budgets.md', 'docs/wrongness-learning-loop.md', 'docs/hooks-pat.md'].includes(file)) {
|
|
59
|
-
assertGate(fs.readFileSync(absolute, 'utf8').includes(RELEASE_VERSION), `release doc does not mention ${RELEASE_VERSION}: ${file}`);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
emitGate('release:metadata', { version: pkg.version, scripts: requiredScripts.length, docs: requiredDocs.length });
|
|
63
|
-
//# sourceMappingURL=release-metadata-1-14-check.js.map
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
// @ts-nocheck
|
|
3
|
-
import fs from 'node:fs';
|
|
4
|
-
import path from 'node:path';
|
|
5
|
-
import { assertGate, emitGate, root } from './sks-1-11-gate-lib.js';
|
|
6
|
-
const RELEASE_VERSION = '1.16.2';
|
|
7
|
-
const pkg = JSON.parse(fs.readFileSync(path.join(root, 'package.json'), 'utf8'));
|
|
8
|
-
const lock = JSON.parse(fs.readFileSync(path.join(root, 'package-lock.json'), 'utf8'));
|
|
9
|
-
const requiredDocs = [
|
|
10
|
-
'README.md',
|
|
11
|
-
'CHANGELOG.md',
|
|
12
|
-
'docs/release-readiness.md',
|
|
13
|
-
'docs/native-agent-kernel.md',
|
|
14
|
-
'docs/native-agent-engines.md',
|
|
15
|
-
'docs/native-agent-orchestration.md',
|
|
16
|
-
'docs/agent-non-recursive-pipeline.md',
|
|
17
|
-
'docs/agent-central-ledger.md',
|
|
18
|
-
'docs/work-partition-and-leases.md',
|
|
19
|
-
'docs/team-mode.md',
|
|
20
|
-
'docs/research-mode.md',
|
|
21
|
-
'docs/native-agent-orchestration.md'
|
|
22
|
-
];
|
|
23
|
-
const requiredScripts = [
|
|
24
|
-
'agent:non-recursive-pipeline',
|
|
25
|
-
'agent:non-recursive-pipeline-report',
|
|
26
|
-
'agent:legacy-multiagent-removed',
|
|
27
|
-
'agent:central-ledger',
|
|
28
|
-
'agent:work-partition',
|
|
29
|
-
'agent:no-overlap-proof',
|
|
30
|
-
'agent:persona-uniqueness',
|
|
31
|
-
'agent:max-cap',
|
|
32
|
-
'agent:fake-backend-blackbox',
|
|
33
|
-
'agent:lifecycle-close',
|
|
34
|
-
'agent:output-schema',
|
|
35
|
-
'agent:lease-conflicts',
|
|
36
|
-
'agent:proof-graph',
|
|
37
|
-
'team:native-agent-backend',
|
|
38
|
-
'research:native-agent-backend',
|
|
39
|
-
'qa:native-agent-backend',
|
|
40
|
-
'mad-sks:permission-model',
|
|
41
|
-
'mad-sks:immutable-harness',
|
|
42
|
-
'mad-sks:write-guard',
|
|
43
|
-
'mad-sks:audit-proof',
|
|
44
|
-
'mad-sks:no-harness-modification',
|
|
45
|
-
'mad-sks:actual-executor',
|
|
46
|
-
'mad-sks:file-write-executor',
|
|
47
|
-
'mad-sks:shell-executor',
|
|
48
|
-
'mad-sks:package-executor',
|
|
49
|
-
'mad-sks:service-executor',
|
|
50
|
-
'mad-sks:db-executor',
|
|
51
|
-
'mad-sks:rollback-apply',
|
|
52
|
-
'mad-sks:live-guard-smoke',
|
|
53
|
-
'mad-sks:executor-proof-graph',
|
|
54
|
-
'release:dist-freshness',
|
|
55
|
-
'codex:exec-output-schema-actual-syntax',
|
|
56
|
-
'flagship:proof-graph-v3',
|
|
57
|
-
'flagship:proof-graph-v4'
|
|
58
|
-
];
|
|
59
|
-
assertGate(pkg.version === RELEASE_VERSION, `package.json version must be ${RELEASE_VERSION}`, { version: pkg.version });
|
|
60
|
-
assertGate(lock.version === RELEASE_VERSION, `package-lock version must be ${RELEASE_VERSION}`, { version: lock.version });
|
|
61
|
-
assertGate(lock.packages?.['']?.version === RELEASE_VERSION, `package-lock root version must be ${RELEASE_VERSION}`, { version: lock.packages?.['']?.version });
|
|
62
|
-
assertGate(pkg.scripts?.['release:metadata']?.includes('release-metadata-1-16-check.mjs'), 'release:metadata must point to the 1.16 release check');
|
|
63
|
-
for (const script of requiredScripts)
|
|
64
|
-
assertGate(Boolean(pkg.scripts?.[script]), `missing package script: ${script}`);
|
|
65
|
-
for (const script of ['release:check', 'release:real-check', 'publish:dry', 'prepublishOnly']) {
|
|
66
|
-
assertGate(Boolean(pkg.scripts?.[script]), `missing package script: ${script}`);
|
|
67
|
-
}
|
|
68
|
-
assertGate(pkg.scripts['release:check'].startsWith('npm run build && npm run release:dist-freshness'), 'release:check must start with build and dist freshness');
|
|
69
|
-
for (const script of requiredScripts) {
|
|
70
|
-
assertGate(pkg.scripts['release:check'].includes(script), `release:check missing ${script}`);
|
|
71
|
-
}
|
|
72
|
-
assertGate(!/\bscouts?:/.test(pkg.scripts['release:real-check'] || ''), 'release:real-check must not require legacy multi-agent checks');
|
|
73
|
-
assertGate(pkg.scripts.prepublishOnly.includes('release:dist-freshness'), 'prepublishOnly missing dist freshness');
|
|
74
|
-
assertGate(pkg.scripts['publish:dry'].includes('release:dist-freshness'), 'publish:dry missing dist freshness');
|
|
75
|
-
for (const file of requiredDocs) {
|
|
76
|
-
const absolute = path.join(root, file);
|
|
77
|
-
assertGate(fs.existsSync(absolute), `missing release doc: ${file}`);
|
|
78
|
-
assertGate(fs.readFileSync(absolute, 'utf8').includes(RELEASE_VERSION), `release doc does not mention ${RELEASE_VERSION}: ${file}`);
|
|
79
|
-
}
|
|
80
|
-
emitGate('release:metadata', { version: pkg.version, scripts: requiredScripts.length, docs: requiredDocs.length });
|
|
81
|
-
//# sourceMappingURL=release-metadata-1-16-check.js.map
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
// @ts-nocheck
|
|
3
|
-
import fs from 'node:fs';
|
|
4
|
-
import path from 'node:path';
|
|
5
|
-
import { assertGate, emitGate, root } from './sks-1-11-gate-lib.js';
|
|
6
|
-
const RELEASE_VERSION = '1.17.0';
|
|
7
|
-
const pkg = JSON.parse(fs.readFileSync(path.join(root, 'package.json'), 'utf8'));
|
|
8
|
-
const lock = JSON.parse(fs.readFileSync(path.join(root, 'package-lock.json'), 'utf8'));
|
|
9
|
-
const parallelCheckPath = path.join(root, 'src/scripts/release-parallel-check.ts');
|
|
10
|
-
const parallelCheckSource = fs.existsSync(parallelCheckPath) ? fs.readFileSync(parallelCheckPath, 'utf8') : '';
|
|
11
|
-
const requiredDocs = [
|
|
12
|
-
'README.md',
|
|
13
|
-
'CHANGELOG.md',
|
|
14
|
-
'docs/typescript-runtime.md',
|
|
15
|
-
'docs/no-runtime-mjs.md',
|
|
16
|
-
'docs/agent-codex-app-cockpit.md',
|
|
17
|
-
'docs/parallel-verification-engine.md',
|
|
18
|
-
'docs/session-isolation.md',
|
|
19
|
-
'docs/release-readiness.md'
|
|
20
|
-
];
|
|
21
|
-
const requiredScripts = [
|
|
22
|
-
'runtime:no-src-mjs',
|
|
23
|
-
'runtime:ts-source-of-truth',
|
|
24
|
-
'runtime:dist-parity',
|
|
25
|
-
'routes:proof-artifact-structure',
|
|
26
|
-
'agent:codex-app-cockpit',
|
|
27
|
-
'agent:janitor',
|
|
28
|
-
'agent:multi-project-isolation',
|
|
29
|
-
'verification:parallel-engine',
|
|
30
|
-
'release:check:parallel'
|
|
31
|
-
];
|
|
32
|
-
assertGate(pkg.version === RELEASE_VERSION, `package.json version must be ${RELEASE_VERSION}`, { version: pkg.version });
|
|
33
|
-
assertGate(lock.version === RELEASE_VERSION, `package-lock version must be ${RELEASE_VERSION}`, { version: lock.version });
|
|
34
|
-
assertGate(lock.packages?.['']?.version === RELEASE_VERSION, `package-lock root version must be ${RELEASE_VERSION}`, { version: lock.packages?.['']?.version });
|
|
35
|
-
assertGate(pkg.scripts?.['release:metadata']?.includes('release-metadata-1-17-check.mjs'), 'release:metadata must point to the 1.17 release check');
|
|
36
|
-
assertGate(String(pkg.scripts?.['release:check'] || '').startsWith('npm run release:check:parallel'), 'release:check must use release:check:parallel');
|
|
37
|
-
for (const script of requiredScripts)
|
|
38
|
-
assertGate(Boolean(pkg.scripts?.[script]), `missing package script: ${script}`);
|
|
39
|
-
for (const script of requiredScripts.filter((name) => name !== 'release:check:parallel')) {
|
|
40
|
-
assertGate(parallelCheckSource.includes(`npm run ${script}`), `release:check:parallel DAG missing ${script}`);
|
|
41
|
-
}
|
|
42
|
-
assertGate(pkg.bin?.sks === 'dist/bin/sks.js', 'package runtime must use dist/bin/sks.js');
|
|
43
|
-
assertGate(pkg.bin?.sneakoscope === 'dist/bin/sks.js', 'sneakoscope runtime must use dist/bin/sks.js');
|
|
44
|
-
assertGate(!pkg.files?.includes('src'), 'package files must not include src runtime shadows');
|
|
45
|
-
for (const file of requiredDocs) {
|
|
46
|
-
const absolute = path.join(root, file);
|
|
47
|
-
assertGate(fs.existsSync(absolute), `missing release doc: ${file}`);
|
|
48
|
-
assertGate(fs.readFileSync(absolute, 'utf8').includes(RELEASE_VERSION), `release doc does not mention ${RELEASE_VERSION}: ${file}`);
|
|
49
|
-
}
|
|
50
|
-
emitGate('release:metadata', { version: pkg.version, scripts: requiredScripts.length, docs: requiredDocs.length });
|
|
51
|
-
//# sourceMappingURL=release-metadata-1-17-check.js.map
|