sneakoscope 1.0.7 → 1.0.8

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 (70) hide show
  1. package/README.md +30 -0
  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/build-manifest.json +19 -1
  7. package/dist/commands/image-ux-review.d.ts +320 -1
  8. package/dist/commands/wiki.d.ts +7 -1
  9. package/dist/core/codex-compat/codex-0-132.d.ts +46 -0
  10. package/dist/core/codex-compat/codex-0-132.js +105 -0
  11. package/dist/core/codex-compat/codex-compat-report.d.ts +46 -0
  12. package/dist/core/codex-compat/codex-compat-report.js +19 -3
  13. package/dist/core/codex-compat/codex-schema-snapshot.js +7 -7
  14. package/dist/core/codex-compat/codex-version-policy.d.ts +4 -2
  15. package/dist/core/codex-compat/codex-version-policy.js +5 -3
  16. package/dist/core/codex-exec-output-schema.d.ts +45 -0
  17. package/dist/core/codex-exec-output-schema.js +131 -0
  18. package/dist/core/commands/image-ux-review-command.d.ts +320 -1
  19. package/dist/core/commands/image-ux-review-command.js +281 -35
  20. package/dist/core/commands/wiki-command.d.ts +8 -2
  21. package/dist/core/commands/wiki-command.js +11 -2
  22. package/dist/core/evidence/evidence-router.js +7 -1
  23. package/dist/core/fsx.d.ts +1 -1
  24. package/dist/core/fsx.js +1 -1
  25. package/dist/core/goal-workflow.d.ts +6 -0
  26. package/dist/core/goal-workflow.js +6 -0
  27. package/dist/core/image-ux-review/callout-extraction.d.ts +47 -0
  28. package/dist/core/image-ux-review/callout-extraction.js +106 -0
  29. package/dist/core/image-ux-review/fix-loop.d.ts +31 -0
  30. package/dist/core/image-ux-review/fix-loop.js +35 -0
  31. package/dist/core/image-ux-review/fix-task-planner.d.ts +8 -0
  32. package/dist/core/image-ux-review/fix-task-planner.js +55 -0
  33. package/dist/core/image-ux-review/imagegen-adapter.d.ts +52 -0
  34. package/dist/core/image-ux-review/imagegen-adapter.js +69 -0
  35. package/dist/core/image-ux-review/recapture.d.ts +15 -0
  36. package/dist/core/image-ux-review/recapture.js +25 -0
  37. package/dist/core/image-ux-review.d.ts +270 -52
  38. package/dist/core/image-ux-review.js +318 -101
  39. package/dist/core/loop-blocker.d.ts +41 -0
  40. package/dist/core/loop-blocker.js +42 -0
  41. package/dist/core/memory-summary.d.ts +33 -0
  42. package/dist/core/memory-summary.js +71 -0
  43. package/dist/core/proof/evidence-collector.d.ts +1 -1
  44. package/dist/core/proof/route-adapter.d.ts +50 -0
  45. package/dist/core/proof/route-finalizer.d.ts +50 -0
  46. package/dist/core/proof/route-finalizer.js +2 -0
  47. package/dist/core/proof/selftest-proof-fixtures.d.ts +50 -0
  48. package/dist/core/routes.js +4 -4
  49. package/dist/core/triwiki-wrongness/wrongness-cli.d.ts +14 -2
  50. package/dist/core/triwiki-wrongness/wrongness-cli.js +14 -0
  51. package/dist/core/triwiki-wrongness/wrongness-proof-linker.d.ts +1 -1
  52. package/dist/core/triwiki-wrongness/wrongness-retrieval.d.ts +1 -1
  53. package/dist/core/triwiki-wrongness/wrongness-schema.d.ts +1 -1
  54. package/dist/core/triwiki-wrongness/wrongness-schema.js +27 -1
  55. package/dist/core/trust-kernel/trust-report.d.ts +100 -0
  56. package/dist/core/trust-kernel/trust-report.js +38 -4
  57. package/dist/core/version.d.ts +1 -1
  58. package/dist/core/version.js +1 -1
  59. package/dist/core/wiki-image/image-voxel-ledger.d.ts +5 -0
  60. package/dist/core/wiki-image/image-voxel-ledger.js +28 -1
  61. package/dist/core/wiki-image/validation.js +26 -0
  62. package/dist/core/wiki-image/visual-anchor.d.ts +6 -1
  63. package/dist/core/wiki-image/visual-anchor.js +6 -1
  64. package/package.json +11 -2
  65. package/schemas/codex/completion-proof.schema.json +18 -0
  66. package/schemas/codex/computer-use-live-evidence.schema.json +17 -0
  67. package/schemas/codex/image-ux-issue-ledger.schema.json +71 -0
  68. package/schemas/codex/scout-result.schema.json +14 -0
  69. package/schemas/codex/ux-review-callout-extraction.schema.json +17 -0
  70. package/schemas/codex/wrongness-record.schema.json +17 -0
package/README.md CHANGED
@@ -4,6 +4,8 @@ Fast legacy-free proof-first Codex trust layer with image-based Voxel TriWiki.
4
4
 
5
5
  Sneakoscope Codex (`sks`) is a Codex CLI/App harness that makes repeatable Codex work auditable.
6
6
 
7
+ SKS **1.0.8** is the Codex 0.132 UX-Review Seal: Codex CLI `rust-v0.132.0` compatibility is explicit, `codex exec resume --output-schema` is the preferred structured-output path, and `$UX-Review this screenshot with gpt-image-2 callouts, then fix the issues` is a real visual trust loop from source screenshot fidelity to generated callout ingestion, issue ledger extraction, bounded safe fixes, recapture/re-review, Image Voxel relations, Wrongness, Completion Proof, and Trust Report gates.
8
+
7
9
  SKS **1.0.7** is the Ultimate Final Completion seal for the Codex trust harness: Computer Use live evidence is an opt-in, local-only macOS evidence path with explicit `probe_only`, `live_capture_attempted`, `live_capture_success`, and `live_capture_blocked` modes; `codex-lb setup` reports durable persistence versus `process_only_ephemeral` honestly; and docs/release readiness checks block mock/probe/live overclaims.
8
10
 
9
11
  SKS **1.0.6** is the final precision polish for the Codex trust harness: hook compatibility is classified as upstream schema plus an SKS zero-warning strict subset, `sks codex-lb setup` previews and applies the exact choices the user selected, and Computer Use has an optional live smoke surface for macOS capability/evidence status.
@@ -25,6 +27,34 @@ SKS does not try to clone every other harness. It focuses on one thing: making C
25
27
  ![Sneakoscope Codex Trust Layer](docs/assets/sneakoscope-architecture-pipeline.jpg)
26
28
 
27
29
 
30
+ ## 1.0.8 Codex 0.132 UX-Review Seal
31
+
32
+ 1.0.8 makes UX-Review the representative SKS visual trust harness rather than a policy-only fixture. The CLI/App route now records source screenshot original-resolution metadata, requires real `gpt-image-2` generated callout images before verified UX claims, extracts visible callouts into `schemas/codex/image-ux-issue-ledger.schema.json`, plans bounded P0/P1-first fixes, and requires recapture/re-review before visual fix verification.
33
+
34
+ ```bash
35
+ sks codex compatibility --json
36
+ sks ux-review run --image ./screenshot.png --fix --json
37
+ sks ux-review callouts --image ./screenshot.png --json
38
+ sks ux-review extract-issues --generated-image ./generated-callouts.png --json
39
+ sks ux-review fix latest --json
40
+ sks ux-review recapture latest --json
41
+ sks ux-review recheck latest --json
42
+ sks ux-review status latest --json
43
+ ```
44
+
45
+ Release checks now include:
46
+
47
+ - `npm run codex:0.132-compat`
48
+ - `npm run codex:output-schema-fixture`
49
+ - `npm run image-fidelity:check`
50
+ - `npm run ux-review:real-loop-fixture`
51
+ - `npm run ux-review:no-text-fallback`
52
+ - `npm run ux-review:image-voxel-relations`
53
+ - `npm run memory-summary:rebuild-check`
54
+ - `npm run loop-blocker:check`
55
+
56
+ `gpt-image-2` output is local-only by default. Text-only critique is blocked, mock fixtures stay `verified_partial` or lower, screenshot binaries are not automatically published to shared TriWiki, and unavailable Codex/App image-generation capability is recorded as a blocker instead of being faked.
57
+
28
58
  ## 1.0.7 Ultimate Final Completion
29
59
 
30
60
  1.0.7 does not add a new route, skill, or competing harness. It closes the last trust gaps around live visual evidence, persistence truth, and release documentation.
@@ -76,7 +76,7 @@ dependencies = [
76
76
 
77
77
  [[package]]
78
78
  name = "sks-core"
79
- version = "1.0.7"
79
+ version = "1.0.8"
80
80
  dependencies = [
81
81
  "serde_json",
82
82
  ]
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "sks-core"
3
- version = "1.0.7"
3
+ version = "1.0.8"
4
4
  edition = "2021"
5
5
 
6
6
  [dependencies]
@@ -4,7 +4,7 @@ use std::io::{self, Read, Seek, SeekFrom};
4
4
  fn main() {
5
5
  let mut args = std::env::args().skip(1);
6
6
  match args.next().as_deref() {
7
- Some("--version") => println!("sks-rs 1.0.7"),
7
+ Some("--version") => println!("sks-rs 1.0.8"),
8
8
  Some("compact-info") => {
9
9
  let mut input = String::new();
10
10
  let _ = io::stdin().read_to_string(&mut input);
package/dist/bin/sks.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- const FAST_PACKAGE_VERSION = '1.0.7';
2
+ const FAST_PACKAGE_VERSION = '1.0.8';
3
3
  const args = process.argv.slice(2);
4
4
  try {
5
5
  if (args[0] === '--version' || args[0] === '-v' || args[0] === 'version') {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schema": "sks.dist-build.v2",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "typescript": true,
5
5
  "mjs_runtime_files": 0,
6
6
  "files": [
@@ -184,6 +184,8 @@
184
184
  "core/codex-adapter.js",
185
185
  "core/codex-app.d.ts",
186
186
  "core/codex-app.js",
187
+ "core/codex-compat/codex-0-132.d.ts",
188
+ "core/codex-compat/codex-0-132.js",
187
189
  "core/codex-compat/codex-compat-report.d.ts",
188
190
  "core/codex-compat/codex-compat-report.js",
189
191
  "core/codex-compat/codex-config-policy.d.ts",
@@ -206,6 +208,8 @@
206
208
  "core/codex-compat/codex-version-policy.js",
207
209
  "core/codex-compat/codex-version.d.ts",
208
210
  "core/codex-compat/codex-version.js",
211
+ "core/codex-exec-output-schema.d.ts",
212
+ "core/codex-exec-output-schema.js",
209
213
  "core/codex-lb-circuit.d.ts",
210
214
  "core/codex-lb-circuit.js",
211
215
  "core/codex-lb/codex-lb-env.d.ts",
@@ -370,14 +374,28 @@
370
374
  "core/hproof.js",
371
375
  "core/image-ux-review.d.ts",
372
376
  "core/image-ux-review.js",
377
+ "core/image-ux-review/callout-extraction.d.ts",
378
+ "core/image-ux-review/callout-extraction.js",
379
+ "core/image-ux-review/fix-loop.d.ts",
380
+ "core/image-ux-review/fix-loop.js",
381
+ "core/image-ux-review/fix-task-planner.d.ts",
382
+ "core/image-ux-review/fix-task-planner.js",
383
+ "core/image-ux-review/imagegen-adapter.d.ts",
384
+ "core/image-ux-review/imagegen-adapter.js",
385
+ "core/image-ux-review/recapture.d.ts",
386
+ "core/image-ux-review/recapture.js",
373
387
  "core/init.d.ts",
374
388
  "core/init.js",
375
389
  "core/language-preference.d.ts",
376
390
  "core/language-preference.js",
391
+ "core/loop-blocker.d.ts",
392
+ "core/loop-blocker.js",
377
393
  "core/managed-paths.d.ts",
378
394
  "core/managed-paths.js",
379
395
  "core/memory-governor.d.ts",
380
396
  "core/memory-governor.js",
397
+ "core/memory-summary.d.ts",
398
+ "core/memory-summary.js",
381
399
  "core/mission.d.ts",
382
400
  "core/mission.js",
383
401
  "core/mistake-memory.d.ts",
@@ -1,2 +1,321 @@
1
- export declare function run(command: any, args?: any): Promise<void>;
1
+ export declare function run(command: any, args?: any): Promise<void | {
2
+ schema: string;
3
+ ok: any;
4
+ mission_id: any;
5
+ artifacts: {
6
+ policy: {
7
+ schema: string;
8
+ schema_version: number;
9
+ created_at: string;
10
+ contract_hash: any;
11
+ policy: string;
12
+ score_threshold: number;
13
+ minimum_delta_to_continue: number;
14
+ max_full_surface_passes: number;
15
+ max_screen_retries: number;
16
+ codex_compatibility: {
17
+ schema: string;
18
+ baseline: string;
19
+ required_version: string;
20
+ release_evidence: Readonly<{
21
+ upstream: "openai/codex";
22
+ tag: "rust-v0.132.0";
23
+ tag_url: "https://github.com/openai/codex/releases/tag/rust-v0.132.0";
24
+ local_detection: string[];
25
+ official_model_doc: "https://developers.openai.com/api/docs/models/gpt-image-2";
26
+ }>;
27
+ capabilities: import("../core/codex-compat/codex-0-132.js").Codex0132Capability[];
28
+ ux_review_output_schema_preferred: boolean;
29
+ unknown_future_fields_policy: string;
30
+ hook_strict_subset_baseline: string;
31
+ };
32
+ output_schema: {
33
+ preferred_for_codex_0_132: boolean;
34
+ schemas: string[];
35
+ };
36
+ source_capture: {
37
+ required: boolean;
38
+ original_resolution_required: boolean;
39
+ local_only_default: boolean;
40
+ accepted_sources: string[];
41
+ privacy: string;
42
+ };
43
+ image_generation_review: {
44
+ required_for_gate: boolean;
45
+ model: string;
46
+ preferred_surface: string;
47
+ codex_app_imagegen_doc: string;
48
+ api_image_generation_doc: string;
49
+ gpt_image_2_model_doc: string;
50
+ required_policy: string;
51
+ output_artifact: string;
52
+ anti_substitution_rule: string;
53
+ prompt_contract: string[];
54
+ review_prompt_template: string;
55
+ };
56
+ extraction_policy: {
57
+ input_artifact: string;
58
+ output_artifact: string;
59
+ preferred_path: string;
60
+ fallback_cap: string;
61
+ required_issue_fields: string[];
62
+ };
63
+ remediation_policy: {
64
+ code_changes_allowed: string;
65
+ priority_order: string[];
66
+ patch_rule: string;
67
+ no_fallback: string;
68
+ repeated_blocker_stop_threshold: number;
69
+ db_destructive_operations_allowed: boolean;
70
+ };
71
+ evidence_artifacts: string[];
72
+ };
73
+ inventory: {
74
+ schema: string;
75
+ schema_version: number;
76
+ created_at: string;
77
+ contract_hash: any;
78
+ target: any;
79
+ task_signature: string;
80
+ capture_required: boolean;
81
+ source_screens: {
82
+ id: string;
83
+ source: any;
84
+ source_type: string;
85
+ capture_source: string;
86
+ status: string;
87
+ original_resolution: boolean;
88
+ width: null;
89
+ height: null;
90
+ sha256: null;
91
+ exif_orientation_normalized: string;
92
+ privacy: string;
93
+ }[];
94
+ capture_policy: string;
95
+ passed: boolean;
96
+ blockers: string[];
97
+ };
98
+ imagegen_request: {
99
+ schema: string;
100
+ created_at: string;
101
+ model: string;
102
+ surface: string;
103
+ privacy: string;
104
+ requests: any;
105
+ blocker_if_unavailable: {
106
+ schema: string;
107
+ status: string;
108
+ blocker: string;
109
+ surface: string;
110
+ model: string;
111
+ guidance: string;
112
+ };
113
+ };
114
+ generated_review_ledger: {
115
+ schema: string;
116
+ schema_version: number;
117
+ created_at: string;
118
+ contract_hash: any;
119
+ provider: {
120
+ model: string;
121
+ preferred_surface: string;
122
+ codex_app_imagegen_doc: string;
123
+ api_image_generation_doc: string;
124
+ gpt_image_2_model_doc: string;
125
+ };
126
+ required: boolean;
127
+ generated_review_images: any;
128
+ planned_reviews: any;
129
+ generated_count: any;
130
+ real_generated_count: any;
131
+ required_count: any;
132
+ text_only_count: any;
133
+ blockers: string[];
134
+ passed: boolean;
135
+ imagegen_blocker: {
136
+ schema: string;
137
+ status: string;
138
+ blocker: string;
139
+ surface: string;
140
+ model: string;
141
+ guidance: string;
142
+ } | null;
143
+ notes: string[];
144
+ };
145
+ issue_ledger: {
146
+ contract_hash: any;
147
+ output_schema: string;
148
+ scorecard: {
149
+ visual_review_completion: number;
150
+ issue_extraction_integrity: number;
151
+ p0_p1_resolution: number;
152
+ overall_score: number;
153
+ };
154
+ schema: string;
155
+ schema_version: number;
156
+ extraction_source: string;
157
+ extraction_method: string;
158
+ extracted_from_generated_callout: boolean;
159
+ issues: any;
160
+ blocking_issue_count: any;
161
+ p0_p1_zero: any;
162
+ blockers: string[];
163
+ passed: boolean;
164
+ validation: {
165
+ ok: boolean;
166
+ issues: string[];
167
+ };
168
+ };
169
+ fix_task_plan: {
170
+ schema: string;
171
+ tasks: any;
172
+ blockers: string[];
173
+ passed: boolean;
174
+ p0_p1_task_count: any;
175
+ };
176
+ fix_loop: {
177
+ schema: string;
178
+ max_full_surface_passes: number;
179
+ max_screen_retries: number;
180
+ priority_order: string[];
181
+ db_destructive_operations_allowed: boolean;
182
+ dirty_status_before_patch: any;
183
+ changed_files: any;
184
+ patch_commands: any;
185
+ patchable_tasks: any;
186
+ risky_tasks_blocked: any;
187
+ repeated_blocker: {
188
+ schema: string;
189
+ ok: boolean;
190
+ stop_required: boolean;
191
+ threshold: number;
192
+ repeated: {
193
+ key: string;
194
+ count: number;
195
+ }[];
196
+ status: string;
197
+ };
198
+ recapture_required: boolean;
199
+ no_op_patch_wrongness: boolean;
200
+ blockers: string[];
201
+ passed: boolean;
202
+ issue_status_policy: string;
203
+ result_status: string;
204
+ issue_count: any;
205
+ };
206
+ recapture_plan: {
207
+ schema: string;
208
+ changed_screens_only: boolean;
209
+ recapture_required: boolean;
210
+ recapture_source: string;
211
+ recaptured_screenshot_sha256: any;
212
+ recaptured_screenshot_dimensions: any;
213
+ before_after_relation_required: boolean;
214
+ gpt_image_2_re_review_required: boolean;
215
+ output_schema_recheck_required: boolean;
216
+ changed_screens_rechecked_or_not_applicable: boolean;
217
+ blockers: string[];
218
+ passed: boolean;
219
+ };
220
+ iteration_report: {
221
+ schema: string;
222
+ schema_version: number;
223
+ created_at: string;
224
+ contract_hash: any;
225
+ loop_policy: {
226
+ max_full_surface_passes: any;
227
+ max_screen_retries: any;
228
+ score_threshold: any;
229
+ minimum_delta_to_continue: any;
230
+ repeated_blocker_stop_threshold: any;
231
+ };
232
+ passes: {
233
+ pass: number;
234
+ type: string;
235
+ generated_review_images: any;
236
+ real_generated_review_images: any;
237
+ blocking_issue_count: any;
238
+ fix_tasks: any;
239
+ score: any;
240
+ status: string;
241
+ }[];
242
+ stopped: boolean;
243
+ stop_reason: string;
244
+ passed: boolean;
245
+ };
246
+ output_schema: import("../core/codex-exec-output-schema.js").CodexExecResumeOutputSchemaAvailability | {
247
+ ok: boolean;
248
+ status: string;
249
+ warnings: any[];
250
+ };
251
+ gate: {
252
+ passed: boolean;
253
+ schema: string;
254
+ schema_version: number;
255
+ created_at: string;
256
+ contract_hash: any;
257
+ real_source_screenshot_present: boolean;
258
+ computer_use_or_user_screenshot_source: any;
259
+ gpt_image_2_callout_generated: boolean;
260
+ generated_image_ingested: boolean;
261
+ callout_extraction_schema_valid: boolean;
262
+ issue_ledger_from_generated_callout: boolean;
263
+ p0_p1_zero_after_fix: boolean;
264
+ fix_loop_executed_or_not_needed: boolean;
265
+ changed_screens_rechecked: boolean;
266
+ image_voxel_relations_created: boolean;
267
+ wrongness_checked: boolean;
268
+ honest_mode_complete: boolean;
269
+ required_artifacts: string[];
270
+ blockers: any[];
271
+ verification_caps: {
272
+ text_only_review: string;
273
+ mock_fixture: string;
274
+ codex_less_than_0_132_fallback: string;
275
+ };
276
+ notes: string[];
277
+ };
278
+ };
279
+ proof: any;
280
+ } | {
281
+ schema: string;
282
+ ok: boolean;
283
+ status: string;
284
+ } | {
285
+ schema: string;
286
+ ok: any;
287
+ mission_id: any;
288
+ issue_ledger: {
289
+ contract_hash: any;
290
+ output_schema: string;
291
+ scorecard: {
292
+ visual_review_completion: number;
293
+ issue_extraction_integrity: number;
294
+ p0_p1_resolution: number;
295
+ overall_score: number;
296
+ };
297
+ schema: string;
298
+ schema_version: number;
299
+ extraction_source: string;
300
+ extraction_method: string;
301
+ extracted_from_generated_callout: boolean;
302
+ issues: any;
303
+ blocking_issue_count: any;
304
+ p0_p1_zero: any;
305
+ blockers: string[];
306
+ passed: boolean;
307
+ validation: {
308
+ ok: boolean;
309
+ issues: string[];
310
+ };
311
+ };
312
+ proof: any;
313
+ } | {
314
+ schema: string;
315
+ ok: boolean;
316
+ mission_id: any;
317
+ gate: any;
318
+ issue_ledger: any;
319
+ generated_review_ledger: any;
320
+ }>;
2
321
  //# sourceMappingURL=image-ux-review.d.ts.map
@@ -15,7 +15,7 @@ export declare function run(_command: any, args?: any): Promise<void | {
15
15
  };
16
16
  active_records: {
17
17
  id: string;
18
- kind: "incorrect_claim" | "overconfident_claim" | "stale_evidence" | "missing_evidence" | "test_failure" | "route_misclassification" | "scout_error" | "visual_anchor_error" | "image_bbox_error" | "db_safety_false_positive" | "db_safety_false_negative" | "hook_policy_mismatch" | "hook_semantic_mismatch" | "hook_strict_subset_misclassified" | "codex_lb_health_misread" | "codex_lb_missing_env_raw_message" | "codex_lb_setup_choice_drift" | "codex_lb_env_persistence_failure" | "computer_use_policy_misclassification" | "computer_use_live_smoke_mismatch" | "computer_use_external_block_overclaimed" | "mock_real_confusion" | "user_intent_misread" | "artifact_schema_error" | "trust_status_overclaim";
18
+ kind: "incorrect_claim" | "overconfident_claim" | "stale_evidence" | "missing_evidence" | "test_failure" | "route_misclassification" | "scout_error" | "visual_anchor_error" | "image_bbox_error" | "db_safety_false_positive" | "db_safety_false_negative" | "hook_policy_mismatch" | "hook_semantic_mismatch" | "hook_strict_subset_misclassified" | "codex_lb_health_misread" | "codex_lb_missing_env_raw_message" | "codex_lb_setup_choice_drift" | "codex_lb_env_persistence_failure" | "computer_use_policy_misclassification" | "computer_use_live_smoke_mismatch" | "computer_use_external_block_overclaimed" | "mock_real_confusion" | "user_intent_misread" | "artifact_schema_error" | "trust_status_overclaim" | "ux_review_text_only_fallback" | "gpt_image_2_callout_generation_failed" | "callout_extraction_schema_failed" | "callout_bbox_out_of_bounds" | "fix_loop_noop_patch" | "visual_fix_not_rechecked" | "post_fix_regression_detected" | "repeated_blocker_stop";
19
19
  severity: "high" | "low" | "medium" | "critical";
20
20
  route: string | null;
21
21
  claim: string;
@@ -26,6 +26,12 @@ export declare function run(_command: any, args?: any): Promise<void | {
26
26
  active_avoidance_rules: import("../core/triwiki-wrongness/wrongness-schema.js").WrongnessAvoidanceRule[];
27
27
  retrieval_policy: string;
28
28
  } | import("../core/git-hygiene/shared-memory-publish.js").SharedPublishResult | {
29
+ schema_version: number;
30
+ total: {};
31
+ active: {};
32
+ stale: boolean;
33
+ rebuild_recommended: boolean;
34
+ } | {
29
35
  schema: string;
30
36
  target: any;
31
37
  mission_id: string | null;
@@ -0,0 +1,46 @@
1
+ export declare const CODEX_0_132_BASELINE_TAG = "rust-v0.132.0";
2
+ export declare const CODEX_0_132_VERSION = "0.132.0";
3
+ export type Codex0132CapabilityId = 'exec_resume_output_schema' | 'app_server_image_fidelity' | 'memory_summary_version_rebuild' | 'goal_continuation_blocker_stop' | 'tui_probe_batching' | 'remote_executor_standard_auth' | 'python_sdk_auth' | 'python_sdk_turn_result';
4
+ export interface Codex0132Capability {
5
+ id: Codex0132CapabilityId;
6
+ priority: 'P0' | 'P1';
7
+ status: 'available' | 'integration_optional' | 'degraded_supported' | 'warning_only';
8
+ preferred?: boolean;
9
+ detector: string;
10
+ notes: string[];
11
+ }
12
+ export declare const CODEX_0_132_RELEASE_EVIDENCE: Readonly<{
13
+ upstream: "openai/codex";
14
+ tag: "rust-v0.132.0";
15
+ tag_url: "https://github.com/openai/codex/releases/tag/rust-v0.132.0";
16
+ local_detection: string[];
17
+ official_model_doc: "https://developers.openai.com/api/docs/models/gpt-image-2";
18
+ }>;
19
+ export declare function codex0132Capabilities(input?: {
20
+ version?: string | null;
21
+ available?: boolean;
22
+ execResumeHelp?: string;
23
+ execHelp?: string;
24
+ }): Codex0132Capability[];
25
+ export declare function codex0132Matrix(input?: {
26
+ version?: string | null;
27
+ available?: boolean;
28
+ execResumeHelp?: string;
29
+ execHelp?: string;
30
+ }): {
31
+ schema: string;
32
+ baseline: string;
33
+ required_version: string;
34
+ release_evidence: Readonly<{
35
+ upstream: "openai/codex";
36
+ tag: "rust-v0.132.0";
37
+ tag_url: "https://github.com/openai/codex/releases/tag/rust-v0.132.0";
38
+ local_detection: string[];
39
+ official_model_doc: "https://developers.openai.com/api/docs/models/gpt-image-2";
40
+ }>;
41
+ capabilities: Codex0132Capability[];
42
+ ux_review_output_schema_preferred: boolean;
43
+ unknown_future_fields_policy: string;
44
+ hook_strict_subset_baseline: string;
45
+ };
46
+ //# sourceMappingURL=codex-0-132.d.ts.map
@@ -0,0 +1,105 @@
1
+ import { compareSemverLike, parseCodexVersionText } from './codex-version-policy.js';
2
+ export const CODEX_0_132_BASELINE_TAG = 'rust-v0.132.0';
3
+ export const CODEX_0_132_VERSION = '0.132.0';
4
+ export const CODEX_0_132_RELEASE_EVIDENCE = Object.freeze({
5
+ upstream: 'openai/codex',
6
+ tag: CODEX_0_132_BASELINE_TAG,
7
+ tag_url: 'https://github.com/openai/codex/releases/tag/rust-v0.132.0',
8
+ local_detection: [
9
+ 'codex --version',
10
+ 'codex exec --help',
11
+ 'codex exec resume --help'
12
+ ],
13
+ official_model_doc: 'https://developers.openai.com/api/docs/models/gpt-image-2'
14
+ });
15
+ export function codex0132Capabilities(input = {}) {
16
+ const version = parseCodexVersionText(input.version) || input.version || null;
17
+ const available = input.available !== false && Boolean(version);
18
+ const meets = available && compareSemverLike(version, CODEX_0_132_VERSION) >= 0;
19
+ const resumeHelp = `${input.execResumeHelp || ''}\n${input.execHelp || ''}`;
20
+ const outputSchemaDetected = /--output-schema\b/.test(resumeHelp)
21
+ || /--output-schema\b/.test(input.execHelp || '');
22
+ const status = available
23
+ ? meets ? 'available' : 'degraded_supported'
24
+ : 'integration_optional';
25
+ const outputSchemaStatus = outputSchemaDetected || meets ? status : 'degraded_supported';
26
+ return [
27
+ {
28
+ id: 'exec_resume_output_schema',
29
+ priority: 'P0',
30
+ status: outputSchemaStatus,
31
+ preferred: outputSchemaStatus === 'available',
32
+ detector: 'Codex version >=0.132.0 or `codex exec resume --help` exposes --output-schema',
33
+ notes: [
34
+ 'Preferred structured output path for Scout, UX-Review callout extraction, Completion Proof, and Wrongness outputs.',
35
+ outputSchemaDetected ? 'Local help text exposes --output-schema on exec resume.' : 'Help text did not expose --output-schema; fallback output is capped at verified_partial.'
36
+ ]
37
+ },
38
+ {
39
+ id: 'app_server_image_fidelity',
40
+ priority: 'P0',
41
+ status,
42
+ detector: 'Codex 0.132 baseline plus gpt-image-2 high-fidelity image input support',
43
+ notes: [
44
+ 'UX-Review records original-resolution source metadata and generated/source dimension relations.',
45
+ 'If the Codex App image surface is unavailable, SKS records imagegen_capability_missing and blocks verified visual claims.'
46
+ ]
47
+ },
48
+ {
49
+ id: 'memory_summary_version_rebuild',
50
+ priority: 'P0',
51
+ status,
52
+ detector: 'Codex 0.132 memory summary version/rebuild behavior mapped to SKS summary schema versions',
53
+ notes: ['TriWiki, Wrongness, and shared memory summaries carry schema versions and rebuild metadata.']
54
+ },
55
+ {
56
+ id: 'goal_continuation_blocker_stop',
57
+ priority: 'P0',
58
+ status,
59
+ detector: 'Codex 0.132 goal continuation usage-limit/repeated-blocker behavior',
60
+ notes: ['Goal, QA, Research, and UX-Review loops use the same repeated-blocker stop contract.']
61
+ },
62
+ {
63
+ id: 'tui_probe_batching',
64
+ priority: 'P0',
65
+ status,
66
+ detector: 'Codex 0.132 TUI startup terminal capability probe batching mapped to SKS doctor probes',
67
+ notes: ['Doctor probes expose batchable probe ids and timeout budgets.']
68
+ },
69
+ {
70
+ id: 'remote_executor_standard_auth',
71
+ priority: 'P1',
72
+ status: status === 'available' ? 'warning_only' : status,
73
+ detector: 'Codex 0.132 remote executor registration can use standard Codex auth',
74
+ notes: ['Recorded as a codex-lb/remote executor policy review item; no credential fallback is invented.']
75
+ },
76
+ {
77
+ id: 'python_sdk_auth',
78
+ priority: 'P1',
79
+ status: status === 'available' ? 'warning_only' : status,
80
+ detector: 'Codex 0.132 Python SDK first-class auth',
81
+ notes: ['P1 optional adapter skeleton only; SKS eval harness remains JS-first unless explicitly configured.']
82
+ },
83
+ {
84
+ id: 'python_sdk_turn_result',
85
+ priority: 'P1',
86
+ status: status === 'available' ? 'warning_only' : status,
87
+ detector: 'Codex 0.132 richer Python TurnResult',
88
+ notes: ['P1 optional timing/usage adapter target for future scout benchmarks.']
89
+ }
90
+ ];
91
+ }
92
+ export function codex0132Matrix(input = {}) {
93
+ const capabilities = codex0132Capabilities(input);
94
+ return {
95
+ schema: 'sks.codex-0-132-matrix.v1',
96
+ baseline: CODEX_0_132_BASELINE_TAG,
97
+ required_version: CODEX_0_132_VERSION,
98
+ release_evidence: CODEX_0_132_RELEASE_EVIDENCE,
99
+ capabilities,
100
+ ux_review_output_schema_preferred: capabilities.find((capability) => capability.id === 'exec_resume_output_schema')?.preferred === true,
101
+ unknown_future_fields_policy: 'warning_only_baseline_validation',
102
+ hook_strict_subset_baseline: 'rust-v0.131.0'
103
+ };
104
+ }
105
+ //# sourceMappingURL=codex-0-132.js.map