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,36 +0,0 @@
|
|
|
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 { readJson, writeReport } from './agent-patch-swarm-gate-lib.js';
|
|
8
|
-
const storeMod = await importDist('core/agents/agent-patch-queue-store.js');
|
|
9
|
-
const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'sks-patch-queue-'));
|
|
10
|
-
const store = new storeMod.PersistentAgentPatchQueueStore(dir);
|
|
11
|
-
const entry = await store.enqueue({
|
|
12
|
-
schema: 'sks.agent-patch-envelope.v1',
|
|
13
|
-
agent_id: 'agent-a',
|
|
14
|
-
session_id: 'session-a',
|
|
15
|
-
slot_id: 'slot-a',
|
|
16
|
-
generation_index: 1,
|
|
17
|
-
lease_id: 'lease-a',
|
|
18
|
-
lease_proof: { lease_id: 'lease-a', allowed_paths: ['a.txt'], verification_node_id: 'verify-a', rollback_node_id: 'rollback-a' },
|
|
19
|
-
rollback_hint: { node_id: 'rollback-a' },
|
|
20
|
-
operations: [{ op: 'write', path: 'a.txt', content: 'a\n' }]
|
|
21
|
-
}, { mission_id: 'mission-a', route: '$Agent' });
|
|
22
|
-
await store.markApplying(entry.id);
|
|
23
|
-
await store.markApplied(entry.id);
|
|
24
|
-
await store.markVerified(entry.id);
|
|
25
|
-
const queue = readJson(path.join(dir, 'agent-patch-queue.json'));
|
|
26
|
-
const ownership = readJson(path.join(dir, 'agent-patch-ownership-ledger.json'));
|
|
27
|
-
const events = fs.readFileSync(path.join(dir, 'agent-patch-queue-events.jsonl'), 'utf8').trim().split(/\n+/).filter(Boolean).map(JSON.parse);
|
|
28
|
-
const report = { schema: 'sks.agent-patch-queue-runtime-check.v1', ok: true, artifact_dir: dir, queue, ownership, events };
|
|
29
|
-
writeReport('agent-patch-queue-runtime', report);
|
|
30
|
-
assertGate(queue.entries?.[0]?.mission_id === 'mission-a', 'queue entry must include mission id', report);
|
|
31
|
-
assertGate(queue.entries?.[0]?.route === '$Agent', 'queue entry must include route', report);
|
|
32
|
-
assertGate(queue.entries?.[0]?.status === 'verified', 'queue entry must reach verified state', report);
|
|
33
|
-
assertGate(events.length >= 4, 'queue events must record append-only transitions', report);
|
|
34
|
-
assertGate(ownership.entries?.[0]?.lease_id === 'lease-a', 'ownership ledger must bind lease id', report);
|
|
35
|
-
emitGate('agent:patch-queue-runtime', { event_count: events.length });
|
|
36
|
-
//# sourceMappingURL=agent-patch-queue-runtime-check.js.map
|
|
@@ -1,38 +0,0 @@
|
|
|
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, root } from './sks-1-18-gate-lib.js';
|
|
7
|
-
const applyMod = await importDist('core/agents/agent-patch-apply-worker.js');
|
|
8
|
-
const tmp = fs.mkdtempSync(path.join(os.tmpdir(), 'sks-patch-rollback-'));
|
|
9
|
-
const file = path.join(tmp, 'rollback.txt');
|
|
10
|
-
const created = path.join(tmp, 'created.txt');
|
|
11
|
-
fs.writeFileSync(file, 'before\n');
|
|
12
|
-
const envelope = {
|
|
13
|
-
schema: 'sks.agent-patch-envelope.v1',
|
|
14
|
-
agent_id: 'rollback-agent',
|
|
15
|
-
session_id: 'rollback-session',
|
|
16
|
-
slot_id: 'rollback-slot',
|
|
17
|
-
generation_index: 1,
|
|
18
|
-
lease_id: 'lease:rollback-agent:rollback.txt',
|
|
19
|
-
rollback_hint: { node_id: 'rollback-fixture' },
|
|
20
|
-
operations: [
|
|
21
|
-
{ op: 'replace', path: 'rollback.txt', search: 'before', replace: 'after' },
|
|
22
|
-
{ op: 'write', path: 'created.txt', content: 'created\n' }
|
|
23
|
-
]
|
|
24
|
-
};
|
|
25
|
-
const applied = await applyMod.applyAgentPatchEnvelope(tmp, envelope);
|
|
26
|
-
const rolledBack = await applyMod.rollbackAgentPatchApply(tmp, applied);
|
|
27
|
-
const restored = fs.readFileSync(file, 'utf8');
|
|
28
|
-
const createdRemoved = !fs.existsSync(created);
|
|
29
|
-
const report = { schema: 'sks.agent-patch-rollback-check.v1', ok: applied.ok && rolledBack.ok && restored === 'before\n' && createdRemoved, applied, rolledBack, restored, createdRemoved };
|
|
30
|
-
const out = path.join(root, '.sneakoscope', 'reports', 'agent-patch-rollback.json');
|
|
31
|
-
fs.mkdirSync(path.dirname(out), { recursive: true });
|
|
32
|
-
fs.writeFileSync(out, `${JSON.stringify(report, null, 2)}\n`);
|
|
33
|
-
assertGate(applied.ok === true, 'rollback check patch did not apply', report);
|
|
34
|
-
assertGate(rolledBack.ok === true, 'rollback check did not execute rollback mechanism', report);
|
|
35
|
-
assertGate(restored === 'before\n', 'rollback check did not restore original content', report);
|
|
36
|
-
assertGate(createdRemoved === true, 'rollback check did not delete file created by patch', report);
|
|
37
|
-
emitGate('agent:patch-rollback', { rollback_entries: applied.rollback.length, deleted_files: rolledBack.deleted_files.length });
|
|
38
|
-
//# sourceMappingURL=agent-patch-rollback-check.js.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
// @ts-nocheck
|
|
3
|
-
import { assertGate, emitGate, importDist } from './sks-1-18-gate-lib.js';
|
|
4
|
-
import { writeReport } from './agent-patch-swarm-gate-lib.js';
|
|
5
|
-
const strategy = await importDist('core/strategy/strategy-compiler.js');
|
|
6
|
-
const compiled = strategy.compileStrategy({ prompt: '`file-1.txt` `file-2.txt`', route: '$Agent', agentCount: 2 });
|
|
7
|
-
const rollbackNodes = compiled.verification_rollback_dag.nodes.filter((node) => node.kind === 'rollback');
|
|
8
|
-
const report = { schema: 'sks.agent-patch-rollback-dag-check.v1', ok: compiled.verification_rollback_dag.rollback_ready, dag: compiled.verification_rollback_dag, rollbackNodes };
|
|
9
|
-
writeReport('agent-patch-rollback-dag', report);
|
|
10
|
-
assertGate(compiled.verification_rollback_dag.rollback_ready === true, 'rollback DAG must be ready', report);
|
|
11
|
-
assertGate(rollbackNodes.length > 0, 'rollback DAG must include rollback nodes', report);
|
|
12
|
-
assertGate(rollbackNodes.every((node) => node.proof_artifact), 'rollback DAG nodes must carry proof artifacts', report);
|
|
13
|
-
emitGate('agent:patch-rollback-dag', { rollback_nodes: rollbackNodes.length });
|
|
14
|
-
//# sourceMappingURL=agent-patch-rollback-dag-check.js.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
// @ts-nocheck
|
|
3
|
-
import { runPatchSwarmRouteBlackbox } from './agent-patch-swarm-gate-lib.js';
|
|
4
|
-
await runPatchSwarmRouteBlackbox({
|
|
5
|
-
gate: 'agent:patch-swarm-route-blackbox',
|
|
6
|
-
route: '$Agent',
|
|
7
|
-
routeCommand: 'sks agent run',
|
|
8
|
-
reportName: 'agent-patch-swarm-route-blackbox'
|
|
9
|
-
});
|
|
10
|
-
//# sourceMappingURL=agent-patch-swarm-route-blackbox.js.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
// @ts-nocheck
|
|
3
|
-
import { runPatchSwarmRouteBlackbox } from './agent-patch-swarm-gate-lib.js';
|
|
4
|
-
await runPatchSwarmRouteBlackbox({
|
|
5
|
-
gate: 'agent:patch-swarm-runtime',
|
|
6
|
-
route: '$Agent',
|
|
7
|
-
routeCommand: 'sks agent run',
|
|
8
|
-
reportName: 'agent-patch-swarm-runtime'
|
|
9
|
-
});
|
|
10
|
-
//# sourceMappingURL=agent-patch-swarm-runtime-check.js.map
|
|
@@ -1,76 +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-18-gate-lib.js';
|
|
6
|
-
import { readJson, runPatchSwarmRouteBlackbox, writeReport } from './agent-patch-swarm-gate-lib.js';
|
|
7
|
-
const routeReport = await runPatchSwarmRouteBlackbox({
|
|
8
|
-
gate: 'agent:patch-swarm-runtime-truth:route',
|
|
9
|
-
route: '$Agent',
|
|
10
|
-
routeCommand: 'sks agent run',
|
|
11
|
-
reportName: 'agent-patch-swarm-runtime-truth-route'
|
|
12
|
-
});
|
|
13
|
-
const ledgerRoot = path.join(routeReport.fixture_root, routeReport.result.ledger_root);
|
|
14
|
-
const queue = readJson(path.join(ledgerRoot, 'agent-patch-queue.json'));
|
|
15
|
-
const events = fs.readFileSync(path.join(ledgerRoot, 'agent-patch-queue-events.jsonl'), 'utf8').trim().split(/\n+/).filter(Boolean).map(JSON.parse);
|
|
16
|
-
const merge = readJson(path.join(ledgerRoot, 'agent-merge-coordinator-report.json'));
|
|
17
|
-
const apply = readJson(path.join(ledgerRoot, 'agent-patch-apply-results.json'));
|
|
18
|
-
const verification = readJson(path.join(ledgerRoot, 'agent-patch-verification-results.json'));
|
|
19
|
-
const rollback = readJson(path.join(ledgerRoot, 'agent-patch-rollback-proof.json'));
|
|
20
|
-
const proof = readJson(path.join(ledgerRoot, 'agent-patch-proof.json'));
|
|
21
|
-
const runtime = readJson(path.join(ledgerRoot, 'agent-patch-swarm-runtime.json'));
|
|
22
|
-
const journal = readJson(path.join(ledgerRoot, 'agent-patch-transaction-journal-summary.json'));
|
|
23
|
-
const strategyGateExists = fs.existsSync(path.join(ledgerRoot, 'strategy-gate.json')) || routeReport.result.strategy_gate;
|
|
24
|
-
const strategyCompilerExists = fs.existsSync(path.join(ledgerRoot, 'strategy-compiler.json')) || routeReport.result.strategy_gate;
|
|
25
|
-
const eventTypes = new Set(events.map((event) => event.event_type || event.status));
|
|
26
|
-
const owners = new Map();
|
|
27
|
-
for (const row of queue.ownership_ledger || []) {
|
|
28
|
-
for (const file of row.write_paths || []) {
|
|
29
|
-
if (!owners.has(file))
|
|
30
|
-
owners.set(file, []);
|
|
31
|
-
owners.get(file).push(row.agent_id);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
const duplicateWriteOwners = [...owners.entries()].filter(([, rows]) => new Set(rows).size > 1).map(([file, rows]) => ({ file, owners: rows }));
|
|
35
|
-
const report = {
|
|
36
|
-
schema: 'sks.agent-patch-swarm-runtime-truth-check.v1',
|
|
37
|
-
ok: true,
|
|
38
|
-
policy_only: false,
|
|
39
|
-
fixture_root: routeReport.fixture_root,
|
|
40
|
-
mission_id: routeReport.result.mission_id,
|
|
41
|
-
queue,
|
|
42
|
-
merge,
|
|
43
|
-
runtime,
|
|
44
|
-
proof,
|
|
45
|
-
journal,
|
|
46
|
-
changed_files: [...new Set((apply.results || []).flatMap((row) => row.changed_files || []))],
|
|
47
|
-
event_types: [...eventTypes],
|
|
48
|
-
duplicate_write_owners: duplicateWriteOwners,
|
|
49
|
-
strategy_gate_exists: Boolean(strategyGateExists),
|
|
50
|
-
strategy_compiler_exists: Boolean(strategyCompilerExists),
|
|
51
|
-
verification_ok: verification.ok === true,
|
|
52
|
-
rollback_ok: rollback.ok === true,
|
|
53
|
-
patch_proof_ok: proof.ok === true,
|
|
54
|
-
final_agent_proof_ok: routeReport.result.proof?.ok === true
|
|
55
|
-
};
|
|
56
|
-
report.ok = report.policy_only === false
|
|
57
|
-
&& report.strategy_gate_exists
|
|
58
|
-
&& report.strategy_compiler_exists
|
|
59
|
-
&& queue.entries.length >= 10
|
|
60
|
-
&& ['enqueue', 'applying', 'applied', 'verified'].every((kind) => eventTypes.has(kind))
|
|
61
|
-
&& merge.parallel_apply_groups?.[0]?.entry_ids?.length >= 5
|
|
62
|
-
&& report.changed_files.length >= 5
|
|
63
|
-
&& duplicateWriteOwners.length === 0
|
|
64
|
-
&& verification.ok === true
|
|
65
|
-
&& rollback.ok === true
|
|
66
|
-
&& proof.ok === true
|
|
67
|
-
&& journal.ok === true
|
|
68
|
-
&& routeReport.result.proof?.ok === true;
|
|
69
|
-
writeReport('agent-patch-swarm-runtime-truth', report);
|
|
70
|
-
assertGate(report.ok === true, 'patch swarm runtime truth umbrella gate failed', report);
|
|
71
|
-
assertGate(report.policy_only === false, 'patch swarm runtime truth must not be policy-only', report);
|
|
72
|
-
assertGate(queue.entries.length >= 10, 'truth gate must enqueue at least 10 patch entries', report);
|
|
73
|
-
assertGate(['enqueue', 'applying', 'applied', 'verified'].every((kind) => eventTypes.has(kind)), 'truth gate must record queue lifecycle events', report);
|
|
74
|
-
assertGate(journal.ok === true, 'truth gate must include transaction journal proof', report);
|
|
75
|
-
emitGate('agent:patch-swarm-runtime-truth', { mission_id: report.mission_id, changed_files: report.changed_files.length });
|
|
76
|
-
//# sourceMappingURL=agent-patch-swarm-runtime-truth-check.js.map
|
|
@@ -1,57 +0,0 @@
|
|
|
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 { writeReport } from './agent-patch-swarm-gate-lib.js';
|
|
8
|
-
const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'sks-patch-journal-'));
|
|
9
|
-
fs.writeFileSync(path.join(dir, 'a.txt'), 'before\n');
|
|
10
|
-
const storeMod = await importDist('core/agents/agent-patch-queue-store.js');
|
|
11
|
-
const applyMod = await importDist('core/agents/agent-patch-apply-worker.js');
|
|
12
|
-
const journalMod = await importDist('core/agents/agent-patch-transaction-journal.js');
|
|
13
|
-
const store = new storeMod.PersistentAgentPatchQueueStore(dir);
|
|
14
|
-
const entry = await store.enqueue({
|
|
15
|
-
schema: 'sks.agent-patch-envelope.v1',
|
|
16
|
-
agent_id: 'agent-journal',
|
|
17
|
-
session_id: 'session-journal',
|
|
18
|
-
slot_id: 'slot-journal',
|
|
19
|
-
generation_index: 1,
|
|
20
|
-
lease_id: 'lease-journal',
|
|
21
|
-
lease_proof: {
|
|
22
|
-
lease_id: 'lease-journal',
|
|
23
|
-
owner_agent: 'agent-journal',
|
|
24
|
-
owner_persona: 'fixture',
|
|
25
|
-
allowed_paths: ['a.txt'],
|
|
26
|
-
strategy_task_id: 'task-journal',
|
|
27
|
-
micro_win_id: 'win-journal',
|
|
28
|
-
verification_node_id: 'verify-journal',
|
|
29
|
-
rollback_node_id: 'rollback-journal',
|
|
30
|
-
protected_path_check: 'passed'
|
|
31
|
-
},
|
|
32
|
-
verification_hint: { node_id: 'verify-journal' },
|
|
33
|
-
rollback_hint: { node_id: 'rollback-journal' },
|
|
34
|
-
operations: [{ op: 'replace', path: 'a.txt', search: 'before', replace: 'after' }]
|
|
35
|
-
}, { mission_id: 'M-journal', route: '$Agent' });
|
|
36
|
-
await store.markApplying(entry.id);
|
|
37
|
-
const applyResult = await applyMod.applyAgentPatchQueueEntry(dir, entry, { artifactsDir: dir });
|
|
38
|
-
await store.markApplied(entry.id);
|
|
39
|
-
await store.markVerified(entry.id);
|
|
40
|
-
const journal = new journalMod.AgentPatchTransactionJournal(dir);
|
|
41
|
-
await journal.append({ event_type: 'verification_started', entry_id: entry.id, agent_id: entry.agent_id, lease_id: entry.lease_id, status: 'started' });
|
|
42
|
-
await journal.append({ event_type: 'verification_finished', entry_id: entry.id, agent_id: entry.agent_id, lease_id: entry.lease_id, status: 'verified', verification_status: applyResult.verification.status, changed_files: applyResult.changed_files, rollback_digest: applyResult.rollback_digest });
|
|
43
|
-
await journal.append({ event_type: 'rollback_dry_run_started', entry_id: entry.id, agent_id: entry.agent_id, lease_id: entry.lease_id, status: 'started', rollback_digest: applyResult.rollback_digest });
|
|
44
|
-
const rollbackDryRun = await applyMod.rollbackAgentPatchApply(dir, applyResult, { dryRun: true });
|
|
45
|
-
await journal.append({ event_type: 'rollback_dry_run_finished', entry_id: entry.id, agent_id: entry.agent_id, lease_id: entry.lease_id, status: rollbackDryRun.status, rollback_digest: rollbackDryRun.rollback_digest, changed_files: applyResult.changed_files });
|
|
46
|
-
const summary = await journal.writeSummary();
|
|
47
|
-
const report = { schema: 'sks.agent-patch-transaction-journal-check.v1', ok: summary.ok, artifact_dir: dir, summary, applyResult, rollbackDryRun };
|
|
48
|
-
writeReport('agent-patch-transaction-journal', report);
|
|
49
|
-
assertGate(summary.ok === true, 'transaction journal summary must pass', report);
|
|
50
|
-
assertGate(summary.event_types.includes('enqueue'), 'journal must record enqueue', report);
|
|
51
|
-
assertGate(summary.event_types.includes('lock_acquired'), 'journal must record lock acquisition', report);
|
|
52
|
-
assertGate(summary.event_types.includes('lock_released'), 'journal must record lock release', report);
|
|
53
|
-
assertGate(summary.event_types.includes('apply_started') && summary.event_types.includes('apply_finished'), 'journal must record apply lifecycle', report);
|
|
54
|
-
assertGate(summary.event_types.includes('verification_finished'), 'journal must record verification completion', report);
|
|
55
|
-
assertGate(summary.event_types.includes('rollback_dry_run_finished'), 'journal must record rollback dry-run completion', report);
|
|
56
|
-
emitGate('agent:patch-transaction-journal', { event_count: summary.event_count });
|
|
57
|
-
//# sourceMappingURL=agent-patch-transaction-journal-check.js.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
// @ts-nocheck
|
|
3
|
-
import { assertGate, emitGate, importDist } from './sks-1-18-gate-lib.js';
|
|
4
|
-
import { writeReport } from './agent-patch-swarm-gate-lib.js';
|
|
5
|
-
const strategy = await importDist('core/strategy/strategy-compiler.js');
|
|
6
|
-
const compiled = strategy.compileStrategy({ prompt: '`file-1.txt` `file-2.txt`', route: '$Agent', agentCount: 2 });
|
|
7
|
-
const verificationNodes = compiled.verification_rollback_dag.nodes.filter((node) => node.kind === 'verification');
|
|
8
|
-
const report = { schema: 'sks.agent-patch-verification-dag-check.v1', ok: verificationNodes.length > 0, dag: compiled.verification_rollback_dag, verificationNodes };
|
|
9
|
-
writeReport('agent-patch-verification-dag', report);
|
|
10
|
-
assertGate(compiled.verification_rollback_dag.schema === 'sks.verification-rollback-dag.v1', 'verification rollback DAG schema must exist', report);
|
|
11
|
-
assertGate(verificationNodes.length > 0, 'verification DAG must include verification nodes', report);
|
|
12
|
-
assertGate(verificationNodes.every((node) => node.proof_artifact), 'verification DAG nodes must carry proof artifacts', report);
|
|
13
|
-
emitGate('agent:patch-verification-dag', { verification_nodes: verificationNodes.length });
|
|
14
|
-
//# sourceMappingURL=agent-patch-verification-dag-check.js.map
|
|
@@ -1,166 +0,0 @@
|
|
|
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 releaseVersion = JSON.parse(fs.readFileSync(path.join(root, 'package.json'), 'utf8')).version;
|
|
8
|
-
const reportPath = path.join(root, '.sneakoscope', 'reports', `agent-real-codex-dynamic-smoke-${releaseVersion}.json`);
|
|
9
|
-
fs.mkdirSync(path.dirname(reportPath), { recursive: true });
|
|
10
|
-
const required = process.env.SKS_REQUIRE_REAL_DYNAMIC_AGENTS === '1';
|
|
11
|
-
if (process.env.SKS_TEST_REAL_DYNAMIC_AGENTS !== '1') {
|
|
12
|
-
optionalOrBlocked('set SKS_TEST_REAL_DYNAMIC_AGENTS=1 to run real Codex SDK dynamic smoke', 'real_dynamic_agents_not_requested');
|
|
13
|
-
}
|
|
14
|
-
const full = process.argv.includes('--full');
|
|
15
|
-
const activeSlots = full ? 3 : 2;
|
|
16
|
-
const workItems = full ? 5 : 3;
|
|
17
|
-
const childEnv = { ...process.env };
|
|
18
|
-
const run = spawnSync(process.execPath, [
|
|
19
|
-
'dist/bin/sks.js',
|
|
20
|
-
'agent',
|
|
21
|
-
'run',
|
|
22
|
-
'real codex dynamic backfill read-only smoke: inspect package metadata and report no file changes',
|
|
23
|
-
'--route', '$Agent',
|
|
24
|
-
'--backend', 'codex-sdk',
|
|
25
|
-
'--real',
|
|
26
|
-
'--readonly',
|
|
27
|
-
'--json',
|
|
28
|
-
'--agents', String(activeSlots),
|
|
29
|
-
'--target-active-slots', String(activeSlots),
|
|
30
|
-
'--minimum-work-items', String(activeSlots),
|
|
31
|
-
'--work-items', String(workItems),
|
|
32
|
-
'--max-queue-expansion', '10'
|
|
33
|
-
], {
|
|
34
|
-
cwd: root,
|
|
35
|
-
encoding: 'utf8',
|
|
36
|
-
env: childEnv,
|
|
37
|
-
maxBuffer: 1024 * 1024 * 32,
|
|
38
|
-
timeout: Number(process.env.SKS_REAL_SMOKE_TIMEOUT_MS || 10 * 60 * 1000)
|
|
39
|
-
});
|
|
40
|
-
assertGate(run.status === 0, 'real codex dynamic smoke command failed', { stdout: run.stdout.slice(-4000), stderr: run.stderr.slice(-4000) });
|
|
41
|
-
const json = parseJson(run.stdout);
|
|
42
|
-
const ledgerRoot = path.join(root, json.ledger_root || '');
|
|
43
|
-
const proof = readJson(path.join(ledgerRoot, 'agent-proof-evidence.json'));
|
|
44
|
-
const scheduler = json.scheduler?.state || {};
|
|
45
|
-
const reports = listNamedFiles(path.join(ledgerRoot, 'sessions'), 'agent-process-report.json').map(readJson);
|
|
46
|
-
const changedFiles = (json.results || []).flatMap((row) => row.changed_files || []);
|
|
47
|
-
const terminal = readJson(path.join(ledgerRoot, 'agent-terminal-close-aggregate.json'), null);
|
|
48
|
-
const outputSchemaReports = reports.filter((row) => row.output_schema_used === true && row.output_last_message_path);
|
|
49
|
-
const resultFiles = reports.map((row) => resolveReportPath(ledgerRoot, row.result_file || row.output_last_message_path)).filter(Boolean);
|
|
50
|
-
const parsedResultFiles = resultFiles.map((file) => ({ file, exists: fs.existsSync(file), json: readJson(file, null) }));
|
|
51
|
-
const processCleanupOk = reports.every((row) => !row.pid || row.exit_code !== null || !processAlive(Number(row.pid)));
|
|
52
|
-
const fixtureInstrumented = childEnv.SKS_AGENT_DYNAMIC_BACKFILL_FIXTURE === '1';
|
|
53
|
-
const result = {
|
|
54
|
-
ok: true,
|
|
55
|
-
status: fixtureInstrumented ? 'fixture_instrumented_real' : 'passed',
|
|
56
|
-
proof_level: fixtureInstrumented ? 'fixture_instrumented_real' : 'proven',
|
|
57
|
-
schema: 'sks.real-codex-dynamic-smoke.v2',
|
|
58
|
-
proof_contract: 'sks.real-codex-dynamic-smoke.v3',
|
|
59
|
-
generated_at: new Date().toISOString(),
|
|
60
|
-
release_version: releaseVersion,
|
|
61
|
-
mission_id: json.mission_id,
|
|
62
|
-
active_slots: activeSlots,
|
|
63
|
-
work_items: workItems,
|
|
64
|
-
default_bounded_smoke: !full,
|
|
65
|
-
required,
|
|
66
|
-
fixture_instrumented_real: fixtureInstrumented,
|
|
67
|
-
scheduler_state: scheduler,
|
|
68
|
-
proof_status: proof.status,
|
|
69
|
-
output_schema_used: outputSchemaReports.length === reports.length && reports.length > 0,
|
|
70
|
-
output_last_message_paths: outputSchemaReports.map((row) => row.output_last_message_path),
|
|
71
|
-
result_files: parsedResultFiles.map((row) => ({ file: row.file, exists: row.exists, json_ok: Boolean(row.json) })),
|
|
72
|
-
all_result_files_exist: parsedResultFiles.length === reports.length && parsedResultFiles.every((row) => row.exists),
|
|
73
|
-
all_output_last_message_json_valid: parsedResultFiles.length === reports.length && parsedResultFiles.every((row) => row.json),
|
|
74
|
-
all_agent_result_schemas_valid: (json.results || []).every((row) => !Array.isArray(row.blockers) || !row.blockers.some((blocker) => String(blocker).startsWith('schema_invalid:'))),
|
|
75
|
-
process_report_count: reports.length,
|
|
76
|
-
terminal_close_report: terminal ? 'agent-terminal-close-aggregate.json' : proof.terminal_close_report,
|
|
77
|
-
terminal_close_reports_ok: Boolean(terminal) || proof.terminal_sessions_closed === true,
|
|
78
|
-
process_cleanup_ok: processCleanupOk,
|
|
79
|
-
changed_files: changedFiles,
|
|
80
|
-
source_refs_ok: proof.source_intelligence_generation_refs_ok === true && proof.task_graph_source_refs_ok === true,
|
|
81
|
-
goal_refs_ok: proof.goal_mode_generation_refs_ok === true && proof.task_graph_goal_refs_ok === true,
|
|
82
|
-
backfill_count: scheduler.backfill_count || 0,
|
|
83
|
-
expected_backfill_count: scheduler.expected_backfill_count || 0,
|
|
84
|
-
blockers: []
|
|
85
|
-
};
|
|
86
|
-
result.blockers.push(...(result.output_schema_used ? [] : ['output_schema_not_used_by_all_workers']));
|
|
87
|
-
result.blockers.push(...(result.all_result_files_exist ? [] : ['worker_result_file_missing']));
|
|
88
|
-
result.blockers.push(...(result.all_output_last_message_json_valid ? [] : ['output_last_message_json_parse_failed']));
|
|
89
|
-
result.blockers.push(...(result.all_agent_result_schemas_valid ? [] : ['agent_result_schema_invalid']));
|
|
90
|
-
result.blockers.push(...(scheduler.backfill_count >= scheduler.expected_backfill_count ? [] : ['backfill_count_below_expected']));
|
|
91
|
-
result.blockers.push(...(result.terminal_close_reports_ok ? [] : ['terminal_close_reports_missing']));
|
|
92
|
-
result.blockers.push(...(result.process_cleanup_ok ? [] : ['worker_process_cleanup_failed']));
|
|
93
|
-
result.blockers.push(...(changedFiles.length === 0 ? [] : ['real_smoke_changed_files_not_empty']));
|
|
94
|
-
result.blockers.push(...(result.source_refs_ok ? [] : ['source_intelligence_refs_missing']));
|
|
95
|
-
result.blockers.push(...(result.goal_refs_ok ? [] : ['goal_mode_refs_missing']));
|
|
96
|
-
result.ok = result.blockers.length === 0;
|
|
97
|
-
result.status = result.ok ? (fixtureInstrumented ? 'fixture_instrumented_real' : 'passed') : 'blocked';
|
|
98
|
-
result.proof_level = result.ok ? (fixtureInstrumented ? 'fixture_instrumented_real' : 'proven') : 'blocked';
|
|
99
|
-
writeReport(result);
|
|
100
|
-
assertGate(result.ok, 'real codex dynamic smoke proof failed', result);
|
|
101
|
-
emitGate('agent:real-codex-dynamic-smoke', { status: result.status, mission_id: result.mission_id, backfill_count: result.backfill_count });
|
|
102
|
-
function optionalOrBlocked(reason, code, extra = {}) {
|
|
103
|
-
const report = {
|
|
104
|
-
ok: !required,
|
|
105
|
-
status: required ? 'blocked' : 'integration_optional',
|
|
106
|
-
proof_level: required ? 'real_required_missing' : 'integration_optional',
|
|
107
|
-
schema: 'sks.real-codex-dynamic-smoke.v2',
|
|
108
|
-
proof_contract: 'sks.real-codex-dynamic-smoke.v3',
|
|
109
|
-
release_version: releaseVersion,
|
|
110
|
-
required,
|
|
111
|
-
reason,
|
|
112
|
-
blockers: required ? [code] : [],
|
|
113
|
-
...extra
|
|
114
|
-
};
|
|
115
|
-
writeReport(report);
|
|
116
|
-
emitGate('agent:real-codex-dynamic-smoke', { status: report.status, reason: code });
|
|
117
|
-
process.exit(required ? 1 : 0);
|
|
118
|
-
}
|
|
119
|
-
function writeReport(report) {
|
|
120
|
-
fs.writeFileSync(reportPath, `${JSON.stringify(report, null, 2)}\n`);
|
|
121
|
-
}
|
|
122
|
-
function parseJson(stdout) {
|
|
123
|
-
const start = stdout.indexOf('{');
|
|
124
|
-
const end = stdout.lastIndexOf('}');
|
|
125
|
-
return JSON.parse(stdout.slice(start, end + 1));
|
|
126
|
-
}
|
|
127
|
-
function readJson(file, fallback) {
|
|
128
|
-
try {
|
|
129
|
-
return JSON.parse(fs.readFileSync(file, 'utf8'));
|
|
130
|
-
}
|
|
131
|
-
catch (err) {
|
|
132
|
-
if (arguments.length > 1)
|
|
133
|
-
return fallback;
|
|
134
|
-
throw err;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
function resolveReportPath(ledgerRoot, file) {
|
|
138
|
-
if (!file)
|
|
139
|
-
return '';
|
|
140
|
-
return path.isAbsolute(file) ? file : path.join(ledgerRoot, file);
|
|
141
|
-
}
|
|
142
|
-
function processAlive(pid) {
|
|
143
|
-
if (!pid)
|
|
144
|
-
return false;
|
|
145
|
-
try {
|
|
146
|
-
process.kill(pid, 0);
|
|
147
|
-
return true;
|
|
148
|
-
}
|
|
149
|
-
catch {
|
|
150
|
-
return false;
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
function listNamedFiles(dir, name) {
|
|
154
|
-
const out = [];
|
|
155
|
-
if (!fs.existsSync(dir))
|
|
156
|
-
return out;
|
|
157
|
-
for (const entry of fs.readdirSync(dir, { withFileTypes: true })) {
|
|
158
|
-
const file = path.join(dir, entry.name);
|
|
159
|
-
if (entry.isDirectory())
|
|
160
|
-
out.push(...listNamedFiles(file, name));
|
|
161
|
-
else if (entry.isFile() && entry.name === name)
|
|
162
|
-
out.push(file);
|
|
163
|
-
}
|
|
164
|
-
return out;
|
|
165
|
-
}
|
|
166
|
-
//# sourceMappingURL=agent-real-codex-dynamic-smoke-check.js.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
// @ts-nocheck
|
|
3
|
-
import { spawnSync } from 'node:child_process';
|
|
4
|
-
import { assertGate, emitGate, root } from './sks-1-18-gate-lib.js';
|
|
5
|
-
const run = spawnSync(process.execPath, ['dist/scripts/agent-real-codex-dynamic-smoke-check.js'], {
|
|
6
|
-
cwd: root,
|
|
7
|
-
encoding: 'utf8',
|
|
8
|
-
env: { ...process.env },
|
|
9
|
-
maxBuffer: 1024 * 1024 * 8,
|
|
10
|
-
timeout: Number(process.env.SKS_REAL_SMOKE_TIMEOUT_MS || 10 * 60 * 1000)
|
|
11
|
-
});
|
|
12
|
-
assertGate(run.status === 0, 'real codex dynamic smoke v2 wrapper failed', { stdout: run.stdout.slice(-2000), stderr: run.stderr.slice(-2000), status: run.status });
|
|
13
|
-
emitGate('agent:real-codex-dynamic-smoke-v2', { status: 'delegated_to_v2_report' });
|
|
14
|
-
//# sourceMappingURL=agent-real-codex-dynamic-smoke-v2-check.js.map
|