)]}'
{
  "commit": "8dd6e3cea96bd06930d4b6d2aa4ff04eed2135d7",
  "tree": "f03382cb8b91680f29488013b781ee033f6d6816",
  "parents": [
    "e2fad31672ba98daf8adb7d653fca6264a9ec130"
  ],
  "author": {
    "name": "Valerie Snyder",
    "email": "valsnyde@cisco.com",
    "time": "Thu May 07 19:14:48 2026 -0400"
  },
  "committer": {
    "name": "Valerie Snyder",
    "email": "valsnyde@cisco.com",
    "time": "Thu May 14 14:27:29 2026 -0400"
  },
  "message": "Run metadata preclass scans before final verdict\n\nMetadata preclass bytecodes ran after cli_magic_scan() finalized\nthe layer verdict. Evidence added by those hooks, or by the\nlegacy metadata JSON scan, could miss the root-layer verdict\nupdate and clean-cache decision.\n\nMove root metadata preclass work into cli_magic_scan() for the\nroot layer, before verdict finalization. Keep final metadata\nserialization in scan_common(), preserve legacy RootFileType\nhandling, log long JSON strings in chunks, and normalize CL_BREAK\nfrom the preclass hook to a successful control result.\n\nRun post-scan callbacks only after the metadata preclass work has\nupdated the layer verdict. Reconcile the verdict and status again\nafter callbacks, because either callback API can add evidence or\ntrust the current layer.\n\nDerive non-trusted layer verdicts from current evidence so removed\nindicators do not leave stale non-clean verdicts behind.\n\nGate clean-cache insertion on a successful status so terminal scan\nerrors are not cached as clean.\n\nCLAM-2991\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2f850441714e982929d032683bfeab727bc2d08d",
      "old_mode": 33188,
      "old_path": "libclamav/scanners.c",
      "new_id": "aad8f1f64ce1b8d4585091f77ab0e52b4b0f50ff",
      "new_mode": 33188,
      "new_path": "libclamav/scanners.c"
    }
  ]
}
