sneakoscope 7.1.0 → 7.3.0
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 +9 -1
- package/config/architecture-budgets.v1.json +1 -8
- package/crates/sks-core/Cargo.lock +225 -1
- package/crates/sks-core/Cargo.toml +8 -1
- package/crates/sks-core/src/main.rs +7 -1
- package/crates/sks-core/src/search/files.rs +114 -0
- package/crates/sks-core/src/search/mod.rs +274 -0
- package/crates/sks-core/src/search/text.rs +175 -0
- package/dist/bin/sks-dispatch.js +4 -3
- package/dist/cli/command-manifest-lite.js +177 -6
- package/dist/cli/command-registry.js +42 -8
- package/dist/cli/help.js +30 -0
- package/dist/cli/install-helpers-codex-lb-config.js +9 -6
- package/dist/cli/install-helpers-codex-lb-selftest-chain.js +1 -1
- package/dist/cli/install-helpers-install-support.js +1 -1
- package/dist/cli/install-helpers.js +19 -9
- package/dist/cli/router.js +16 -3
- package/dist/commands/codex-app.js +40 -5
- package/dist/commands/doctor-profile.js +78 -0
- package/dist/commands/doctor.js +29 -69
- package/dist/commands/search.js +4 -0
- package/dist/config/skills-manifest.json +53 -60
- package/dist/core/agent-bridge/agent-manifest.js +22 -26
- package/dist/core/agent-bridge/host-capability-policy.js +109 -8
- package/dist/core/agent-bridge/host-capability-runtime.js +178 -50
- package/dist/core/agent-guidance/directive-registry.js +123 -0
- package/dist/core/agents/agent-effort-policy.js +45 -6
- package/dist/core/agents/agent-worker-pipeline.js +1 -3
- package/dist/core/agents/native-worker-backend-router.js +43 -19
- package/dist/core/auto-review.js +1 -3
- package/dist/core/code-structure.js +282 -19
- package/dist/core/codex/codex-config-guard.js +14 -4
- package/dist/core/codex/codex-config-toml.js +1 -3
- package/dist/core/codex-app/codex-agent-role-sync.js +1 -3
- package/dist/core/codex-app/codex-app-fast-ui-repair.js +14 -1
- package/dist/core/codex-app/codex-app-types.js +2 -3
- package/dist/core/codex-app/codex-desktop-routing-ownership.js +91 -0
- package/dist/core/codex-app/codex-hook-approval-probe.js +1 -3
- package/dist/core/codex-app/codex-hook-lifecycle.js +1 -3
- package/dist/core/codex-app/codex-init-deep.js +22 -10
- package/dist/core/codex-app/codex-model-catalog.js +384 -0
- package/dist/core/codex-app/codex-models-cache.js +160 -0
- package/dist/core/codex-app/desktop-routing-snapshot.js +233 -0
- package/dist/core/codex-app/glm-profile-installer.js +1 -3
- package/dist/core/codex-app/mcp-manager.js +1 -3
- package/dist/core/codex-app/menubar/constants.js +3 -0
- package/dist/core/codex-app/menubar/installer.js +11 -1
- package/dist/core/codex-app/multi-provider-router-support.js +202 -0
- package/dist/core/codex-app/multi-provider-router.js +379 -0
- package/dist/core/codex-app/openrouter-activate.js +189 -26
- package/dist/core/codex-app/openrouter-base-instructions.js +1 -0
- package/dist/core/codex-app/openrouter-model-catalog.js +217 -0
- package/dist/core/codex-app/role-model-catalog-priority.js +61 -0
- package/dist/core/codex-app.js +30 -6
- package/dist/core/codex-compat/codex-hook-semantic-validator.js +1 -3
- package/dist/core/codex-control/codex-app-server-v2-client.js +39 -2
- package/dist/core/codex-lb/codex-lb-env.js +1 -3
- package/dist/core/codex-lb/codex-lb-tool-catalog.js +6 -1
- package/dist/core/codex-native/codex-native-feature-broker.js +2 -6
- package/dist/core/codex-native/codex-native-interop-policy.js +1 -3
- package/dist/core/codex-native/codex-native-reference-cache.js +1 -3
- package/dist/core/codex-native/codex-native-reference-source.js +1 -3
- package/dist/core/codex-native/codex-native-repair-transaction.js +1 -3
- package/dist/core/codex-native/core-skill-manifest.js +3 -2
- package/dist/core/codex-native/native-capability-repair-matrix.js +1 -3
- package/dist/core/codex-plugins/codex-plugin-repair.js +1 -3
- package/dist/core/codex-runtime/codex-desktop-config-policy.js +4 -4
- package/dist/core/commands/agent-bridge-command.js +24 -3
- package/dist/core/commands/image-ux-review-command.js +5 -11
- package/dist/core/commands/menubar-command.js +1 -1
- package/dist/core/commands/naruto-command.js +40 -13
- package/dist/core/commands/pipeline-command.js +5 -2
- package/dist/core/commands/release-command.js +63 -1
- package/dist/core/commands/remote-command.js +18 -0
- package/dist/core/commands/search-command.js +151 -0
- package/dist/core/commands/telegram-command.js +251 -108
- package/dist/core/commands/uninstall-command.js +1 -1
- package/dist/core/config/secret-preservation.js +1 -3
- package/dist/core/context7-client.js +2 -1
- package/dist/core/db-review.js +704 -0
- package/dist/core/db-safety.js +17 -23
- package/dist/core/doctor/browser-use-repair.js +1 -3
- package/dist/core/doctor/codex-startup-config-repair.js +1 -3
- package/dist/core/doctor/computer-use-repair.js +1 -3
- package/dist/core/doctor/context7-mcp-repair.js +1 -3
- package/dist/core/doctor/current-project-guidance.js +1 -3
- package/dist/core/doctor/doctor-codex-startup-repair.js +1 -3
- package/dist/core/doctor/doctor-dirty-planner.js +2 -2
- package/dist/core/doctor/doctor-native-capability-repair.js +1 -3
- package/dist/core/doctor/doctor-transaction.js +1 -3
- package/dist/core/doctor/imagegen-repair.js +1 -3
- package/dist/core/doctor/legacy-global-hook-cleanup.js +1 -3
- package/dist/core/doctor/mcp-transport-collision-repair.js +1 -3
- package/dist/core/doctor/retired-managed-residue-private.js +1 -3
- package/dist/core/doctor/supabase-mcp-repair.js +1 -3
- package/dist/core/engineering-sanity-review.js +186 -0
- package/dist/core/errors/message.js +3 -0
- package/dist/core/evidence/evidence-schema.js +1 -3
- package/dist/core/feature-fixtures.js +1 -0
- package/dist/core/feature-registry.js +1 -3
- package/dist/core/fsx.js +13 -0
- package/dist/core/git-hygiene/shared-memory-publish.js +1 -3
- package/dist/core/git-hygiene/validators.js +1 -3
- package/dist/core/harness-guard.js +21 -3
- package/dist/core/hooks-runtime/hook-context.js +2 -2
- package/dist/core/image-ux-review/imagegen-adapter.js +52 -56
- package/dist/core/image-ux-review/real-callout-extractor.js +6 -1
- package/dist/core/image-ux-review.js +3 -5
- package/dist/core/imagegen/codex-lb-imagegen-target.js +70 -0
- package/dist/core/imagegen/imagegen-capability.js +11 -11
- package/dist/core/imagegen/imagegen-evidence.js +32 -0
- package/dist/core/init/skills.js +9 -11
- package/dist/core/init.js +4 -6
- package/dist/core/json/records.js +9 -0
- package/dist/core/json-schema-validator.js +1 -3
- package/dist/core/lean-engineering-policy.js +54 -0
- package/dist/core/loops/loop-continuation-enforcer.js +1 -3
- package/dist/core/mad-sks/sql-plane/mcp-executor.js +2 -1
- package/dist/core/mad-sks/sql-plane/policy.js +2 -1
- package/dist/core/managed-assets/managed-assets-manifest.js +4 -3
- package/dist/core/mcp-config/codex-cli-adapter.js +1 -3
- package/dist/core/mcp-config/config-reader.js +2 -3
- package/dist/core/mcp-config/guarded-patch.js +1 -1
- package/dist/core/mcp-config/health-check.js +2 -1
- package/dist/core/mcp-config/mutation.js +1 -1
- package/dist/core/mcp-config/restore.js +1 -1
- package/dist/core/mcp-config/secret-policy.js +1 -3
- package/dist/core/migration/migration-transaction-journal.js +3 -3
- package/dist/core/naruto/naruto-concurrency-governor.js +2 -2
- package/dist/core/perf/import-graph-budget.js +91 -1
- package/dist/core/pipeline/pipeline-plan-writer.js +1 -1
- package/dist/core/pipeline-internals/runtime-core.js +121 -23
- package/dist/core/pipeline-internals/runtime-gates.js +193 -4
- package/dist/core/pipeline.js +1 -1
- package/dist/core/ppt-review/slide-imagegen-review.js +7 -7
- package/dist/core/ppt.js +3 -3
- package/dist/core/product-design-app-server.js +2 -1
- package/dist/core/proof/fake-real-proof-policy.js +1 -3
- package/dist/core/proof/root-cause-policy.js +1 -3
- package/dist/core/proof/validation.js +1 -3
- package/dist/core/provider/model-router.js +4 -0
- package/dist/core/provider/provider-context.js +1 -3
- package/dist/core/providers/openrouter/openrouter-account.js +1 -3
- package/dist/core/quality/helper-dedup.js +0 -0
- package/dist/core/recallpulse.js +1 -1
- package/dist/core/release/file-ownership.js +26 -17
- package/dist/core/release/macos-menubar-proof.js +59 -1
- package/dist/core/release/main-push-guard.js +288 -24
- package/dist/core/release/main-push-receipt.js +10 -45
- package/dist/core/release/package-size-budget.js +1 -1
- package/dist/core/release/release-gate-contract.js +2 -0
- package/dist/core/release/release-pack-receipt.js +1 -1
- package/dist/core/release/release-proof-io.js +33 -0
- package/dist/core/release/release-upgrade-baseline.js +9 -0
- package/dist/core/release/runtime-script-pack-closure.js +153 -4
- package/dist/core/release/stage-publish.js +194 -0
- package/dist/core/remote/index.js +2 -0
- package/dist/core/remote/local-worker-client.js +35 -0
- package/dist/core/remote/machine-registry.js +18 -13
- package/dist/core/remote/owner-proof.js +1 -3
- package/dist/core/remote/protocol.js +1 -3
- package/dist/core/remote/readiness.js +1 -3
- package/dist/core/remote/session-binding.js +153 -0
- package/dist/core/remote/session-index.js +1 -3
- package/dist/core/remote/types.js +1 -0
- package/dist/core/remote/worker.js +228 -14
- package/dist/core/responses-stream.js +151 -0
- package/dist/core/routes/dollar-manifest-lite.js +1 -1
- package/dist/core/routes.js +8 -8
- package/dist/core/rust-accelerator.js +12 -2
- package/dist/core/safety/ssot-guard.js +1 -3
- package/dist/core/search/benchmark.js +358 -0
- package/dist/core/search/cache.js +65 -0
- package/dist/core/search/context.js +144 -0
- package/dist/core/search/doctor.js +74 -0
- package/dist/core/search/files.js +192 -0
- package/dist/core/search/index.js +5 -0
- package/dist/core/search/ipc.js +64 -0
- package/dist/core/search/provider.js +142 -0
- package/dist/core/search/rust-bridge.js +24 -0
- package/dist/core/search/structure.js +230 -0
- package/dist/core/search/symbol.js +272 -0
- package/dist/core/search/text.js +146 -0
- package/dist/core/search/types.js +22 -0
- package/dist/core/search/typescript-ls.js +215 -0
- package/dist/core/search-visibility/discovery.js +1 -3
- package/dist/core/skill-forge.js +1 -1
- package/dist/core/stop-gate/gate-evaluator.js +3 -3
- package/dist/core/stop-gate/stop-gate-check.js +1 -3
- package/dist/core/structured-output-adapter.js +62 -2
- package/dist/core/subagents/agent-catalog.js +56 -43
- package/dist/core/subagents/model-policy.js +17 -7
- package/dist/core/subagents/naruto-proof-projection.js +2 -6
- package/dist/core/subagents/official-subagent-config.js +1 -3
- package/dist/core/subagents/official-subagent-preparation.js +73 -10
- package/dist/core/subagents/official-subagent-prompt.js +85 -18
- package/dist/core/subagents/official-subagent-runner.js +10 -5
- package/dist/core/subagents/role-model-preferences.js +202 -44
- package/dist/core/subagents/subagent-evidence.js +1 -3
- package/dist/core/subagents/thread-budget.js +1 -1
- package/dist/core/subagents/triwiki-attention.js +1 -5
- package/dist/core/telegram/config.js +29 -12
- package/dist/core/telegram/hub.js +8 -2
- package/dist/core/telegram/index.js +2 -0
- package/dist/core/telegram/messages.js +8 -2
- package/dist/core/telegram/runtime-projection.js +8 -5
- package/dist/core/telegram/runtime.js +19 -9
- package/dist/core/telegram/service.js +181 -0
- package/dist/core/telegram/setup.js +220 -0
- package/dist/core/text/regex.js +3 -0
- package/dist/core/text/strings.js +6 -0
- package/dist/core/triwiki-wrongness/image-wrongness.js +1 -3
- package/dist/core/triwiki-wrongness/wrongness-ledger.js +1 -3
- package/dist/core/triwiki-wrongness/wrongness-proof-linker.js +1 -3
- package/dist/core/triwiki-wrongness/wrongness-retrieval.js +1 -3
- package/dist/core/triwiki-wrongness/wrongness-schema.js +1 -3
- package/dist/core/triwiki-wrongness/wrongness-trust-policy.js +1 -3
- package/dist/core/trust-kernel/completion-contract.js +1 -3
- package/dist/core/trust-kernel/route-contract.js +1 -3
- package/dist/core/update/update-migration-state.js +1 -3
- package/dist/core/update-check.js +20 -6
- package/dist/core/verification/diff-quality.js +3 -4
- package/dist/core/verification/impact-scan.js +36 -89
- package/dist/core/verification/mistake-rule-compiler.js +17 -4
- package/dist/core/version-manager.js +3 -20
- package/dist/core/version.js +1 -1
- package/dist/native/sks-menubar/Sources/ControlCenterWindowController.swift +23 -3
- package/dist/native/sks-menubar/Sources/ControlKit.swift +102 -0
- package/dist/native/sks-menubar/Sources/DiagnosticsViewController.swift +23 -11
- package/dist/native/sks-menubar/Sources/MCPServersViewController.swift +7 -3
- package/dist/native/sks-menubar/Sources/OperationCoordinator.swift +17 -1
- package/dist/native/sks-menubar/Sources/OverviewViewController.swift +22 -15
- package/dist/native/sks-menubar/Sources/ProcessClient.swift +15 -5
- package/dist/native/sks-menubar/Sources/ProvidersMultiProvider.swift +324 -0
- package/dist/native/sks-menubar/Sources/ProvidersOpenRouter.swift +154 -214
- package/dist/native/sks-menubar/Sources/ProvidersRoleModels.swift +252 -0
- package/dist/native/sks-menubar/Sources/ProvidersViewController.swift +77 -71
- package/dist/native/sks-menubar/Sources/RemoteTelegramViewController.swift +167 -51
- package/dist/native/sks-menubar/Sources/SettingsViewController.swift +14 -5
- package/dist/native/sks-menubar/Sources/SidebarItem.swift +15 -1
- package/dist/native/sks-menubar/Sources/StatusItemController.swift +2 -2
- package/dist/native/sks-menubar/Sources/UpdatesViewController.swift +16 -12
- package/dist/scripts/agent-guidance-dedup-check.js +23 -0
- package/dist/scripts/agent-message-bus-reader-check.js +1 -1
- package/dist/scripts/all-feature-deep-completion-check.js +1 -1
- package/dist/scripts/appshots-thread-attachment-discovery-check.js +1 -1
- package/dist/scripts/architecture-guard-check.js +1 -2
- package/dist/scripts/certificate-sla-check.js +1 -1
- package/dist/scripts/cli-output-consistency-check.js +1 -1
- package/dist/scripts/codex-0-134-runner-truth-check.js +1 -1
- package/dist/scripts/codex-0138-capability-artifact-check.js +1 -1
- package/dist/scripts/codex-0138-capability-check.js +1 -1
- package/dist/scripts/codex-0138-doctor-check.js +1 -1
- package/dist/scripts/codex-0138-feature-probes-check.js +1 -1
- package/dist/scripts/codex-0144-app-server-v2-check.js +1 -1
- package/dist/scripts/codex-0144-binary-identity-check.js +1 -1
- package/dist/scripts/codex-0144-capability-check.js +1 -1
- package/dist/scripts/codex-0144-core-real-probes-check.js +1 -1
- package/dist/scripts/codex-0144-manifest-check.js +1 -1
- package/dist/scripts/codex-0144-policy-check.js +1 -1
- package/dist/scripts/codex-0144-thread-store-check.js +1 -1
- package/dist/scripts/codex-agent-role-rich-content-check.js +2 -2
- package/dist/scripts/codex-agent-role-sync-check.js +2 -2
- package/dist/scripts/codex-agent-type-routing-check.js +2 -2
- package/dist/scripts/codex-app-execution-profile-check.js +2 -2
- package/dist/scripts/codex-app-handoff-check.js +1 -1
- package/dist/scripts/codex-app-handoff-launch-check.js +1 -1
- package/dist/scripts/codex-control-tool-output-continuity-audit-check.js +1 -1
- package/dist/scripts/codex-lb-fast-ui-preservation-check.js +1 -3
- package/dist/scripts/codex-native-feature-broker-blackbox.js +2 -2
- package/dist/scripts/codex-native-feature-broker-check.js +2 -2
- package/dist/scripts/{sks-3-1-6-directive-check-lib.js → codex-native-gate-lib.js} +5 -5
- package/dist/scripts/codex-native-harness-compat-check.js +2 -2
- package/dist/scripts/codex-native-hook-lifecycle-proof-check.js +2 -2
- package/dist/scripts/codex-plugin-app-template-policy-check.js +1 -1
- package/dist/scripts/codex-sdk-backend-router-check.js +1 -1
- package/dist/scripts/codex-sdk-capability-check.js +1 -1
- package/dist/scripts/context7-evidence-dedupe-check.js +1 -1
- package/dist/scripts/core-skill-card-schema-check.js +1 -1
- package/dist/scripts/core-skill-deployment-snapshot-check.js +1 -1
- package/dist/scripts/core-skill-heldout-validation-check.js +1 -1
- package/dist/scripts/core-skill-no-inference-optimizer-check.js +1 -1
- package/dist/scripts/core-skill-patch-check.js +1 -1
- package/dist/scripts/core-skill-route-runtime-integration-check.js +1 -1
- package/dist/scripts/current-command-surface-check.js +1 -1
- package/dist/scripts/current-surface-update-e2e-check.js +4 -1
- package/dist/scripts/current-upgrade-matrix-check.js +1 -1
- package/dist/scripts/dfix-fixture-check.js +1 -1
- package/dist/scripts/dfix-patch-handoff-check.js +1 -1
- package/dist/scripts/dfix-verification-check.js +1 -1
- package/dist/scripts/dfix-verification-recommendation-check.js +1 -1
- package/dist/scripts/docs-truthfulness-check.js +16 -3
- package/dist/scripts/doctor-codex-app-harness-check.js +2 -2
- package/dist/scripts/evidence-flagship-coverage-check.js +1 -1
- package/dist/scripts/{sks-1-18-gate-lib.js → gate-lib.js} +1 -1
- package/dist/scripts/gate-policy-audit-check.js +4 -1
- package/dist/scripts/git-worktree-checkpoint-check.js +1 -1
- package/dist/scripts/git-worktree-cross-rebase-check.js +1 -1
- package/dist/scripts/git-worktree-diff-envelope-check.js +1 -1
- package/dist/scripts/git-worktree-dirty-lock-check.js +1 -1
- package/dist/scripts/git-worktree-dirty-main-detection-check.js +1 -1
- package/dist/scripts/git-worktree-integration-primary-check.js +1 -1
- package/dist/scripts/git-worktree-manifest-append-check.js +1 -1
- package/dist/scripts/git-worktree-untracked-diff-check.js +1 -1
- package/dist/scripts/harness-benchmark-check.js +1 -1
- package/dist/scripts/helper-dedup-check.js +62 -0
- package/dist/scripts/hook-latency-budget-check.js +1 -1
- package/dist/scripts/image-artifact-path-contract-check.js +1 -1
- package/dist/scripts/imagegen-real-smoke-check.js +2 -5
- package/dist/scripts/installed-package-smoke-check.js +1 -1
- package/dist/scripts/legacy-gate-inventory-check.js +1 -1
- package/dist/scripts/legacy-gate-purge-check.js +1 -1
- package/dist/scripts/legacy-strong-inventory-check.js +1 -1
- package/dist/scripts/lib/codex-sdk-gate-lib.js +1 -1
- package/dist/scripts/mad-sks-launch-sql-plane-boundary-check.js +1 -1
- package/dist/scripts/mad-sks-sql-plane-capability-check.js +1 -1
- package/dist/scripts/mad-sks-sql-plane-lifecycle-hook-decision-check.js +1 -1
- package/dist/scripts/mad-sks-sql-plane-result-lifecycle-check.js +1 -1
- package/dist/scripts/managed-config-merge-check.js +1 -1
- package/dist/scripts/mcp-plugin-inventory-check.js +1 -1
- package/dist/scripts/model-call-concurrency-check.js +1 -1
- package/dist/scripts/mutation-callsite-coverage-check.js +1 -1
- package/dist/scripts/naruto-ssot-gate-aliases-check.js +1 -1
- package/dist/scripts/naruto-ssot-pipeline-default-check.js +1 -1
- package/dist/scripts/naruto-ssot-route-normalization-check.js +1 -1
- package/dist/scripts/naruto-ssot-routing-check.js +1 -1
- package/dist/scripts/naruto-worktree-coding-blackbox.js +1 -1
- package/dist/scripts/native-capability-repair-matrix-check.js +1 -1
- package/dist/scripts/native-image-generation-repair-check.js +1 -1
- package/dist/scripts/official-subagent-workflow-check.js +3 -3
- package/dist/scripts/package-published-contract-check.js +37 -4
- package/dist/scripts/packlist-performance-check.js +17 -1
- package/dist/scripts/pipeline-codex-native-doctor-mad-routing-real-blackbox.js +1 -3
- package/dist/scripts/ppt-real-export-adapter-check.js +1 -1
- package/dist/scripts/ppt-real-imagegen-wiring-check.js +1 -1
- package/dist/scripts/ppt-reexport-rereview-check.js +1 -1
- package/dist/scripts/prepublish-fast-check.js +1 -1
- package/dist/scripts/probe-memoization-check.js +2 -2
- package/dist/scripts/prompt-placeholder-guard-check.js +1 -1
- package/dist/scripts/qa-loop-app-handoff-capability-check.js +1 -1
- package/dist/scripts/qa-loop-app-handoff-check.js +1 -1
- package/dist/scripts/qa-loop-app-handoff-cli-check.js +1 -1
- package/dist/scripts/qa-loop-app-handoff-confirmation-check.js +1 -1
- package/dist/scripts/qa-loop-app-handoff-gate-lifecycle-check.js +1 -1
- package/dist/scripts/qa-loop-app-handoff-launch-check.js +1 -1
- package/dist/scripts/qa-loop-app-handoff-status-lifecycle-check.js +1 -1
- package/dist/scripts/qa-loop-budget-policy-check.js +1 -1
- package/dist/scripts/qa-loop-effort-escalation-check.js +1 -1
- package/dist/scripts/qa-loop-execution-profile-routing-check.js +2 -2
- package/dist/scripts/qa-loop-image-path-exposure-check.js +1 -1
- package/dist/scripts/qa-loop-image-path-prompt-injection-check.js +1 -1
- package/dist/scripts/{sks-1-12-real-execution-check-lib.js → real-execution-check-lib.js} +1 -1
- package/dist/scripts/release-affected-selector-check.js +1 -1
- package/dist/scripts/release-aggressive-resource-governor-check.js +1 -1
- package/dist/scripts/release-cache-glob-hashing-check.js +1 -1
- package/dist/scripts/release-cache-input-classifier-check.js +1 -1
- package/dist/scripts/release-cache-neutralization-report-check.js +1 -1
- package/dist/scripts/release-cache-version-neutral-fixture-check.js +1 -1
- package/dist/scripts/release-dynamic-presets-check.js +2 -2
- package/dist/scripts/release-full-parallelism-blackbox.js +1 -1
- package/dist/scripts/release-gate-batch-runner-check.js +1 -1
- package/dist/scripts/release-gate-budget-check.js +1 -1
- package/dist/scripts/release-gate-dag-runner-check.js +1 -1
- package/dist/scripts/release-latency-slo-check.js +1 -1
- package/dist/scripts/release-metadata-check.js +256 -2
- package/dist/scripts/release-parallel-speed-budget-check.js +1 -1
- package/dist/scripts/release-proof-truth-check.js +1 -1
- package/dist/scripts/release-provenance-check.js +4 -2
- package/dist/scripts/release-runtime-truth-matrix-check.js +1 -1
- package/dist/scripts/research-blueprint-densifier-check.js +1 -1
- package/dist/scripts/research-claim-builder-check.js +1 -1
- package/dist/scripts/research-complete-package-fixture-check.js +1 -1
- package/dist/scripts/research-execution-profile-routing-check.js +2 -2
- package/dist/scripts/research-final-reviewer-blackbox.js +1 -1
- package/dist/scripts/{sks-3-1-4-directive-check-lib.js → runtime-domain-gate-lib.js} +2 -2
- package/dist/scripts/runtime-proof-summary-check.js +1 -1
- package/dist/scripts/runtime-script-pack-closure-check.js +7 -1
- package/dist/scripts/scheduler-batch-dispatch-check.js +1 -1
- package/dist/scripts/scheduler-parallel-proof-consistency-check.js +1 -1
- package/dist/scripts/scheduler-utilization-integral-check.js +1 -1
- package/dist/scripts/search-visibility-gate-lib.js +1 -1
- package/dist/scripts/secret-preservation-check.js +1 -1
- package/dist/scripts/seo-geo-geo-disambiguation-check.js +1 -1
- package/dist/scripts/seo-geo-skill-rich-content-check.js +1 -1
- package/dist/scripts/side-effect-runtime-report-check.js +1 -1
- package/dist/scripts/{sks-3-1-8-check-lib.js → skill-fixture-check-lib.js} +1 -1
- package/dist/scripts/skill-name-canonicalizer-check.js +1 -1
- package/dist/scripts/skills-manifest-continuity-check.js +1 -1
- package/dist/scripts/sks-uninstall-regression-check.js +1 -1
- package/dist/scripts/sksd-daemon-check.js +1 -1
- package/dist/scripts/super-search-provider-interface-check.js +1 -1
- package/dist/scripts/triwiki-cache-key-check.js +1 -1
- package/dist/scripts/triwiki-proof-bank-blackbox.js +2 -2
- package/dist/scripts/triwiki-proof-bank-check.js +1 -1
- package/dist/scripts/triwiki-proof-card-check.js +1 -1
- package/dist/scripts/type-surface-codex-app-check.js +2 -2
- package/dist/scripts/{sks-3-1-5-directive-check-lib.js → typed-routing-gate-lib.js} +2 -2
- package/dist/scripts/ultra-router-auto-router-check.js +1 -1
- package/dist/scripts/ux-review-extract-wires-real-extractor-check.js +1 -1
- package/dist/scripts/ux-review-patch-diff-recheck-check.js +1 -1
- package/dist/scripts/ux-review-run-wires-imagegen-check.js +9 -2
- package/package.json +5 -7
- package/release-gates.v2.json +66 -11
- package/runtime-required-scripts.json +138 -14
- package/config/bench-baseline.json +0 -7
- package/dist/core/codex-app/sks-menubar.js +0 -1
- package/dist/core/release/release-closure-contract.js +0 -30
- package/dist/core/release/release-closure-helpers.js +0 -293
- package/dist/core/release/release-closure-validation.js +0 -284
- package/dist/core/release/release-closure.js +0 -163
- package/dist/scripts/build-dist.js +0 -124
- package/dist/scripts/build-once-runner-check.js +0 -6
- package/dist/scripts/canonical-test-runner.js +0 -234
- package/dist/scripts/changelog-check.js +0 -45
- package/dist/scripts/check-architecture.js +0 -295
- package/dist/scripts/check-cli-entrypoint.js +0 -41
- package/dist/scripts/check-command-module-budget.js +0 -77
- package/dist/scripts/check-feature-quality.js +0 -51
- package/dist/scripts/check-legacy-free.js +0 -64
- package/dist/scripts/check-pipeline-budget.js +0 -49
- package/dist/scripts/check-pipeline-runtime.js +0 -16
- package/dist/scripts/check-publish-tag.js +0 -56
- package/dist/scripts/check-route-modularity.js +0 -72
- package/dist/scripts/codex-0140-capability-check.js +0 -14
- package/dist/scripts/codex-0140-feature-probes-check.js +0 -23
- package/dist/scripts/codex-permission-profiles-check.js +0 -34
- package/dist/scripts/codex-project-config-policy-splitter-check.js +0 -49
- package/dist/scripts/competitor-scorecard-check.js +0 -24
- package/dist/scripts/core-skill-no-drift-check.js +0 -23
- package/dist/scripts/db-route-materialization-check.js +0 -32
- package/dist/scripts/doctor-context7-mcp-repair-blackbox.js +0 -15
- package/dist/scripts/doctor-fastpath-check.js +0 -25
- package/dist/scripts/doctor-fix-production-blackbox.js +0 -35
- package/dist/scripts/doctor-idempotence-check.js +0 -6
- package/dist/scripts/doctor-ops-semantics-check.js +0 -83
- package/dist/scripts/doctor-startup-config-repair-blackbox.js +0 -18
- package/dist/scripts/doctor-supabase-mcp-repair-blackbox.js +0 -13
- package/dist/scripts/ensure-bin-executable.js +0 -16
- package/dist/scripts/fsx-hotpath-check.js +0 -9
- package/dist/scripts/high-risk-contracts-check.js +0 -183
- package/dist/scripts/hook-latency-quantum-check.js +0 -120
- package/dist/scripts/import-graph-budget-check.js +0 -9
- package/dist/scripts/mcp-tool-naming-parity-check.js +0 -14
- package/dist/scripts/naruto-codex-e2e-check.js +0 -105
- package/dist/scripts/naruto-write-e2e-check.js +0 -31
- package/dist/scripts/native-capability-postcheck-check.js +0 -16
- package/dist/scripts/ops-diagnostics-bundle-check.js +0 -11
- package/dist/scripts/parallel-production-smoke-check.js +0 -20
- package/dist/scripts/perf-budget-check.js +0 -12
- package/dist/scripts/project-skill-dedupe-blackbox.js +0 -62
- package/dist/scripts/release-dag-full-coverage-check.js +0 -98
- package/dist/scripts/release-dist-freshness-check.js +0 -6
- package/dist/scripts/release-file-ownership-check.js +0 -35
- package/dist/scripts/release-gate-script-parity-check.js +0 -148
- package/dist/scripts/release-macos-menubar-proof.js +0 -167
- package/dist/scripts/release-main-push-guard.js +0 -37
- package/dist/scripts/release-main-push-receipt.js +0 -43
- package/dist/scripts/release-metadata-1-19-check.js +0 -257
- package/dist/scripts/release-version-truth-check.js +0 -138
- package/dist/scripts/retention-apply-smoke-check.js +0 -19
- package/dist/scripts/retention-budget-check.js +0 -6
- package/dist/scripts/retention-dry-run-check.js +0 -8
- package/dist/scripts/rollback-recovery-smoke-check.js +0 -70
- package/dist/scripts/route-intent-regression-check.js +0 -42
- package/dist/scripts/runtime-current-terminal-check.js +0 -108
- package/dist/scripts/runtime-dist-parity-check.js +0 -76
- package/dist/scripts/runtime-no-src-mjs-check.js +0 -30
- package/dist/scripts/runtime-ts-rust-boundary-check.js +0 -58
- package/dist/scripts/runtime-ts-source-of-truth-check.js +0 -53
- package/dist/scripts/secret-preservation-guard-check.js +0 -36
- package/dist/scripts/seo-marketing-truthfulness-check.js +0 -98
- package/dist/scripts/seo-metadata-sync-check.js +0 -60
- package/dist/scripts/sizecheck.js +0 -148
- package/dist/scripts/sks-menubar-install-check.js +0 -333
- package/dist/scripts/supabase-secret-preservation-blackbox.js +0 -28
- package/dist/scripts/super-search-live-smoke-check.js +0 -115
- package/dist/scripts/super-search-local-http-smoke-check.js +0 -16
- package/dist/scripts/super-search-offline-contract-check.js +0 -43
- package/dist/scripts/update-fastpath-check.js +0 -28
- package/dist/scripts/update-preserves-supabase-keys-blackbox.js +0 -26
- package/dist/scripts/upgrade-migration-matrix-check.js +0 -351
- package/dist/scripts/write-build-manifest.js +0 -70
- package/dist/scripts/zellij-capability-check.js +0 -13
- package/dist/scripts/zellij-developer-controls-check.js +0 -16
- package/dist/scripts/zellij-doctor-readiness-check.js +0 -49
- package/dist/scripts/zellij-dynamic-pane-lifecycle-check.js +0 -19
- package/dist/scripts/zellij-fake-adapter-check.js +0 -31
- package/dist/scripts/zellij-first-slot-down-stack-check.js +0 -20
- package/dist/scripts/zellij-first-slot-down-stack-real-check.js +0 -348
- package/dist/scripts/zellij-homebrew-policy-check.js +0 -3
- package/dist/scripts/zellij-initial-main-only-blackbox.js +0 -21
- package/dist/scripts/zellij-lane-renderer-check.js +0 -78
- package/dist/scripts/zellij-launch-command-truth-check.js +0 -62
- package/dist/scripts/zellij-layout-valid-check.js +0 -120
- package/dist/scripts/zellij-pane-creation-lock-metrics-check.js +0 -10
- package/dist/scripts/zellij-pane-lock-concurrency-blackbox.js +0 -78
- package/dist/scripts/zellij-pane-lock-does-not-block-worker-check.js +0 -12
- package/dist/scripts/zellij-pane-lock-open-worker-integration-blackbox.js +0 -134
- package/dist/scripts/zellij-qa-app-handoff-status-check.js +0 -7
- package/dist/scripts/zellij-right-column-geometry-proof.js +0 -158
- package/dist/scripts/zellij-right-column-headless-overflow-check.js +0 -20
- package/dist/scripts/zellij-right-column-manager-check.js +0 -24
- package/dist/scripts/zellij-self-heal-check.js +0 -3
- package/dist/scripts/zellij-self-heal-dry-run-check.js +0 -3
- package/dist/scripts/zellij-self-heal-status-contract-check.js +0 -3
- package/dist/scripts/zellij-self-heal-typed-blackbox.js +0 -3
- package/dist/scripts/zellij-slot-column-anchor-check.js +0 -65
- package/dist/scripts/zellij-slot-column-anchor-telemetry-check.js +0 -8
- package/dist/scripts/zellij-slot-only-ui-check.js +0 -29
- package/dist/scripts/zellij-slot-pane-renderer-check.js +0 -149
- package/dist/scripts/zellij-slot-pane-stale-detection-check.js +0 -65
- package/dist/scripts/zellij-slot-pane-telemetry-renderer-check.js +0 -11
- package/dist/scripts/zellij-slot-renderer-proof-semantics-check.js +0 -58
- package/dist/scripts/zellij-slot-telemetry-check.js +0 -38
- package/dist/scripts/zellij-slot-telemetry-incremental-check.js +0 -46
- package/dist/scripts/zellij-slot-telemetry-live-flush-check.js +0 -55
- package/dist/scripts/zellij-slot-telemetry-performance-check.js +0 -32
- package/dist/scripts/zellij-slot-telemetry-real-blackbox.js +0 -19
- package/dist/scripts/zellij-slot-telemetry-renderer-check.js +0 -11
- package/dist/scripts/zellij-slot-telemetry-runtime-check.js +0 -23
- package/dist/scripts/zellij-spawn-on-demand-layout-check.js +0 -45
- package/dist/scripts/zellij-stacked-capability-routing-check.js +0 -9
- package/dist/scripts/zellij-stacked-fallback-integration-blackbox.js +0 -78
- package/dist/scripts/zellij-stacked-version-matrix-check.js +0 -29
- package/dist/scripts/zellij-stacked-version-parser-check.js +0 -19
- package/dist/scripts/zellij-ui-design-check.js +0 -92
- package/dist/scripts/zellij-update-missing-self-heal-check.js +0 -3
- package/dist/scripts/zellij-update-prompt-matrix-check.js +0 -16
- package/dist/scripts/zellij-update-prompt-mode-check.js +0 -18
- package/dist/scripts/zellij-update-prompt-safety-check.js +0 -8
- package/dist/scripts/zellij-worker-pane-manager-check.js +0 -108
- package/dist/scripts/zellij-worker-pane-manager-single-owner-check.js +0 -47
- package/dist/scripts/zellij-worker-pane-real-ui-blackbox.js +0 -199
- /package/dist/scripts/{sks-1-11-gate-lib.js → sks-cli-gate-lib.js} +0 -0
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import fs from 'node:fs/promises';
|
|
3
|
-
import path from 'node:path';
|
|
4
|
-
import { packageRoot } from '../core/fsx.js';
|
|
5
|
-
import { buildZellijLayoutKdl, validateZellijLayoutKdl, writeZellijLayout } from '../core/zellij/zellij-layout-builder.js';
|
|
6
|
-
const root = packageRoot();
|
|
7
|
-
const tmpRoot = path.join(root, '.sneakoscope', 'tmp', 'spawn-on-demand-layout-check');
|
|
8
|
-
process.env.SKS_ZELLIJ_VIEWPORTS = '3';
|
|
9
|
-
const built = buildZellijLayoutKdl({ missionId: 'M-spawn-on-demand-layout', ledgerRoot: tmpRoot, cwd: root, kind: 'naruto', slotCount: 24 });
|
|
10
|
-
const validation = validateZellijLayoutKdl(built.layout_kdl);
|
|
11
|
-
const writeBuilt = await writeZellijLayout(root, { missionId: 'M-spawn-on-demand-layout-write', ledgerRoot: tmpRoot, cwd: root, kind: 'naruto', slotCount: 5 });
|
|
12
|
-
const manifest = JSON.parse(await fs.readFile(path.join(tmpRoot, 'zellij-lane-runtime.json'), 'utf8'));
|
|
13
|
-
const workerPaneMatches = built.layout_kdl.match(/pane name="slot-/g) || [];
|
|
14
|
-
const viewportPaneMatches = built.layout_kdl.match(/pane name="sks-viewport-/g) || [];
|
|
15
|
-
const laneCommandMatches = built.layout_kdl.match(/\bzellij-lane\b/g) || [];
|
|
16
|
-
const ok = validation.ok
|
|
17
|
-
&& built.initial_worker_panes === 0
|
|
18
|
-
&& built.viewport_count === 3
|
|
19
|
-
&& built.ui_architecture === 'monitor_plus_viewports'
|
|
20
|
-
&& built.lane_runtime_policies.length === 0
|
|
21
|
-
&& workerPaneMatches.length === 0
|
|
22
|
-
&& viewportPaneMatches.length === 3
|
|
23
|
-
&& laneCommandMatches.length === 0
|
|
24
|
-
&& manifest.lanes.length === 0
|
|
25
|
-
&& writeBuilt.initial_worker_panes === 0;
|
|
26
|
-
emit({
|
|
27
|
-
schema: 'sks.zellij-spawn-on-demand-layout-check.v1',
|
|
28
|
-
ok,
|
|
29
|
-
initial_worker_panes: built.initial_worker_panes,
|
|
30
|
-
viewport_count: built.viewport_count,
|
|
31
|
-
lane_runtime_policy_count: built.lane_runtime_policies.length,
|
|
32
|
-
worker_pane_matches: workerPaneMatches.length,
|
|
33
|
-
viewport_pane_matches: viewportPaneMatches.length,
|
|
34
|
-
lane_command_matches: laneCommandMatches.length,
|
|
35
|
-
monitor_pane_enabled: built.monitor_pane_enabled,
|
|
36
|
-
validation,
|
|
37
|
-
manifest_lane_count: manifest.lanes.length,
|
|
38
|
-
layout_path: writeBuilt.layout_path,
|
|
39
|
-
blockers: ok ? [] : ['zellij_dynamic_viewport_layout_contract_failed']
|
|
40
|
-
});
|
|
41
|
-
function emit(report) {
|
|
42
|
-
console.log(JSON.stringify(report, null, 2));
|
|
43
|
-
if (!report.ok)
|
|
44
|
-
process.exitCode = 1;
|
|
45
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { assertGate, emitGate, readText } from './sks-1-18-gate-lib.js';
|
|
3
|
-
const src = readText('src/core/zellij/zellij-worker-pane-manager.ts');
|
|
4
|
-
assertGate(src.includes('checkZellijStackedPaneCapability'), 'worker pane manager must read stacked capability before --stacked');
|
|
5
|
-
assertGate(src.includes("'--stacked'"), 'worker pane manager must still support native --stacked when capability allows');
|
|
6
|
-
assertGate(src.includes('worker_stacked_requested') && src.includes('worker_stacked_applied'), 'worker pane record must capture requested/applied stacked fields');
|
|
7
|
-
assertGate(src.includes('worker_stacked_fallback_mode'), 'worker pane record must capture fallback mode');
|
|
8
|
-
assertGate(src.includes('zellij_stacked_pane_rejected_fallback_down'), 'worker pane manager must record rejected --stacked fallback');
|
|
9
|
-
emitGate('zellij:stacked-capability-routing');
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import fs from 'node:fs/promises';
|
|
3
|
-
import os from 'node:os';
|
|
4
|
-
import path from 'node:path';
|
|
5
|
-
import { assertGate, emitGate, importDist } from './sks-1-18-gate-lib.js';
|
|
6
|
-
const tmp = await fs.mkdtemp(path.join(os.tmpdir(), 'sks-zellij-fallback-'));
|
|
7
|
-
const missionId = 'M-zellij-stacked-fallback';
|
|
8
|
-
const sessionName = 'sks-stacked-fallback-fixture';
|
|
9
|
-
process.env.SKS_ZELLIJ_FAKE_ADAPTER = '1';
|
|
10
|
-
process.env.SKS_ZELLIJ_FAKE_ROOT = tmp;
|
|
11
|
-
process.env.SKS_ZELLIJ_FAKE_DELAY_MS = '10';
|
|
12
|
-
process.env.SKS_ZELLIJ_FAKE_VERSION = '0.42.2';
|
|
13
|
-
process.env.SKS_ZELLIJ_WORKER_STACKED = '1';
|
|
14
|
-
const { openWorkerPane } = await importDist('core/zellij/zellij-worker-pane-manager.js');
|
|
15
|
-
const records = [];
|
|
16
|
-
for (let slot = 1; slot <= 3; slot += 1)
|
|
17
|
-
records.push(await openWorkerPane(workerInput(slot)));
|
|
18
|
-
const calls = await readJsonl(path.join(tmp, '.sneakoscope', 'fake-zellij-calls.jsonl'));
|
|
19
|
-
const stackedCalls = calls.filter((row) => row.args.includes('--stacked'));
|
|
20
|
-
assertGate(records.every((row) => row.ok === true), 'fallback integration workers must still run', records);
|
|
21
|
-
assertGate(stackedCalls.length === 0, 'Zellij <0.43 fallback path must not call --stacked', stackedCalls);
|
|
22
|
-
assertGate(records.slice(1).every((row) => row.worker_stacked_requested === true), 'second+ workers must record stacked intent', records);
|
|
23
|
-
assertGate(records.slice(1).every((row) => row.worker_stacked_applied === false), 'fallback workers must record stacked_applied=false', records);
|
|
24
|
-
assertGate(records.slice(1).every((row) => row.worker_stacked_fallback_mode === 'down-split-stack-emulation'), 'fallback mode must be down-split-stack-emulation', records);
|
|
25
|
-
emitGate('zellij:stacked-fallback-integration', { workers: records.length, stacked_calls: stackedCalls.length });
|
|
26
|
-
function workerInput(slot) {
|
|
27
|
-
const slotId = `slot-${String(slot).padStart(3, '0')}`;
|
|
28
|
-
const workerDir = path.join('sessions', slotId, 'gen-1', 'worker');
|
|
29
|
-
return {
|
|
30
|
-
root: tmp,
|
|
31
|
-
cwd: tmp,
|
|
32
|
-
projectRoot: tmp,
|
|
33
|
-
missionId,
|
|
34
|
-
sessionName,
|
|
35
|
-
slotId,
|
|
36
|
-
generationIndex: 1,
|
|
37
|
-
sessionId: `${slotId}-gen-1`,
|
|
38
|
-
workerArtifactDir: workerDir,
|
|
39
|
-
resultPath: path.join(workerDir, 'worker-result.json'),
|
|
40
|
-
heartbeatPath: path.join(workerDir, 'worker-heartbeat.jsonl'),
|
|
41
|
-
patchEnvelopePath: path.join(workerDir, 'worker-patch-envelope.json'),
|
|
42
|
-
stdoutLog: path.join(workerDir, 'worker.stdout.log'),
|
|
43
|
-
stderrLog: path.join(workerDir, 'worker.stderr.log'),
|
|
44
|
-
workerCommand: 'node -e "setTimeout(()=>{}, 100)"',
|
|
45
|
-
providerContext: providerContext(),
|
|
46
|
-
serviceTier: 'fast',
|
|
47
|
-
backend: 'codex-sdk',
|
|
48
|
-
statusLabel: 'running',
|
|
49
|
-
rightColumnMode: 'spawn-on-first-worker',
|
|
50
|
-
visiblePaneCap: 3,
|
|
51
|
-
uiMode: 'compact-slots'
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
function providerContext() {
|
|
55
|
-
return {
|
|
56
|
-
schema: 'sks.provider-context.v1',
|
|
57
|
-
generated_at: new Date().toISOString(),
|
|
58
|
-
provider: 'codex-lb',
|
|
59
|
-
auth_mode: 'codex_lb_key',
|
|
60
|
-
route: '$Naruto',
|
|
61
|
-
service_tier: 'fast',
|
|
62
|
-
source: 'fixture',
|
|
63
|
-
confidence: 'high',
|
|
64
|
-
conflict: false,
|
|
65
|
-
warnings: [],
|
|
66
|
-
signals: {
|
|
67
|
-
openai_api_key_present: false,
|
|
68
|
-
codex_lb_key_present: true,
|
|
69
|
-
codex_lb_explicit: true,
|
|
70
|
-
codex_app_auth_present: false,
|
|
71
|
-
model_provider: 'codex-lb'
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
async function readJsonl(file) {
|
|
76
|
-
const text = await fs.readFile(file, 'utf8');
|
|
77
|
-
return text.trim().split(/\n+/).filter(Boolean).map((line) => JSON.parse(line));
|
|
78
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { resolveZellijStackedPaneCapability, ZELLIJ_MIN_VERSION, ZELLIJ_STACKED_PANE_MIN_VERSION } from '../core/zellij/zellij-capability.js';
|
|
3
|
-
import { assertGate, emitGate } from './sks-1-18-gate-lib.js';
|
|
4
|
-
const fixtures = [
|
|
5
|
-
['zellij 0.43.0', true],
|
|
6
|
-
['zellij 0.43.1', true],
|
|
7
|
-
['zellij 0.44.0', true],
|
|
8
|
-
['v0.43.0', true],
|
|
9
|
-
['zellij 0.42.2', false],
|
|
10
|
-
['zellij 0.41.0', false],
|
|
11
|
-
['unknown', false]
|
|
12
|
-
];
|
|
13
|
-
assertGate(ZELLIJ_MIN_VERSION === ZELLIJ_STACKED_PANE_MIN_VERSION, 'doctor minimum zellij version must match stacked-pane support minimum', {
|
|
14
|
-
ZELLIJ_MIN_VERSION,
|
|
15
|
-
ZELLIJ_STACKED_PANE_MIN_VERSION
|
|
16
|
-
});
|
|
17
|
-
for (const [versionText, expected] of fixtures) {
|
|
18
|
-
const report = resolveZellijStackedPaneCapability({ ok: true, versionText });
|
|
19
|
-
assertGate(report.supports_stacked_panes === expected, `stacked matrix mismatch: ${versionText}`, report);
|
|
20
|
-
if (expected) {
|
|
21
|
-
assertGate(report.fallback_mode === 'native-stacked', 'supported zellij must use native stacked fallback mode', report);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
assertGate(report.fallback_mode !== 'native-stacked', 'unsupported zellij must not use native stacked fallback mode', report);
|
|
25
|
-
if (report.parsed_version)
|
|
26
|
-
assertGate(report.requires_update === true, 'unsupported parsed zellij must require update', report);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
emitGate('zellij:stacked-version-matrix', { fixtures: fixtures.length });
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { parseZellijVersionText } from '../core/zellij/zellij-command.js';
|
|
3
|
-
import { zellijSupportsStackedPanes } from '../core/zellij/zellij-capability.js';
|
|
4
|
-
import { assertGate, emitGate } from './sks-1-18-gate-lib.js';
|
|
5
|
-
const fixtures = [
|
|
6
|
-
['zellij 0.43.1', '0.43.1', true],
|
|
7
|
-
['zellij 0.44.0', '0.44.0', true],
|
|
8
|
-
['0.43.0', '0.43.0', true],
|
|
9
|
-
['v0.43.0', '0.43.0', true],
|
|
10
|
-
['zellij v0.43.0', '0.43.0', true],
|
|
11
|
-
['zellij 0.43.0-dev', '0.43.0', true],
|
|
12
|
-
['zellij 0.42.2', '0.42.2', false],
|
|
13
|
-
['unknown', null, false]
|
|
14
|
-
];
|
|
15
|
-
for (const [input, parsed, supported] of fixtures) {
|
|
16
|
-
assertGate(parseZellijVersionText(input) === parsed, `version parse mismatch: ${input}`, { input, parsed: parseZellijVersionText(input) });
|
|
17
|
-
assertGate(zellijSupportsStackedPanes(input) === supported, `stacked support mismatch: ${input}`, { input, supported });
|
|
18
|
-
}
|
|
19
|
-
emitGate('zellij:stacked-version-parser', { fixtures: fixtures.length });
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import fs from 'node:fs/promises';
|
|
3
|
-
import path from 'node:path';
|
|
4
|
-
import { root, assertGate, emitGate, importDist, readText } from './sks-1-18-gate-lib.js';
|
|
5
|
-
const ESC = '';
|
|
6
|
-
const ANSI_RE = /\[[0-9;]*m/g;
|
|
7
|
-
const mod = await importDist('core/zellij/zellij-lane-renderer.js');
|
|
8
|
-
const { composeLaneFrame, ZELLIJ_LANE_FOOTER_KEYS, ZELLIJ_LANE_MAX_BLOCKERS, ZELLIJ_LANE_SECTIONS } = mod;
|
|
9
|
-
assertGate(typeof composeLaneFrame === 'function', 'composeLaneFrame export missing', {});
|
|
10
|
-
assertGate(Array.isArray(ZELLIJ_LANE_FOOTER_KEYS), 'ZELLIJ_LANE_FOOTER_KEYS export missing', {});
|
|
11
|
-
assertGate(ZELLIJ_LANE_MAX_BLOCKERS === 3, 'ZELLIJ_LANE_MAX_BLOCKERS should be 3', { actual: ZELLIJ_LANE_MAX_BLOCKERS });
|
|
12
|
-
const longPath = `src/core/${'deep/'.repeat(40)}final-file.ts`;
|
|
13
|
-
const view = {
|
|
14
|
-
missionId: 'M-ui',
|
|
15
|
-
slot: 'slot-001',
|
|
16
|
-
updatedAt: '2026-05-30T00:00:00.000Z',
|
|
17
|
-
mode: 'Naruto',
|
|
18
|
-
fast: 'on · service_tier=fast',
|
|
19
|
-
workers: 'active 5/20 · workers 003/100 · pending 12',
|
|
20
|
-
codexChild: 'active 5',
|
|
21
|
-
currentFile: longPath,
|
|
22
|
-
queue: 'pending 12 · applying 2 · verified 8 · blocked 0',
|
|
23
|
-
patch: 'apply ok · verify ok · model-authored 3',
|
|
24
|
-
lease: 'ok',
|
|
25
|
-
protectedPaths: 'ok',
|
|
26
|
-
rollback: 'ready',
|
|
27
|
-
blockers: ['blocker_one', 'blocker_two', 'blocker_three', 'blocker_four', 'blocker_five', 'blocker_six'],
|
|
28
|
-
reports: '.sneakoscope/reports/agent-proof-evidence.json',
|
|
29
|
-
laneNote: 'fixture'
|
|
30
|
-
};
|
|
31
|
-
const REQUIRED_SECTIONS = ZELLIJ_LANE_SECTIONS;
|
|
32
|
-
for (const width of [80, 100, 120]) {
|
|
33
|
-
const frame = composeLaneFrame(view, { width, color: false });
|
|
34
|
-
const lines = frame.split('\n');
|
|
35
|
-
for (const line of lines) {
|
|
36
|
-
assertGate(line.length <= width, `line_overflow_at_${width}`, { width, line, length: line.length });
|
|
37
|
-
}
|
|
38
|
-
for (const token of REQUIRED_SECTIONS) {
|
|
39
|
-
assertGate(frame.includes(token), `missing section "${token}" at width ${width}`, { width, token });
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
const frame100 = composeLaneFrame(view, { width: 100, color: false });
|
|
43
|
-
for (const shown of ['blocker_one', 'blocker_two', 'blocker_three']) {
|
|
44
|
-
assertGate(frame100.includes(shown), `blocker "${shown}" should be shown`, {});
|
|
45
|
-
}
|
|
46
|
-
assertGate(frame100.includes('+3 more'), 'should summarize "+3 more" overflow blockers', {});
|
|
47
|
-
assertGate(frame100.includes(view.reports), 'overflow summary should point at the report path', {});
|
|
48
|
-
for (const hidden of ['blocker_four', 'blocker_five', 'blocker_six']) {
|
|
49
|
-
assertGate(!frame100.includes(hidden), `blocker "${hidden}" should be capped/hidden`, {});
|
|
50
|
-
}
|
|
51
|
-
const frame80 = composeLaneFrame(view, { width: 80, color: false });
|
|
52
|
-
assertGate(frame80.includes('…'), 'long path should be middle-ellipsized', {});
|
|
53
|
-
assertGate(!frame80.includes(longPath), 'full long path should not appear (truncated)', {});
|
|
54
|
-
process.env.NO_COLOR = '1';
|
|
55
|
-
const frameA = composeLaneFrame(view, { width: 100 });
|
|
56
|
-
assertGate(!frameA.includes(ESC), 'NO_COLOR=1 must suppress ANSI escape bytes', {});
|
|
57
|
-
const frameB = composeLaneFrame(view, { width: 100, color: false });
|
|
58
|
-
assertGate(!frameB.includes(ESC), 'color:false must suppress ANSI escape bytes', {});
|
|
59
|
-
delete process.env.NO_COLOR;
|
|
60
|
-
const frameC = composeLaneFrame(view, { width: 100, color: true });
|
|
61
|
-
const stripped = frameC.replace(ANSI_RE, '');
|
|
62
|
-
for (const token of REQUIRED_SECTIONS) {
|
|
63
|
-
assertGate(stripped.includes(token), `section "${token}" must survive ANSI strip`, { token });
|
|
64
|
-
}
|
|
65
|
-
const registry = readText('src/cli/command-registry.ts');
|
|
66
|
-
const footerCommands = [];
|
|
67
|
-
for (const key of ZELLIJ_LANE_FOOTER_KEYS) {
|
|
68
|
-
if (!key.startsWith('sks '))
|
|
69
|
-
continue;
|
|
70
|
-
const cmd = key.split(/\s+/)[1];
|
|
71
|
-
if (cmd)
|
|
72
|
-
footerCommands.push(cmd);
|
|
73
|
-
}
|
|
74
|
-
for (const cmd of footerCommands) {
|
|
75
|
-
const registered = registry.includes(`\n ${cmd}:`) ||
|
|
76
|
-
registry.includes(`'${cmd}':`) ||
|
|
77
|
-
registry.includes(`"${cmd}":`);
|
|
78
|
-
assertGate(registered, `footer command "${cmd}" is not a registered CLI command`, { cmd });
|
|
79
|
-
}
|
|
80
|
-
for (const required of ['doctor', 'zellij', 'naruto']) {
|
|
81
|
-
assertGate(footerCommands.includes(required), `expected footer command "${required}" not found`, { footerCommands });
|
|
82
|
-
}
|
|
83
|
-
const report = {
|
|
84
|
-
schema: 'sks.zellij-ui-design.v1',
|
|
85
|
-
ok: true,
|
|
86
|
-
widths: [80, 100, 120],
|
|
87
|
-
sections: REQUIRED_SECTIONS.length,
|
|
88
|
-
footer_commands: footerCommands
|
|
89
|
-
};
|
|
90
|
-
await fs.mkdir(path.join(root, '.sneakoscope', 'reports'), { recursive: true });
|
|
91
|
-
await fs.writeFile(path.join(root, '.sneakoscope', 'reports', 'zellij-ui-design.json'), `${JSON.stringify(report, null, 2)}\n`);
|
|
92
|
-
emitGate('zellij:ui-design', { widths: [80, 100, 120], sections: REQUIRED_SECTIONS.length });
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { resolveZellijUpdatePromptMode } from '../core/zellij/zellij-update.js';
|
|
3
|
-
import { assertGate, emitGate } from './sks-1-18-gate-lib.js';
|
|
4
|
-
const matrix = [
|
|
5
|
-
['interactive tty + update available', { env: {}, headless: false }, 'interactive-prompt'],
|
|
6
|
-
['CI=1', { env: { CI: '1' }, headless: false }, 'nonblocking-notice'],
|
|
7
|
-
['SKS_NO_QUESTION=1', { env: { SKS_NO_QUESTION: '1' }, headless: false }, 'nonblocking-notice'],
|
|
8
|
-
['--skip-zellij-update', { env: {}, skipFlag: true, headless: false }, 'skip'],
|
|
9
|
-
['SKS_SKIP_ZELLIJ_UPDATE=1', { env: { SKS_SKIP_ZELLIJ_UPDATE: '1' }, headless: false }, 'skip'],
|
|
10
|
-
['no zellij installed/headless fallback', { env: {}, headless: true }, 'nonblocking-notice']
|
|
11
|
-
];
|
|
12
|
-
for (const [name, input, expected] of matrix) {
|
|
13
|
-
const actual = resolveZellijUpdatePromptMode(input);
|
|
14
|
-
assertGate(actual === expected, `zellij prompt matrix mismatch: ${name}`, { name, input, expected, actual });
|
|
15
|
-
}
|
|
16
|
-
emitGate('zellij:update-prompt-matrix', { matrix: matrix.length });
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { resolveZellijUpdatePromptMode } from '../core/zellij/zellij-update.js';
|
|
3
|
-
import { assertGate, emitGate } from './sks-1-18-gate-lib.js';
|
|
4
|
-
const fixtures = [
|
|
5
|
-
[{ env: {}, headless: false }, 'interactive-prompt'],
|
|
6
|
-
[{ env: { CI: '1' }, headless: false }, 'nonblocking-notice'],
|
|
7
|
-
[{ env: { CI: 'true' }, headless: false }, 'nonblocking-notice'],
|
|
8
|
-
[{ env: { SKS_NO_QUESTION: '1' }, headless: false }, 'nonblocking-notice'],
|
|
9
|
-
[{ env: {}, noQuestion: true, headless: false }, 'nonblocking-notice'],
|
|
10
|
-
[{ env: {}, headless: true }, 'nonblocking-notice'],
|
|
11
|
-
[{ env: { SKS_SKIP_ZELLIJ_UPDATE: '1' }, headless: false }, 'skip'],
|
|
12
|
-
[{ env: {}, skipFlag: true, headless: false }, 'skip']
|
|
13
|
-
];
|
|
14
|
-
for (const [input, expected] of fixtures) {
|
|
15
|
-
const actual = resolveZellijUpdatePromptMode(input);
|
|
16
|
-
assertGate(actual === expected, 'zellij update prompt mode mismatch', { input, expected, actual });
|
|
17
|
-
}
|
|
18
|
-
emitGate('zellij:update-prompt-mode', { fixtures: fixtures.length });
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { assertGate, emitGate, readText } from './sks-1-18-gate-lib.js';
|
|
3
|
-
const src = readText('src/core/zellij/zellij-update.ts');
|
|
4
|
-
assertGate(src.includes('resolveZellijUpdatePromptMode'), 'zellij update launch path must use prompt mode resolver');
|
|
5
|
-
assertGate(src.includes("mode === 'skip'") && src.indexOf("mode === 'skip'") < src.indexOf('const notice = await checkZellijUpdateNotice'), 'skip mode must avoid update notice network/cache call');
|
|
6
|
-
assertGate(src.includes("mode === 'nonblocking-notice'") && src.includes('Run: ${notice.upgrade_command}'), 'nonblocking mode must print notice and continue');
|
|
7
|
-
assertGate(src.includes('process.stdin.isTTY') && src.includes('process.stdout.isTTY'), 'interactive prompt must be tty gated');
|
|
8
|
-
emitGate('zellij:update-prompt-safety');
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import fs from 'node:fs/promises';
|
|
3
|
-
import path from 'node:path';
|
|
4
|
-
import { packageRoot } from '../core/fsx.js';
|
|
5
|
-
import { buildWorkerPaneArtifact, evaluateZellijWorkerPaneSpawnOrder, isRealZellijWorkerPaneIdSource } from '../core/zellij/zellij-worker-pane-manager.js';
|
|
6
|
-
const root = packageRoot();
|
|
7
|
-
const source = await fs.readFile(path.join(root, 'src', 'core', 'zellij', 'zellij-worker-pane-manager.ts'), 'utf8');
|
|
8
|
-
const artifact = buildWorkerPaneArtifact({
|
|
9
|
-
root,
|
|
10
|
-
missionId: 'M-worker-pane-manager',
|
|
11
|
-
sessionName: 'sks-M-worker-pane-manager',
|
|
12
|
-
slotId: 'slot-001',
|
|
13
|
-
generationIndex: 7,
|
|
14
|
-
sessionId: 'slot-001-gen-7',
|
|
15
|
-
workerArtifactDir: 'sessions/slot-001/gen-7/worker',
|
|
16
|
-
resultPath: 'sessions/slot-001/gen-7/worker/worker-result.json',
|
|
17
|
-
heartbeatPath: 'sessions/slot-001/gen-7/worker/worker-heartbeat.jsonl',
|
|
18
|
-
patchEnvelopePath: 'sessions/slot-001/gen-7/worker/worker-patch-envelope.json',
|
|
19
|
-
stdoutLog: 'sessions/slot-001/gen-7/worker/worker.stdout.log',
|
|
20
|
-
stderrLog: 'sessions/slot-001/gen-7/worker/worker.stderr.log',
|
|
21
|
-
paneId: '42',
|
|
22
|
-
paneIdSource: 'zellij_worker_new_pane_stdout',
|
|
23
|
-
providerContext: {
|
|
24
|
-
schema: 'sks.provider-context.v1',
|
|
25
|
-
generated_at: new Date().toISOString(),
|
|
26
|
-
provider: 'codex-lb',
|
|
27
|
-
auth_mode: 'codex_lb_key',
|
|
28
|
-
route: '$Naruto',
|
|
29
|
-
service_tier: 'fast',
|
|
30
|
-
source: 'codex_lb',
|
|
31
|
-
confidence: 'high',
|
|
32
|
-
conflict: false,
|
|
33
|
-
warnings: [],
|
|
34
|
-
signals: {
|
|
35
|
-
openai_api_key_present: false,
|
|
36
|
-
codex_lb_key_present: true,
|
|
37
|
-
codex_lb_explicit: true,
|
|
38
|
-
codex_app_auth_present: false,
|
|
39
|
-
model_provider: 'codex-lb'
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
serviceTier: 'fast',
|
|
43
|
-
sdkThreadId: 'sdk-thread-7',
|
|
44
|
-
sdkRunId: 'sdk-run-7',
|
|
45
|
-
streamEventCount: 4,
|
|
46
|
-
structuredOutputValid: true,
|
|
47
|
-
status: 'running',
|
|
48
|
-
workerCommand: 'node dist/core/agents/native-cli-worker-entry.js --intake worker-intake.json --json',
|
|
49
|
-
blockers: []
|
|
50
|
-
});
|
|
51
|
-
const slotRendererArtifact = buildWorkerPaneArtifact({
|
|
52
|
-
root,
|
|
53
|
-
missionId: 'M-worker-pane-manager',
|
|
54
|
-
sessionName: 'sks-M-worker-pane-manager',
|
|
55
|
-
slotId: 'slot-002',
|
|
56
|
-
generationIndex: 1,
|
|
57
|
-
sessionId: 'slot-002-gen-1',
|
|
58
|
-
workerArtifactDir: 'sessions/slot-002/gen-1/worker',
|
|
59
|
-
resultPath: 'sessions/slot-002/gen-1/worker/worker-result.json',
|
|
60
|
-
heartbeatPath: 'sessions/slot-002/gen-1/worker/worker-heartbeat.jsonl',
|
|
61
|
-
patchEnvelopePath: 'sessions/slot-002/gen-1/worker/worker-patch-envelope.json',
|
|
62
|
-
stdoutLog: 'sessions/slot-002/gen-1/worker/worker.stdout.log',
|
|
63
|
-
stderrLog: 'sessions/slot-002/gen-1/worker/worker.stderr.log',
|
|
64
|
-
paneId: '43',
|
|
65
|
-
paneIdSource: 'zellij_worker_new_pane_stdout',
|
|
66
|
-
status: 'running',
|
|
67
|
-
workerCommand: 'node dist/bin/sks.js zellij-slot-pane --watch',
|
|
68
|
-
blockers: []
|
|
69
|
-
});
|
|
70
|
-
const spawnOrder = evaluateZellijWorkerPaneSpawnOrder([
|
|
71
|
-
{ event_type: 'session_launch_started' },
|
|
72
|
-
{ event_type: 'zellij_worker_pane_created' },
|
|
73
|
-
{ event_type: 'worker_started' },
|
|
74
|
-
{ event_type: 'codex_sdk_thread_started' },
|
|
75
|
-
{ event_type: 'result_written' },
|
|
76
|
-
{ event_type: 'pane_closed' }
|
|
77
|
-
]);
|
|
78
|
-
const syntheticRejected = !isRealZellijWorkerPaneIdSource('synthetic_layout_pending_proof')
|
|
79
|
-
&& !isRealZellijWorkerPaneIdSource('zellij_worker_pane_stdout_missing');
|
|
80
|
-
const sourceOk = source.includes("action', 'new-pane'")
|
|
81
|
-
&& source.includes("'--direction', directionRequested")
|
|
82
|
-
&& source.includes("'--near-current-pane'")
|
|
83
|
-
&& source.includes("'--name', paneName")
|
|
84
|
-
&& source.includes("'--', 'sh', '-lc'")
|
|
85
|
-
&& source.includes('zellij_worker_new_pane_stdout')
|
|
86
|
-
&& source.includes('zellij_worker_list_panes')
|
|
87
|
-
&& source.includes('provider_context');
|
|
88
|
-
const ok = artifact.ok
|
|
89
|
-
&& artifact.pane_name === 'slot-001/gen-7 · codex-sdk · fast · codex-lb · running'
|
|
90
|
-
&& artifact.pane_kind === 'worker_codex_sdk'
|
|
91
|
-
&& artifact.provider === 'codex-lb'
|
|
92
|
-
&& artifact.service_tier === 'fast'
|
|
93
|
-
&& artifact.direction_requested === 'down'
|
|
94
|
-
&& artifact.direction_applied === 'not_applied'
|
|
95
|
-
&& artifact.sdk_thread_id === 'sdk-thread-7'
|
|
96
|
-
&& artifact.stream_event_count === 4
|
|
97
|
-
&& artifact.scaling_primitive === 'native_cli_process_in_zellij_worker_pane'
|
|
98
|
-
&& slotRendererArtifact.pane_kind === 'slot_status_renderer'
|
|
99
|
-
&& slotRendererArtifact.scaling_primitive === 'native_cli_process_with_zellij_slot_renderer'
|
|
100
|
-
&& syntheticRejected
|
|
101
|
-
&& spawnOrder.ok
|
|
102
|
-
&& sourceOk;
|
|
103
|
-
emit({ schema: 'sks.zellij-worker-pane-manager-check.v1', ok, artifact, synthetic_rejected: syntheticRejected, spawn_order: spawnOrder, source_ok: sourceOk, blockers: ok ? [] : ['zellij_worker_pane_manager_contract_failed'] });
|
|
104
|
-
function emit(report) {
|
|
105
|
-
console.log(JSON.stringify(report, null, 2));
|
|
106
|
-
if (!report.ok)
|
|
107
|
-
process.exitCode = 1;
|
|
108
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import fs from 'node:fs/promises';
|
|
3
|
-
import path from 'node:path';
|
|
4
|
-
import { packageRoot } from '../core/fsx.js';
|
|
5
|
-
const root = packageRoot();
|
|
6
|
-
const managerPath = path.join(root, 'src', 'core', 'zellij', 'zellij-worker-pane-manager.ts');
|
|
7
|
-
const nativePath = path.join(root, 'src', 'core', 'agents', 'native-cli-worker-runtime.ts');
|
|
8
|
-
const manager = await fs.readFile(managerPath, 'utf8');
|
|
9
|
-
const native = await fs.readFile(nativePath, 'utf8');
|
|
10
|
-
const managerOwnsNewPane = /runZellij\(\[[\s\S]{0,800}'new-pane'/.test(manager)
|
|
11
|
-
|| (manager.includes("'new-pane'") && manager.includes('const newPaneArgs') && manager.includes('runZellij(newPaneArgs'));
|
|
12
|
-
const nativeDirectNewPane = /runZellij\(\[[\s\S]{0,500}'new-pane'/.test(native);
|
|
13
|
-
const nativeUsesManager = (native.includes('openWorkerPane({')
|
|
14
|
-
|| native.includes('openHeadlessByDesignViewportWorker(')) && native.includes('closeWorkerPane({');
|
|
15
|
-
const dynamicDirection = manager.includes("'--direction', directionRequested") && manager.includes("'--near-current-pane'");
|
|
16
|
-
const fallbackRecorded = manager.includes('worker_direction_applied')
|
|
17
|
-
&& manager.includes("directionApplied = rightColumn ? 'down' : 'unknown'")
|
|
18
|
-
&& manager.includes("directionApplied === 'down' ? 'down' : directionApplied === 'unknown' ? 'unknown' : 'not_applied'");
|
|
19
|
-
const slotAnchorOwned = manager.includes('buildZellijSlotColumnAnchorCommand')
|
|
20
|
-
&& manager.includes("recordSlotColumnAnchorInRightColumn")
|
|
21
|
-
&& manager.includes("'--direction', 'right', '--name', 'SLOTS'");
|
|
22
|
-
const ok = managerOwnsNewPane && !nativeDirectNewPane && nativeUsesManager && dynamicDirection && fallbackRecorded && slotAnchorOwned;
|
|
23
|
-
emit({
|
|
24
|
-
schema: 'sks.zellij-worker-pane-manager-single-owner-check.v1',
|
|
25
|
-
ok,
|
|
26
|
-
checks: {
|
|
27
|
-
manager_owns_new_pane: managerOwnsNewPane,
|
|
28
|
-
native_direct_new_pane_absent: !nativeDirectNewPane,
|
|
29
|
-
native_uses_manager: nativeUsesManager,
|
|
30
|
-
dynamic_direction_requested: dynamicDirection,
|
|
31
|
-
fallback_recorded: fallbackRecorded,
|
|
32
|
-
slot_anchor_owned: slotAnchorOwned
|
|
33
|
-
},
|
|
34
|
-
blockers: ok ? [] : [
|
|
35
|
-
...(!managerOwnsNewPane ? ['worker_pane_manager_new_pane_missing'] : []),
|
|
36
|
-
...(nativeDirectNewPane ? ['native_cli_worker_runtime_direct_new_pane'] : []),
|
|
37
|
-
...(!nativeUsesManager ? ['native_cli_worker_runtime_not_using_worker_pane_manager'] : []),
|
|
38
|
-
...(!dynamicDirection ? ['zellij_worker_dynamic_direction_missing'] : []),
|
|
39
|
-
...(!fallbackRecorded ? ['zellij_worker_direction_fallback_not_recorded'] : []),
|
|
40
|
-
...(!slotAnchorOwned ? ['zellij_worker_slot_column_anchor_not_owned'] : [])
|
|
41
|
-
]
|
|
42
|
-
});
|
|
43
|
-
function emit(report) {
|
|
44
|
-
console.log(JSON.stringify(report, null, 2));
|
|
45
|
-
if (!report.ok)
|
|
46
|
-
process.exitCode = 1;
|
|
47
|
-
}
|