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,202 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
// @ts-nocheck
|
|
3
|
-
import fs from 'node:fs';
|
|
4
|
-
import path from 'node:path';
|
|
5
|
-
import { pathToFileURL } from 'node:url';
|
|
6
|
-
import { spawn } from 'node:child_process';
|
|
7
|
-
import { assertGate, emitGate, readText, root } from './sks-1-18-gate-lib.js';
|
|
8
|
-
import { ensureDistFresh } from './lib/ensure-dist-fresh.js';
|
|
9
|
-
const requireReal = process.env.SKS_REQUIRE_ZELLIJ === '1' || process.argv.includes('--require-real');
|
|
10
|
-
const manager = readText('src/core/zellij/zellij-worker-pane-manager.ts');
|
|
11
|
-
const schema = readText('src/core/agents/agent-schema.ts');
|
|
12
|
-
const swarm = readText('src/core/agents/native-cli-session-swarm.ts');
|
|
13
|
-
assertGate(manager.includes('action') && manager.includes('new-pane'), 'worker pane manager must call zellij action new-pane');
|
|
14
|
-
assertGate(manager.includes('list-panes') && manager.includes('dump-screen'), 'worker pane proof must reconcile real list-panes/dump-screen evidence');
|
|
15
|
-
assertGate(schema.includes('AgentWorkerPlacement') && swarm.includes("placement === 'zellij-pane'"), 'worker placement must control Zellij panes independently of backend');
|
|
16
|
-
if (!requireReal) {
|
|
17
|
-
emitGate('zellij:worker-pane-real-ui:blackbox', { real_required: false, proof_mode: 'source_contract' });
|
|
18
|
-
process.exit(0);
|
|
19
|
-
}
|
|
20
|
-
const { spawnSync } = await import('node:child_process');
|
|
21
|
-
const available = spawnSync('zellij', ['--version'], { encoding: 'utf8' });
|
|
22
|
-
assertGate(available.status === 0, 'SKS_REQUIRE_ZELLIJ=1 requires zellij binary', { stderr: available.stderr });
|
|
23
|
-
const freshness = ensureDistFresh({ rebuild: false });
|
|
24
|
-
assertGate(freshness.ok === true, 'dist must be fresh before real Zellij worker-pane blackbox', freshness);
|
|
25
|
-
const zellij = await import(pathToFileURL(path.join(root, 'dist', 'core', 'zellij', 'zellij-command.js')).href);
|
|
26
|
-
const workerPane = await import(pathToFileURL(path.join(root, 'dist', 'core', 'zellij', 'zellij-worker-pane-manager.js')).href);
|
|
27
|
-
const missionId = `M-zellij-worker-pane-real-${Date.now()}`;
|
|
28
|
-
const sessionName = `sks-worker-pane-real-${process.pid}`;
|
|
29
|
-
const ledgerRoot = path.join(root, '.sneakoscope', 'missions', missionId, 'agents');
|
|
30
|
-
fs.rmSync(path.join(root, '.sneakoscope', 'missions', missionId), { recursive: true, force: true });
|
|
31
|
-
fs.mkdirSync(ledgerRoot, { recursive: true });
|
|
32
|
-
await zellij.runZellij(['kill-session', sessionName], { cwd: root, timeoutMs: 5000, optional: true });
|
|
33
|
-
const attachedClient = startAttachedZellijClient(sessionName);
|
|
34
|
-
await sleep(1500);
|
|
35
|
-
await zellij.runZellij(['--session', sessionName, 'action', 'send-keys', 'Esc'], { cwd: root, timeoutMs: 5000, optional: true });
|
|
36
|
-
await sleep(250);
|
|
37
|
-
const before = await zellij.runZellij(['--session', sessionName, 'action', 'list-panes', '--json', '--all'], { cwd: root, timeoutMs: 5000, optional: true });
|
|
38
|
-
const beforeCount = parsePaneRows(before.stdout_tail).length;
|
|
39
|
-
const beforeTerminalCount = parsePaneRows(before.stdout_tail).filter((row) => row && row.is_plugin !== true).length;
|
|
40
|
-
const records = [];
|
|
41
|
-
try {
|
|
42
|
-
for (let index = 1; index <= 3; index += 1) {
|
|
43
|
-
const slotId = `slot-${String(index).padStart(3, '0')}`;
|
|
44
|
-
const workerDir = path.join('sessions', slotId, 'gen-1', 'worker');
|
|
45
|
-
const absWorkerDir = path.join(ledgerRoot, workerDir);
|
|
46
|
-
fs.mkdirSync(absWorkerDir, { recursive: true });
|
|
47
|
-
const heartbeatRel = path.join(workerDir, 'worker-heartbeat.jsonl');
|
|
48
|
-
const resultRel = path.join(workerDir, 'worker-result.json');
|
|
49
|
-
const stdoutRel = path.join(workerDir, 'worker.stdout.log');
|
|
50
|
-
const stderrRel = path.join(workerDir, 'worker.stderr.log');
|
|
51
|
-
const heartbeatAbs = path.join(ledgerRoot, heartbeatRel);
|
|
52
|
-
const resultAbs = path.join(ledgerRoot, resultRel);
|
|
53
|
-
const backend = index === 1 ? 'codex-sdk' : index === 2 ? 'local-llm' : 'python-codex-sdk';
|
|
54
|
-
const expectedTitle = `${slotId}/gen-1 · WT:WT-${String(index).padStart(4, '0')} · branch:fixture · ${backend} · fast · codex-lb · active`;
|
|
55
|
-
const workerScript = [
|
|
56
|
-
"const fs=require('fs');",
|
|
57
|
-
`fs.appendFileSync(${JSON.stringify(heartbeatAbs)}, JSON.stringify({ok:true, slot:${JSON.stringify(slotId)}, ts:new Date().toISOString()})+'\\n');`,
|
|
58
|
-
`fs.writeFileSync(${JSON.stringify(resultAbs)}, JSON.stringify({schema:'sks.agent-result.v1', status:'done', slot:${JSON.stringify(slotId)}, heartbeat_seen:true}, null, 2)+'\\n');`,
|
|
59
|
-
"setTimeout(()=>process.exit(0), 30000);"
|
|
60
|
-
].join('');
|
|
61
|
-
const record = await workerPane.openWorkerPane({
|
|
62
|
-
root: ledgerRoot,
|
|
63
|
-
missionId,
|
|
64
|
-
sessionName,
|
|
65
|
-
slotId,
|
|
66
|
-
generationIndex: 1,
|
|
67
|
-
sessionId: `${slotId}-gen-1`,
|
|
68
|
-
workerArtifactDir: workerDir,
|
|
69
|
-
workerCommand: `printf ${shellQuote(`\u001b]2;${expectedTitle}\u0007`)}; ${process.execPath} -e ${shellQuote(workerScript)}`,
|
|
70
|
-
resultPath: resultRel,
|
|
71
|
-
heartbeatPath: heartbeatRel,
|
|
72
|
-
patchEnvelopePath: path.join(workerDir, 'worker-patch-envelope.json'),
|
|
73
|
-
stdoutLog: stdoutRel,
|
|
74
|
-
stderrLog: stderrRel,
|
|
75
|
-
cwd: root,
|
|
76
|
-
serviceTier: 'fast',
|
|
77
|
-
backend,
|
|
78
|
-
statusLabel: 'active',
|
|
79
|
-
worktree: { id: `WT-${String(index).padStart(4, '0')}`, path: root, branch: 'fixture' }
|
|
80
|
-
});
|
|
81
|
-
records.push(record);
|
|
82
|
-
}
|
|
83
|
-
await sleep(750);
|
|
84
|
-
const listed = await zellij.runZellij(['--session', sessionName, 'action', 'list-panes', '--json', '--all'], { cwd: root, timeoutMs: 5000, optional: false });
|
|
85
|
-
const rows = parsePaneRows(listed.stdout_tail);
|
|
86
|
-
const terminalRows = rows.filter((row) => row && row.is_plugin !== true);
|
|
87
|
-
const titles = rows.map((row) => String(row.title || row.name || row.pane_name || ''));
|
|
88
|
-
const matchedTitles = records.filter((record) => titles.includes(record.pane_title)).length;
|
|
89
|
-
const commandMatchedWorkers = records.filter((record) => rows.some((row) => {
|
|
90
|
-
const command = `${row.terminal_command || ''} ${row.pane_command || ''} ${row.command || ''}`;
|
|
91
|
-
return command.includes(missionId) && command.includes(record.slot_id);
|
|
92
|
-
})).length;
|
|
93
|
-
const requestedTitleCommands = records.filter((record) => {
|
|
94
|
-
const args = Array.isArray(record.launch?.args) ? record.launch.args.map(String) : [];
|
|
95
|
-
return args.includes('--name') && args.includes(record.pane_title);
|
|
96
|
-
}).length;
|
|
97
|
-
const dump = await zellij.runZellij(['--session', sessionName, 'action', 'dump-screen'], { cwd: root, timeoutMs: 5000, optional: true });
|
|
98
|
-
const heartbeatSeen = records.filter((record) => fs.existsSync(path.join(ledgerRoot, record.heartbeat_path))).length;
|
|
99
|
-
const resultSeen = records.filter((record) => fs.existsSync(path.join(ledgerRoot, record.worker_result_path))).length;
|
|
100
|
-
const realPaneIds = records.filter((record) => workerPane.isRealZellijWorkerPaneIdSource(record.pane_id_source) && record.pane_id).length;
|
|
101
|
-
const workerKindRecords = records.filter((record) => record.pane_kind === 'worker_codex_sdk').length;
|
|
102
|
-
const workerPrimitiveRecords = records.filter((record) => record.scaling_primitive === 'native_cli_process_in_zellij_worker_pane').length;
|
|
103
|
-
const recordProofOk = records.length === 3
|
|
104
|
-
&& realPaneIds === 3
|
|
105
|
-
&& workerKindRecords === 3
|
|
106
|
-
&& workerPrimitiveRecords === 3
|
|
107
|
-
&& requestedTitleCommands === 3
|
|
108
|
-
&& heartbeatSeen === 3
|
|
109
|
-
&& resultSeen === 3;
|
|
110
|
-
const listPanesVisibilityOk = matchedTitles === 3
|
|
111
|
-
|| commandMatchedWorkers === 3
|
|
112
|
-
|| terminalRows.length >= beforeTerminalCount + 3;
|
|
113
|
-
const report = {
|
|
114
|
-
schema: 'sks.zellij-worker-pane-real-ui-blackbox.v1',
|
|
115
|
-
ok: recordProofOk && dump.ok,
|
|
116
|
-
real_required: true,
|
|
117
|
-
zellij_version: available.stdout.trim(),
|
|
118
|
-
mission_id: missionId,
|
|
119
|
-
session_name: sessionName,
|
|
120
|
-
before_pane_count: beforeCount,
|
|
121
|
-
before_terminal_pane_count: beforeTerminalCount,
|
|
122
|
-
after_pane_count: rows.length,
|
|
123
|
-
terminal_pane_count: terminalRows.length,
|
|
124
|
-
worker_pane_count: records.length,
|
|
125
|
-
real_pane_ids: realPaneIds,
|
|
126
|
-
worker_kind_records: workerKindRecords,
|
|
127
|
-
worker_primitive_records: workerPrimitiveRecords,
|
|
128
|
-
matched_titles: matchedTitles,
|
|
129
|
-
command_matched_workers: commandMatchedWorkers,
|
|
130
|
-
requested_title_commands: requestedTitleCommands,
|
|
131
|
-
heartbeat_seen: heartbeatSeen,
|
|
132
|
-
result_seen: resultSeen,
|
|
133
|
-
dump_screen_ok: dump.ok,
|
|
134
|
-
record_proof_ok: recordProofOk,
|
|
135
|
-
list_panes_visibility_ok: listPanesVisibilityOk,
|
|
136
|
-
pane_titles: records.map((record) => record.pane_title),
|
|
137
|
-
pane_id_sources: records.map((record) => record.pane_id_source),
|
|
138
|
-
proof_root: ledgerRoot,
|
|
139
|
-
blockers: []
|
|
140
|
-
};
|
|
141
|
-
if (!report.ok) {
|
|
142
|
-
report.blockers = [
|
|
143
|
-
...(realPaneIds === 3 ? [] : ['real_worker_pane_ids_missing']),
|
|
144
|
-
...(workerKindRecords === 3 ? [] : ['worker_pane_kind_missing']),
|
|
145
|
-
...(workerPrimitiveRecords === 3 ? [] : ['worker_pane_scaling_primitive_missing']),
|
|
146
|
-
...(requestedTitleCommands === 3 ? [] : ['worker_pane_title_request_missing']),
|
|
147
|
-
...(heartbeatSeen === 3 ? [] : ['worker_heartbeat_missing']),
|
|
148
|
-
...(resultSeen === 3 ? [] : ['worker_result_missing']),
|
|
149
|
-
...(dump.ok ? [] : ['worker_pane_dump_screen_failed'])
|
|
150
|
-
];
|
|
151
|
-
}
|
|
152
|
-
fs.mkdirSync(path.join(root, '.sneakoscope', 'reports'), { recursive: true });
|
|
153
|
-
fs.writeFileSync(path.join(root, '.sneakoscope', 'reports', 'zellij-worker-pane-real-ui-blackbox.json'), `${JSON.stringify(report, null, 2)}\n`);
|
|
154
|
-
emitGate('zellij:worker-pane-real-ui:blackbox', report);
|
|
155
|
-
if (!report.ok)
|
|
156
|
-
process.exitCode = 1;
|
|
157
|
-
}
|
|
158
|
-
finally {
|
|
159
|
-
await zellij.runZellij(['kill-session', sessionName], { cwd: root, timeoutMs: 5000, optional: true });
|
|
160
|
-
safeKill(attachedClient, 'SIGTERM');
|
|
161
|
-
await sleep(250);
|
|
162
|
-
safeKill(attachedClient, 'SIGKILL');
|
|
163
|
-
}
|
|
164
|
-
function parsePaneRows(text) {
|
|
165
|
-
if (!String(text || '').trim())
|
|
166
|
-
return [];
|
|
167
|
-
try {
|
|
168
|
-
const parsed = JSON.parse(String(text));
|
|
169
|
-
if (Array.isArray(parsed))
|
|
170
|
-
return parsed;
|
|
171
|
-
if (Array.isArray(parsed?.panes))
|
|
172
|
-
return parsed.panes;
|
|
173
|
-
return [];
|
|
174
|
-
}
|
|
175
|
-
catch {
|
|
176
|
-
return [];
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
function sleep(ms) {
|
|
180
|
-
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
181
|
-
}
|
|
182
|
-
function shellQuote(value) {
|
|
183
|
-
return `'${String(value).replace(/'/g, `'\\''`)}'`;
|
|
184
|
-
}
|
|
185
|
-
function startAttachedZellijClient(sessionName) {
|
|
186
|
-
const logFile = path.join(root, '.sneakoscope', 'reports', `${sessionName}.script.log`);
|
|
187
|
-
fs.mkdirSync(path.dirname(logFile), { recursive: true });
|
|
188
|
-
return spawn('script', ['-q', logFile, 'zellij', 'attach', '--create', sessionName], {
|
|
189
|
-
cwd: root,
|
|
190
|
-
stdio: ['ignore', 'ignore', 'ignore']
|
|
191
|
-
});
|
|
192
|
-
}
|
|
193
|
-
function safeKill(child, signal) {
|
|
194
|
-
try {
|
|
195
|
-
if (!child.killed)
|
|
196
|
-
child.kill(signal);
|
|
197
|
-
}
|
|
198
|
-
catch {
|
|
199
|
-
// Best-effort cleanup for the disposable pseudo-terminal client.
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
//# sourceMappingURL=zellij-worker-pane-real-ui-blackbox.js.map
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
// @ts-nocheck
|
|
3
|
-
import path from 'node:path';
|
|
4
|
-
import { pathToFileURL } from 'node:url';
|
|
5
|
-
import { ensureDistFresh, root } from './lib/ensure-dist-fresh.js';
|
|
6
|
-
const freshness = ensureDistFresh({ rebuild: true });
|
|
7
|
-
if (!freshness.ok)
|
|
8
|
-
fail('dist_not_fresh', { freshness });
|
|
9
|
-
const manager = await import(pathToFileURL(path.join(root, 'dist', 'core', 'zellij', 'zellij-worker-pane-manager.js')).href);
|
|
10
|
-
const valid = manager.evaluateZellijWorkerPaneSpawnOrder([
|
|
11
|
-
{ event_type: 'session_launch_started' },
|
|
12
|
-
{ event_type: 'zellij_worker_pane_created' },
|
|
13
|
-
{ event_type: 'worker_started' },
|
|
14
|
-
{ event_type: 'codex_sdk_thread_started' },
|
|
15
|
-
{ event_type: 'result_written' },
|
|
16
|
-
{ event_type: 'pane_closed' }
|
|
17
|
-
]);
|
|
18
|
-
const invalid = manager.evaluateZellijWorkerPaneSpawnOrder([
|
|
19
|
-
{ event_type: 'session_launch_started' },
|
|
20
|
-
{ event_type: 'worker_started' },
|
|
21
|
-
{ event_type: 'zellij_worker_pane_created' },
|
|
22
|
-
{ event_type: 'result_written' }
|
|
23
|
-
]);
|
|
24
|
-
const ok = valid.ok && invalid.ok === false && invalid.blockers.includes('spawn_order_missing_codex_sdk_thread_started');
|
|
25
|
-
emit({
|
|
26
|
-
schema: 'sks.zellij-worker-pane-spawn-order-check.v1',
|
|
27
|
-
ok,
|
|
28
|
-
valid,
|
|
29
|
-
invalid,
|
|
30
|
-
blockers: ok ? [] : ['zellij_worker_pane_spawn_order_check_failed']
|
|
31
|
-
});
|
|
32
|
-
function emit(report) { console.log(JSON.stringify(report, null, 2)); if (!report.ok)
|
|
33
|
-
process.exitCode = 1; }
|
|
34
|
-
function fail(blocker, detail) { emit({ schema: 'sks.zellij-worker-pane-spawn-order-check.v1', ok: false, blockers: [blocker], detail }); process.exit(1); }
|
|
35
|
-
//# sourceMappingURL=zellij-worker-pane-spawn-order-check.js.map
|
package/dist/vendor/openai-codex/rust-v0.131.0/hooks/permission-request.command.input.schema.json
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"additionalProperties": false,
|
|
4
|
-
"definitions": {
|
|
5
|
-
"NullableString": {
|
|
6
|
-
"type": [
|
|
7
|
-
"string",
|
|
8
|
-
"null"
|
|
9
|
-
]
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
"properties": {
|
|
13
|
-
"cwd": {
|
|
14
|
-
"type": "string"
|
|
15
|
-
},
|
|
16
|
-
"hook_event_name": {
|
|
17
|
-
"const": "PermissionRequest",
|
|
18
|
-
"type": "string"
|
|
19
|
-
},
|
|
20
|
-
"model": {
|
|
21
|
-
"type": "string"
|
|
22
|
-
},
|
|
23
|
-
"permission_mode": {
|
|
24
|
-
"enum": [
|
|
25
|
-
"default",
|
|
26
|
-
"acceptEdits",
|
|
27
|
-
"plan",
|
|
28
|
-
"dontAsk",
|
|
29
|
-
"bypassPermissions"
|
|
30
|
-
],
|
|
31
|
-
"type": "string"
|
|
32
|
-
},
|
|
33
|
-
"session_id": {
|
|
34
|
-
"type": "string"
|
|
35
|
-
},
|
|
36
|
-
"tool_input": true,
|
|
37
|
-
"tool_name": {
|
|
38
|
-
"type": "string"
|
|
39
|
-
},
|
|
40
|
-
"transcript_path": {
|
|
41
|
-
"$ref": "#/definitions/NullableString"
|
|
42
|
-
},
|
|
43
|
-
"turn_id": {
|
|
44
|
-
"description": "Codex extension: expose the active turn id to internal turn-scoped hooks.",
|
|
45
|
-
"type": "string"
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
"required": [
|
|
49
|
-
"cwd",
|
|
50
|
-
"hook_event_name",
|
|
51
|
-
"model",
|
|
52
|
-
"permission_mode",
|
|
53
|
-
"session_id",
|
|
54
|
-
"tool_input",
|
|
55
|
-
"tool_name",
|
|
56
|
-
"transcript_path",
|
|
57
|
-
"turn_id"
|
|
58
|
-
],
|
|
59
|
-
"title": "permission-request.command.input",
|
|
60
|
-
"type": "object"
|
|
61
|
-
}
|
package/dist/vendor/openai-codex/rust-v0.131.0/hooks/permission-request.command.output.schema.json
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"additionalProperties": false,
|
|
4
|
-
"definitions": {
|
|
5
|
-
"HookEventNameWire": {
|
|
6
|
-
"enum": [
|
|
7
|
-
"PreToolUse",
|
|
8
|
-
"PermissionRequest",
|
|
9
|
-
"PostToolUse",
|
|
10
|
-
"PreCompact",
|
|
11
|
-
"PostCompact",
|
|
12
|
-
"SessionStart",
|
|
13
|
-
"UserPromptSubmit",
|
|
14
|
-
"Stop"
|
|
15
|
-
],
|
|
16
|
-
"type": "string"
|
|
17
|
-
},
|
|
18
|
-
"PermissionRequestBehaviorWire": {
|
|
19
|
-
"enum": [
|
|
20
|
-
"allow",
|
|
21
|
-
"deny"
|
|
22
|
-
],
|
|
23
|
-
"type": "string"
|
|
24
|
-
},
|
|
25
|
-
"PermissionRequestDecisionWire": {
|
|
26
|
-
"additionalProperties": false,
|
|
27
|
-
"properties": {
|
|
28
|
-
"behavior": {
|
|
29
|
-
"$ref": "#/definitions/PermissionRequestBehaviorWire"
|
|
30
|
-
},
|
|
31
|
-
"interrupt": {
|
|
32
|
-
"default": false,
|
|
33
|
-
"description": "Reserved for future short-circuiting semantics.\n\nPermissionRequest hooks currently fail closed if this field is `true`.",
|
|
34
|
-
"type": "boolean"
|
|
35
|
-
},
|
|
36
|
-
"message": {
|
|
37
|
-
"default": null,
|
|
38
|
-
"type": "string"
|
|
39
|
-
},
|
|
40
|
-
"updatedInput": {
|
|
41
|
-
"default": null,
|
|
42
|
-
"description": "Reserved for a future input-rewrite capability.\n\nPermissionRequest hooks currently fail closed if this field is present."
|
|
43
|
-
},
|
|
44
|
-
"updatedPermissions": {
|
|
45
|
-
"default": null,
|
|
46
|
-
"description": "Reserved for a future permission-rewrite capability.\n\nPermissionRequest hooks currently fail closed if this field is present."
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"required": [
|
|
50
|
-
"behavior"
|
|
51
|
-
],
|
|
52
|
-
"type": "object"
|
|
53
|
-
},
|
|
54
|
-
"PermissionRequestHookSpecificOutputWire": {
|
|
55
|
-
"additionalProperties": false,
|
|
56
|
-
"properties": {
|
|
57
|
-
"decision": {
|
|
58
|
-
"allOf": [
|
|
59
|
-
{
|
|
60
|
-
"$ref": "#/definitions/PermissionRequestDecisionWire"
|
|
61
|
-
}
|
|
62
|
-
],
|
|
63
|
-
"default": null
|
|
64
|
-
},
|
|
65
|
-
"hookEventName": {
|
|
66
|
-
"$ref": "#/definitions/HookEventNameWire"
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
"required": [
|
|
70
|
-
"hookEventName"
|
|
71
|
-
],
|
|
72
|
-
"type": "object"
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
"properties": {
|
|
76
|
-
"continue": {
|
|
77
|
-
"default": true,
|
|
78
|
-
"type": "boolean"
|
|
79
|
-
},
|
|
80
|
-
"hookSpecificOutput": {
|
|
81
|
-
"allOf": [
|
|
82
|
-
{
|
|
83
|
-
"$ref": "#/definitions/PermissionRequestHookSpecificOutputWire"
|
|
84
|
-
}
|
|
85
|
-
],
|
|
86
|
-
"default": null
|
|
87
|
-
},
|
|
88
|
-
"stopReason": {
|
|
89
|
-
"default": null,
|
|
90
|
-
"type": "string"
|
|
91
|
-
},
|
|
92
|
-
"suppressOutput": {
|
|
93
|
-
"default": false,
|
|
94
|
-
"type": "boolean"
|
|
95
|
-
},
|
|
96
|
-
"systemMessage": {
|
|
97
|
-
"default": null,
|
|
98
|
-
"type": "string"
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
"title": "permission-request.command.output",
|
|
102
|
-
"type": "object"
|
|
103
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"additionalProperties": false,
|
|
4
|
-
"definitions": {
|
|
5
|
-
"NullableString": {
|
|
6
|
-
"type": [
|
|
7
|
-
"string",
|
|
8
|
-
"null"
|
|
9
|
-
]
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
"properties": {
|
|
13
|
-
"cwd": {
|
|
14
|
-
"type": "string"
|
|
15
|
-
},
|
|
16
|
-
"hook_event_name": {
|
|
17
|
-
"const": "PostCompact",
|
|
18
|
-
"type": "string"
|
|
19
|
-
},
|
|
20
|
-
"model": {
|
|
21
|
-
"type": "string"
|
|
22
|
-
},
|
|
23
|
-
"session_id": {
|
|
24
|
-
"type": "string"
|
|
25
|
-
},
|
|
26
|
-
"transcript_path": {
|
|
27
|
-
"$ref": "#/definitions/NullableString"
|
|
28
|
-
},
|
|
29
|
-
"trigger": {
|
|
30
|
-
"enum": [
|
|
31
|
-
"manual",
|
|
32
|
-
"auto"
|
|
33
|
-
],
|
|
34
|
-
"type": "string"
|
|
35
|
-
},
|
|
36
|
-
"turn_id": {
|
|
37
|
-
"description": "Codex extension: expose the active turn id to internal turn-scoped hooks.",
|
|
38
|
-
"type": "string"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"required": [
|
|
42
|
-
"cwd",
|
|
43
|
-
"hook_event_name",
|
|
44
|
-
"model",
|
|
45
|
-
"session_id",
|
|
46
|
-
"transcript_path",
|
|
47
|
-
"trigger",
|
|
48
|
-
"turn_id"
|
|
49
|
-
],
|
|
50
|
-
"title": "post-compact.command.input",
|
|
51
|
-
"type": "object"
|
|
52
|
-
}
|
package/dist/vendor/openai-codex/rust-v0.131.0/hooks/post-compact.command.output.schema.json
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"additionalProperties": false,
|
|
4
|
-
"properties": {
|
|
5
|
-
"continue": {
|
|
6
|
-
"default": true,
|
|
7
|
-
"type": "boolean"
|
|
8
|
-
},
|
|
9
|
-
"stopReason": {
|
|
10
|
-
"default": null,
|
|
11
|
-
"type": "string"
|
|
12
|
-
},
|
|
13
|
-
"suppressOutput": {
|
|
14
|
-
"default": false,
|
|
15
|
-
"type": "boolean"
|
|
16
|
-
},
|
|
17
|
-
"systemMessage": {
|
|
18
|
-
"default": null,
|
|
19
|
-
"type": "string"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"title": "post-compact.command.output",
|
|
23
|
-
"type": "object"
|
|
24
|
-
}
|
package/dist/vendor/openai-codex/rust-v0.131.0/hooks/post-tool-use.command.input.schema.json
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"additionalProperties": false,
|
|
4
|
-
"definitions": {
|
|
5
|
-
"NullableString": {
|
|
6
|
-
"type": [
|
|
7
|
-
"string",
|
|
8
|
-
"null"
|
|
9
|
-
]
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
"properties": {
|
|
13
|
-
"cwd": {
|
|
14
|
-
"type": "string"
|
|
15
|
-
},
|
|
16
|
-
"hook_event_name": {
|
|
17
|
-
"const": "PostToolUse",
|
|
18
|
-
"type": "string"
|
|
19
|
-
},
|
|
20
|
-
"model": {
|
|
21
|
-
"type": "string"
|
|
22
|
-
},
|
|
23
|
-
"permission_mode": {
|
|
24
|
-
"enum": [
|
|
25
|
-
"default",
|
|
26
|
-
"acceptEdits",
|
|
27
|
-
"plan",
|
|
28
|
-
"dontAsk",
|
|
29
|
-
"bypassPermissions"
|
|
30
|
-
],
|
|
31
|
-
"type": "string"
|
|
32
|
-
},
|
|
33
|
-
"session_id": {
|
|
34
|
-
"type": "string"
|
|
35
|
-
},
|
|
36
|
-
"tool_input": true,
|
|
37
|
-
"tool_name": {
|
|
38
|
-
"type": "string"
|
|
39
|
-
},
|
|
40
|
-
"tool_response": true,
|
|
41
|
-
"tool_use_id": {
|
|
42
|
-
"type": "string"
|
|
43
|
-
},
|
|
44
|
-
"transcript_path": {
|
|
45
|
-
"$ref": "#/definitions/NullableString"
|
|
46
|
-
},
|
|
47
|
-
"turn_id": {
|
|
48
|
-
"description": "Codex extension: expose the active turn id to internal turn-scoped hooks.",
|
|
49
|
-
"type": "string"
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
"required": [
|
|
53
|
-
"cwd",
|
|
54
|
-
"hook_event_name",
|
|
55
|
-
"model",
|
|
56
|
-
"permission_mode",
|
|
57
|
-
"session_id",
|
|
58
|
-
"tool_input",
|
|
59
|
-
"tool_name",
|
|
60
|
-
"tool_response",
|
|
61
|
-
"tool_use_id",
|
|
62
|
-
"transcript_path",
|
|
63
|
-
"turn_id"
|
|
64
|
-
],
|
|
65
|
-
"title": "post-tool-use.command.input",
|
|
66
|
-
"type": "object"
|
|
67
|
-
}
|
package/dist/vendor/openai-codex/rust-v0.131.0/hooks/post-tool-use.command.output.schema.json
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"additionalProperties": false,
|
|
4
|
-
"definitions": {
|
|
5
|
-
"BlockDecisionWire": {
|
|
6
|
-
"enum": [
|
|
7
|
-
"block"
|
|
8
|
-
],
|
|
9
|
-
"type": "string"
|
|
10
|
-
},
|
|
11
|
-
"HookEventNameWire": {
|
|
12
|
-
"enum": [
|
|
13
|
-
"PreToolUse",
|
|
14
|
-
"PermissionRequest",
|
|
15
|
-
"PostToolUse",
|
|
16
|
-
"PreCompact",
|
|
17
|
-
"PostCompact",
|
|
18
|
-
"SessionStart",
|
|
19
|
-
"UserPromptSubmit",
|
|
20
|
-
"Stop"
|
|
21
|
-
],
|
|
22
|
-
"type": "string"
|
|
23
|
-
},
|
|
24
|
-
"PostToolUseHookSpecificOutputWire": {
|
|
25
|
-
"additionalProperties": false,
|
|
26
|
-
"properties": {
|
|
27
|
-
"additionalContext": {
|
|
28
|
-
"default": null,
|
|
29
|
-
"type": "string"
|
|
30
|
-
},
|
|
31
|
-
"hookEventName": {
|
|
32
|
-
"$ref": "#/definitions/HookEventNameWire"
|
|
33
|
-
},
|
|
34
|
-
"updatedMCPToolOutput": {
|
|
35
|
-
"default": null
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"required": [
|
|
39
|
-
"hookEventName"
|
|
40
|
-
],
|
|
41
|
-
"type": "object"
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
"properties": {
|
|
45
|
-
"continue": {
|
|
46
|
-
"default": true,
|
|
47
|
-
"type": "boolean"
|
|
48
|
-
},
|
|
49
|
-
"decision": {
|
|
50
|
-
"allOf": [
|
|
51
|
-
{
|
|
52
|
-
"$ref": "#/definitions/BlockDecisionWire"
|
|
53
|
-
}
|
|
54
|
-
],
|
|
55
|
-
"default": null
|
|
56
|
-
},
|
|
57
|
-
"hookSpecificOutput": {
|
|
58
|
-
"allOf": [
|
|
59
|
-
{
|
|
60
|
-
"$ref": "#/definitions/PostToolUseHookSpecificOutputWire"
|
|
61
|
-
}
|
|
62
|
-
],
|
|
63
|
-
"default": null
|
|
64
|
-
},
|
|
65
|
-
"reason": {
|
|
66
|
-
"default": null,
|
|
67
|
-
"type": "string"
|
|
68
|
-
},
|
|
69
|
-
"stopReason": {
|
|
70
|
-
"default": null,
|
|
71
|
-
"type": "string"
|
|
72
|
-
},
|
|
73
|
-
"suppressOutput": {
|
|
74
|
-
"default": false,
|
|
75
|
-
"type": "boolean"
|
|
76
|
-
},
|
|
77
|
-
"systemMessage": {
|
|
78
|
-
"default": null,
|
|
79
|
-
"type": "string"
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
"title": "post-tool-use.command.output",
|
|
83
|
-
"type": "object"
|
|
84
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"additionalProperties": false,
|
|
4
|
-
"definitions": {
|
|
5
|
-
"NullableString": {
|
|
6
|
-
"type": [
|
|
7
|
-
"string",
|
|
8
|
-
"null"
|
|
9
|
-
]
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
"properties": {
|
|
13
|
-
"cwd": {
|
|
14
|
-
"type": "string"
|
|
15
|
-
},
|
|
16
|
-
"hook_event_name": {
|
|
17
|
-
"const": "PreCompact",
|
|
18
|
-
"type": "string"
|
|
19
|
-
},
|
|
20
|
-
"model": {
|
|
21
|
-
"type": "string"
|
|
22
|
-
},
|
|
23
|
-
"session_id": {
|
|
24
|
-
"type": "string"
|
|
25
|
-
},
|
|
26
|
-
"transcript_path": {
|
|
27
|
-
"$ref": "#/definitions/NullableString"
|
|
28
|
-
},
|
|
29
|
-
"trigger": {
|
|
30
|
-
"enum": [
|
|
31
|
-
"manual",
|
|
32
|
-
"auto"
|
|
33
|
-
],
|
|
34
|
-
"type": "string"
|
|
35
|
-
},
|
|
36
|
-
"turn_id": {
|
|
37
|
-
"description": "Codex extension: expose the active turn id to internal turn-scoped hooks.",
|
|
38
|
-
"type": "string"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"required": [
|
|
42
|
-
"cwd",
|
|
43
|
-
"hook_event_name",
|
|
44
|
-
"model",
|
|
45
|
-
"session_id",
|
|
46
|
-
"transcript_path",
|
|
47
|
-
"trigger",
|
|
48
|
-
"turn_id"
|
|
49
|
-
],
|
|
50
|
-
"title": "pre-compact.command.input",
|
|
51
|
-
"type": "object"
|
|
52
|
-
}
|