sneakoscope 5.7.0 → 5.8.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.
Files changed (53) hide show
  1. package/README.md +1 -1
  2. package/crates/sks-core/Cargo.lock +1 -1
  3. package/crates/sks-core/Cargo.toml +1 -1
  4. package/crates/sks-core/src/main.rs +1 -1
  5. package/dist/bin/sks.js +1 -1
  6. package/dist/cli/command-registry.js +1 -2
  7. package/dist/cli/{insane-search-command.js → super-search-command.js} +96 -55
  8. package/dist/cli/xai-command.js +7 -7
  9. package/dist/config/skills-manifest.json +63 -70
  10. package/dist/core/agents/agent-codex-cockpit.js +3 -3
  11. package/dist/core/agents/agent-orchestrator.js +20 -2
  12. package/dist/core/agents/agent-wrongness.js +1 -1
  13. package/dist/core/agents/native-cli-session-swarm.js +14 -1
  14. package/dist/core/agents/parallel-runtime-proof.js +82 -8
  15. package/dist/core/commands/gc-command.js +12 -6
  16. package/dist/core/commands/run-command.js +20 -18
  17. package/dist/core/feature-fixtures.js +15 -8
  18. package/dist/core/fsx.js +1 -1
  19. package/dist/core/init/skills.js +1 -2
  20. package/dist/core/mission.js +41 -15
  21. package/dist/core/release-parallel-full-coverage.js +1 -1
  22. package/dist/core/retention.js +1 -1
  23. package/dist/core/routes/constants.js +2 -2
  24. package/dist/core/routes.js +150 -52
  25. package/dist/core/source-intelligence/source-intelligence-policy.js +5 -5
  26. package/dist/core/source-intelligence/source-intelligence-proof.js +8 -8
  27. package/dist/core/source-intelligence/source-intelligence-runner.js +16 -16
  28. package/dist/core/strategy/strategy-gate.js +2 -1
  29. package/dist/core/super-search/runtime-helpers.js +289 -0
  30. package/dist/core/super-search/runtime.js +259 -0
  31. package/dist/core/super-search/source-records.js +96 -0
  32. package/dist/core/super-search/types.js +3 -0
  33. package/dist/core/trust-kernel/trust-report.js +3 -3
  34. package/dist/core/verification/real-evidence-policy.js +55 -0
  35. package/dist/core/version.js +1 -1
  36. package/dist/scripts/agent-visual-consistency-check.js +1 -1
  37. package/dist/scripts/check-architecture.js +0 -1
  38. package/dist/scripts/mutation-callsite-coverage-check.js +7 -0
  39. package/dist/scripts/release-metadata-1-19-check.js +2 -2
  40. package/dist/scripts/release-parallel-check.js +2 -2
  41. package/dist/scripts/release-parallel-full-coverage-check.js +1 -1
  42. package/dist/scripts/sks-1-18-gate-lib.js +2 -2
  43. package/dist/scripts/source-intelligence-all-modes-check.js +2 -2
  44. package/dist/scripts/source-intelligence-policy-check.js +1 -1
  45. package/dist/scripts/super-search-name-guard-check.js +98 -0
  46. package/dist/scripts/{ultra-search-provider-interface-check.js → super-search-provider-interface-check.js} +9 -9
  47. package/dist/scripts/trust-fixture-check.js +19 -6
  48. package/package.json +9 -3
  49. package/schemas/agents/parallel-runtime-proof.schema.json +17 -1
  50. package/dist/core/ultra-search/runtime.js +0 -502
  51. package/dist/core/ultra-search/types.js +0 -3
  52. package/dist/scripts/release-readiness-report.js +0 -1262
  53. /package/dist/core/{ultra-search → super-search}/index.js +0 -0
@@ -1,1262 +0,0 @@
1
- #!/usr/bin/env node
2
- // @ts-nocheck
3
- import fs from 'node:fs';
4
- import path from 'node:path';
5
- import { spawnSync } from 'node:child_process';
6
- import { fileURLToPath } from 'node:url';
7
- const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..', '..');
8
- const pkg = readJson('package.json');
9
- const reportDir = path.join(root, '.sneakoscope', 'reports');
10
- const RELEASE_VERSION = pkg.version;
11
- const jsonPath = path.join(reportDir, `release-readiness-${RELEASE_VERSION}.json`);
12
- const mdPath = path.join(reportDir, `release-readiness-${RELEASE_VERSION}.md`);
13
- const releaseGateManifest = readJson('release-gates.v2.json', { gates: [] });
14
- const releaseGateIds = new Set((Array.isArray(releaseGateManifest.gates) ? releaseGateManifest.gates : [])
15
- .filter((gate) => Array.isArray(gate.preset) && gate.preset.includes('release'))
16
- .map((gate) => gate.id));
17
- const latestReleaseDagSummary = readCurrentReleaseDagSummary() || readLatestReleaseDagSummary();
18
- const releaseParallelCheckSource = readText('src/scripts/release-parallel-check.ts', '');
19
- const releaseRealCheckSource = readText('src/scripts/release-real-check.ts', '');
20
- const hooksRuntimeSource = readText('src/core/hooks-runtime.ts', '');
21
- const checks = {
22
- runtime_no_src_mjs: scriptContains('release:check:parallel', 'runtime:no-src-mjs'),
23
- runtime_ts_source_of_truth: scriptContains('release:check:parallel', 'runtime:ts-source-of-truth'),
24
- architecture_guard: scriptContains('release:check:parallel', 'architecture:guard'),
25
- runtime_dist_parity: scriptContains('release:check:parallel', 'runtime:dist-parity'),
26
- route_proof_artifact_structure: scriptContains('release:check:parallel', 'routes:proof-artifact-structure'),
27
- agent_codex_app_cockpit: scriptContains('release:check:parallel', 'agent:codex-app-cockpit'),
28
- agent_janitor: scriptContains('release:check:parallel', 'agent:janitor'),
29
- agent_multi_project_isolation: scriptContains('release:check:parallel', 'agent:multi-project-isolation'),
30
- verification_parallel_engine: scriptContains('release:check:parallel', 'verification:parallel-engine'),
31
- hook_strict_subset: scriptContains('release:check', 'hooks:strict-subset-check'),
32
- hooks_official_hash_oracle: scriptContains('release:check', 'hooks:official-hash-oracle'),
33
- hooks_actual_parity_v2: scriptContains('release:check', 'hooks:actual-parity-v2'),
34
- hooks_runtime_replay_warning_zero_v2: scriptContains('release:check', 'hooks:runtime-replay-warning-zero-v2'),
35
- ppt_full_e2e_blackbox: scriptContains('release:check', 'ppt:full-e2e-blackbox'),
36
- ppt_full_e2e_artifact_graph: scriptContains('release:check', 'ppt:full-e2e-artifact-graph'),
37
- codex_0133_official_compat: scriptContains('release:check', 'codex:0.133-official-compat'),
38
- codex_0136_compat: scriptContains('release:check', 'codex:0.137-compat'),
39
- codex_0134_compat: scriptContains('release:check', 'codex:0.134-compat'),
40
- codex_0134_official_compat: scriptContains('release:check', 'codex:0.134-official-compat'),
41
- codex_profile_primary: scriptContains('release:check', 'codex:profile-primary'),
42
- codex_managed_proxy_env: scriptContains('release:check', 'codex:managed-proxy-env'),
43
- codex_0134_runner_truth: scriptContains('release:check', 'codex:0.134-runner-truth'),
44
- codex_0139_real_probes: releaseGateIds.has('codex:0139-real-probes'),
45
- codex_0139_real_probe_summary: releaseGateIds.has('codex:0139-real-probe-summary'),
46
- doctor_codex_0139_real_probes: releaseGateIds.has('doctor:codex-0139-real-probes'),
47
- mcp_0134_modernization: scriptContains('release:check', 'mcp:0.134-modernization'),
48
- mcp_readonly_runtime_scheduler: scriptContains('release:check', 'mcp:readonly-runtime-scheduler'),
49
- appshots_thread_attachment_discovery: scriptContains('release:check', 'appshots:thread-attachment-discovery'),
50
- source_intelligence_codex_history_search: scriptContains('release:check', 'source-intelligence:codex-history-search'),
51
- agent_parallel_write_kernel: scriptContains('release:check', 'agent:parallel-write-kernel'),
52
- agent_parallel_write_blackbox: scriptContains('release:check', 'agent:parallel-write-blackbox'),
53
- team_parallel_write_blackbox: scriptContains('release:check', 'team:parallel-write-blackbox'),
54
- dfix_parallel_write_blackbox: scriptContains('release:check', 'dfix:parallel-write-blackbox'),
55
- agent_patch_envelope_extraction: scriptContains('release:check', 'agent:patch-envelope-extraction'),
56
- agent_patch_queue_runtime: scriptContains('release:check', 'agent:patch-queue-runtime'),
57
- agent_strategy_to_lease_wiring: scriptContains('release:check', 'agent:strategy-to-lease-wiring'),
58
- agent_patch_swarm_runtime: scriptContains('release:check', 'agent:patch-swarm-runtime'),
59
- agent_patch_swarm_runtime_truth: scriptContains('release:check', 'agent:patch-swarm-runtime-truth'),
60
- agent_patch_transaction_journal: scriptContains('release:check', 'agent:patch-transaction-journal'),
61
- agent_patch_conflict_rebase: scriptContains('release:check', 'agent:patch-conflict-rebase'),
62
- agent_strategy_to_patch_strict: scriptContains('release:check', 'agent:strategy-to-patch-strict'),
63
- agent_rollback_command: scriptContains('release:check', 'agent:rollback-command'),
64
- agent_native_cli_session_swarm: scriptContains('release:check', 'agent:native-cli-session-swarm'),
65
- agent_native_cli_session_swarm_10: scriptContains('release:check', 'agent:native-cli-session-swarm-10'),
66
- agent_native_cli_session_swarm_20: scriptContains('release:check', 'agent:native-cli-session-swarm-20'),
67
- agent_no_subagent_scaling: scriptContains('release:check', 'agent:no-subagent-scaling'),
68
- agent_official_subagent_helper_policy: scriptContains('release:check', 'agent:official-subagent-helper-policy'),
69
- agent_native_cli_session_proof: scriptContains('release:check', 'agent:native-cli-session-proof'),
70
- agent_worker_backend_router: scriptContains('release:check', 'agent:worker-backend-router'),
71
- agent_codex_child_overlap: scriptContains('release:check', 'agent:codex-child-overlap'),
72
- agent_model_authored_patch_envelope: scriptContains('release:check', 'agent:model-authored-patch-envelope'),
73
- zellij_pane_proof: scriptContains('release:check', 'zellij:pane-proof'),
74
- zellij_screen_proof: scriptContains('release:check', 'zellij:screen-proof'),
75
- zellij_lane_renderer: scriptContains('release:check', 'zellij:lane-renderer'),
76
- mad_sks_zellij_launch: scriptContains('release:check', 'mad-sks:zellij-launch'),
77
- agent_fast_mode_default: scriptContains('release:check', 'agent:fast-mode-default'),
78
- agent_fast_mode_worker_propagation: scriptContains('release:check', 'agent:fast-mode-worker-propagation'),
79
- codex_fast_mode_profile_propagation: scriptContains('release:check', 'codex:fast-mode-profile-propagation'),
80
- mad_sks_fast_mode_propagation: scriptContains('release:check', 'mad-sks:fast-mode-propagation'),
81
- agent_patch_verification_dag: scriptContains('release:check', 'agent:patch-verification-dag'),
82
- agent_patch_rollback_dag: scriptContains('release:check', 'agent:patch-rollback-dag'),
83
- agent_patch_proof_runtime: scriptContains('release:check', 'agent:patch-proof-runtime'),
84
- agent_patch_swarm_route_blackbox: scriptContains('release:check', 'agent:patch-swarm-route-blackbox'),
85
- team_patch_swarm_route_blackbox: scriptContains('release:check', 'team:patch-swarm-route-blackbox'),
86
- dfix_patch_swarm_route_blackbox: scriptContains('release:check', 'dfix:patch-swarm-route-blackbox'),
87
- agent_patch_proof: scriptContains('release:check', 'agent:patch-proof'),
88
- agent_patch_rollback: scriptContains('release:check', 'agent:patch-rollback'),
89
- release_gate_existence_audit: scriptContains('release:check', 'release:gate-existence-audit'),
90
- flagship_proof_graph_v3: scriptContains('release:check', 'flagship:proof-graph-v3'),
91
- flagship_proof_graph_v4: scriptContains('release:check', 'flagship:proof-graph-v4'),
92
- mad_sks_actual_executor: scriptContains('release:check', 'mad-sks:actual-executor'),
93
- mad_sks_file_write_executor: scriptContains('release:check', 'mad-sks:file-write-executor'),
94
- mad_sks_shell_executor: scriptContains('release:check', 'mad-sks:shell-executor'),
95
- mad_sks_package_executor: scriptContains('release:check', 'mad-sks:package-executor'),
96
- mad_sks_service_executor: scriptContains('release:check', 'mad-sks:service-executor'),
97
- mad_sks_db_executor: scriptContains('release:check', 'mad-sks:db-executor'),
98
- mad_sks_rollback_apply: scriptContains('release:check', 'mad-sks:rollback-apply'),
99
- mad_sks_live_guard_smoke: scriptContains('release:check', 'mad-sks:live-guard-smoke'),
100
- mad_sks_executor_proof_graph: scriptContains('release:check', 'mad-sks:executor-proof-graph'),
101
- legacy_multiagent_removed: scriptContains('release:check', 'agent:legacy-multiagent-removed'),
102
- codex_lb_persistence_truth: scriptContains('release:check', 'codex-lb:persistence-truth'),
103
- computer_use_live_evidence: scriptContains('release:check', 'computer-use:live-evidence'),
104
- docs_truthfulness: scriptContains('release:check', 'docs:truthfulness'),
105
- release_readiness: scriptContains('release:check:parallel', 'release:readiness'),
106
- insane_search_provider_interface: scriptContains('release:check:parallel', 'insane-search:provider-interface'),
107
- source_intelligence_policy: scriptContains('release:check:parallel', 'source-intelligence:policy'),
108
- source_intelligence_all_modes: scriptContains('release:check:parallel', 'source-intelligence:all-modes'),
109
- codex_web_adapter: scriptContains('release:check:parallel', 'codex-web:adapter'),
110
- goal_mode_official_default: scriptContains('release:check:parallel', 'goal-mode:official-default'),
111
- agent_main_no_scout: scriptContains('release:check:parallel', 'agent:main-no-scout'),
112
- agent_worker_scout_limited: scriptContains('release:check:parallel', 'agent:worker-scout-limited'),
113
- agent_background_terminals: scriptContains('release:check:parallel', 'agent:background-terminals'),
114
- agent_zellij_runtime: scriptContains('release:check:parallel', 'agent:zellij-runtime'),
115
- agent_task_graph_expansion: scriptContains('release:check:parallel', 'agent:task-graph-expansion'),
116
- agent_follow_up_work_schema: scriptContains('release:check:parallel', 'agent:follow-up-work-schema'),
117
- agent_dynamic_pool_route_blackbox: scriptContains('release:check:parallel', 'agent:dynamic-pool-route-blackbox'),
118
- agent_backfill_route_blackbox: scriptContains('release:check:parallel', 'agent:backfill-route-blackbox'),
119
- agent_cli_options_to_task_graph: scriptContains('release:check:parallel', 'agent:cli-options-to-task-graph'),
120
- agent_route_truth_backfill: scriptContains('release:check:parallel', 'agent:route-truth-backfill'),
121
- team_backfill_route_blackbox: scriptContains('release:check:parallel', 'team:backfill-route-blackbox'),
122
- team_actual_route_backfill: scriptContains('release:check:parallel', 'team:actual-route-backfill'),
123
- research_backfill_route_blackbox: scriptContains('release:check:parallel', 'research:backfill-route-blackbox'),
124
- research_actual_route_backfill: scriptContains('release:check:parallel', 'research:actual-route-backfill'),
125
- qa_backfill_route_blackbox: scriptContains('release:check:parallel', 'qa:backfill-route-blackbox'),
126
- qa_actual_route_backfill: scriptContains('release:check:parallel', 'qa:actual-route-backfill'),
127
- zellij_layout_valid: scriptContains('release:check:parallel', 'zellij:layout-valid'),
128
- zellij_lane_renderer_parallel: scriptContains('release:check:parallel', 'zellij:lane-renderer'),
129
- zellij_pane_proof_parallel: scriptContains('release:check:parallel', 'zellij:pane-proof'),
130
- zellij_screen_proof_parallel: scriptContains('release:check:parallel', 'zellij:screen-proof'),
131
- agent_proof_contract_reconciled: scriptContains('release:check:parallel', 'agent:proof-contract-reconciled'),
132
- agent_scheduler_proof_hardening: scriptContains('release:check:parallel', 'agent:scheduler-proof-hardening'),
133
- agent_dynamic_pool: scriptContains('release:check:parallel', 'agent:dynamic-pool'),
134
- agent_backfill_replenishment: scriptContains('release:check:parallel', 'agent:backfill-replenishment'),
135
- agent_scheduler_proof: scriptContains('release:check:parallel', 'agent:scheduler-proof'),
136
- agent_session_generation: scriptContains('release:check:parallel', 'agent:session-generation'),
137
- agent_terminal_generations: scriptContains('release:check:parallel', 'agent:terminal-generations'),
138
- agent_zellij_runtime_parallel: scriptContains('release:check:parallel', 'agent:zellij-runtime'),
139
- zellij_pane_lifecycle: scriptContains('release:check:parallel', 'zellij:pane-proof'),
140
- zellij_physical_proof: scriptContains('release:check:parallel', 'zellij:screen-proof'),
141
- agent_cleanup_executor: scriptContains('release:check:parallel', 'agent:cleanup-executor'),
142
- agent_cleanup_executor_v2: scriptContains('release:check:parallel', 'agent:cleanup-executor-v2'),
143
- agent_cleanup_command_ux: scriptContains('release:check:parallel', 'agent:cleanup-command-ux'),
144
- retention_cleanup_safety: scriptContains('release:check:parallel', 'retention:cleanup-safety'),
145
- agent_intelligent_work_graph: scriptContains('release:check:parallel', 'agent:intelligent-work-graph'),
146
- agent_ast_aware_work_graph: scriptContains('release:check:parallel', 'agent:ast-aware-work-graph'),
147
- proof_fake_vs_real_policy: scriptContains('release:check:parallel', 'proof:fake-vs-real-policy'),
148
- proof_fake_real_policy_v2: scriptContains('release:check:parallel', 'proof:fake-real-policy-v2'),
149
- release_runtime_truth_matrix: releaseGateIds.has('release:runtime-truth-matrix') || scriptContains('release:check:parallel', 'release:runtime-truth-matrix'),
150
- route_blackbox_realism: scriptContains('release:check:parallel', 'route:blackbox-realism'),
151
- real_zellij_pane_proof: scriptContains('release:real-check', 'zellij:pane-proof'),
152
- real_codex_patch_envelope_smoke: scriptContains('release:real-check', 'agent:real-codex-patch-envelope-smoke'),
153
- real_codex_parallel_workers: scriptContains('release:real-check', 'agent:real-codex-parallel-workers'),
154
- real_codex_parallel_workers_5: scriptContains('release:real-check', 'agent:real-codex-parallel-workers-5'),
155
- real_codex_parallel_workers_10: scriptContains('release:real-check', 'agent:real-codex-parallel-workers-10'),
156
- real_codex_parallel_workers_20: scriptContains('release:real-check', 'agent:real-codex-parallel-workers-20'),
157
- real_codex_dynamic_smoke_v2: scriptContains('release:real-check', 'agent:real-codex-dynamic-smoke-v2'),
158
- real_codex_dynamic_smoke: scriptContains('release:real-check', 'agent:real-codex-dynamic-smoke'),
159
- agent_dynamic_cockpit: scriptContains('release:check:parallel', 'agent:dynamic-cockpit'),
160
- agent_source_intelligence_propagation: scriptContains('release:check:parallel', 'agent:source-intelligence-propagation'),
161
- agent_goal_mode_propagation: scriptContains('release:check:parallel', 'agent:goal-mode-propagation'),
162
- agent_visual_consistency: scriptContains('release:check:parallel', 'agent:visual-consistency'),
163
- release_parallel_full_coverage: scriptContains('release:check:parallel', 'release:parallel-full-coverage'),
164
- priority_full_closure: scriptContains('release:check:parallel', 'priority:full-closure'),
165
- release_native_agent_backend: scriptContains('release:check', 'release:native-agent-backend'),
166
- codex_0133_compat: scriptContains('release:check', 'codex:0.133-compat'),
167
- codex_output_schema_fixture: scriptContains('release:check', 'codex:output-schema-fixture'),
168
- image_fidelity_check: scriptContains('release:check', 'image-fidelity:check'),
169
- imagegen_capability: scriptContains('release:check', 'imagegen:capability'),
170
- gpt_image_2_request_validator: scriptContains('release:check', 'imagegen:gpt-image-2-request-validator'),
171
- ux_review_run_wires_imagegen: scriptContains('release:check', 'ux-review:run-wires-imagegen'),
172
- ux_review_extract_wires_real_extractor: scriptContains('release:check', 'ux-review:extract-wires-real-extractor'),
173
- ux_review_patch_diff_recheck: scriptContains('release:check', 'ux-review:patch-diff-recheck'),
174
- ux_review_imagegen_blackbox: scriptContains('release:check', 'ux-review:imagegen-blackbox'),
175
- ux_review_real_loop_fixture: scriptContains('release:check', 'ux-review:real-loop-fixture'),
176
- ux_review_generate_callouts_fixture: scriptContains('release:check', 'ux-review:generate-callouts-fixture'),
177
- ux_review_extract_real_callouts_fixture: scriptContains('release:check', 'ux-review:extract-real-callouts-fixture'),
178
- ux_review_patch_handoff_fixture: scriptContains('release:check', 'ux-review:patch-handoff-fixture'),
179
- ux_review_recapture_recheck_fixture: scriptContains('release:check', 'ux-review:recapture-recheck-fixture'),
180
- ux_review_no_text_fallback: scriptContains('release:check', 'ux-review:no-text-fallback'),
181
- ux_review_no_fake_callouts: scriptContains('release:check', 'ux-review:no-fake-callouts'),
182
- ux_review_image_voxel_relations: scriptContains('release:check', 'ux-review:image-voxel-relations'),
183
- ppt_imagegen_review_fixture: scriptContains('release:check', 'ppt:imagegen-review-fixture'),
184
- ppt_real_export_adapter: scriptContains('release:check', 'ppt:real-export-adapter'),
185
- ppt_real_imagegen_wiring: scriptContains('release:check', 'ppt:real-imagegen-wiring'),
186
- ppt_reexport_rereview: scriptContains('release:check', 'ppt:reexport-rereview'),
187
- ppt_imagegen_blackbox: scriptContains('release:check', 'ppt:imagegen-blackbox'),
188
- ux_ppt_structured_extraction: scriptContains('release:check', 'ux-ppt:structured-extraction'),
189
- ppt_slide_export_fixture: scriptContains('release:check', 'ppt:slide-export-fixture'),
190
- ppt_no_text_fallback: scriptContains('release:check', 'ppt:no-text-fallback'),
191
- ppt_no_mock_as_real: scriptContains('release:check', 'ppt:no-mock-as-real'),
192
- ppt_issue_extraction_fixture: scriptContains('release:check', 'ppt:issue-extraction-fixture'),
193
- ppt_image_voxel_relations: scriptContains('release:check', 'ppt:image-voxel-relations'),
194
- ppt_proof_trust_fixture: scriptContains('release:check', 'ppt:proof-trust-fixture'),
195
- dfix_fixture: scriptContains('release:check', 'dfix:fixture'),
196
- dfix_fast_kernel: scriptContains('release:check', 'dfix:fast-kernel'),
197
- dfix_blackbox_fast: scriptContains('release:check', 'dfix:blackbox-fast'),
198
- dfix_performance: scriptContains('release:check', 'dfix:performance'),
199
- dfix_patch_handoff: scriptContains('release:check', 'dfix:patch-handoff'),
200
- dfix_verification_recommendation: scriptContains('release:check', 'dfix:verification-recommendation'),
201
- dfix_verification: scriptContains('release:check', 'dfix:verification'),
202
- hooks_latest_schema_check: scriptContains('release:check', 'hooks:latest-schema-check'),
203
- hooks_trust_state_check: scriptContains('release:check', 'hooks:trust-state-check'),
204
- hooks_trust_warning_zero: scriptContains('release:check', 'hooks:trust-warning-zero'),
205
- hooks_subagent_events_check: scriptContains('release:check', 'hooks:subagent-events-check'),
206
- hooks_no_unsupported_handlers: scriptContains('release:check', 'hooks:no-unsupported-handlers'),
207
- hooks_actual_parity_check: scriptContains('release:check', 'hooks:actual-parity-check'),
208
- hooks_official_hash_parity: scriptContains('release:check', 'hooks:official-hash-parity'),
209
- hooks_managed_install_fixture: scriptContains('release:check', 'hooks:managed-install-fixture'),
210
- hooks_runtime_replay_warning_zero: scriptContains('release:check', 'hooks:runtime-replay-warning-zero'),
211
- all_features_completion: scriptContains('release:check', 'all-features:completion'),
212
- all_features_deep_completion: scriptContains('release:check', 'all-features:deep-completion'),
213
- evidence_flagship_coverage: scriptContains('release:check', 'evidence:flagship-coverage'),
214
- json_schema_recursive_check: scriptContains('release:check', 'json-schema:recursive-check'),
215
- release_metadata: scriptContains('release:check:parallel', 'release:metadata'),
216
- memory_summary_rebuild_check: scriptContains('release:check', 'memory-summary:rebuild-check'),
217
- loop_blocker_check: scriptContains('release:check', 'loop-blocker:check'),
218
- official_docs_compat: scriptContains('release:check', 'official-docs:compat'),
219
- update_check_function_only: fileContains('src/core/update-check.ts', 'pipeline_required: false')
220
- && fileContains('src/core/update-check.ts', "mode: 'function'")
221
- && fileContains('src/core/hooks-runtime.ts', 'UPDATE_CHECK_HOOK_INVOCATION_POLICY')
222
- && !/\brunSksUpdateCheck\s*\(/.test(stripComments(hooksRuntimeSource))
223
- };
224
- const docs = runNodeScript('dist/scripts/docs-truthfulness-check.js');
225
- const officialDocs = runNodeScriptWithOkReportCache('dist/scripts/official-docs-compat-report.js', `.sneakoscope/reports/official-docs-compat-${RELEASE_VERSION}.json`, ['src/scripts/official-docs-compat-report.ts', 'package.json', 'package-lock.json']);
226
- const releaseMetadata = runNodeScript('dist/scripts/release-metadata-check.js');
227
- const sideEffectRuntime = runNodeScriptWithOkReportCache('dist/scripts/side-effect-runtime-report-check.js', '.sneakoscope/reports/side-effect-runtime-report.json', ['src/core/safety/side-effect-runtime-report.ts', 'src/scripts/side-effect-runtime-report-check.ts', 'package.json']);
228
- const releaseProvenance = runNodeScript('dist/scripts/release-provenance-check.js');
229
- const imagegenCore = runNodeScript('dist/scripts/imagegen-capability-check.js');
230
- const dynamicReleaseMode = process.env.SKS_RELEASE_DYNAMIC === '1' || Boolean(process.env.SKS_REPORT_DIR);
231
- const affectedReadinessMode = process.env.SKS_RELEASE_DYNAMIC === '1'
232
- || latestReleaseDagSummary?.selected_preset === 'affected'
233
- || latestReleaseDagSummary?.affected_selection?.mode === 'affected'
234
- || latestReleaseDagSummary?.completion_certificate?.confidence === 'release-equivalent-for-affected-scope';
235
- const imagegenExternalMissingAllowed = imagegenCore.status !== 0 && dynamicReleaseMode && process.env.SKS_RELEASE_REQUIRE_IMAGEGEN !== '1';
236
- const runtimeReports = {
237
- ppt_full_e2e_blackbox: readJson('.sneakoscope/reports/ppt-full-e2e-blackbox.json', null),
238
- flagship_proof_graph_v3: readJson('.sneakoscope/reports/flagship-proof-graph-v3.json', null),
239
- flagship_proof_graph_v4: readJson('.sneakoscope/reports/flagship-proof-graph-v4.json', null),
240
- runtime_truth_matrix: readJson(`.sneakoscope/reports/runtime-truth-matrix-${RELEASE_VERSION}.json`, null),
241
- real_codex_dynamic_smoke: readJson(`.sneakoscope/reports/agent-real-codex-dynamic-smoke-${RELEASE_VERSION}.json`, null),
242
- codex_0_136_compat: readJson('.sneakoscope/reports/codex-0.136-compat.json', null),
243
- codex_0_134_official_compat: readJson('.sneakoscope/reports/codex-0-134-official-compat.json', null),
244
- codex_0_134_runner_truth: readJson('.sneakoscope/reports/codex-0-134-runner-truth.json', null),
245
- mcp_0_134_modernization: readJson('.sneakoscope/reports/mcp-0-134-modernization.json', null),
246
- mcp_readonly_runtime_scheduler: readJson('.sneakoscope/reports/mcp-readonly-runtime-scheduler.json', null),
247
- appshots_thread_attachment_discovery: readJson('.sneakoscope/reports/appshots-thread-attachment-discovery.json', null),
248
- agent_parallel_write_kernel: readJson('.sneakoscope/reports/agent-parallel-write-kernel.json', null),
249
- agent_parallel_write_blackbox: readJson('.sneakoscope/reports/agent-parallel-write-blackbox.json', null),
250
- team_parallel_write_blackbox: readJson('.sneakoscope/reports/team-parallel-write-blackbox.json', null),
251
- dfix_parallel_write_blackbox: readJson('.sneakoscope/reports/dfix-parallel-write-blackbox.json', null),
252
- agent_patch_envelope_extraction: readJson('.sneakoscope/reports/agent-patch-envelope-extraction.json', null),
253
- agent_patch_queue_runtime: readJson('.sneakoscope/reports/agent-patch-queue-runtime.json', null),
254
- agent_strategy_to_lease_wiring: readJson('.sneakoscope/reports/agent-strategy-to-lease-wiring.json', null),
255
- agent_patch_swarm_runtime: readJson('.sneakoscope/reports/agent-patch-swarm-runtime.json', null),
256
- agent_patch_swarm_runtime_truth: readJson('.sneakoscope/reports/agent-patch-swarm-runtime-truth.json', null),
257
- agent_patch_transaction_journal: readJson('.sneakoscope/reports/agent-patch-transaction-journal.json', null),
258
- agent_patch_conflict_rebase: readJson('.sneakoscope/reports/agent-patch-conflict-rebase.json', null),
259
- agent_strategy_to_patch_strict: readJson('.sneakoscope/reports/agent-strategy-to-patch-strict.json', null),
260
- agent_rollback_command: readJson('.sneakoscope/reports/agent-rollback-command.json', null),
261
- agent_native_cli_session_swarm: readJson('.sneakoscope/reports/agent-native-cli-session-swarm.json', null),
262
- agent_native_cli_session_swarm_10: readJson('.sneakoscope/reports/agent-native-cli-session-swarm-10.json', null),
263
- agent_native_cli_session_swarm_20: readJson('.sneakoscope/reports/agent-native-cli-session-swarm-20.json', null),
264
- agent_no_subagent_scaling: readJson('.sneakoscope/reports/agent-no-subagent-scaling.json', null),
265
- agent_official_subagent_helper_policy: readJson('.sneakoscope/reports/agent-official-subagent-helper-policy.json', null),
266
- agent_native_cli_session_proof: readJson('.sneakoscope/reports/agent-native-cli-session-proof.json', null),
267
- agent_worker_backend_router: readJson('.sneakoscope/reports/agent-worker-backend-router.json', null),
268
- agent_codex_child_overlap: readJson('.sneakoscope/reports/agent-codex-child-overlap.json', null),
269
- agent_model_authored_patch_envelope: readJson('.sneakoscope/reports/agent-model-authored-patch-envelope.json', null),
270
- zellij_pane_proof: readJson('.sneakoscope/reports/zellij-pane-proof.json', null),
271
- zellij_screen_proof: readJson('.sneakoscope/reports/zellij-screen-proof.json', null),
272
- zellij_lane_renderer: readJson('.sneakoscope/reports/zellij-lane-renderer.json', null),
273
- codex_0139_real_probe_summary: readJson('.sneakoscope/codex-0139-real-probe-summary.json', null),
274
- mad_sks_zellij_launch: readJson('.sneakoscope/reports/mad-sks-zellij-launch.json', null),
275
- agent_zellij_runtime: readJson('.sneakoscope/reports/agent-zellij-runtime.json', null),
276
- real_codex_parallel_workers: readJson('.sneakoscope/reports/agent-real-codex-parallel-workers.json', null),
277
- agent_fast_mode_default: readJson('.sneakoscope/reports/agent-fast-mode-default.json', null),
278
- agent_fast_mode_worker_propagation: readJson('.sneakoscope/reports/agent-fast-mode-worker-propagation.json', null),
279
- codex_fast_mode_profile_propagation: readJson('.sneakoscope/reports/codex-fast-mode-profile-propagation.json', null),
280
- mad_sks_fast_mode_propagation: readJson('.sneakoscope/reports/mad-sks-fast-mode-propagation.json', null),
281
- real_codex_patch_envelope_smoke: readJson('.sneakoscope/reports/agent-real-codex-patch-envelope-smoke.json', null),
282
- agent_patch_verification_dag: readJson('.sneakoscope/reports/agent-patch-verification-dag.json', null),
283
- agent_patch_rollback_dag: readJson('.sneakoscope/reports/agent-patch-rollback-dag.json', null),
284
- agent_patch_proof_runtime: readJson('.sneakoscope/reports/agent-patch-proof-runtime.json', null),
285
- agent_patch_swarm_route_blackbox: readJson('.sneakoscope/reports/agent-patch-swarm-route-blackbox.json', null),
286
- team_patch_swarm_route_blackbox: readJson('.sneakoscope/reports/team-patch-swarm-route-blackbox.json', null),
287
- dfix_patch_swarm_route_blackbox: readJson('.sneakoscope/reports/dfix-patch-swarm-route-blackbox.json', null),
288
- agent_patch_proof: readJson('.sneakoscope/reports/agent-patch-proof.json', null),
289
- agent_patch_rollback: readJson('.sneakoscope/reports/agent-patch-rollback.json', null),
290
- retention_cleanup_safety: readJson('.sneakoscope/reports/retention-cleanup-safety.json', null)
291
- };
292
- const runtimeChecks = {
293
- ppt_full_e2e_blackbox: runtimeReports.ppt_full_e2e_blackbox?.ok === true
294
- && ['verified', 'verified_partial'].includes(String(runtimeReports.ppt_full_e2e_blackbox?.proof_status || ''))
295
- && runtimeReports.ppt_full_e2e_blackbox?.trust_ok === true
296
- && !['blocked', 'failed', 'not_verified'].includes(String(runtimeReports.ppt_full_e2e_blackbox?.trust_status || '')),
297
- flagship_proof_graph_v3: runtimeReports.flagship_proof_graph_v3?.ok === true,
298
- flagship_proof_graph_v4: runtimeReports.flagship_proof_graph_v4?.ok === true,
299
- runtime_truth_matrix: releaseDagGatePassed('release:runtime-truth-matrix') || runtimeReports.runtime_truth_matrix?.ok === true
300
- && Array.isArray(runtimeReports.runtime_truth_matrix?.rows)
301
- && runtimeReports.runtime_truth_matrix.rows.every((row) => row.required_mode !== true || !['blocked', 'real_required_missing', 'integration_optional'].includes(String(row.proof_level || ''))),
302
- real_codex_dynamic_smoke: !runtimeReports.real_codex_dynamic_smoke
303
- || ['proven', 'fixture_instrumented_real', 'integration_optional'].includes(String(runtimeReports.real_codex_dynamic_smoke?.proof_level || runtimeReports.real_codex_dynamic_smoke?.status || '')),
304
- real_codex_patch_envelope_smoke: !runtimeReports.real_codex_patch_envelope_smoke
305
- || ['proven', 'fixture_instrumented_real', 'integration_optional'].includes(String(runtimeReports.real_codex_patch_envelope_smoke?.proof_level || runtimeReports.real_codex_patch_envelope_smoke?.status || '')),
306
- real_codex_parallel_workers: !runtimeReports.real_codex_parallel_workers
307
- || ['proven', 'fixture_instrumented_real', 'integration_optional'].includes(String(runtimeReports.real_codex_parallel_workers?.proof_level || runtimeReports.real_codex_parallel_workers?.status || '')),
308
- retention_cleanup_safety: runtimeReports.retention_cleanup_safety?.ok === true
309
- };
310
- const remainingP0 = [];
311
- const nonPublishGaps = [];
312
- const legacyReportOnlyGaps = [];
313
- const strictReadinessMode = !affectedReadinessMode || process.env.SKS_RELEASE_REQUIRE_FULL_READINESS === '1';
314
- const recordReadinessGateGap = (name) => {
315
- const gap = `${name}_gate_missing`;
316
- if (!strictReadinessMode) {
317
- legacyReportOnlyGaps.push(gap);
318
- nonPublishGaps.push(gap);
319
- return;
320
- }
321
- remainingP0.push(gap);
322
- };
323
- if (pkg.version !== RELEASE_VERSION)
324
- remainingP0.push(`package_version_not_${RELEASE_VERSION}`);
325
- for (const [name, ok] of Object.entries({
326
- runtime_no_src_mjs: checks.runtime_no_src_mjs,
327
- runtime_ts_source_of_truth: checks.runtime_ts_source_of_truth,
328
- architecture_guard: checks.architecture_guard,
329
- runtime_dist_parity: checks.runtime_dist_parity,
330
- route_proof_artifact_structure: checks.route_proof_artifact_structure,
331
- agent_codex_app_cockpit: checks.agent_codex_app_cockpit,
332
- agent_janitor: checks.agent_janitor,
333
- agent_multi_project_isolation: checks.agent_multi_project_isolation,
334
- verification_parallel_engine: checks.verification_parallel_engine,
335
- release_metadata: checks.release_metadata,
336
- release_readiness: checks.release_readiness,
337
- insane_search_provider_interface: checks.insane_search_provider_interface,
338
- source_intelligence_policy: checks.source_intelligence_policy,
339
- source_intelligence_all_modes: checks.source_intelligence_all_modes,
340
- codex_web_adapter: checks.codex_web_adapter,
341
- goal_mode_official_default: checks.goal_mode_official_default,
342
- agent_main_no_scout: checks.agent_main_no_scout,
343
- agent_worker_scout_limited: checks.agent_worker_scout_limited,
344
- agent_background_terminals: checks.agent_background_terminals,
345
- agent_zellij_runtime: checks.agent_zellij_runtime,
346
- agent_task_graph_expansion: checks.agent_task_graph_expansion,
347
- agent_follow_up_work_schema: checks.agent_follow_up_work_schema,
348
- agent_dynamic_pool_route_blackbox: checks.agent_dynamic_pool_route_blackbox,
349
- agent_backfill_route_blackbox: checks.agent_backfill_route_blackbox,
350
- agent_cli_options_to_task_graph: checks.agent_cli_options_to_task_graph,
351
- agent_route_truth_backfill: checks.agent_route_truth_backfill,
352
- team_backfill_route_blackbox: checks.team_backfill_route_blackbox,
353
- team_actual_route_backfill: checks.team_actual_route_backfill,
354
- research_backfill_route_blackbox: checks.research_backfill_route_blackbox,
355
- research_actual_route_backfill: checks.research_actual_route_backfill,
356
- qa_backfill_route_blackbox: checks.qa_backfill_route_blackbox,
357
- qa_actual_route_backfill: checks.qa_actual_route_backfill,
358
- zellij_layout_valid: checks.zellij_layout_valid,
359
- zellij_lane_renderer_parallel: checks.zellij_lane_renderer_parallel,
360
- zellij_pane_proof_parallel: checks.zellij_pane_proof_parallel,
361
- zellij_screen_proof_parallel: checks.zellij_screen_proof_parallel,
362
- agent_proof_contract_reconciled: checks.agent_proof_contract_reconciled,
363
- agent_scheduler_proof_hardening: checks.agent_scheduler_proof_hardening,
364
- agent_dynamic_pool: checks.agent_dynamic_pool,
365
- agent_backfill_replenishment: checks.agent_backfill_replenishment,
366
- agent_scheduler_proof: checks.agent_scheduler_proof,
367
- agent_session_generation: checks.agent_session_generation,
368
- agent_terminal_generations: checks.agent_terminal_generations,
369
- agent_zellij_runtime_parallel: checks.agent_zellij_runtime_parallel,
370
- zellij_pane_lifecycle: checks.zellij_pane_lifecycle,
371
- zellij_physical_proof: checks.zellij_physical_proof,
372
- agent_cleanup_executor: checks.agent_cleanup_executor,
373
- agent_cleanup_executor_v2: checks.agent_cleanup_executor_v2,
374
- agent_cleanup_command_ux: checks.agent_cleanup_command_ux,
375
- retention_cleanup_safety: checks.retention_cleanup_safety && runtimeChecks.retention_cleanup_safety,
376
- agent_intelligent_work_graph: checks.agent_intelligent_work_graph,
377
- agent_ast_aware_work_graph: checks.agent_ast_aware_work_graph,
378
- proof_fake_vs_real_policy: checks.proof_fake_vs_real_policy,
379
- proof_fake_real_policy_v2: checks.proof_fake_real_policy_v2,
380
- release_runtime_truth_matrix: checks.release_runtime_truth_matrix && runtimeChecks.runtime_truth_matrix,
381
- codex_0136_compat: checks.codex_0136_compat && (!runtimeReports.codex_0_136_compat || runtimeReports.codex_0_136_compat.ok === true),
382
- codex_0134_compat: checks.codex_0134_compat && runtimeReports.codex_0_134_official_compat?.ok === true,
383
- codex_0134_official_compat: checks.codex_0134_official_compat && runtimeReports.codex_0_134_official_compat?.ok === true,
384
- codex_profile_primary: checks.codex_profile_primary,
385
- codex_managed_proxy_env: checks.codex_managed_proxy_env,
386
- codex_0134_runner_truth: checks.codex_0134_runner_truth && (!runtimeReports.codex_0_134_runner_truth || runtimeReports.codex_0_134_runner_truth.ok === true),
387
- real_codex_patch_envelope_smoke: checks.real_codex_patch_envelope_smoke && runtimeChecks.real_codex_patch_envelope_smoke,
388
- mcp_0134_modernization: checks.mcp_0134_modernization && runtimeReports.mcp_0_134_modernization?.ok === true,
389
- mcp_readonly_runtime_scheduler: checks.mcp_readonly_runtime_scheduler && (!runtimeReports.mcp_readonly_runtime_scheduler || runtimeReports.mcp_readonly_runtime_scheduler.ok === true),
390
- appshots_thread_attachment_discovery: checks.appshots_thread_attachment_discovery && (!runtimeReports.appshots_thread_attachment_discovery || runtimeReports.appshots_thread_attachment_discovery.ok === true),
391
- source_intelligence_codex_history_search: checks.source_intelligence_codex_history_search,
392
- agent_parallel_write_kernel: checks.agent_parallel_write_kernel && runtimeReports.agent_parallel_write_kernel?.ok === true,
393
- agent_parallel_write_blackbox: checks.agent_parallel_write_blackbox && runtimeReports.agent_parallel_write_blackbox?.ok === true,
394
- team_parallel_write_blackbox: checks.team_parallel_write_blackbox && runtimeReports.team_parallel_write_blackbox?.ok === true,
395
- dfix_parallel_write_blackbox: checks.dfix_parallel_write_blackbox && runtimeReports.dfix_parallel_write_blackbox?.ok === true,
396
- agent_patch_envelope_extraction: checks.agent_patch_envelope_extraction && runtimeReports.agent_patch_envelope_extraction?.ok === true,
397
- agent_patch_queue_runtime: checks.agent_patch_queue_runtime && runtimeReports.agent_patch_queue_runtime?.ok === true,
398
- agent_strategy_to_lease_wiring: checks.agent_strategy_to_lease_wiring && runtimeReports.agent_strategy_to_lease_wiring?.ok === true,
399
- agent_patch_swarm_runtime: checks.agent_patch_swarm_runtime && runtimeReports.agent_patch_swarm_runtime?.ok === true,
400
- agent_patch_swarm_runtime_truth: checks.agent_patch_swarm_runtime_truth && runtimeReports.agent_patch_swarm_runtime_truth?.ok === true,
401
- agent_patch_transaction_journal: checks.agent_patch_transaction_journal && runtimeReports.agent_patch_transaction_journal?.ok === true,
402
- agent_patch_conflict_rebase: checks.agent_patch_conflict_rebase && runtimeReports.agent_patch_conflict_rebase?.ok === true,
403
- agent_strategy_to_patch_strict: checks.agent_strategy_to_patch_strict && runtimeReports.agent_strategy_to_patch_strict?.ok === true,
404
- agent_rollback_command: checks.agent_rollback_command && runtimeReports.agent_rollback_command?.ok === true,
405
- agent_native_cli_session_swarm: checks.agent_native_cli_session_swarm && runtimeReports.agent_native_cli_session_swarm?.ok === true,
406
- agent_native_cli_session_swarm_10: checks.agent_native_cli_session_swarm_10 && runtimeReports.agent_native_cli_session_swarm_10?.ok === true,
407
- agent_native_cli_session_swarm_20: checks.agent_native_cli_session_swarm_20 && runtimeReports.agent_native_cli_session_swarm_20?.ok === true,
408
- agent_no_subagent_scaling: checks.agent_no_subagent_scaling && runtimeReports.agent_no_subagent_scaling?.ok === true,
409
- agent_official_subagent_helper_policy: checks.agent_official_subagent_helper_policy && runtimeReports.agent_official_subagent_helper_policy?.ok === true,
410
- agent_native_cli_session_proof: checks.agent_native_cli_session_proof && runtimeReports.agent_native_cli_session_proof?.ok === true,
411
- agent_worker_backend_router: checks.agent_worker_backend_router && runtimeReports.agent_worker_backend_router?.ok === true,
412
- agent_codex_child_overlap: checks.agent_codex_child_overlap && runtimeReports.agent_codex_child_overlap?.ok === true,
413
- agent_model_authored_patch_envelope: checks.agent_model_authored_patch_envelope && runtimeReports.agent_model_authored_patch_envelope?.ok === true,
414
- zellij_pane_proof: checks.zellij_pane_proof && runtimeReports.zellij_pane_proof?.ok === true,
415
- zellij_screen_proof: checks.zellij_screen_proof && runtimeReports.zellij_screen_proof?.ok === true,
416
- zellij_lane_renderer: checks.zellij_lane_renderer && runtimeReports.zellij_lane_renderer?.ok === true,
417
- mad_sks_zellij_launch: checks.mad_sks_zellij_launch && runtimeReports.mad_sks_zellij_launch?.ok === true,
418
- agent_fast_mode_default: checks.agent_fast_mode_default && runtimeReports.agent_fast_mode_default?.ok === true,
419
- agent_fast_mode_worker_propagation: checks.agent_fast_mode_worker_propagation && runtimeReports.agent_fast_mode_worker_propagation?.ok === true,
420
- codex_fast_mode_profile_propagation: checks.codex_fast_mode_profile_propagation && runtimeReports.codex_fast_mode_profile_propagation?.ok === true,
421
- mad_sks_fast_mode_propagation: checks.mad_sks_fast_mode_propagation && runtimeReports.mad_sks_fast_mode_propagation?.ok === true,
422
- agent_patch_verification_dag: checks.agent_patch_verification_dag && runtimeReports.agent_patch_verification_dag?.ok === true,
423
- agent_patch_rollback_dag: checks.agent_patch_rollback_dag && runtimeReports.agent_patch_rollback_dag?.ok === true,
424
- agent_patch_proof_runtime: checks.agent_patch_proof_runtime && runtimeReports.agent_patch_proof_runtime?.ok === true,
425
- agent_patch_swarm_route_blackbox: checks.agent_patch_swarm_route_blackbox && runtimeReports.agent_patch_swarm_route_blackbox?.ok === true,
426
- team_patch_swarm_route_blackbox: checks.team_patch_swarm_route_blackbox && runtimeReports.team_patch_swarm_route_blackbox?.ok === true,
427
- dfix_patch_swarm_route_blackbox: checks.dfix_patch_swarm_route_blackbox && runtimeReports.dfix_patch_swarm_route_blackbox?.ok === true,
428
- agent_patch_proof: checks.agent_patch_proof && runtimeReports.agent_patch_proof?.ok === true,
429
- agent_patch_rollback: checks.agent_patch_rollback && runtimeReports.agent_patch_rollback?.ok === true,
430
- release_gate_existence_audit: checks.release_gate_existence_audit,
431
- route_blackbox_realism: checks.route_blackbox_realism,
432
- agent_dynamic_cockpit: checks.agent_dynamic_cockpit,
433
- agent_source_intelligence_propagation: checks.agent_source_intelligence_propagation,
434
- agent_goal_mode_propagation: checks.agent_goal_mode_propagation,
435
- agent_visual_consistency: checks.agent_visual_consistency,
436
- release_parallel_full_coverage: checks.release_parallel_full_coverage,
437
- priority_full_closure: checks.priority_full_closure
438
- }))
439
- if (!ok)
440
- recordReadinessGateGap(name);
441
- if (docs.status !== 0)
442
- remainingP0.push('docs_truthfulness_failed');
443
- if (officialDocs.status !== 0)
444
- remainingP0.push('official_docs_compat_failed');
445
- if (releaseMetadata.status !== 0)
446
- remainingP0.push('release_metadata_failed');
447
- if (sideEffectRuntime.status !== 0)
448
- remainingP0.push('side_effect_runtime_report_failed');
449
- if (releaseProvenance.status !== 0)
450
- remainingP0.push('release_provenance_failed');
451
- if (imagegenCore.status !== 0 && !imagegenExternalMissingAllowed)
452
- remainingP0.push('imagegen_core_capability_failed');
453
- const stamp = readJson('.sneakoscope/reports/release-check-stamp.json', null);
454
- const stampVerify = spawnSync(process.execPath, ['dist/scripts/release-check-stamp.js', 'verify'], {
455
- cwd: root,
456
- encoding: 'utf8',
457
- env: { ...process.env, CI: 'true' },
458
- timeout: 30_000
459
- });
460
- const currentStamp = stampVerify.status === 0 && stamp?.package_version === RELEASE_VERSION ? stamp : null;
461
- const stampRequiredForOk = process.env.SKS_RELEASE_REQUIRE_STAMP === '1' || !dynamicReleaseMode;
462
- if (stampVerify.status !== 0) {
463
- if (stampRequiredForOk) {
464
- remainingP0.push('release_check_stamp_stale_or_missing');
465
- }
466
- else {
467
- nonPublishGaps.push('release_check_stamp_stale_or_missing');
468
- }
469
- }
470
- const releaseProofTruth = readJson('.sneakoscope/release-proof-truth.json', readJson('dist/release-proof-truth.json', null));
471
- const report = {
472
- schema: 'sks.release-readiness.v1',
473
- generated_at: new Date().toISOString(),
474
- scope: {
475
- release_version: RELEASE_VERSION,
476
- gate: `${RELEASE_VERSION} Codex Native hardening closure DAG`,
477
- ok_means: `no remaining ${RELEASE_VERSION} Codex Native route blackbox, reference-cache, read/repair split, generated-artifact neutrality, or release metadata gaps`,
478
- not_in_1_18_parallel_gate: `reported for historical, live, or broader gates that are not part of the ${RELEASE_VERSION} closure DAG`,
479
- dynamic_release_mode: dynamicReleaseMode,
480
- affected_readiness_mode: affectedReadinessMode,
481
- strict_readiness_mode: strictReadinessMode
482
- },
483
- package: {
484
- name: pkg.name,
485
- version: pkg.version
486
- },
487
- release_proof_truth: releaseProofTruth || {
488
- schema: 'sks.release-proof-truth.v1',
489
- status: 'missing'
490
- },
491
- hook_strict_subset: {
492
- status: checks.hook_strict_subset ? 'present' : 'missing'
493
- },
494
- codex_lb_setup_truthfulness: {
495
- status: checks.codex_lb_persistence_truth ? 'present' : 'missing',
496
- persistence_modes: ['durable_env_file', 'durable_keychain', 'shell_profile', 'process_only_ephemeral'],
497
- launchctl_policy: 'base_url_only_secret_env_removed'
498
- },
499
- computer_use_evidence_mode_support: {
500
- status: checks.computer_use_live_evidence ? 'present' : 'missing',
501
- modes: ['probe_only', 'live_capture_attempted', 'live_capture_success', 'live_capture_blocked']
502
- },
503
- imagegen_core: {
504
- status: imagegenCore.status === 0 ? 'pass' : imagegenExternalMissingAllowed ? 'external_unavailable' : 'fail',
505
- model: 'gpt-image-2',
506
- required_for_full_visual_verification: true,
507
- preferred_surface: 'Codex App $imagegen',
508
- codex_app_builtin_required: true,
509
- release_blocking: !imagegenExternalMissingAllowed,
510
- real_output_verified_by_capability_check: false,
511
- capability_detection_is_not_output_proof: true,
512
- fallback_surface: 'Explicit OpenAI Images API gpt-image-2 fallback (non-Codex evidence)',
513
- api_fallback_satisfies_codex_app_evidence: false,
514
- stdout: trimOutput(imagegenCore.stdout)
515
- },
516
- codex_0_136: {
517
- status: checks.codex_0136_compat
518
- && (!runtimeReports.codex_0_136_compat || runtimeReports.codex_0_136_compat.ok === true) ? 'present' : 'missing',
519
- baseline: 'rust-v0.136.0',
520
- compat_gate: checks.codex_0136_compat,
521
- compat_report_ok: runtimeReports.codex_0_136_compat ? runtimeReports.codex_0_136_compat.ok === true : null,
522
- session_archive: runtimeReports.codex_0_136_compat?.session_archive_supported ?? null,
523
- app_server_stdio: runtimeReports.codex_0_136_compat?.app_server_stdio_supported ?? null,
524
- remote_api_key_registration: runtimeReports.codex_0_136_compat?.remote_api_key_registration_supported ?? null,
525
- command_safety_hardening: runtimeReports.codex_0_136_compat?.command_safety_hardening_supported ?? null,
526
- native_image_generation_extension: runtimeReports.codex_0_136_compat?.native_image_generation_extension_supported ?? null
527
- },
528
- codex_0_133: {
529
- status: checks.codex_0133_compat ? 'present' : 'missing',
530
- baseline: 'rust-v0.133.0',
531
- output_schema_resume: checks.codex_output_schema_fixture ? 'present' : 'missing'
532
- },
533
- codex_0_134: {
534
- status: checks.codex_0134_compat
535
- && checks.codex_0134_official_compat
536
- && runtimeReports.codex_0_134_official_compat?.ok === true
537
- && checks.codex_profile_primary
538
- && checks.codex_managed_proxy_env
539
- && checks.codex_0134_runner_truth
540
- && checks.source_intelligence_codex_history_search ? 'present' : 'missing',
541
- baseline: 'rust-v0.134.0',
542
- official_compat: checks.codex_0134_official_compat,
543
- official_compat_report_ok: runtimeReports.codex_0_134_official_compat ? runtimeReports.codex_0_134_official_compat.ok === true : null,
544
- profile_primary: checks.codex_profile_primary,
545
- managed_proxy_env: checks.codex_managed_proxy_env,
546
- runner_truth: checks.codex_0134_runner_truth,
547
- runner_truth_report_ok: runtimeReports.codex_0_134_runner_truth ? runtimeReports.codex_0_134_runner_truth.ok === true : null,
548
- real_patch_envelope_smoke: checks.real_codex_patch_envelope_smoke,
549
- real_patch_envelope_smoke_report_ok: runtimeReports.real_codex_patch_envelope_smoke ? runtimeReports.real_codex_patch_envelope_smoke.ok === true : null,
550
- real_patch_envelope_smoke_proof_level: runtimeReports.real_codex_patch_envelope_smoke?.proof_level || null,
551
- local_history_search: checks.source_intelligence_codex_history_search
552
- },
553
- real_codex_patch_envelope_smoke_1_18_11: {
554
- status: checks.real_codex_patch_envelope_smoke && runtimeChecks.real_codex_patch_envelope_smoke ? 'present' : 'missing',
555
- gate: 'agent:real-codex-patch-envelope-smoke',
556
- report: '.sneakoscope/reports/agent-real-codex-patch-envelope-smoke.json',
557
- proof_level: runtimeReports.real_codex_patch_envelope_smoke?.proof_level || null,
558
- required: runtimeReports.real_codex_patch_envelope_smoke?.required === true,
559
- next_action: runtimeReports.real_codex_patch_envelope_smoke?.proof_level === 'integration_optional'
560
- ? 'Run SKS_TEST_REAL_CODEX_PATCHES=1 npm run agent:real-codex-patch-envelope-smoke for live Codex patch evidence; add SKS_REQUIRE_REAL_CODEX_PATCHES=1 when release policy requires it.'
561
- : null
562
- },
563
- mcp_0_134: {
564
- status: checks.mcp_0134_modernization
565
- && runtimeReports.mcp_0_134_modernization?.ok === true
566
- && checks.mcp_readonly_runtime_scheduler ? 'present' : 'missing',
567
- modernization_gate: checks.mcp_0134_modernization,
568
- modernization_report_ok: runtimeReports.mcp_0_134_modernization ? runtimeReports.mcp_0_134_modernization.ok === true : null,
569
- readonly_runtime_scheduler: checks.mcp_readonly_runtime_scheduler,
570
- readonly_runtime_scheduler_report_ok: runtimeReports.mcp_readonly_runtime_scheduler ? runtimeReports.mcp_readonly_runtime_scheduler.ok === true : null
571
- },
572
- parallel_write_kernel_1_18_9: {
573
- status: checks.agent_parallel_write_kernel
574
- && checks.agent_parallel_write_blackbox
575
- && checks.team_parallel_write_blackbox
576
- && checks.dfix_parallel_write_blackbox
577
- && checks.agent_patch_proof
578
- && checks.agent_patch_rollback
579
- && runtimeReports.agent_parallel_write_kernel?.ok === true
580
- && runtimeReports.agent_parallel_write_blackbox?.ok === true
581
- && runtimeReports.team_parallel_write_blackbox?.ok === true
582
- && runtimeReports.dfix_parallel_write_blackbox?.ok === true
583
- && runtimeReports.agent_patch_proof?.ok === true
584
- && runtimeReports.agent_patch_rollback?.ok === true ? 'present' : 'missing',
585
- agent_parallel_write_kernel: checks.agent_parallel_write_kernel,
586
- agent_parallel_write_blackbox: checks.agent_parallel_write_blackbox,
587
- team_parallel_write_blackbox: checks.team_parallel_write_blackbox,
588
- dfix_parallel_write_blackbox: checks.dfix_parallel_write_blackbox,
589
- agent_patch_proof: checks.agent_patch_proof,
590
- agent_patch_rollback: checks.agent_patch_rollback,
591
- kernel_report_ok: runtimeReports.agent_parallel_write_kernel ? runtimeReports.agent_parallel_write_kernel.ok === true : null,
592
- agent_blackbox_report_ok: runtimeReports.agent_parallel_write_blackbox ? runtimeReports.agent_parallel_write_blackbox.ok === true : null,
593
- team_blackbox_report_ok: runtimeReports.team_parallel_write_blackbox ? runtimeReports.team_parallel_write_blackbox.ok === true : null,
594
- dfix_blackbox_report_ok: runtimeReports.dfix_parallel_write_blackbox ? runtimeReports.dfix_parallel_write_blackbox.ok === true : null,
595
- proof_report_ok: runtimeReports.agent_patch_proof ? runtimeReports.agent_patch_proof.ok === true : null,
596
- rollback_report_ok: runtimeReports.agent_patch_rollback ? runtimeReports.agent_patch_rollback.ok === true : null
597
- },
598
- patch_swarm_runtime_1_18_9: {
599
- status: checks.agent_patch_envelope_extraction
600
- && checks.agent_patch_queue_runtime
601
- && checks.agent_strategy_to_lease_wiring
602
- && checks.agent_patch_swarm_runtime
603
- && checks.agent_patch_swarm_runtime_truth
604
- && checks.agent_patch_transaction_journal
605
- && checks.agent_patch_conflict_rebase
606
- && checks.agent_strategy_to_patch_strict
607
- && checks.agent_rollback_command
608
- && checks.agent_patch_verification_dag
609
- && checks.agent_patch_rollback_dag
610
- && checks.agent_patch_proof_runtime
611
- && checks.agent_patch_swarm_route_blackbox
612
- && checks.team_patch_swarm_route_blackbox
613
- && checks.dfix_patch_swarm_route_blackbox
614
- && runtimeReports.agent_patch_envelope_extraction?.ok === true
615
- && runtimeReports.agent_patch_queue_runtime?.ok === true
616
- && runtimeReports.agent_strategy_to_lease_wiring?.ok === true
617
- && runtimeReports.agent_patch_swarm_runtime?.ok === true
618
- && runtimeReports.agent_patch_swarm_runtime_truth?.ok === true
619
- && runtimeReports.agent_patch_transaction_journal?.ok === true
620
- && runtimeReports.agent_patch_conflict_rebase?.ok === true
621
- && runtimeReports.agent_strategy_to_patch_strict?.ok === true
622
- && runtimeReports.agent_rollback_command?.ok === true
623
- && runtimeReports.agent_patch_verification_dag?.ok === true
624
- && runtimeReports.agent_patch_rollback_dag?.ok === true
625
- && runtimeReports.agent_patch_proof_runtime?.ok === true
626
- && runtimeReports.agent_patch_swarm_route_blackbox?.ok === true
627
- && runtimeReports.team_patch_swarm_route_blackbox?.ok === true
628
- && runtimeReports.dfix_patch_swarm_route_blackbox?.ok === true ? 'present' : 'missing',
629
- envelope_extraction_report_ok: runtimeReports.agent_patch_envelope_extraction ? runtimeReports.agent_patch_envelope_extraction.ok === true : null,
630
- queue_runtime_report_ok: runtimeReports.agent_patch_queue_runtime ? runtimeReports.agent_patch_queue_runtime.ok === true : null,
631
- strategy_to_lease_report_ok: runtimeReports.agent_strategy_to_lease_wiring ? runtimeReports.agent_strategy_to_lease_wiring.ok === true : null,
632
- swarm_runtime_report_ok: runtimeReports.agent_patch_swarm_runtime ? runtimeReports.agent_patch_swarm_runtime.ok === true : null,
633
- swarm_runtime_truth_report_ok: runtimeReports.agent_patch_swarm_runtime_truth ? runtimeReports.agent_patch_swarm_runtime_truth.ok === true : null,
634
- transaction_journal_report_ok: runtimeReports.agent_patch_transaction_journal ? runtimeReports.agent_patch_transaction_journal.ok === true : null,
635
- conflict_rebase_report_ok: runtimeReports.agent_patch_conflict_rebase ? runtimeReports.agent_patch_conflict_rebase.ok === true : null,
636
- strategy_to_patch_strict_report_ok: runtimeReports.agent_strategy_to_patch_strict ? runtimeReports.agent_strategy_to_patch_strict.ok === true : null,
637
- rollback_command_report_ok: runtimeReports.agent_rollback_command ? runtimeReports.agent_rollback_command.ok === true : null,
638
- verification_dag_report_ok: runtimeReports.agent_patch_verification_dag ? runtimeReports.agent_patch_verification_dag.ok === true : null,
639
- rollback_dag_report_ok: runtimeReports.agent_patch_rollback_dag ? runtimeReports.agent_patch_rollback_dag.ok === true : null,
640
- proof_runtime_report_ok: runtimeReports.agent_patch_proof_runtime ? runtimeReports.agent_patch_proof_runtime.ok === true : null,
641
- agent_route_blackbox_ok: runtimeReports.agent_patch_swarm_route_blackbox ? runtimeReports.agent_patch_swarm_route_blackbox.ok === true : null,
642
- team_route_blackbox_ok: runtimeReports.team_patch_swarm_route_blackbox ? runtimeReports.team_patch_swarm_route_blackbox.ok === true : null,
643
- dfix_route_blackbox_ok: runtimeReports.dfix_patch_swarm_route_blackbox ? runtimeReports.dfix_patch_swarm_route_blackbox.ok === true : null
644
- },
645
- native_cli_session_swarm_1_18_10: {
646
- status: checks.agent_native_cli_session_swarm
647
- && checks.agent_native_cli_session_swarm_10
648
- && checks.agent_native_cli_session_swarm_20
649
- && checks.agent_no_subagent_scaling
650
- && checks.agent_official_subagent_helper_policy
651
- && checks.agent_native_cli_session_proof
652
- && runtimeReports.agent_native_cli_session_swarm?.ok === true
653
- && runtimeReports.agent_native_cli_session_swarm_10?.ok === true
654
- && runtimeReports.agent_native_cli_session_swarm_20?.ok === true
655
- && runtimeReports.agent_no_subagent_scaling?.ok === true
656
- && runtimeReports.agent_official_subagent_helper_policy?.ok === true
657
- && runtimeReports.agent_native_cli_session_proof?.ok === true ? 'present' : 'missing',
658
- swarm_5_report_ok: runtimeReports.agent_native_cli_session_swarm ? runtimeReports.agent_native_cli_session_swarm.ok === true : null,
659
- swarm_10_report_ok: runtimeReports.agent_native_cli_session_swarm_10 ? runtimeReports.agent_native_cli_session_swarm_10.ok === true : null,
660
- swarm_20_report_ok: runtimeReports.agent_native_cli_session_swarm_20 ? runtimeReports.agent_native_cli_session_swarm_20.ok === true : null,
661
- no_subagent_scaling_report_ok: runtimeReports.agent_no_subagent_scaling ? runtimeReports.agent_no_subagent_scaling.ok === true : null,
662
- official_subagent_helper_policy_report_ok: runtimeReports.agent_official_subagent_helper_policy ? runtimeReports.agent_official_subagent_helper_policy.ok === true : null,
663
- native_cli_session_proof_report_ok: runtimeReports.agent_native_cli_session_proof ? runtimeReports.agent_native_cli_session_proof.ok === true : null,
664
- max_observed_10: runtimeReports.agent_native_cli_session_swarm_10?.native_cli_session_proof?.max_observed_worker_process_count || null,
665
- max_observed_20: runtimeReports.agent_native_cli_session_swarm_20?.native_cli_session_proof?.max_observed_worker_process_count || null
666
- },
667
- official_subagent_helper_lane_1_18_10: {
668
- status: checks.agent_official_subagent_helper_policy
669
- && runtimeReports.agent_official_subagent_helper_policy?.ok === true ? 'present' : 'missing',
670
- helper_lane_enabled: runtimeReports.agent_official_subagent_helper_policy?.helper?.official_codex_subagent_helper_lane_enabled === true,
671
- helper_lane_may_run_in_parallel_with_native_workers: runtimeReports.agent_official_subagent_helper_policy?.helper?.helper_lane_may_run_in_parallel_with_native_workers === true,
672
- worker_capacity_credit: Number(runtimeReports.agent_official_subagent_helper_policy?.helper?.worker_capacity_credit || 0),
673
- subagent_events_counted_as_worker_sessions: runtimeReports.agent_official_subagent_helper_policy?.helper?.subagent_events_counted_as_worker_sessions === true,
674
- observed_subagent_event_count: Number(runtimeReports.agent_official_subagent_helper_policy?.helper?.observed_subagent_event_count || 0),
675
- codex_builtin_imagegen_helper_allowed: runtimeReports.agent_official_subagent_helper_policy?.helper?.codex_builtin_imagegen_helper_allowed === true,
676
- codex_app_builtin_evidence_class: runtimeReports.agent_official_subagent_helper_policy?.helper?.codex_app_builtin_evidence_class || null,
677
- api_fallback_evidence_class: runtimeReports.agent_official_subagent_helper_policy?.helper?.api_fallback_evidence_class || null,
678
- provider_surface_evidence_required: runtimeReports.agent_official_subagent_helper_policy?.helper?.provider_surface_evidence_required === true,
679
- imagegen_api_fallback_counts_as_codex_app_evidence: runtimeReports.agent_official_subagent_helper_policy?.helper?.imagegen_api_fallback_counts_as_codex_app_evidence === true,
680
- required_output_proof_for_generated_images: runtimeReports.agent_official_subagent_helper_policy?.helper?.required_output_proof_for_generated_images || [],
681
- live_codex_app_output_proof_ran: runtimeReports.agent_official_subagent_helper_policy?.live_codex_app_output_proof_ran === true,
682
- live_codex_app_output_proof_note: runtimeReports.agent_official_subagent_helper_policy?.live_codex_app_output_proof_note || null
683
- },
684
- real_codex_parallel_workers_1_18_11: {
685
- status: checks.agent_worker_backend_router
686
- && checks.agent_codex_child_overlap
687
- && checks.agent_model_authored_patch_envelope
688
- && checks.zellij_pane_proof
689
- && checks.zellij_screen_proof
690
- && checks.zellij_lane_renderer
691
- && checks.mad_sks_zellij_launch
692
- && runtimeReports.agent_worker_backend_router?.ok === true
693
- && runtimeReports.agent_codex_child_overlap?.ok === true
694
- && runtimeReports.agent_model_authored_patch_envelope?.ok === true
695
- && runtimeReports.zellij_pane_proof?.ok === true
696
- && runtimeReports.zellij_screen_proof?.ok === true
697
- && runtimeReports.zellij_lane_renderer?.ok === true
698
- && runtimeReports.mad_sks_zellij_launch?.ok === true ? 'present' : 'missing',
699
- worker_backend_router: checks.agent_worker_backend_router,
700
- codex_child_overlap: checks.agent_codex_child_overlap,
701
- model_authored_patch_envelope: checks.agent_model_authored_patch_envelope,
702
- zellij_pane_proof: checks.zellij_pane_proof,
703
- zellij_screen_proof: checks.zellij_screen_proof,
704
- zellij_lane_renderer: checks.zellij_lane_renderer,
705
- mad_zellij_launch: checks.mad_sks_zellij_launch,
706
- real_codex_parallel_optional: runtimeReports.real_codex_parallel_workers?.status || null,
707
- real_codex_parallel_proof_level: runtimeReports.real_codex_parallel_workers?.proof_level || null
708
- },
709
- fast_mode_default_1_18_10: {
710
- status: checks.agent_fast_mode_default
711
- && checks.agent_fast_mode_worker_propagation
712
- && checks.codex_fast_mode_profile_propagation
713
- && checks.mad_sks_fast_mode_propagation
714
- && runtimeReports.agent_fast_mode_default?.ok === true
715
- && runtimeReports.agent_fast_mode_worker_propagation?.ok === true
716
- && runtimeReports.codex_fast_mode_profile_propagation?.ok === true
717
- && runtimeReports.mad_sks_fast_mode_propagation?.ok === true ? 'present' : 'missing',
718
- default_report_ok: runtimeReports.agent_fast_mode_default ? runtimeReports.agent_fast_mode_default.ok === true : null,
719
- worker_propagation_report_ok: runtimeReports.agent_fast_mode_worker_propagation ? runtimeReports.agent_fast_mode_worker_propagation.ok === true : null,
720
- codex_profile_report_ok: runtimeReports.codex_fast_mode_profile_propagation ? runtimeReports.codex_fast_mode_profile_propagation.ok === true : null,
721
- mad_sks_report_ok: runtimeReports.mad_sks_fast_mode_propagation ? runtimeReports.mad_sks_fast_mode_propagation.ok === true : null
722
- },
723
- mad_sks_actual_executor_closure: {
724
- status: checks.mad_sks_actual_executor
725
- && checks.mad_sks_file_write_executor
726
- && checks.mad_sks_shell_executor
727
- && checks.mad_sks_package_executor
728
- && checks.mad_sks_service_executor
729
- && checks.mad_sks_db_executor
730
- && checks.mad_sks_rollback_apply
731
- && checks.mad_sks_live_guard_smoke
732
- && checks.mad_sks_executor_proof_graph
733
- && checks.flagship_proof_graph_v4
734
- && runtimeChecks.flagship_proof_graph_v4 ? 'present' : 'missing',
735
- gates: {
736
- actual_executor_blackbox: checks.mad_sks_actual_executor,
737
- file_write_executor: checks.mad_sks_file_write_executor,
738
- shell_executor: checks.mad_sks_shell_executor,
739
- package_executor: checks.mad_sks_package_executor,
740
- service_executor: checks.mad_sks_service_executor,
741
- db_executor: checks.mad_sks_db_executor,
742
- rollback_apply: checks.mad_sks_rollback_apply,
743
- live_guard_smoke: checks.mad_sks_live_guard_smoke,
744
- executor_proof_graph: checks.mad_sks_executor_proof_graph,
745
- flagship_proof_graph_v4: checks.flagship_proof_graph_v4,
746
- flagship_proof_graph_v4_report_ok: runtimeChecks.flagship_proof_graph_v4
747
- }
748
- },
749
- image_ux_review: {
750
- status: checks.imagegen_capability && checks.gpt_image_2_request_validator && checks.ux_review_run_wires_imagegen && checks.ux_review_extract_wires_real_extractor && checks.ux_review_patch_diff_recheck && checks.ux_review_imagegen_blackbox && checks.ux_review_real_loop_fixture && checks.ux_review_generate_callouts_fixture && checks.ux_review_extract_real_callouts_fixture && checks.ux_review_patch_handoff_fixture && checks.ux_review_recapture_recheck_fixture && checks.ux_review_no_text_fallback && checks.ux_review_no_fake_callouts && checks.ux_review_image_voxel_relations ? 'present' : 'missing',
751
- gates: {
752
- image_fidelity: checks.image_fidelity_check,
753
- imagegen_capability: checks.imagegen_capability,
754
- gpt_image_2_request_validator: checks.gpt_image_2_request_validator,
755
- run_wires_imagegen: checks.ux_review_run_wires_imagegen,
756
- extract_wires_real_extractor: checks.ux_review_extract_wires_real_extractor,
757
- patch_diff_recheck: checks.ux_review_patch_diff_recheck,
758
- imagegen_blackbox: checks.ux_review_imagegen_blackbox,
759
- real_loop_fixture: checks.ux_review_real_loop_fixture,
760
- generate_callouts_fixture: checks.ux_review_generate_callouts_fixture,
761
- extract_real_callouts_fixture: checks.ux_review_extract_real_callouts_fixture,
762
- patch_handoff_fixture: checks.ux_review_patch_handoff_fixture,
763
- recapture_recheck_fixture: checks.ux_review_recapture_recheck_fixture,
764
- no_text_fallback: checks.ux_review_no_text_fallback,
765
- no_fake_callouts: checks.ux_review_no_fake_callouts,
766
- image_voxel_relations: checks.ux_review_image_voxel_relations
767
- }
768
- },
769
- ppt_imagegen_review: {
770
- status: checks.ppt_imagegen_review_fixture && checks.ppt_real_export_adapter && checks.ppt_real_imagegen_wiring && checks.ppt_reexport_rereview && checks.ppt_imagegen_blackbox && checks.ux_ppt_structured_extraction && checks.ppt_slide_export_fixture && checks.ppt_no_text_fallback && checks.ppt_no_mock_as_real && checks.ppt_issue_extraction_fixture && checks.ppt_image_voxel_relations && checks.ppt_proof_trust_fixture ? 'present' : 'missing',
771
- gates: {
772
- imagegen_review_fixture: checks.ppt_imagegen_review_fixture,
773
- real_export_adapter: checks.ppt_real_export_adapter,
774
- real_imagegen_wiring: checks.ppt_real_imagegen_wiring,
775
- reexport_rereview: checks.ppt_reexport_rereview,
776
- imagegen_blackbox: checks.ppt_imagegen_blackbox,
777
- structured_extraction: checks.ux_ppt_structured_extraction,
778
- slide_export_fixture: checks.ppt_slide_export_fixture,
779
- no_text_fallback: checks.ppt_no_text_fallback,
780
- no_mock_as_real: checks.ppt_no_mock_as_real,
781
- issue_extraction_fixture: checks.ppt_issue_extraction_fixture,
782
- image_voxel_relations: checks.ppt_image_voxel_relations,
783
- proof_trust_fixture: checks.ppt_proof_trust_fixture
784
- }
785
- },
786
- dfix: {
787
- status: checks.dfix_fixture && checks.dfix_fast_kernel && checks.dfix_blackbox_fast && checks.dfix_performance && checks.dfix_patch_handoff && checks.dfix_verification_recommendation && checks.dfix_verification ? 'present' : 'missing',
788
- gates: {
789
- fixture: checks.dfix_fixture,
790
- fast_kernel: checks.dfix_fast_kernel,
791
- blackbox_fast: checks.dfix_blackbox_fast,
792
- performance: checks.dfix_performance,
793
- patch_handoff: checks.dfix_patch_handoff,
794
- verification_recommendation: checks.dfix_verification_recommendation,
795
- verification: checks.dfix_verification
796
- }
797
- },
798
- hook_trust_warning_zero: {
799
- status: checks.hooks_latest_schema_check && checks.hooks_trust_state_check && checks.hooks_trust_warning_zero && checks.hooks_subagent_events_check && checks.hooks_no_unsupported_handlers && checks.hooks_actual_parity_check && checks.hooks_actual_parity_v2 && checks.hooks_official_hash_parity && checks.hooks_official_hash_oracle && checks.hooks_managed_install_fixture && checks.hooks_runtime_replay_warning_zero && checks.hooks_runtime_replay_warning_zero_v2 ? 'present' : 'missing',
800
- latest_schema: checks.hooks_latest_schema_check,
801
- trust_state: checks.hooks_trust_state_check,
802
- warning_zero: checks.hooks_trust_warning_zero,
803
- subagent_events: checks.hooks_subagent_events_check,
804
- no_unsupported_handlers: checks.hooks_no_unsupported_handlers,
805
- actual_parity_check: checks.hooks_actual_parity_check,
806
- actual_parity_v2: checks.hooks_actual_parity_v2,
807
- official_hash_parity: checks.hooks_official_hash_parity,
808
- official_hash_oracle: checks.hooks_official_hash_oracle,
809
- managed_install_fixture: checks.hooks_managed_install_fixture,
810
- runtime_replay_warning_zero: checks.hooks_runtime_replay_warning_zero,
811
- runtime_replay_warning_zero_v2: checks.hooks_runtime_replay_warning_zero_v2
812
- },
813
- extreme_stabilization_1_14_1: {
814
- status: checks.hooks_official_hash_oracle && checks.hooks_actual_parity_v2 && checks.hooks_runtime_replay_warning_zero_v2 && checks.ppt_full_e2e_blackbox && runtimeChecks.ppt_full_e2e_blackbox && checks.ppt_full_e2e_artifact_graph && checks.codex_0133_official_compat && checks.flagship_proof_graph_v3 && runtimeChecks.flagship_proof_graph_v3 ? 'present' : 'missing',
815
- hooks_official_hash_oracle: checks.hooks_official_hash_oracle,
816
- hooks_actual_parity_v2: checks.hooks_actual_parity_v2,
817
- hooks_runtime_replay_warning_zero_v2: checks.hooks_runtime_replay_warning_zero_v2,
818
- ppt_full_e2e_blackbox: checks.ppt_full_e2e_blackbox,
819
- ppt_full_e2e_blackbox_report_ok: runtimeChecks.ppt_full_e2e_blackbox,
820
- ppt_full_e2e_artifact_graph: checks.ppt_full_e2e_artifact_graph,
821
- codex_0_133_official_compat: checks.codex_0133_official_compat,
822
- flagship_proof_graph_v3: checks.flagship_proof_graph_v3,
823
- flagship_proof_graph_v3_report_ok: runtimeChecks.flagship_proof_graph_v3
824
- },
825
- mad_sks_1_16_0: {
826
- status: checks.flagship_proof_graph_v4 && runtimeChecks.flagship_proof_graph_v4 ? 'present' : 'missing',
827
- flagship_proof_graph_v4: checks.flagship_proof_graph_v4,
828
- flagship_proof_graph_v4_report_ok: runtimeChecks.flagship_proof_graph_v4
829
- },
830
- source_intelligence_1_18: {
831
- status: checks.ultra_search_provider_interface
832
- && checks.source_intelligence_policy
833
- && checks.source_intelligence_all_modes
834
- && checks.codex_web_adapter ? 'present' : 'missing',
835
- mode_default: 'ultra_balanced',
836
- x_search_public_discovery: checks.ultra_search_provider_interface,
837
- no_xai_runtime_dependency: checks.source_intelligence_all_modes,
838
- codex_web_adapter: checks.codex_web_adapter
839
- },
840
- agent_terminal_zellij_1_18: {
841
- status: checks.agent_main_no_scout
842
- && checks.agent_worker_scout_limited
843
- && checks.agent_background_terminals
844
- && checks.agent_zellij_runtime
845
- && checks.agent_visual_consistency ? 'present' : 'missing',
846
- main_no_scout: checks.agent_main_no_scout,
847
- worker_scout_limited: checks.agent_worker_scout_limited,
848
- background_terminals: checks.agent_background_terminals,
849
- zellij_runtime: checks.agent_zellij_runtime,
850
- codex_app_visual_consistency: checks.agent_visual_consistency
851
- },
852
- runtime_truth_1_18_8: {
853
- status: checks.zellij_pane_lifecycle
854
- && checks.zellij_physical_proof
855
- && checks.real_codex_dynamic_smoke_v2
856
- && checks.agent_cleanup_executor_v2
857
- && checks.agent_cleanup_command_ux
858
- && checks.retention_cleanup_safety
859
- && runtimeChecks.retention_cleanup_safety
860
- && checks.agent_ast_aware_work_graph
861
- && checks.proof_fake_real_policy_v2
862
- && checks.release_runtime_truth_matrix
863
- && runtimeChecks.runtime_truth_matrix ? 'present' : 'missing',
864
- zellij_pane_lifecycle: checks.zellij_pane_lifecycle,
865
- zellij_physical_proof: checks.zellij_physical_proof,
866
- real_codex_dynamic_smoke_v2: checks.real_codex_dynamic_smoke_v2,
867
- real_codex_dynamic_smoke_report_ok: runtimeChecks.real_codex_dynamic_smoke,
868
- cleanup_executor_v2: checks.agent_cleanup_executor_v2,
869
- cleanup_command_ux: checks.agent_cleanup_command_ux,
870
- retention_cleanup_safety: checks.retention_cleanup_safety,
871
- retention_cleanup_safety_report_ok: runtimeChecks.retention_cleanup_safety,
872
- retention_cleanup_safety_report: '.sneakoscope/reports/retention-cleanup-safety.json',
873
- ast_aware_work_graph: checks.agent_ast_aware_work_graph,
874
- fake_real_policy_v2: checks.proof_fake_real_policy_v2,
875
- runtime_truth_matrix: checks.release_runtime_truth_matrix,
876
- runtime_truth_matrix_report_ok: runtimeChecks.runtime_truth_matrix,
877
- proof_levels: runtimeReports.runtime_truth_matrix?.proof_levels || [],
878
- subsystem_rows: runtimeReports.runtime_truth_matrix?.rows || []
879
- },
880
- dynamic_agent_pool_1_18_3: {
881
- status: checks.agent_dynamic_pool
882
- && checks.agent_task_graph_expansion
883
- && checks.agent_follow_up_work_schema
884
- && checks.agent_dynamic_pool_route_blackbox
885
- && checks.agent_backfill_route_blackbox
886
- && checks.agent_cli_options_to_task_graph
887
- && checks.agent_route_truth_backfill
888
- && checks.team_backfill_route_blackbox
889
- && checks.team_actual_route_backfill
890
- && checks.research_backfill_route_blackbox
891
- && checks.research_actual_route_backfill
892
- && checks.qa_backfill_route_blackbox
893
- && checks.qa_actual_route_backfill
894
- && checks.zellij_layout_valid
895
- && checks.zellij_lane_renderer_parallel
896
- && checks.zellij_pane_proof_parallel
897
- && checks.zellij_screen_proof_parallel
898
- && checks.agent_proof_contract_reconciled
899
- && checks.agent_scheduler_proof_hardening
900
- && checks.agent_backfill_replenishment
901
- && checks.agent_scheduler_proof
902
- && checks.agent_session_generation
903
- && checks.agent_terminal_generations
904
- && checks.agent_zellij_runtime_parallel
905
- && checks.agent_dynamic_cockpit
906
- && checks.agent_source_intelligence_propagation
907
- && checks.agent_goal_mode_propagation ? 'present' : 'missing',
908
- task_graph_expansion: checks.agent_task_graph_expansion,
909
- follow_up_work_schema: checks.agent_follow_up_work_schema,
910
- dynamic_pool_route_blackbox: checks.agent_dynamic_pool_route_blackbox,
911
- backfill_route_blackbox: checks.agent_backfill_route_blackbox,
912
- cli_options_to_task_graph: checks.agent_cli_options_to_task_graph,
913
- route_truth_backfill: checks.agent_route_truth_backfill,
914
- team_backfill_route_blackbox: checks.team_backfill_route_blackbox,
915
- team_actual_route_backfill: checks.team_actual_route_backfill,
916
- research_backfill_route_blackbox: checks.research_backfill_route_blackbox,
917
- research_actual_route_backfill: checks.research_actual_route_backfill,
918
- qa_backfill_route_blackbox: checks.qa_backfill_route_blackbox,
919
- qa_actual_route_backfill: checks.qa_actual_route_backfill,
920
- zellij_layout_valid: checks.zellij_layout_valid,
921
- zellij_lane_renderer: checks.zellij_lane_renderer_parallel,
922
- zellij_pane_proof: checks.zellij_pane_proof_parallel,
923
- zellij_screen_proof: checks.zellij_screen_proof_parallel,
924
- proof_contract_reconciled: checks.agent_proof_contract_reconciled,
925
- scheduler_proof_hardening: checks.agent_scheduler_proof_hardening,
926
- dynamic_pool: checks.agent_dynamic_pool,
927
- backfill_replenishment: checks.agent_backfill_replenishment,
928
- scheduler_proof: checks.agent_scheduler_proof,
929
- session_generation: checks.agent_session_generation,
930
- terminal_generations: checks.agent_terminal_generations,
931
- zellij_runtime_parallel: checks.agent_zellij_runtime_parallel,
932
- dynamic_cockpit: checks.agent_dynamic_cockpit,
933
- source_intelligence_propagation: checks.agent_source_intelligence_propagation,
934
- goal_mode_propagation: checks.agent_goal_mode_propagation
935
- },
936
- dynamic_agent_pool_1_18: null,
937
- goal_mode_1_18: {
938
- status: checks.goal_mode_official_default ? 'present' : 'missing',
939
- official_default_gate: checks.goal_mode_official_default
940
- },
941
- release_full_coverage_1_18: {
942
- status: checks.release_parallel_full_coverage && checks.priority_full_closure ? 'present' : 'missing',
943
- release_parallel_full_coverage: checks.release_parallel_full_coverage,
944
- priority_full_closure: checks.priority_full_closure,
945
- priorities: ['P0', 'P1', 'P2', 'P3', 'P4', 'P5', 'P6']
946
- },
947
- release_native_agent_backend: {
948
- status: checks.release_native_agent_backend && checks.legacy_multiagent_removed ? 'present' : 'missing',
949
- backend: 'native_multi_session_agent_kernel',
950
- legacy_multiagent_surface: checks.legacy_multiagent_removed ? 'removed' : 'missing_removal_gate'
951
- },
952
- all_feature_completion: {
953
- status: checks.all_features_completion && checks.all_features_deep_completion && checks.evidence_flagship_coverage ? 'present' : 'missing',
954
- report_path: `.sneakoscope/reports/all-feature-completion-${RELEASE_VERSION}.json`
955
- },
956
- json_schema_recursive: {
957
- status: checks.json_schema_recursive_check ? 'present' : 'missing'
958
- },
959
- official_docs_compatibility: {
960
- status: officialDocs.status === 0 ? 'pass' : (checks.official_docs_compat ? 'fail' : 'not_in_1_18_parallel_gate'),
961
- report_path: `.sneakoscope/reports/official-docs-compat-${RELEASE_VERSION}.json`,
962
- stdout: trimOutput(officialDocs.stdout)
963
- },
964
- update_check: {
965
- status: checks.update_check_function_only ? 'function_only' : 'missing',
966
- route_required: false,
967
- pipeline_required: false
968
- },
969
- memory_summary_rebuild: {
970
- status: checks.memory_summary_rebuild_check ? 'present' : 'missing',
971
- schema_version: 2
972
- },
973
- loop_blocker_stop: {
974
- status: checks.loop_blocker_check ? 'present' : 'missing',
975
- repeated_blocker_threshold: 2
976
- },
977
- docs_truthfulness: {
978
- status: docs.status === 0 ? 'pass' : 'fail',
979
- stdout: trimOutput(docs.stdout)
980
- },
981
- release_metadata: {
982
- status: releaseMetadata.status === 0 ? 'pass' : 'fail',
983
- stdout: trimOutput(releaseMetadata.stdout)
984
- },
985
- side_effect_runtime: {
986
- status: sideEffectRuntime.status === 0 ? 'pass' : 'fail',
987
- report: readJson('.sneakoscope/reports/side-effect-runtime-report.json', null),
988
- stdout: trimOutput(sideEffectRuntime.stdout),
989
- stderr: trimOutput(sideEffectRuntime.stderr)
990
- },
991
- provenance: {
992
- status: releaseProvenance.status === 0 ? 'pass' : 'fail',
993
- report: readJson('.sneakoscope/reports/release-provenance.json', null),
994
- stdout: trimOutput(releaseProvenance.stdout),
995
- stderr: trimOutput(releaseProvenance.stderr)
996
- },
997
- release_gate_last_pass_stamp: currentStamp ? {
998
- package_version: currentStamp.package_version || null,
999
- generated_at: currentStamp.generated_at || null,
1000
- source_digest: currentStamp.source_digest || null
1001
- } : null,
1002
- release_gate_stamp_verification: {
1003
- status: stampVerify.status === 0 ? 'pass' : dynamicReleaseMode ? 'dynamic_deferred' : 'fail',
1004
- dynamic_release_mode: dynamicReleaseMode,
1005
- required_for_ok: stampRequiredForOk,
1006
- required_for_publish: true,
1007
- stdout: trimOutput(stampVerify.stdout),
1008
- stderr: trimOutput(stampVerify.stderr)
1009
- },
1010
- stale_release_gate_last_pass_stamp: stamp && !currentStamp ? {
1011
- package_version: stamp.package_version || null,
1012
- generated_at: stamp.generated_at || null,
1013
- ignored: true
1014
- } : null,
1015
- non_publish_gaps: nonPublishGaps,
1016
- legacy_report_only_gaps: legacyReportOnlyGaps,
1017
- publish_ready: stampVerify.status === 0 && remainingP0.length === 0 && nonPublishGaps.length === 0,
1018
- remaining_p0_gaps: remainingP0,
1019
- ok: remainingP0.length === 0
1020
- };
1021
- for (const key of [
1022
- 'hook_strict_subset',
1023
- 'codex_lb_setup_truthfulness',
1024
- 'computer_use_evidence_mode_support',
1025
- 'imagegen_core',
1026
- 'codex_0_136',
1027
- 'codex_0_134',
1028
- 'codex_0_133',
1029
- 'mcp_0_134',
1030
- 'parallel_write_kernel_1_18_9',
1031
- 'patch_swarm_runtime_1_18_9',
1032
- 'native_cli_session_swarm_1_18_10',
1033
- 'official_subagent_helper_lane_1_18_10',
1034
- 'real_codex_patch_envelope_smoke_1_18_11',
1035
- 'real_codex_parallel_workers_1_18_11',
1036
- 'fast_mode_default_1_18_10',
1037
- 'mad_sks_actual_executor_closure',
1038
- 'image_ux_review',
1039
- 'ppt_imagegen_review',
1040
- 'dfix',
1041
- 'hook_trust_warning_zero',
1042
- 'extreme_stabilization_1_14_1',
1043
- 'mad_sks_1_16_0',
1044
- 'source_intelligence_1_18',
1045
- 'agent_terminal_zellij_1_18',
1046
- 'runtime_truth_1_18_8',
1047
- 'dynamic_agent_pool_1_18_3',
1048
- 'goal_mode_1_18',
1049
- 'release_full_coverage_1_18',
1050
- 'release_native_agent_backend',
1051
- 'all_feature_completion',
1052
- 'json_schema_recursive',
1053
- 'memory_summary_rebuild',
1054
- 'loop_blocker_stop'
1055
- ]) {
1056
- if (report[key]?.status === 'missing')
1057
- report[key].status = key.endsWith('_1_18') ? 'missing' : 'not_in_1_18_parallel_gate';
1058
- }
1059
- report.dynamic_agent_pool_1_18 = report.dynamic_agent_pool_1_18_3;
1060
- fs.mkdirSync(reportDir, { recursive: true });
1061
- fs.writeFileSync(jsonPath, `${JSON.stringify(report, null, 2)}\n`);
1062
- fs.writeFileSync(mdPath, renderMarkdown(report));
1063
- console.log(JSON.stringify(report, null, 2));
1064
- if (!report.ok)
1065
- process.exitCode = 1;
1066
- function releaseDagGatePassed(gateId) {
1067
- return latestReleaseDagSummary?.ok === true
1068
- && latestReleaseDagSummary?.failed === 0
1069
- && Array.isArray(latestReleaseDagSummary?.selected_gate_ids)
1070
- && latestReleaseDagSummary.selected_gate_ids.includes(gateId);
1071
- }
1072
- function readCurrentReleaseDagSummary() {
1073
- if (!process.env.SKS_REPORT_DIR)
1074
- return null;
1075
- const file = path.join(path.dirname(process.env.SKS_REPORT_DIR), 'summary.json');
1076
- try {
1077
- return JSON.parse(fs.readFileSync(file, 'utf8'));
1078
- }
1079
- catch {
1080
- return null;
1081
- }
1082
- }
1083
- function readLatestReleaseDagSummary() {
1084
- const dir = path.join(root, '.sneakoscope', 'reports', 'release-gates');
1085
- let rows = [];
1086
- try {
1087
- rows = fs.readdirSync(dir, { withFileTypes: true })
1088
- .filter((entry) => entry.isDirectory() && entry.name.startsWith('rg-'))
1089
- .map((entry) => {
1090
- const file = path.join(dir, entry.name, 'summary.json');
1091
- const stat = fs.statSync(file);
1092
- return { file, mtimeMs: stat.mtimeMs };
1093
- })
1094
- .sort((a, b) => b.mtimeMs - a.mtimeMs);
1095
- }
1096
- catch {
1097
- return null;
1098
- }
1099
- for (const row of rows) {
1100
- try {
1101
- const summary = JSON.parse(fs.readFileSync(row.file, 'utf8'));
1102
- if (summary?.selected_preset === 'release')
1103
- return summary;
1104
- }
1105
- catch {
1106
- // Ignore malformed historical release summaries.
1107
- }
1108
- }
1109
- return null;
1110
- }
1111
- function readJson(rel, fallback) {
1112
- try {
1113
- return JSON.parse(fs.readFileSync(path.join(root, rel), 'utf8'));
1114
- }
1115
- catch (err) {
1116
- if (arguments.length > 1)
1117
- return fallback;
1118
- throw err;
1119
- }
1120
- }
1121
- function scriptContains(name, needle) {
1122
- if (name === 'release:check:parallel') {
1123
- return String(pkg.scripts?.[name] || '').includes(needle) || releaseParallelCheckSource.includes(needle) || releaseGateIds.has(needle);
1124
- }
1125
- if (name === 'release:check') {
1126
- return String(pkg.scripts?.[name] || '').includes(needle) || releaseParallelCheckSource.includes(needle) || releaseGateIds.has(needle);
1127
- }
1128
- if (name === 'release:real-check') {
1129
- return String(pkg.scripts?.[name] || '').includes(needle) || releaseRealCheckSource.includes(needle);
1130
- }
1131
- return String(pkg.scripts?.[name] || '').includes(needle);
1132
- }
1133
- function stripComments(text) {
1134
- return String(text || '')
1135
- .replace(/\/\*[\s\S]*?\*\//g, '')
1136
- .replace(/(^|[^:])\/\/.*$/gm, '$1');
1137
- }
1138
- function readText(rel, fallback = '') {
1139
- try {
1140
- return fs.readFileSync(path.join(root, rel), 'utf8');
1141
- }
1142
- catch {
1143
- return fallback;
1144
- }
1145
- }
1146
- function fileContains(rel, needle) {
1147
- try {
1148
- return fs.readFileSync(path.join(root, rel), 'utf8').includes(needle);
1149
- }
1150
- catch {
1151
- return false;
1152
- }
1153
- }
1154
- function runNodeScript(rel) {
1155
- return spawnSync(process.execPath, [rel], {
1156
- cwd: root,
1157
- encoding: 'utf8',
1158
- env: { ...process.env, CI: 'true' },
1159
- timeout: 90_000,
1160
- maxBuffer: 2 * 1024 * 1024
1161
- });
1162
- }
1163
- function runNodeScriptWithOkReportCache(rel, reportRel, freshnessInputs = []) {
1164
- const cached = readFreshOkReport(reportRel, freshnessInputs);
1165
- if (cached) {
1166
- return {
1167
- status: 0,
1168
- stdout: JSON.stringify({
1169
- ok: true,
1170
- cached: true,
1171
- report: reportRel,
1172
- generated_at: cached.generated_at || null
1173
- }),
1174
- stderr: ''
1175
- };
1176
- }
1177
- return runNodeScript(rel);
1178
- }
1179
- function readFreshOkReport(reportRel, freshnessInputs = []) {
1180
- const reportPath = path.join(root, reportRel);
1181
- let report;
1182
- try {
1183
- report = JSON.parse(fs.readFileSync(reportPath, 'utf8'));
1184
- }
1185
- catch {
1186
- return null;
1187
- }
1188
- if (report?.ok !== true)
1189
- return null;
1190
- let reportStat;
1191
- try {
1192
- reportStat = fs.statSync(reportPath);
1193
- }
1194
- catch {
1195
- return null;
1196
- }
1197
- for (const input of freshnessInputs) {
1198
- try {
1199
- if (fs.statSync(path.join(root, input)).mtimeMs > reportStat.mtimeMs)
1200
- return null;
1201
- }
1202
- catch {
1203
- return null;
1204
- }
1205
- }
1206
- return report;
1207
- }
1208
- function trimOutput(text) {
1209
- return String(text || '').slice(0, 4000);
1210
- }
1211
- function renderMarkdown(report) {
1212
- return `# SKS ${RELEASE_VERSION} Release Readiness
1213
-
1214
- - Schema: \`${report.schema}\`
1215
- - Package: \`${report.package.name}@${report.package.version}\`
1216
- - Source truth: commit \`${report.release_proof_truth.git_commit_sha || 'missing'}\`, clean=\`${report.release_proof_truth.git_status_clean ?? 'unknown'}\`, packlist=\`${report.release_proof_truth.npm_packlist_count ?? 'unknown'}\`
1217
- - Scope: \`${report.scope.gate}\`; \`ok: true\` means ${report.scope.ok_means}.
1218
- - Hook strict subset: \`${report.hook_strict_subset.status}\`
1219
- - codex-lb persistence truth: \`${report.codex_lb_setup_truthfulness.status}\`
1220
- - Computer Use evidence modes: \`${report.computer_use_evidence_mode_support.status}\`
1221
- - Imagegen core gpt-image-2 readiness: \`${report.imagegen_core.status}\` (Codex App $imagegen required; capability detection is not output proof)
1222
- - Codex 0.136 compatibility: \`${report.codex_0_136.status}\`
1223
- - Codex 0.134 compatibility: \`${report.codex_0_134.status}\`
1224
- - Real Codex patch envelope smoke ${RELEASE_VERSION}: \`${report.real_codex_patch_envelope_smoke_1_18_11.status}\` (${report.real_codex_patch_envelope_smoke_1_18_11.proof_level || 'not_reported'})
1225
- - Real Codex parallel workers ${RELEASE_VERSION}: \`${report.real_codex_parallel_workers_1_18_11.status}\` (${report.real_codex_parallel_workers_1_18_11.real_codex_parallel_proof_level || 'not_reported'})
1226
- - Codex 0.133 compatibility: \`${report.codex_0_133.status}\`
1227
- - MCP 0.134 modernization: \`${report.mcp_0_134.status}\`
1228
- - Parallel write kernel ${RELEASE_VERSION}: \`${report.parallel_write_kernel_1_18_9.status}\`
1229
- - Patch swarm runtime ${RELEASE_VERSION}: \`${report.patch_swarm_runtime_1_18_9.status}\`
1230
- - Native CLI Session Swarm ${RELEASE_VERSION}: \`${report.native_cli_session_swarm_1_18_10.status}\`
1231
- - Official Codex subagent helper lane ${RELEASE_VERSION}: \`${report.official_subagent_helper_lane_1_18_10.status}\` (worker credit ${report.official_subagent_helper_lane_1_18_10.worker_capacity_credit}, live image output proof ${report.official_subagent_helper_lane_1_18_10.live_codex_app_output_proof_ran ? 'ran' : 'not run'})
1232
- - Fast mode default ${RELEASE_VERSION}: \`${report.fast_mode_default_1_18_10.status}\`
1233
- - MAD-SKS actual executor closure: \`${report.mad_sks_actual_executor_closure.status}\`
1234
- - Release native agent backend: \`${report.release_native_agent_backend.status}\`
1235
- - UX-Review real callout loop gates: \`${report.image_ux_review.status}\`
1236
- - PPT imagegen review gates: \`${report.ppt_imagegen_review.status}\`
1237
- - DFix gates: \`${report.dfix.status}\`
1238
- - Hook trust warning-zero: \`${report.hook_trust_warning_zero.status}\`
1239
- - Source Intelligence 1.18: \`${report.source_intelligence_1_18.status}\`
1240
- - Agent terminal/Zellij 1.18: \`${report.agent_terminal_zellij_1_18.status}\`
1241
- - Runtime truth ${RELEASE_VERSION}: \`${report.runtime_truth_1_18_8.status}\`
1242
- - Dynamic agent pool ${RELEASE_VERSION}: \`${report.dynamic_agent_pool_1_18_3.status}\`
1243
- - Goal mode 1.18: \`${report.goal_mode_1_18.status}\`
1244
- - Release full coverage 1.18: \`${report.release_full_coverage_1_18.status}\`
1245
- - All-feature completion: \`${report.all_feature_completion.status}\`
1246
- - Recursive JSON schema check: \`${report.json_schema_recursive.status}\`
1247
- - Official docs compatibility: \`${report.official_docs_compatibility.status}\`
1248
- - Update check mode: \`${report.update_check.status}\`
1249
- - Memory summary rebuild: \`${report.memory_summary_rebuild.status}\`
1250
- - Loop blocker stop: \`${report.loop_blocker_stop.status}\`
1251
- - Docs truthfulness: \`${report.docs_truthfulness.status}\`
1252
- - Release metadata: \`${report.release_metadata.status}\`
1253
- - Side-effect runtime: \`${report.side_effect_runtime.status}\` (${report.side_effect_runtime.report?.unexpected_applied_mutations ?? 'not_reported'} unexpected applied mutations)
1254
- - Provenance: \`${report.provenance.status}\` (reviewed_ref=${report.provenance.report?.reviewed_ref || 'not_reported'}, main=${report.provenance.report?.main_version || 'unavailable'}, npm=${report.provenance.report?.npm_version || 'unavailable'}, tag=${report.provenance.report?.tag_status?.exists ? 'present' : 'missing'})
1255
- - Publish ready: \`${report.publish_ready ? 'true' : 'false'}\`; non-publish gaps: ${report.non_publish_gaps.length ? report.non_publish_gaps.join(', ') : 'None'}
1256
- - Priority closure: P0 through P9 are tracked in the ${RELEASE_VERSION} readiness surface.
1257
- - Remaining ${RELEASE_VERSION} P0 DAG gaps: ${report.remaining_p0_gaps.length ? report.remaining_p0_gaps.join(', ') : 'None'}
1258
-
1259
- \`not_in_1_18_parallel_gate\` is an explicit non-P0 status for historical, live, or broader gates not run by the ${RELEASE_VERSION} parallel DAG. Computer Use live evidence, UX-Review screenshots, and PPT generated review images remain opt-in/local-only. codex-lb process-only setup is reported as \`process_only_ephemeral\`, not durable persistence. UX-Review/PPT cannot pass from text-only critique or mock-as-real fixtures.
1260
- `;
1261
- }
1262
- //# sourceMappingURL=release-readiness-report.js.map