omega-mv
Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
Brought by drakestapleton
omega-mv / calibration / schemas / terminal_receipt.schema.json
| 1 | { |
| 2 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
| 3 | "$id": "turing.cal.terminal_receipt.v1", |
| 4 | "title": "Turing-profile-v1.0 terminal receipt", |
| 5 | "description": "final_receipt.json written instead of the normal measurement receipt in two cases (calibration/docs/FAILURE_REPORTING.md section 2): kind terminal_fail = a check failed that ends the run with verdict FAIL (written by turing-cal-eval run or gate; the failing criterion FAIL, every other NOT_REACHED, which counts as FAIL); kind inconclusive_infra = the third VOID attempt of EXP-001, counted over generation, frozen-tree tests and evaluation together (verdict INCONCLUSIVE, reason INFRA; written by whichever of turing-cal-eval, generate_sealed_data.sh or record_void.sh wrote the third void receipt). Written once, exclusive create, never replaced, in <eval root>/<C_f>/run/bundle.", |
| 6 | "type": "object", |
| 7 | "additionalProperties": false, |
| 8 | "required": ["schema", "experiment", "kind", "dry_run", "created_utc", "verdict", "profile_digest", "freeze_commit", "candidate_manifest_sha256", "EXP_001_COMPRESSION_BRIDGE"], |
| 9 | "properties": { |
| 10 | "schema": {"const": "turing.cal.terminal_receipt.v1"}, |
| 11 | "experiment": {"const": "EXP-001"}, |
| 12 | "kind": {"enum": ["terminal_fail", "inconclusive_infra"]}, |
| 13 | "dry_run": {"type": "boolean"}, |
| 14 | "created_utc": {"type": "string"}, |
| 15 | "verdict": {"enum": ["FAIL", "INCONCLUSIVE"]}, |
| 16 | "criteria": {"type": "object", "description": "terminal_fail only: S1-S9, each FAIL or NOT_REACHED"}, |
| 17 | "failed_criterion": {"type": "string", "description": "terminal_fail only: S1 (coder or decoder failure), S2 (freeze-order violation, sealed mode), S3 (stream, serialization, binding or symbol-stream failure), S4 (per-crumb sum mismatch), S6 (group 1 has no crumbs), S8 (lane D file missing, unreadable, unparsable; written by the gate), S9 (group 2 has no crumbs), or NONE (read or write failure after scoring that belongs to no single criterion: every criterion NOT_REACHED). S5 and S7 are judged only in the full measurement receipt. EVALUATOR.md section 3 maps every code."}, |
| 18 | "step": {"type": "string"}, |
| 19 | "code": {"type": "string"}, |
| 20 | "reason": {"type": "string"}, |
| 21 | "void_attempts": {"type": "integer", "description": "inconclusive_infra only"}, |
| 22 | "last_step": {"type": "string"}, |
| 23 | "last_code": {"type": "string"}, |
| 24 | "profile_digest": {"type": "string", "pattern": "^[0-9a-f]{64}$", "description": "SHA-256 of the profile the run read (gate: copied from the pending receipt)"}, |
| 25 | "freeze_commit": {"type": "string", "pattern": "^([0-9a-f]{40}|DRY_RUN)$", "description": "C_f; DRY_RUN in a development dry run"}, |
| 26 | "candidate_manifest_sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"}, |
| 27 | "EXP_001_COMPRESSION_BRIDGE": {"enum": ["FAIL", "INCONCLUSIVE", "DRY_RUN_NOT_EVIDENCE"]} |
| 28 | } |
| 29 | } |