← Codex SecurityCONTENT HISTORY

Update to Codex Security

Snapshot Nov 18, 2026 · 06:12 UTC · version 0.1.33

WHAT CHANGED

Package or technical metadata updated

Package or technical metadata updated

Observed in package metadata. These changes alone do not establish a new customer-facing feature.

Save Codex Security and check future changes in Following.

Up to 3 plugins free · no card required.

All fields and original values.

These are saved file metadata. Open a changed file to read its text edits.

Package file

Before

Oct 7, 2026 · 06:02 UTC

527d1a0db286884729572d400b0ad9b0ff852d4a12b36228ff5fbef180f7de9d

After

Nov 18, 2026 · 06:12 UTC

3766646eafb09a5e691657999f4f423c9652bbac286c0e0f55e179169aa97e99

Package file

Before

Oct 7, 2026 · 06:02 UTC

1582

After

Nov 18, 2026 · 06:12 UTC

1846

Package file

Before

Oct 7, 2026 · 06:02 UTC

7c5968060f6e848859ce02450d6e02e67029d8d39011bbda1059b19de6309ebf

After

Nov 18, 2026 · 06:12 UTC

69bbc0f86c92397eb7540ff09c17d69d429b0dc45dc1de3e02b16d101adfe7c0

Package file

Before

Oct 7, 2026 · 06:02 UTC

1679

After

Nov 18, 2026 · 06:12 UTC

2078

Compare saved observations

Download comparison JSON

Changed files

Choose a file to see its text changes. Binary or large files show metadata only.

.codex-plugin/plugin.json →

.mcp.json →

examples/completed-scan/coverage.json →

examples/completed-scan/findings.json →

examples/completed-scan/report.md →

examples/completed-scan/scan-manifest.json →

examples/legacy-completed-scan/coverage.json →

examples/legacy-completed-scan/findings.json →

examples/legacy-completed-scan/report.md →

examples/legacy-completed-scan/scan-manifest.json →

integrity.json →

mcp/fzstd-LICENSE.txt →

mcp/helpers.mjs →

mcp/helpers.mjs.br →

mcp/helpers.mjs.br.part-000 →

mcp/native/THIRD_PARTY_NOTICES.txt →

mcp/native/darwin-arm64/unix.node →

mcp/native/darwin-x64/unix.node →

mcp/native/linux-arm64-gnu/unix.node →

mcp/native/linux-arm64-musl/unix.node →

mcp/native/linux-x64-gnu/unix.node →

mcp/native/linux-x64-musl/unix.node →

mcp/native/win32-arm64/windows.node →

mcp/native/win32-x64/windows.node →

mcp/package.json →

mcp/permission-profile-preflight.mjs →

mcp/server.mjs →

mcp/server.mjs.br →

mcp/server.mjs.br.part-000 →

mcp/server.mjs.br.part-001 →

mcp/session-decompression.mjs →

preflight/capability-profiles.toml →

references/access-advisory.md →

references/artifact-storage.md →

references/baseline-auditor.md →

references/config-preflight.md →

references/core-scan.md →

references/default-severity-rubric.md →

references/desktop-config-preflight.md →

references/final-report.md →

references/finding-detail-fields.md →

references/focused-investigator.md →

references/investigation-time-budget.md →

references/sarif-adapter.md →

references/scan-artifacts.md →

references/scan-contract.md →

references/scan-prologue.md →

references/scan-runtime.md →

references/security-guidance.md →

references/standalone-validation.md →

references/threat-model.md →

references/validate-scan-findings.md →

schemas/coverage.schema.json →

schemas/definitions/artifact-common.schema.json →

schemas/definitions/discovery-candidate.schema.json →

schemas/findings.schema.json →

schemas/patch-risk-assessment.schema.json →

schemas/scan-manifest.schema.json →

schemas/tools/candidate-attack-paths.schema.json →

schemas/tools/candidate-validations.schema.json →

schemas/tools/deep-reducer.schema.json →

schemas/tools/discovery-candidates.schema.json →

schemas/tools/review-items.schema.json →

schemas/tools/scan-draft.schema.json →

schemas/tools/worker-threat-model.schema.json →

scripts/check_deep_scan_target.py →

scripts/codex_profile.mjs →

scripts/codex_session.mjs →

scripts/config_preflight.py →

scripts/deep_scan_config.py →

scripts/deep_scan_workbench.py →

scripts/dispatch_inventory_tool →

scripts/filesystem_identity.py →

scripts/finalize_scan_contract.py →

scripts/finding_preview.py →

scripts/generate_in_scope_files.py →

scripts/generate_rank_input.py →

scripts/launch_codex_security_mcp →

scripts/launch_codex_security_mcp.cmd →

scripts/legacy_findings.py →

scripts/posix_scan_local_files.py →

scripts/rank_preview.py →

scripts/read_codex_session.mjs →

scripts/report_projection.py →

scripts/review_state.py →

scripts/servicenow_avit.py →

scripts/snapshot_sqlite.py →

scripts/threat_model_projection.py →

scripts/validate_scan_contract.py →

scripts/validate_tracking_source.py →

scripts/windows_scan_local_files.py →

scripts/workbench/__init__.py →

scripts/workbench/handoff.py →

scripts/workbench/retained_coverage.py →

scripts/workbench/retained_records.py →

scripts/workbench/runtime_toml.py →

scripts/workbench/saved_coverage.py →

scripts/workbench/saved_outputs.py →

scripts/workbench/saved_sources.py →

scripts/workbench/storage.py →

scripts/workbench_cli.py →

scripts/workbench_constants.py →

scripts/workbench_coverage_receipts.py →

scripts/workbench_dashboard.py →

scripts/workbench_db.py →

scripts/workbench_feedback.py →

scripts/workbench_finding_index.py →

scripts/workbench_finding_workflows.py →

scripts/workbench_findings.py →

scripts/workbench_native_indexes.py →

scripts/workbench_progress.py →

scripts/workbench_publication.py →

scripts/workbench_remediation.py →

scripts/workbench_saved_results.py →

scripts/workbench_scan_history.py →

scripts/workbench_scan_start.py →

scripts/workbench_scan_usage.py →

scripts/workbench_schema.py →

scripts/workbench_setup.py →

scripts/workbench_severity.py →

scripts/workbench_source_excerpt.py →

scripts/workbench_source_scopes.py →

scripts/workbench_target.py →

scripts/workbench_target_state.py →

scripts/workbench_validation.py →

shared/workbench-history-repairs.json →

shared/workbench-migrations.json →

skills/assess-patch-risk/SKILL.md →

skills/assess-patch-risk/references/windows-validation.md →

skills/attack-path-analysis/SKILL.md →

skills/attack-path-analysis/references/attack-path-facts.md →

skills/attack-path-analysis/references/severity-policy.md →

skills/check-skills/SKILL.md →

skills/check-skills/agents/openai.yaml →

skills/cloud-findings/SKILL.md →

skills/cloud-findings/agents/openai.yaml →

skills/deep-security-scan/SKILL.md →

skills/define-security-policy/SKILL.md →

skills/finding-discovery/SKILL.md →

skills/fix-finding/SKILL.md →

skills/propose-security-hardening/SKILL.md →

skills/propose-security-hardening/references/proposal-format.md →

skills/publish-findings/SKILL.md →

skills/publish-findings/agents/openai.yaml →

skills/publish-findings/references/checkmarx-import.md →

skills/publish-findings/references/wiz-import.md →

skills/publish-findings/scripts/collect_checkmarx.py →

skills/publish-findings/scripts/collector_paths.py →

skills/resolve-dependency-alert/SKILL.md →

skills/resolve-dependency-alert/agents/openai.yaml →

skills/security-diff-scan/SKILL.md →

skills/security-scan/SKILL.md →

skills/security-scan/agents/openai.yaml →

skills/security-scan/references/desktop-scan.md →

skills/security-scan/references/managed-scan.md →

skills/security-scan/references/scan-artifacts-and-ledger.md →

skills/security-scan/references/scan-results.md →

skills/security-scan/references/scoped-paths.md →

skills/security-scan/references/sdk-files.md →

skills/threat-model-visualize/SKILL.md →

skills/threat-model-visualize/agents/openai.yaml →

skills/threat-model-visualize/assets/context-reference-overview.svg →

skills/threat-model-visualize/assets/context-reference-path.svg →

skills/threat-model-visualize/assets/control-effects.js →

skills/threat-model-visualize/assets/explorer.css →

skills/threat-model-visualize/assets/explorer.html →

skills/threat-model-visualize/assets/explorer.js →

skills/threat-model-visualize/assets/route-paths.js →

skills/threat-model-visualize/assets/source-roles.js →

skills/threat-model-visualize/assets/svg-layout.js →

skills/threat-model-visualize/references/context-explorer.md →

skills/threat-model-visualize/references/view-model.md →

skills/threat-model-visualize/scripts/build_explorer.py →

skills/threat-model/SKILL.md →

skills/track-findings/SKILL.md →

skills/track-findings/references/github-security-advisories.md →

skills/triage-finding/SKILL.md →

skills/triage-finding/references/github-rest-intake.md →

skills/triage-finding/references/ticket-intake.md →

skills/validation/SKILL.md →

skills/validation/references/validation-guidance.md →

skills/verify-fix/SKILL.md →

skills/vulnerability-writeup/SKILL.md →

skills/vulnerability-writeup/references/report-format.md →

scripts/workbench_saved_results.py

− removed · + added

--- before
+++ after
@@ -10,7 +10,6 @@
 import os
 import re
 import sqlite3
-import stat
 import sys
 from collections.abc import Iterator
 from contextlib import contextmanager
@@ -20,40 +19,63 @@
 sys.path.insert(0, str(Path(__file__).resolve().parent))
 from finalize_scan_contract import (
     ContractError,
-    _finding_strength,
+    ScanLocalIOError,
     _populate_unsealed_artifact_envelope,
     _populate_unsealed_manifest_envelope,
     _prepare_scan_finalization,
-    _read_json,
     _read_saved_threat_model,
     _read_scan_local_json,
     _read_scan_local_json_bytes,
-    _read_scan_local_json_with_metadata,
+    _recover_unsealed_coverage,
     _recover_unsealed_findings,
     _remove_scan_local_file_if_exists,
     _validate_completion_binding,
-    _validate_resolved_deferred,
-    _validate_schema_node,
     _write_prepared_scan_finalization,
     finalize_scan,
-    finding_candidate_id,
+    manifest_is_sealed,
     open_scan_local_file_descriptor,
     write_scan_local_bytes,
     write_threat_model_projection_if_possible,
 )
+from finalize_scan_contract import finding_candidate_id as finding_candidate_id
+from review_state import checkpoint_review_state, review_state, review_summary, uses_legacy_review
+from workbench.retained_coverage import merge_saved_results as merge_saved_results
+from workbench.saved_coverage import (
+    _saved_coverage_id as _saved_coverage_id,
+)
+from workbench.saved_outputs import _restore_published_outputs, _snapshot_published_outputs
+from workbench.saved_sources import (
+    _admit_parent_checkpoint,
+    _capture_saved_source,
+    _checkpoint_paths,
+    _CheckpointSnapshotError,
+    _encode_retained_sources,
+    _encoded,
+    _freeze_source_times,
+    _frozen_checkpoint_heads,
+    _frozen_source_times,
+    _is_source_order_snapshot,
+    _legacy_checkpoint_observed_at,
+    _parent_scan_draft,
+    _read_saved_parent_result,
+    _read_saved_result,
+    _require_current_deep_publication,
+    _restore_checkpoint_head,
+    _restore_frozen_model_capture,
+    _retained_checkpoint_state,
+    _retained_source_state,
+    _saved_result_paths,
+    _source_digests,
+)
+from workbench.saved_sources import (
+    _digest as _digest,
+)
+from workbench.storage import saved_deep_workers
 from workbench_constants import PHASES
-from workbench_target import committed_diff_snapshot_digest
-from workbench_validation import path_within_scope
-
-_PUBLISHED_OUTPUTS = (
-    "findings.json",
-    "coverage.json",
-    "scan-manifest.json",
-    "report.md",
-    "threatmodel.md",
-    "report.html",
-    "exports/results.sarif",
+from workbench_coverage_receipts import (
+    _generic_surface_updates as _generic_surface_updates,
 )
+
 _PUBLICATION_FOLLOW_UP_WARNING = (
     "Saved scan evidence remains on disk; result publication needs follow-up:"
 )
@@ -63,6 +85,7 @@
 
 
 def threat_model_fields(db: Any, scan: sqlite3.Row) -> dict[str, Any]:
+    """Return availability and provenance for a saved threat model, reporting it as unavailable when verification fails."""
     scan_dir = Path(scan["scan_dir"])
     fields: dict[str, Any] = {"threatModelAvailable": False}
     try:
@@ -117,293 +140,11 @@
     return db.scan_context(connection, scan["id"])
 
 
-def _encoded(value: Any) -> bytes:
-    return json.dumps(
-        value, ensure_ascii=True, allow_nan=False, sort_keys=True, separators=(",", ":")
-    ).encode()
-
-
-def _digest(value: Any) -> str:
-    return hashlib.sha256(_encoded(value)).hexdigest()
-
-
-def _children(scan_dir: Path, relative: str) -> list[str]:
-    cursor = scan_dir
-    for part in Path(relative).parts:
-        if part in {"..", "."}:
-            return []
-        cursor = cursor / part
-        try:
-            if not stat.S_ISDIR(cursor.lstat().st_mode):
-                return []
-        except FileNotFoundError:
-            return []
-    return sorted(child.name for child in cursor.iterdir())
-
-
-def _latest_successful_reducer(workers: list[Any]) -> Any | None:
-    return max(
-        (
-            worker
-            for worker in workers
-            if worker["kind"] == "dedup"
-            and worker["status"] == "succeeded"
-            and worker["result_manifest_path"]
-        ),
-        key=lambda worker: (worker["completed_at"] or "", worker["id"]),
-        default=None,
-    )
-
-
-def _checkpoint_paths(scan_dir: Path, directory: str) -> list[str]:
-    return [
-        f"{directory}/{name}"
-        for name in _children(scan_dir, directory)
-        if re.fullmatch(r"[0-9a-f]{64}\.json", name)
-    ]
-
-
-def _worker_outputs(scan_dir: Path, worker: Any) -> list[tuple[str, int]]:
-    output = Path(worker["artifact_dir"]).relative_to(scan_dir)
-    attempts = (output.parent if output.name == "output" else output) / "attempts"
-    archived = [
-        ((attempts / name).as_posix(), int(name.split("-")[1]))
-        for name in _children(scan_dir, attempts.as_posix())
-        if re.fullmatch(r"attempt-\d+", name)
-    ]
-    attempt = int(worker["attempt"] or 0) if "attempt" in worker.keys() else 0
-    if worker["kind"] == "discovery" and not attempt:
-        attempt = max((attempt for _, attempt in archived), default=0) + 1
-    return [(output.as_posix(), attempt), *archived]
-
-
-def _saved_result_paths(scan_dir: Path, workers: list[Any]) -> Iterator[tuple[str, str | None]]:
-    latest_reducer = _latest_successful_reducer(workers)
-    yield "checkpoint-head.json", None
-    for directory in ("checkpoint-heads", "checkpoints"):
-        yield from ((path, None) for path in _checkpoint_paths(scan_dir, directory))
-    for worker in workers:
-        if worker["kind"] not in {"dedup", "discovery"}:
-            continue
-        try:
-            outputs = _worker_outputs(scan_dir, worker)
-        except (TypeError, ValueError):
-            continue
-        for directory, _ in outputs:
-            if worker["kind"] == "discovery":
-                yield f"{directory}/checkpoint-head.json", worker["kind"]
-                yield from (
-                    (path, worker["kind"])
-                    for path in _checkpoint_paths(scan_dir, f"{directory}/checkpoint-heads")
-                )
-            checkpoint_paths = _checkpoint_paths(scan_dir, f"{directory}/checkpoints")
-            if worker["kind"] == "discovery" or checkpoint_paths:
-                yield f"{directory}/result.json", worker["kind"]
-                yield from ((path, worker["kind"]) for path in checkpoint_paths)
-        if worker["result_manifest_path"] and (
-            worker["kind"] == "discovery"
-            or (latest_reducer is not None and worker["id"] == latest_reducer["id"])
-        ):
-            try:
-                yield (
-                    Path(worker["result_manifest_path"]).relative_to(scan_dir).as_posix(),
-                    worker["kind"],
-                )
-            except ValueError:
-                continue
-
-
-def _checkpoint_head_directory(relative: str) -> Path | None:
-    path = Path(relative)
-    if path.name == "checkpoint-head.json":
-        return path.parent
-    if path.parent.name == "checkpoint-heads":
-        return path.parent.parent
-    return None
-
-
-def _capture_saved_source(
-    scan_dir: Path,
-    relative: str,
-    scan_id: str,
-    *,
-    kind: str | None = None,
-    snapshot_head: bool = True,
-    write: bool = True,
-) -> dict[str, tuple[str, int]]:
-    if not snapshot_head or Path(relative).name != "checkpoint-head.json":
-        _, digest, observed = _read_saved_result(scan_dir, relative, scan_id, kind=kind)
-        return {relative: (digest, observed)}
-    head, _, observed = _read_saved_result(scan_dir, relative, scan_id)
-    observation = {"checkpoint": head["checkpoint"], "observedAtNs": str(observed)}
-    directory = Path(relative).parent
-    selected = (directory / "checkpoints" / observation["checkpoint"]).as_posix()
-    _, selected_digest, selected_time = _read_saved_result(scan_dir, selected, scan_id)
-    digest = _digest(observation)
-    snapshot = (directory / "checkpoint-heads" / f"{digest}.json").as_posix()
-    # Capture the selected file even if the worker created it after directory enumeration.
-    if write and not (scan_dir / snapshot).exists():
-        write_scan_local_bytes(scan_dir, snapshot, _encoded(observation))
-    return {
-        snapshot: (digest, int(observation["observedAtNs"])),
-        selected: (selected_digest, selected_time),
-    }
-
-
-def _is_source_order_snapshot(relative: str) -> bool:
-    path = Path(relative)
-    return path.parent == Path("source-order") and bool(
-        re.fullmatch(r"[0-9a-f]{64}\.json", path.name)
-    )
-
-
-def _read_saved_result(
-    scan_dir: Path, relative: str, scan_id: str, *, kind: str | None = None
-) -> tuple[dict[str, Any], str, int]:
-    draft, _, metadata = _read_scan_local_json_with_metadata(
-        scan_dir, relative, "Saved scan checkpoint"
-    )
-    directory = _checkpoint_head_directory(relative)
-    if directory is not None:
-        checkpoint = draft.get("checkpoint")
-        if not isinstance(checkpoint, str) or not re.fullmatch(r"[0-9a-f]{64}\.json", checkpoint):
-            raise ContractError("checkpoint head does not name a saved checkpoint")
-        _read_saved_result(scan_dir, (directory / "checkpoints" / checkpoint).as_posix(), scan_id)
-        if Path(relative).name == "checkpoint-head.json":
-            return draft, _digest([draft, metadata.st_mtime_ns]), metadata.st_mtime_ns
-        observed = draft.get("observedAtNs")
-        if not isinstance(observed, str) or not re.fullmatch(r"-?[0-9]+", observed):
-            raise ContractError("checkpoint head has no observation time")
-        return draft, _digest(draft), int(observed)
-    if draft.get("scanId") != scan_id:
-        raise ContractError("checkpoint belongs to a different scan")
-    if not _is_source_order_snapshot(relative) and (
-        not isinstance(draft.get("findings"), list)
-        or not isinstance(draft.get("coverage", {} if kind == "dedup" else None), dict)
-    ):
-        raise ContractError("checkpoint has no semantic findings or coverage")
-    return draft, _digest(draft), metadata.st_mtime_ns
-
-
-def _frozen_source_times(scan_dir: Path, scan_id: str, sources: dict[str, str]) -> dict[str, int]:
-    times: dict[str, int] = {}
-    snapshots = [path for path in sources if _is_source_order_snapshot(path)]
-    for path in snapshots:
-        record, digest, _ = _read_saved_result(scan_dir, path, scan_id)
-        if digest != sources[path] or not isinstance(record.get("sources"), dict):
-            raise ContractError("saved source ordering changed after the scan stopped")
-        for relative, observation in record["sources"].items():
-            if (
-                not isinstance(observation, dict)
-                or relative not in sources
-                or observation.get("digest") != sources[relative]
-                or not isinstance(observation.get("observedAtNs"), str)
-                or not re.fullmatch(r"-?[0-9]+", observation["observedAtNs"])
-            ):
-                raise ContractError("saved source ordering does not match its frozen sources")
-            observed = int(observation["observedAtNs"])
-            if relative in times and times[relative] != observed:
-                raise ContractError("saved source ordering has conflicting observations")
-            times[relative] = observed
-    if snapshots and sources.keys() - set(snapshots) - times.keys():
-        raise ContractError("saved source ordering is incomplete")
-    return times
-
-
-def _freeze_source_times(
-    scan_dir: Path, scan_id: str, sources: dict[str, str], times: dict[str, int]
-) -> None:
-    # Identical result rewrites must not change the order of frozen review evidence.
-    observations = {
-        path: {"digest": digest, "observedAtNs": str(times[path])}
-        for path, digest in sources.items()
-        if not _is_source_order_snapshot(path)
-    }
-    if not observations:
-        return
-    record = {"scanId": scan_id, "sources": observations}
-    digest = _digest(record)
-    path = f"source-order/{digest}.json"
-    if not (scan_dir / path).exists():
-        write_scan_local_bytes(scan_dir, path, _encoded(record))
-    if _read_saved_result(scan_dir, path, scan_id)[1] != digest:
-        raise ContractError("saved source ordering does not match its digest")
-    sources[path] = digest
-
-
-def _parent_scan_draft(
-    scan_id: str,
-    parent_scan: dict[str, Any],
-    findings: dict[str, Any],
-    coverage: dict[str, Any],
-) -> dict[str, Any]:
-    parent = {
-        "scanId": scan_id,
-        "findings": findings.get("findings"),
-        "coverage": coverage,
-        **{
-            key: parent_scan[key]
-            for key in ("scope", "threatModel", "complete")
-            if key in parent_scan
-        },
-    }
-    if not isinstance(parent["findings"], list):
-        raise ContractError("Saved parent draft has no findings array")
-    return parent
-
-
-def _read_saved_parent_result(
-    scan_dir: Path, scan_id: str
-) -> tuple[dict[str, Any], dict[str, Any]]:
-    manifest = _read_scan_local_json(scan_dir, "scan-manifest.json", "Saved parent manifest")
-    findings = _read_scan_local_json(scan_dir, "findings.json", "Saved parent findings")
-    coverage = _read_scan_local_json(scan_dir, "coverage.json", "Saved parent coverage")
-    parent_scan = manifest.get("scan")
-    if not isinstance(parent_scan, dict):
-        raise ContractError("Saved parent manifest has no scan object")
-    if (parent_scan.get("sealedAt") or parent_scan.get("artifacts")) and (
-        parent_scan.get("id", scan_id) != scan_id
-        or findings.get("scanId", scan_id) != scan_id
-        or coverage.get("scanId", scan_id) != scan_id
-    ):
-        raise ContractError("Saved parent documents belong to a different scan")
-    return manifest, _parent_scan_draft(scan_id, parent_scan, findings, coverage)
-
-
-def _source_digests(value: Any, error: str) -> dict[str, str]:
-    if not isinstance(value, dict) or not all(
-        isinstance(relative, str) and isinstance(digest, str) for relative, digest in value.items()
-    ):
-        raise ContractError(error)
-    return value
-
-
-def _retained_source_state(value: Any) -> tuple[dict[str, str], str | None]:
-    if isinstance(value, dict) and isinstance(value.get("sources"), dict):
-        sources = _source_digests(
-            value["sources"], "Saved stopped-scan source digests are malformed."
-        )
-        model_source = value.get("threatModelSource")
-        if not isinstance(model_source, str) or model_source not in sources:
-            raise ContractError("Saved stopped-scan model source is outside its checkpoint set.")
-        return sources, model_source
-    return _source_digests(value, "Saved stopped-scan source digests are malformed."), None
-
-
-def _encode_retained_sources(sources: dict[str, str], model_source: list[str]) -> str:
-    state = {"sources": sources, "threatModelSource": model_source[0]} if model_source else sources
-    return json.dumps(state, sort_keys=True)
-
-
 def _saved_results_changed(db: Any, connection: Any, scan: Any) -> bool:
     try:
         scan_dir = db.require_canonical_scan_directory(Path(scan["scan_dir"]))
         manifest_path = db.artifact_path(scan_dir, db.ARTIFACTS["manifest"], required=False)
-        workers = connection.execute(
-            "SELECT id, kind, status, completed_at, artifact_dir, result_manifest_path "
-            "FROM deep_scan_workers WHERE scan_id = ?",
-            (scan["id"],),
-        ).fetchall()
+        workers = saved_deep_workers(connection, scan)
         paths = dict(_saved_result_paths(scan_dir, workers))
         frozen_sources = scan["retained_source_digests_json"]
 
@@ -418,7 +159,7 @@
 
         if manifest_path is None:
             if frozen_sources is not None:
-                return bool(_retained_source_state(json.loads(frozen_sources))[0])
+                return bool(_retained_source_state(frozen_sources)["sources"])
             return has_saved_source()
         if scan["seal_manifest_digest"] is None:
             try:
@@ -439,6 +180,22 @@
             manifest_scan.get("preservedSources", {}),
             "Published scan source digests are malformed.",
         )
+        _, pending_recovery = _retained_checkpoint_state(scan)
+        if pending_recovery:
+            return True
+        published_heads = manifest_scan.get("preservedCheckpointHeads")
+        if published_heads is None:
+            published_heads = _frozen_checkpoint_heads(
+                scan_dir, scan["id"], published_sources, skip_unreadable=True
+            )
+        elif "." not in published_heads:
+            # Older publications recorded root observations without selecting a root head.
+            legacy_heads = _frozen_checkpoint_heads(
+                scan_dir, scan["id"], published_sources, skip_unreadable=True
+            )
+            if "." in legacy_heads:
+                published_heads = {**published_heads, ".": legacy_heads["."]}
+        checkpoint_heads = dict(published_heads)
         current_sources = dict(published_sources)
         paths.update({path: None for path in published_sources if _is_source_order_snapshot(path)})
         for path in paths:
@@ -450,23 +207,53 @@
                     kind=paths[path],
                     snapshot_head=path not in published_sources,
                     write=False,
+                    checkpoint_heads=checkpoint_heads,
                 )
                 current_sources.update({path: value[0] for path, value in captured.items()})
+                directory = Path(path).parent.as_posix()
+                previous_head = published_heads.get(directory)
+                if (
+                    Path(path).name == "checkpoint-head.json"
+                    and previous_head in captured
+                    and Path(previous_head).parent.name == "checkpoints"
+                ):
+                    observed = captured[checkpoint_heads[directory]][1]
+                    if observed == _legacy_checkpoint_observed_at(
+                        scan_dir, scan["id"], published_sources, previous_head
+                    ):
+                        checkpoint_heads[directory] = previous_head
             except (ContractError, OSError, ValueError):
-                continue
-        return current_sources != published_sources
+                _restore_checkpoint_head(checkpoint_heads, published_heads, published_sources, path)
+        return current_sources != published_sources or checkpoint_heads != published_heads
     except (ContractError, OSError, SystemExit, ValueError):
         return False
 
 
-def _recovery_source_digests(db: Any, connection: Any, scan: Any) -> tuple[dict[str, str], bool]:
+def _recovery_source_digests(
+    db: Any, connection: Any, scan: Any
+) -> tuple[dict[str, str], bool, dict[str, str | None]]:
     scan_dir = db.require_canonical_scan_directory(Path(scan["scan_dir"]))
-    frozen_sources: dict[str, str] | None = None
-    include_parent = True
-    raw_frozen_sources = scan["retained_source_digests_json"]
-    if raw_frozen_sources is not None:
-        frozen_sources, _ = _retained_source_state(json.loads(raw_frozen_sources))
-        include_parent = False
+    retained = _retained_source_state(scan["retained_source_digests_json"])
+    frozen_sources = retained.get("sources")
+    include_parent = frozen_sources is None
+    if retained.get("sourceTimes") is not None:
+        _restore_frozen_model_capture(
+            scan_dir,
+            scan["id"],
+            frozen_sources,
+            retained["sourceTimes"],
+            retained.get("threatModelSource"),
+        )
+        _freeze_source_times(
+            scan_dir,
+            scan["id"],
+            frozen_sources,
+            retained["sourceTimes"],
+            retained.get("parentContext"),
+        )
+    checkpoint_heads, pending_recovery = _retained_checkpoint_state(scan)
+    if pending_recovery:
+        return frozen_sources, False, checkpoint_heads
 
     manifest_path = db.artifact_path(scan_dir, db.ARTIFACTS["manifest"], required=False)
     if manifest_path is not None:
@@ -478,9 +265,7 @@
         manifest_scan = manifest.get("scan")
         if not isinstance(manifest_scan, dict):
             raise ContractError("Saved scan manifest has no scan object")
-        if scan["seal_manifest_digest"] is not None or (
-            manifest_scan.get("sealedAt") is not None or manifest_scan.get("artifacts") is not None
-        ):
+        if scan["seal_manifest_digest"] is not None or manifest_is_sealed(manifest_scan):
             if "preservedSources" in manifest_scan:
                 published_sources = _source_digests(
                     manifest_scan["preservedSources"],
@@ -498,14 +283,15 @@
             else:
                 include_parent = True
 
-    workers = connection.execute(
-        "SELECT id, kind, status, completed_at, artifact_dir, result_manifest_path "
-        "FROM deep_scan_workers WHERE scan_id = ?",
-        (scan["id"],),
-    ).fetchall()
+    workers = saved_deep_workers(connection, scan)
+    previous_heads = checkpoint_heads
+    if previous_heads is None:
+        previous_heads = _frozen_checkpoint_heads(scan_dir, scan["id"], frozen_sources or {})
+    checkpoint_heads = dict(previous_heads)
     paths = dict(_saved_result_paths(scan_dir, workers))
     recovery_sources = dict(frozen_sources or {})
-    source_times = _frozen_source_times(scan_dir, scan["id"], recovery_sources)
+    parent_context: dict[str, str] = {}
+    source_times = _frozen_source_times(scan_dir, scan["id"], recovery_sources, parent_context)
     for relative, expected_digest in recovery_sources.items():
         try:
             _, digest, observed = _read_saved_result(
@@ -518,21 +304,56 @@
         if not _is_source_order_snapshot(relative):
             source_times.setdefault(relative, observed)
 
+    snapshot_error = None
+    captured_records = {}
     for relative in paths.keys() - recovery_sources.keys():
         try:
-            captured = _capture_saved_source(scan_dir, relative, scan["id"], kind=paths[relative])
+            captured = _capture_saved_source(
+                scan_dir,
+                relative,
+                scan["id"],
+                kind=paths[relative],
+                checkpoint_heads=checkpoint_heads,
+            )
+        except _CheckpointSnapshotError as exc:
+            snapshot_error = snapshot_error or exc
+            captured = exc.captured
+            captured_records.update(exc.records)
         except (ContractError, OSError, ValueError):
+            _restore_checkpoint_head(
+                checkpoint_heads, previous_heads, frozen_sources or {}, relative
+            )
             continue
+        if relative == "checkpoint-head.json":
+            parent_context["head"] = next(iter(captured))
         for path, (digest, observed) in captured.items():
             if path in recovery_sources and recovery_sources[path] != digest:
                 raise ContractError("checkpoint changed after the scan stopped")
             recovery_sources[path] = digest
             source_times.setdefault(path, observed)
-    _freeze_source_times(scan_dir, scan["id"], recovery_sources, source_times)
-    return recovery_sources, include_parent
+    try:
+        if snapshot_error is not None:
+            raise snapshot_error
+        _freeze_source_times(scan_dir, scan["id"], recovery_sources, source_times, parent_context)
+    except (ContractError, OSError) as exc:
+        failure = _CheckpointSnapshotError(
+            str(exc),
+            {
+                path: (digest, source_times[path])
+                for path, digest in recovery_sources.items()
+                if not _is_source_order_snapshot(path)
+            },
+        )
+        failure.records = captured_records
+        failure.heads = checkpoint_heads
+        failure.include_parent = include_parent
+        failure.parent_context = parent_context
+        raise failure from exc
+    return recovery_sources, include_parent, checkpoint_heads
 
 
 def scan_results_recovery_needed(db: Any, connection: Any, scan: Any) -> bool:
+    """Return whether a failed, uncanceled scan has a publication error or saved evidence to recover."""
     if scan["status"] != "failed" or scan["canceled_at"] is not None:
         return False
     warnings = json.loads(scan["completion_warnings_json"])
@@ -550,324 +371,6 @@
     return _saved_results_changed(db, connection, scan)
 
 
-def _finding_key(finding: dict[str, Any]) -> str:
-    # Wording and evidence may improve between checkpoints; distinct source locations
-    # must not collide merely because two workers chose the same semantic identity.
-    provenance = finding.get("provenance")
-    identity = (
-        provenance.get("preservedIdentity", finding.get("identity"))
-        if isinstance(provenance, dict)
-        else finding.get("identity")
-    )
-    if not isinstance(identity, dict):
-        normalized = dict(finding)
-        normalized.pop("identity", None)
-        _ensure_finding_identity(normalized)
-        identity = normalized["identity"]
-    locations = finding.get("locations", [])
-    if not isinstance(locations, list):
-        locations = []
-    return _digest(
-        [
-            finding.get("ruleId"),
-            identity,
-            sorted(
-                (
-                    (
-                        location.get("path"),
-                        location.get("startLine"),
-                        location.get("endLine", location.get("startLine")),
-                    )
-                    for location in locations
-                    if isinstance(location, dict)
-                ),
-                key=_encoded,
-            ),
-        ]
-    )
-
-
-def _worker_candidate_key(
-    worker_id: str, candidate_id: str, finding: dict[str, Any]
-) -> tuple[str, str, Any, Any, Any]:
-    """Identify one worker-local candidate without merging unrelated locations."""
-    provenance = finding.get("provenance")
-    identity = (
-        provenance.get("preservedIdentity", finding.get("identity"))
-        if isinstance(provenance, dict)
-        else finding.get("identity")
-    )
-    if not isinstance(identity, dict):
-        normalized = dict(finding)
-        _ensure_finding_identity(normalized)
-        identity = normalized.get("identity")
-    anchor = identity.get("anchor") if isinstance(identity, dict) else None
-    instance = identity.get("instance") if isinstance(identity, dict) else None
-    return worker_id, candidate_id, finding.get("ruleId"), anchor, instance
-
-
-def _finding_content(finding: dict[str, Any]) -> dict[str, Any]:
-    """Return substantive finding content without generated identity or provenance."""
-    return {
-        key: value
-        for key, value in finding.items()
-        if key not in {"findingId", "occurrenceId", "fingerprints", "identity", "provenance"}
-    }
-
-
-def _ensure_finding_identity(finding: Any, *, candidate_only: bool = False) -> None:
-    if not isinstance(finding, dict) or "identity" in finding:
-        return
-    if candidate_only and not finding_candidate_id(finding):
-        return
-    extensions = finding.get("extensions")
-    source = str(
-        (extensions.get("candidateId") if isinstance(extensions, dict) else None)
-        or finding.get("title")
-        or "finding"
-    )
-    anchor = re.sub(r"[^a-z0-9._/-]+", "-", source.lower()).strip("._/-") or "finding"
-    finding["identity"] = {"anchor": anchor}
-
-
-def _retained_findings(finding: dict[str, Any]) -> Iterator[dict[str, Any]]:
-    """Yield canonical and historical findings without trusting candidate IDs."""
-    pending = [finding]
-    seen: set[int] = set()
-    while pending:
-        current = pending.pop()
-        marker = id(current)
-        if marker in seen:
-            continue
-        seen.add(marker)
-        yield current
-        provenance = current.get("provenance")
-        if not isinstance(provenance, dict):
-            continue
-        previous = provenance.get("previousFindings")
-        if isinstance(previous, list):
-            pending.extend(item for item in reversed(previous) if isinstance(item, dict))
-        sources = provenance.get("sourceFindings")
-        if isinstance(sources, list):
-            pending.extend(
-                source["finding"]
-                for source in reversed(sources)
-                if isinstance(source, dict) and isinstance(source.get("finding"), dict)
-            )
-
-
-def _deferred_rows(coverage: dict[str, Any]) -> list[Any]:
-    rows = coverage.get("deferred", [])
-    return rows if isinstance(rows, list) else []
-
-
-def _resolved_deferred_rows(draft: dict[str, Any], schema: dict[str, Any]) -> list[dict[str, Any]]:
-    if draft.get("complete") is False:
-        return []
-    coverage = draft["coverage"]
-    rows = coverage.get("resolvedDeferred", [])
-    try:
-        # Invalid closure metadata cannot discard the evidence it names.
-        _validate_schema_node(rows, schema, "coverage.resolvedDeferred")
-        _validate_resolved_deferred({**coverage, "deferred": _deferred_rows(coverage)})
-    except ContractError:
-        return []
-    return rows
-
-
-def _merge_tied_parent_observations(
-    current: dict[str, Any], previous: dict[str, Any]
-) -> dict[str, Any]:
-    merged = copy.deepcopy(current)
-    for finding in previous["findings"]:
-        if finding not in merged["findings"]:
-            merged["findings"].append(copy.deepcopy(finding))
-    coverage = merged["coverage"]
-    for field in ("surfaces", "explicitExclusions", "deferred", "openQuestions"):
-        rows = previous["coverage"].get(field, [])
-        output = coverage.setdefault(field, [])
-        if isinstance(rows, list) and isinstance(output, list):
-            for row in rows:
-                if row not in output:
-                    output.append(copy.deepcopy(row))
-    pending_ids = {
-        identity
-        for row in _deferred_rows(coverage)
-        if isinstance(row, dict)
-        for identity in (row.get("id"), row.get("candidateId"))
-        if isinstance(identity, str)
-    }
-    closure_schema = _read_json(
-        Path(__file__).resolve().parent.parent / "schemas" / "coverage.schema.json"
-    )["properties"]["resolvedDeferred"]
-    closures = {}
-    for observed in (current, previous):
-        for row in _resolved_deferred_rows(observed, closure_schema):
-            if row["id"] not in pending_ids:
-                closures.setdefault(row["id"], copy.deepcopy(row))
-    coverage.pop("resolvedDeferred", None)
-    if closures:
-        coverage["resolvedDeferred"] = list(closures.values())
-    if current.get("complete") is False or previous.get("complete") is False:
-        merged["complete"] = False
-    if (
-        coverage.get("deferred")
-        or merged.get("complete") is False
-        or (
-            isinstance(coverage.get("surfaces"), list)
-            and any(
-                isinstance(row, dict) and row.get("disposition") == "needs_follow_up"
-                for row in coverage["surfaces"]
-            )
-        )
-        or previous["coverage"].get("completeness") == "partial"
-    ):
-        coverage["completeness"] = "partial"
-    return merged
-
-
-def _saved_coverage_id(item: dict[str, Any]) -> str:
-    return item.get("candidateId") or f"saved-{_digest(item)[:16]}"
-
-
-def _deferred_candidate_id(
-    row: dict[str, Any],
-    owner: str | None,
-    ambiguous_deferred: set[tuple[str | None, str]],
-) -> str | None:
-    identity = row.get("candidateId") or row.get("id")
-    if not isinstance(identity, str):
-        return None
-    if (owner, identity) in ambiguous_deferred and not any(
-        key in row for key in ("candidateId", "candidate", "finding")
-    ):
-        return None
-    return identity
-
-
-def _generic_surface_updates(
-    sources: list[tuple[str, dict[str, Any], str | None]],
-    source_order: dict[str, tuple[int, int]],
-    closed_deferred: dict[tuple[str | None, str], tuple[tuple[int, int], dict[str, Any], str]],
-    active_deferred: dict[tuple[str | None, str], tuple[tuple[int, int], dict[str, Any], str]],
-    resolved_candidates: dict[tuple[str | None, str], str],
-    reopened_generic: set[tuple[str | None, str]],
-    surface_schema: dict[str, Any],
-    deferred_rows: dict[str, list[Any]],
-    ambiguous_deferred: set[tuple[str | None, str]],
-) -> tuple[set[int], list[dict[str, Any]]]:
-    if not closed_deferred and not reopened_generic:
-        return set(), []
-
-    def linked(row: dict[str, Any], identity: str | None) -> bool:
-        surface_ids = row.get("surfaceIds", [])
-        return identity is not None and (
-            row.get("id") == identity or (isinstance(surface_ids, list) and identity in surface_ids)
-        )
-
-    saved_surfaces: dict[tuple[str | None, str], list[tuple[str, dict[str, Any]]]] = {}
-    for relative, draft, owner in sources:
-        rows = draft["coverage"].get("surfaces", [])
-        for row in rows if isinstance(rows, list) else []:
-            if isinstance(row, dict) and isinstance(row.get("id"), str):
-                saved_surfaces.setdefault((owner, row["id"]), []).append((relative, row))
-    replaced: set[int] = set()
-    updates: list[dict[str, Any]] = []
-    for relative, draft, owner in sources:
-        closed_ids = {
-            identity
-            for (saved_owner, identity), (_, _, source) in closed_deferred.items()
-            if saved_owner == owner and source == relative
-        }
-        reopened_ids = {
-            identity
-            for (saved_owner, identity), (_, _, source) in active_deferred.items()
-            if saved_owner == owner and source == relative and (owner, identity) in reopened_generic
-        }
-        if not closed_ids and not reopened_ids:
-            continue
-        current = draft["coverage"].get("surfaces", [])
-        for surface in current if isinstance(current, list) else []:
-            if not isinstance(surface, dict):
-                continue
-            reopening = surface.get("disposition") == "needs_follow_up"
-            work_ids = reopened_ids if reopening else closed_ids
-            if not work_ids:
-                continue
-            identity = surface.get("id")
-            if not isinstance(identity, str):
-                continue
-            matches = saved_surfaces[(owner, identity)]
-            # Older writers could assign one ID to distinct surfaces in a draft.
-            # A closure cannot identify which of those observations it replaces.
-            by_source = dict(matches)
-            if any(row != by_source[saved_path] for saved_path, row in matches):
-                continue
-            if any(
-                "candidateId" in row or "candidate" in row or "finding" in row for _, row in matches
-            ):
-                continue
-            if any(
-                row is not surface
-                and source_order[saved_path] >= source_order[relative]
-                and row.get("disposition") != surface.get("disposition")
-                for saved_path, row in matches
-            ):
-                continue
-
-            if not reopening and any(
-                saved_owner == owner
-                and (
-                    not isinstance(row.get("id") or row.get("candidateId"), str)
-                    or (
-                        isinstance(row.get("id"), str)
-                        and (owner, row["id"]) in ambiguous_deferred
-                        and not any(key in row for key in ("candidateId", "candidate", "finding"))
-                    )
-                )
-                and linked(row, identity)
-                for saved_path, _, saved_owner in sources
-                for row in deferred_rows[saved_path]
-                if isinstance(row, dict)
-            ):
-                continue
-            if not reopening and any(
-                saved_owner == owner
-                and (owner, deferred_id) not in closed_deferred
-                and (
-                    (candidate_id := _deferred_candidate_id(row, owner, ambiguous_deferred)) is None
-                    or (owner, candidate_id) not in resolved_candidates
-                )
-                and linked(row, identity)
-                for (saved_owner, deferred_id), (_, row, _) in active_deferred.items()
-            ):
-                continue
-            # An accepted checkpoint can update a saved surface by ID without
-            # optional surfaceIds links on its generic task.
-            latest_surface = max(matches, key=lambda match: source_order[match[0]])[1]
-            update = copy.deepcopy(latest_surface)
-            refs = update.setdefault("receiptRefs", [])
-            if isinstance(refs, list):
-                for _, row in matches:
-                    previous_refs = row.get("receiptRefs", [])
-                    for ref in previous_refs if isinstance(previous_refs, list) else []:
-                        if ref not in refs:
-                            refs.append(ref)
-            try:
-                _validate_schema_node(update, surface_schema, "coverage.surfaces")
-            except ContractError:
-                continue
-            replaced.update(
-                id(row)
-                for _, row in matches
-                if reopening
-                or row.get("disposition") in {"needs_follow_up", surface.get("disposition")}
-            )
-            if update not in updates:
-                updates.append(update)
-    return replaced, updates
-
-
 @contextmanager
 def preserve_parent_head_on_error(scan_dir: Path) -> Iterator[None]:
     """Keep rejected completion attempts from becoming accepted parent observations."""
@@ -890,7 +393,7 @@
     }
     try:
         yield
-    except ContractError:
+    except BaseException:
         if previous is None:
             _remove_scan_local_file_if_exists(scan_dir, "checkpoint-head.json")
         else:
@@ -907,1179 +410,154 @@
         raise
 
 
-def merge_saved_results(
-    scan_dir: Path,
-    scan_id: str,
-    binding: dict[str, Any],
-    workers: list[Any],
-    warnings: list[str],
-    *,
-    stopped: bool,
-    reason: str,
-    frozen_source_digests: dict[str, str] | None = None,
-    allow_frozen_legacy_parent: bool = False,
-    frozen_model_source: str | None = None,
-    selected_model_source: list[str] | None = None,
-) -> tuple[dict[str, Any], dict[str, Any], dict[str, Any]] | None:
-    """Read only bound parent/worker files; return an unsealed loss-preserving union."""
-    initial_warnings = set(warnings)
-    try:
-        source_times = _frozen_source_times(scan_dir, scan_id, frozen_source_digests or {})
-    except (ContractError, OSError, ValueError) as exc:
-        raise ContractError("Frozen stopped-scan checkpoint set is incomplete.") from exc
-    parent: dict[str, Any] | None = None
-    parent_manifest: dict[str, Any] | None = None
-    parent_is_canonical = False
-    parent_modified = 0
-    if frozen_source_digests is None or allow_frozen_legacy_parent:
-        try:
-            parent_manifest, parent = _read_saved_parent_result(scan_dir, scan_id)
-            # Without an accepted head, file-authored coverage is a full replacement.
-            parent_modified = (scan_dir / "coverage.json").lstat().st_mtime_ns
-            parent_is_canonical = True
-        except (ContractError, OSError, ValueError) as exc:
-            if not stopped:
-                raise
-            if (scan_dir / "scan-manifest.json").exists():
-                warnings.append(f"Could not read the saved parent draft: {exc}")
-            parent_manifest = None
-            parent = None
-        if parent_manifest is not None and parent is not None:
-            parent_scan = parent_manifest["scan"]
-            try:
-                previous_head, _, head_modified = _read_saved_result(
-                    scan_dir, "checkpoint-head.json", scan_id
-                )
-            except (ContractError, OSError, ValueError):
-                head_modified = None
-            if head_modified is not None:
-                # A partial tool publication must not outrank its accepted head.
-                parent_modified = min(
-                    (scan_dir / name).lstat().st_mtime_ns
-                    for name in ("findings.json", "coverage.json", "scan-manifest.json")
-                )
-            if not parent_scan.get("sealedAt") or allow_frozen_legacy_parent:
-                head_path = scan_dir / "checkpoint-head.json"
-                tied_observations = False
-                if head_modified == parent_modified:
-                    previous_parent, _, _ = _read_saved_result(
-                        scan_dir, f"checkpoints/{previous_head['checkpoint']}", scan_id
-                    )
-                    if previous_parent != parent:
-                        # Tied observations cannot decide which pending work came last.
-                        parent = _merge_tied_parent_observations(parent, previous_parent)
-                        parent_is_canonical = False
-                        tied_observations = True
-                payload = _encoded(parent)
-                parent_digest = hashlib.sha256(payload).hexdigest()
-                parent_checkpoint = f"checkpoints/{parent_digest}.json"
-                checkpoint_path = scan_dir / parent_checkpoint
-                if not checkpoint_path.exists():
-                    write_scan_local_bytes(scan_dir, parent_checkpoint, payload)
-                    # A recovery copy must not appear newer than the review it copies.
-                    os.utime(checkpoint_path, ns=(parent_modified, parent_modified))
-                if head_modified is None or head_modified < parent_modified or tied_observations:
-                    write_scan_local_bytes(
-                        scan_dir,
-                        "checkpoint-head.json",
-                        _encoded({"checkpoint": checkpoint_path.name}),
-                    )
-                    os.utime(head_path, ns=(parent_modified, parent_modified))
-                if frozen_source_digests is not None:
-                    captured = _capture_saved_source(scan_dir, "checkpoint-head.json", scan_id)
-                    frozen_source_digests = {
-                        **frozen_source_digests,
-                        parent_checkpoint: parent_digest,
-                        **{path: value[0] for path, value in captured.items()},
-                    }
-
-    sources: list[tuple[str, dict[str, Any], str | None]] = []
-    parent_preserved_sources: dict[str, str] = {}
-    source_digests: dict[str, str] = {}
-    source_order: dict[str, tuple[int, int]] = {}
-    worker_attempts: dict[str, tuple[str, int]] = {}
-    saved_heads: dict[str, str] = {}
-    if parent_manifest:
-        recorded = parent_manifest["scan"].get("preservedSources", {})
-        if isinstance(recorded, dict):
-            parent_preserved_sources = recorded
-            source_digests.update(parent_preserved_sources)
-            if frozen_source_digests is None:
-                source_times.update(_frozen_source_times(scan_dir, scan_id, recorded))
-    paths: dict[str, str | None] = {}
-    reducer_paths: set[str] = set()
-    current_results: set[str] = set()
-    reducer_outputs: list[tuple[Any, str, list[str], int]] = []
-    reducer = _latest_successful_reducer(workers)
-    latest_reducer: str | None = None
-    if reducer is not None:
-        try:
-            latest_reducer = Path(reducer["result_manifest_path"]).relative_to(scan_dir).as_posix()
-            paths[latest_reducer] = None
-            reducer_paths.add(latest_reducer)
-        except ValueError:
-            warnings.append("Skipped a reducer result outside the scan directory.")
-
-    def checkpoints(directory: str, worker_id: str | None, attempt: int = 0) -> None:
-        if worker_id is not None:
-            root = Path(directory).parent.as_posix()
-            worker_attempts[root] = (worker_id, attempt)
-            paths[f"{root}/checkpoint-head.json"] = worker_id
-        head_snapshots = (Path(directory).parent / "checkpoint-heads").as_posix()
-        for saved_directory in (directory, head_snapshots):
-            paths.update(dict.fromkeys(_checkpoint_paths(scan_dir, saved_directory), worker_id))
-
-    paths["checkpoint-head.json"] = None
-    checkpoints("checkpoints", None)
-    for worker in workers:
-        try:
-            outputs = _worker_outputs(scan_dir, worker)
-        except (TypeError, ValueError):
-            warnings.append("Skipped a worker checkpoint outside the scan directory.")
-            continue
-        if worker["kind"] == "dedup":
-            for directory, attempt in outputs:
-                checkpoint_paths = _checkpoint_paths(scan_dir, f"{directory}/checkpoints")
-                if not checkpoint_paths:
-                    continue
-                result_path = f"{directory}/result.json"
-                retained_paths = [result_path, *checkpoint_paths]
-                paths.update(dict.fromkeys(retained_paths))
-                reducer_paths.update(retained_paths)
-                reducer_outputs.append((worker, result_path, checkpoint_paths, attempt))
-            continue
-        if worker["kind"] != "discovery":
-            continue
-        output, attempt = outputs[0]
-        paths[f"{output}/result.json"] = worker["id"]
-        current_results.add(f"{output}/result.json")
-        for archived, archived_attempt in outputs[1:]:
-            paths[f"{archived}/result.json"] = worker["id"]
-            checkpoints(f"{archived}/checkpoints", worker["id"], archived_attempt)
-        checkpoints(f"{output}/checkpoints", worker["id"], attempt)
-        if worker["result_manifest_path"]:
-            try:
-                current_path = Path(worker["result_manifest_path"]).relative_to(scan_dir).as_posix()
-                paths[current_path] = worker["id"]
-                current_results.add(current_path)
-            except ValueError:
-                warnings.append("Skipped a worker result outside the scan directory.")
-
-    if frozen_source_digests is None:
-        for relative, worker_id in list(paths.items()):
-            if Path(relative).name != "checkpoint-head.json":
-                continue
-            del paths[relative]
-            try:
-                captured = _capture_saved_source(scan_dir, relative, scan_id)
-                paths.update({path: worker_id for path in captured})
-            except (ContractError, OSError, ValueError) as exc:
-                if (scan_dir / relative).exists():
-                    warnings.append(f"Preserved unreadable checkpoint {relative}: {exc}")
-
-    if frozen_source_digests is not None:
-        source_digests.update(
-            {
-                path: digest
-                for path, digest in frozen_source_digests.items()
-                if _is_source_order_snapshot(path)
-            }
-        )
-        paths = {
-            relative: worker_id
-            for relative, worker_id in paths.items()
-            if relative in frozen_source_digests
-        }
-        current_results.intersection_update(frozen_source_digests)
-        if latest_reducer not in frozen_source_digests:
-            latest_reducer = None
-
-    for relative, worker_id in paths.items():
-        try:
-            draft, digest, observed = _read_saved_result(
-                scan_dir, relative, scan_id, kind="dedup" if relative in reducer_paths else None
-            )
-            if frozen_source_digests is not None and frozen_source_digests[relative] != digest:
-                raise ContractError("checkpoint changed after the scan stopped")
-            source_digests[relative] = digest
-            source_times.setdefault(relative, observed)
-            source_order[relative] = (0, source_times[relative])
-            if _checkpoint_head_directory(relative) is not None:
-                saved_heads[relative] = draft["checkpoint"]
-                continue
-            # Recovery expects coverage, but reducer results only contain findings
-            # and context. Add an empty value after hashing the original result.
-            sources.append((relative, {"coverage": {}, **draft}, worker_id))
-        except (ContractError, OSError, ValueError) as exc:
-            if (scan_dir / relative).exists():
-                warnings.append(f"Preserved unreadable checkpoint {relative}: {exc}")
-    if frozen_source_digests is not None:
-        if frozen_source_digests.keys() - source_digests.keys():
-            raise ContractError("Frozen stopped-scan checkpoint set is incomplete.")
-
-    # Frozen observations retain checkpoint selection even if a worker moves its head.
-    headed_workers = {
-        worker_attempts[_checkpoint_head_directory(head).as_posix()][0]
-        for head in saved_heads
-        if _checkpoint_head_directory(head) != Path(".")
-    }
-    for relative, _, worker_id in sources:
-        if worker_id not in headed_workers:
-            continue
-        directory = Path(relative).parent
-        if directory.name == "checkpoints":
-            directory = directory.parent
-        _, attempt = worker_attempts.get(directory.as_posix(), (worker_id, 0))
-        source_order[relative] = (attempt, source_order[relative][1])
-    selected_observations: dict[str, tuple[int, int]] = {}
-    parent_heads: list[tuple[int, str]] = []
-    for head, checkpoint in saved_heads.items():
-        directory = _checkpoint_head_directory(head)
-        selected = (directory / "checkpoints" / checkpoint).as_posix()
-        if selected not in source_order:
-            raise ContractError("Checkpoint head is outside the saved source set.")
-        observed = source_order[head][1]
-        if directory == Path("."):
-            order = (0, max(source_order[selected][1], observed))
-            parent_heads.append((observed, selected))
-        else:
-            _, attempt = worker_attempts[directory.as_posix()]
-            order = (attempt, observed)
-        selected_observations[selected] = max(selected_observations.get(selected, order), order)
-    source_order.update(selected_observations)
-
-    drafts_by_path = {relative: draft for relative, draft, _ in sources}
-    latest_reducer_key = (
-        (reducer["completed_at"] or "", reducer["id"], int(reducer["attempt"] or 0))
-        if reducer is not None and latest_reducer in drafts_by_path
-        else None
-    )
-    if latest_reducer_key is None:
-        latest_reducer = None
-    for worker, result_path, checkpoint_paths, attempt in reducer_outputs:
-        result = drafts_by_path.get(result_path)
-        if result is None or not any(
-            drafts_by_path.get(checkpoint_path) == result for checkpoint_path in checkpoint_paths
-        ):
-            continue
-        current_results.add(result_path)
-        candidate_key = (worker["completed_at"] or "", worker["id"], attempt)
-        if latest_reducer_key is None or candidate_key > latest_reducer_key:
-            latest_reducer_key = candidate_key
-            latest_reducer = result_path
-
-    if parent_heads:
-        latest_observation = max(observed for observed, _ in parent_heads)
-        for observed, parent_path in parent_heads:
-            if observed != latest_observation:
-                continue
-            draft = drafts_by_path[parent_path]
-            modified = source_order[parent_path][1]
-            if parent is None or modified > parent_modified:
-                parent = draft
-                parent_modified = modified
-                parent_is_canonical = False
-            elif modified == parent_modified and draft != parent:
-                parent = _merge_tied_parent_observations(parent, draft)
-                parent_is_canonical = False
-    if parent is None and latest_reducer is not None:
-        parent = drafts_by_path[latest_reducer]
-
-    all_sources = ([("parent", parent, None)] if parent else []) + sources
-    # Older checkpoints can omit IDs already assigned in their published output.
-    for field in ("deferred", "surfaces"):
-        named_rows: dict[str | None, list[dict[str, Any]]] = {}
-        for _, draft, owner in all_sources:
-            rows = draft["coverage"].get(field, [])
-            named_rows.setdefault(owner, []).extend(
-                row
-                for row in (rows if isinstance(rows, list) else [])
-                if isinstance(row, dict) and isinstance(row.get("id"), str)
-            )
-        for _, draft, owner in all_sources:
-            rows = draft["coverage"].get(field, [])
-            if not isinstance(rows, list):
-                continue
-            reserved = {
-                row["id"]
-                for row in rows
-                if isinstance(row, dict) and isinstance(row.get("id"), str)
-            }
-            for row in rows:
-                if not isinstance(row, dict) or "id" in row:
-                    continue
-                if field == "deferred" and any(
-                    key in row for key in ("candidateId", "candidate", "finding")
-                ):
-                    continue
-                content = {"receiptRefs": [], **row} if field == "surfaces" else row
-                identity = next(
-                    (
-                        named["id"]
-                        for named in named_rows[owner]
-                        if named["id"] not in reserved
-                        and {
-                            **({"receiptRefs": []} if field == "surfaces" else {}),
-                            **{key: value for key, value in named.items() if key != "id"},
-                        }
-                        == content
-                    ),
-                    None,
-                )
-                if identity is not None:
-                    row["id"] = identity
-                    reserved.add(identity)
-
-    if parent is None and not sources:
-        return None
-    if (
-        parent_manifest
-        and parent_manifest["scan"].get("sealedAt")
-        and parent_manifest["scan"].get("status") == binding["status"]
-        and parent_manifest["scan"].get("preservedSources") == source_digests
-        and all(warning in initial_warnings for warning in warnings)
-    ):
-        return None
-
-    if (
-        frozen_source_digests is None
-        or any(_is_source_order_snapshot(path) for path in source_digests)
-        or allow_frozen_legacy_parent
-    ):
-        _freeze_source_times(scan_dir, scan_id, source_digests, source_times)
-
-    target_kind = binding["allowedTargetKinds"][0]
-    if (
-        target_kind == "git_worktree"
-        and "snapshotDigest" not in binding["target"]
-        and "git_revision" in binding["allowedTargetKinds"]
-    ):
-        target_kind = "git_revision"
-    target = {"kind": target_kind, **binding["target"]}
-    if target["kind"] == "git_diff" and "snapshotDigest" not in target:
-        diff_kind = {"commit": "commit", "branch_diff": "range"}[binding["coverageMode"]]
-        target["snapshotDigest"] = committed_diff_snapshot_digest(
-            diff_kind, target["baseRevision"], target["headRevision"]
-        )
-    manifest = (
-        copy.deepcopy(parent_manifest)
-        if parent_manifest
-        else {"scan": {"target": target, "scope": binding["scope"]}}
-    )
-    for key in ("sealedAt", "artifacts"):
-        manifest["scan"].pop(key, None)
-    manifest["scan"]["preservedSources"] = source_digests
-    # Completion follows the selected parent, including legacy terminal drafts
-    # that omit the optional marker, rather than an older canonical manifest.
-    if parent is not None:
-        manifest["scan"].pop("complete", None)
-        if "complete" in parent:
-            manifest["scan"]["complete"] = parent["complete"]
-        for key in ("scope", "threatModel"):
-            if isinstance(parent.get(key), dict):
-                manifest["scan"][key] = copy.deepcopy(parent[key])
-        if isinstance(manifest["scan"].get("scope"), dict):
-            manifest["scan"]["scope"].update(copy.deepcopy(binding["scope"]))
-    if frozen_model_source is not None:
-        # Publication retries retain the choice made with the frozen source set.
-        model = drafts_by_path.get(frozen_model_source, {}).get("threatModel")
-        if not isinstance(model, dict):
-            raise ContractError("Frozen stopped-scan model source is unavailable.")
-        manifest["scan"]["threatModel"] = copy.deepcopy(model)
-        if paths[frozen_model_source] is not None:
-            manifest["scan"]["threatModel"]["origin"] = "recovered"
-        if selected_model_source is not None:
-            selected_model_source[:] = [frozen_model_source]
-    coverage = (
-        copy.deepcopy(parent["coverage"])
-        if parent and parent["coverage"]
-        else {
-            "completeness": "partial",
-            "mode": binding["coverageMode"],
-            "inventoryStrategy": "diff"
-            if binding["coverageMode"] in {"commit", "branch_diff", "working_tree"}
-            else "scoped_path"
-            if binding["coverageMode"] == "scoped_path"
-            else "repository",
-            **binding["scope"],
-            "surfaces": [],
-            "explicitExclusions": [],
-            "deferred": [],
-        }
-    )
-    if isinstance(coverage.get("openQuestions"), list):
-        coverage["openQuestions"] = [
-            {"question": item.strip()} if isinstance(item, str) else item
-            for item in coverage["openQuestions"]
-        ]
-    canonical_rows = (
-        {
-            id(item)
-            for field in ("surfaces", "explicitExclusions", "deferred")
-            for item in (coverage.get(field) if isinstance(coverage.get(field), list) else [])
-        }
-        if parent_is_canonical
-        else set()
-    )
-    findings: list[dict[str, Any]] = []
-    finding_positions: dict[str, int] = {}
-    represented: dict[str, str | None] = {}
-    represented_candidates: dict[tuple[str, str, Any, Any, Any], str | None] = {}
-    represented_history: dict[str, set[str]] = {}
-    represented_candidate_history: dict[tuple[str, str, Any, Any, Any], set[str]] = {}
-    rejected_history: dict[tuple[str, str], list[dict[str, Any]]] = {}
-    stopped_parent_seal = bool(
-        stopped and parent_manifest and parent_manifest["scan"].get("sealedAt")
-    )
-
-    def valid_finding(value: Any) -> bool:
-        # Use the finalizer's own per-record recovery before a draft can suppress
-        # an earlier checkpoint. Invalid latest records must not hide valid history.
-        document = {"scanId": scan_id, "findings": [copy.deepcopy(value)]}
-        if isinstance(document["findings"][0], dict):
-            _ensure_finding_identity(document["findings"][0], candidate_only=True)
-        _recover_unsealed_findings(
-            {"scan": {"id": scan_id, "target": binding["target"]}},
-            document,
-            Path(__file__).resolve().parent.parent / "schemas",
-            scan_dir,
-            [],
-        )
-        return bool(document["findings"])
-
-    source_order["parent"] = (0, parent_modified)
-    deferred_rows = {
-        relative: _deferred_rows(draft["coverage"]) for relative, draft, _ in all_sources
-    }
-    # A legacy source can contain independent tasks with the same explicit ID.
-    # Later rewrites cannot make an ID-only closure identify one of those tasks.
-    ambiguous_deferred: set[tuple[str | None, str]] = set()
-    for relative, _, owner in all_sources:
-        by_id: dict[str, dict[str, Any]] = {}
-        candidate_aliases = {
-            identity
-            for row in deferred_rows[relative]
-            if isinstance(row, dict)
-            and any(key in row for key in ("candidateId", "candidate", "finding"))
-            for identity in (row.get("id"), row.get("candidateId"))
-            if isinstance(identity, str)
-        }
-        for row in deferred_rows[relative]:
-            if not isinstance(row, dict) or not isinstance(identity := row.get("id"), str):
-                continue
-            if any(key in row for key in ("candidateId", "candidate", "finding")):
-                continue
-            if identity in candidate_aliases or (identity in by_id and row != by_id[identity]):
-                ambiguous_deferred.add((owner, identity))
-            by_id[identity] = row
-    current_drafts = ([("parent", parent, None)] if parent else []) + [
-        source for source in sources if source[0] in current_results | selected_observations.keys()
-    ]
-    # Generic closures belong to one logical scan or worker, just like candidates.
-    # Keep them when recovering a terminal checkpoint without its canonical write.
-    closed_deferred: dict[tuple[str | None, str], tuple[tuple[int, int], dict[str, Any], str]] = {}
-
-    candidate_ids: set[tuple[str | None, str]] = set()
-    accepted_deferred_orders: dict[tuple[str | None, str], tuple[int, int]] = {}
-    active_deferred: dict[tuple[str | None, str], tuple[tuple[int, int], dict[str, Any], str]] = {}
-    coverage_schema = _read_json(
-        Path(__file__).resolve().parent.parent / "schemas" / "coverage.schema.json"
-    )["properties"]
-    for relative, draft, owner in all_sources:
-        order = source_order[relative]
-        for item in deferred_rows[relative]:
-            if not isinstance(item, dict):
-                continue
-            if isinstance(item.get("candidateId"), str) or "candidate" in item or "finding" in item:
-                candidate_ids.update(
-                    (owner, identity)
-                    for identity in (item.get("id"), item.get("candidateId"))
-                    if isinstance(identity, str)
-                )
-            identity = item.get("id") or item.get("candidateId")
-            if isinstance(identity, str):
-                key = (owner, identity)
-                previous = active_deferred.get(key)
-                if previous is None or order > previous[0]:
-                    active_deferred[key] = (order, item, relative)
-                if (
-                    relative == "parent"
-                    or relative in current_results
-                    or relative in selected_observations
-                ):
-                    try:
-                        # A malformed update cannot discard valid saved evidence.
-                        _validate_schema_node(
-                            item, coverage_schema["deferred"]["items"], "coverage.deferred"
-                        )
-                    except ContractError:
-                        continue
-                    accepted_deferred_orders[key] = max(
-                        accepted_deferred_orders.get(key, order), order
-                    )
-        for closure in _resolved_deferred_rows(draft, coverage_schema["resolvedDeferred"]):
-            key = (owner, closure["id"])
-            previous = closed_deferred.get(key)
-            if previous is None or order > previous[0]:
-                # The parent comes first, preserving its reason on equal timestamps.
-                closed_deferred[key] = (order, closure, relative)
-    reopened_rows: list[tuple[str | None, dict[str, Any]]] = []
-    reopened_generic: set[tuple[str | None, str]] = set()
-    for key, (order, _, _) in list(closed_deferred.items()):
-        # Equal timestamps cannot distinguish closure from reopened work.
-        reopened = [
-            active
-            for (owner, identity), active in active_deferred.items()
-            if owner == key[0]
-            and (identity == key[1] or active[1].get("candidateId") == key[1])
-            and active[0] >= order
-        ]
-        if key in candidate_ids or key in ambiguous_deferred or reopened:
-            del closed_deferred[key]
-        for _, item, _ in reopened:
-            reopened_rows.append((key[0], item))
-            if key not in candidate_ids:
-                reopened_generic.add(key)
-    # Retain every distinct ambiguous task even when a terminal result supersedes
-    # its source. Existing output ID normalization keeps each row distinct.
-    for relative, _, owner in all_sources:
-        for row in deferred_rows[relative]:
-            if (
-                isinstance(row, dict)
-                and isinstance(identity := row.get("id"), str)
-                and (owner, identity) in ambiguous_deferred
-                and not any(key in row for key in ("candidateId", "candidate", "finding"))
-                and (owner, row) not in reopened_rows
-            ):
-                reopened_rows.append((owner, row))
-    parent_closures = [
-        closure for (owner, _), (_, closure, _) in closed_deferred.items() if owner is None
-    ]
-    coverage.pop("resolvedDeferred", None)
-    if parent_closures:
-        coverage["resolvedDeferred"] = copy.deepcopy(parent_closures)
-        if parent:
-            coverage["deferred"] = [
-                row
-                for row in deferred_rows["parent"]
-                if not isinstance(row, dict)
-                or not isinstance(row.get("id"), str)
-                or (None, row["id"]) not in closed_deferred
-            ]
-    resolved: dict[tuple[str | None, str], str] = {}
-
-    ordered_candidates = {
-        (owner, identity)
-        for owner, row in reopened_rows
-        if (identity := _deferred_candidate_id(row, owner, ambiguous_deferred)) is not None
-        and (owner, identity) in candidate_ids
-    }
-    ordered_outcomes: dict[tuple[str | None, str], tuple[tuple[int, int], str]] = {}
-
-    outcomes: list[tuple[str, str | None, str, str]] = []
-    for relative, draft, owner in current_drafts:
-        for finding in draft["findings"]:
-            if (
-                isinstance(finding, dict)
-                and valid_finding(finding)
-                and (candidate_id := finding_candidate_id(finding))
-            ):
-                outcomes.append((relative, owner, candidate_id, "reported"))
-        for field in ("surfaces", "explicitExclusions"):
-            items = draft["coverage"].get(field, [])
-            for item in items if isinstance(items, list) else []:
-                if (
-                    isinstance(item, dict)
-                    and isinstance(item.get("candidateId"), str)
-                    and item.get("disposition") in {"rejected", "not_applicable"}
-                ):
-                    outcomes.append((relative, owner, item["candidateId"], item["disposition"]))
-    ordered_candidates.update(
-        (owner, candidate_id)
-        for relative, owner, candidate_id, _ in outcomes
-        if owner is not None and relative in selected_observations
-    )
-    # Reopened work and selected checkpoint outcomes follow the saved source order.
-    for relative, owner, candidate_id, disposition in outcomes:
-        key = (owner, candidate_id)
-        if key not in ordered_candidates:
-            if relative == "parent" or relative in current_results:
-                resolved.setdefault(key, disposition)
-            continue
-        order = source_order[relative]
-        if any(
-            saved_owner == owner
-            and _deferred_candidate_id(row, owner, ambiguous_deferred) == candidate_id
-            and modified >= order
-            for (saved_owner, _), (modified, row, _) in active_deferred.items()
-        ):
-            continue
-        if key not in ordered_outcomes or order > ordered_outcomes[key][0]:
-            resolved[key] = disposition
-            ordered_outcomes[key] = (order, relative)
-    # Only the current parent may claim that another worker finding was absorbed.
-    # A superseded checkpoint must not suppress a newer independent result.
-    if parent:
-        for finding in parent["findings"]:
-            if valid_finding(finding):
-                canonical_key = _finding_key(finding)
-                for retained in _retained_findings(finding):
-                    retained_key = _finding_key(retained)
-                    if retained is not finding:
-                        represented_history.setdefault(retained_key, set()).add(
-                            _digest(_finding_content(retained))
-                        )
-                    previous_key = represented.get(retained_key)
-                    if retained_key not in represented:
-                        represented[retained_key] = canonical_key
-                    elif previous_key != canonical_key:
-                        # Ambiguous history cannot suppress an independent source.
-                        represented[retained_key] = None
-                originals = finding["provenance"].get("sourceFindings", [])
-                for original in originals if isinstance(originals, list) else []:
-                    if isinstance(original, dict) and isinstance(original.get("finding"), dict):
-                        source_id = original.get("id")
-                        candidate_id = finding_candidate_id(original["finding"])
-                        if isinstance(source_id, str) and ":" in source_id and candidate_id:
-                            candidate_key = _worker_candidate_key(
-                                source_id.rsplit(":", 1)[0],
-                                candidate_id,
-                                original["finding"],
-                            )
-                            previous_key = represented_candidates.get(candidate_key)
-                            if candidate_key not in represented_candidates:
-                                represented_candidates[candidate_key] = canonical_key
-                            elif previous_key != canonical_key:
-                                # Candidate ids are only authoritative within one
-                                # logical worker. Multiple canonical owners make
-                                # that worker-local identity ambiguous.
-                                represented_candidates[candidate_key] = None
-                            represented_candidate_history.setdefault(candidate_key, set()).add(
-                                _digest(_finding_content(original["finding"]))
-                            )
-    replaced_surfaces, surface_updates = _generic_surface_updates(
-        all_sources,
-        source_order,
-        closed_deferred,
-        active_deferred,
-        resolved,
-        reopened_generic,
-        coverage_schema["surfaces"]["items"],
-        deferred_rows,
-        ambiguous_deferred,
-    )
-    replaced_rows = {
-        "surfaces": replaced_surfaces,
-        "deferred": {
-            id(row)
-            for relative, _, owner in all_sources
-            for row in deferred_rows[relative]
-            if isinstance(row, dict)
-            and isinstance(identity := row.get("id"), str)
-            and (key := (owner, identity)) not in candidate_ids
-            and key not in ambiguous_deferred
-            and (updated := accepted_deferred_orders.get(key)) is not None
-            and updated > source_order[relative]
-        },
-    }
-    for field, replaced in replaced_rows.items():
-        if parent and isinstance(coverage.get(field), list):
-            previous = parent["coverage"].get(field, [])
-            if isinstance(previous, list):
-                removed_parent = [row for row in previous if id(row) in replaced]
-                coverage[field] = [row for row in coverage[field] if row not in removed_parent]
-    if isinstance(coverage.get("surfaces"), list):
-        for surface in surface_updates:
-            if surface not in coverage["surfaces"]:
-                coverage["surfaces"].append(surface)
-        for surface in coverage["surfaces"]:
-            if isinstance(surface, dict):
-                surface.setdefault("receiptRefs", [])
-
-    # Reopened work survives a superseded checkpoint, but current candidate
-    # outcomes still apply. Parent closures cannot remove another worker's row.
-    for owner, item in reopened_rows:
-        if (identity := _deferred_candidate_id(item, owner, ambiguous_deferred)) is not None and (
-            owner,
-            identity,
-        ) in resolved:
-            continue
-        pending = coverage.setdefault("deferred", [])
-        if isinstance(pending, list) and item not in pending:
-            pending.append(copy.deepcopy(item))
-    ambiguous_surface_ids = {
-        (owner, identity)
-        for owner, row in reopened_rows
-        if isinstance(row.get("id"), str)
-        and (owner, row["id"]) in ambiguous_deferred
-        and not any(key in row for key in ("candidateId", "candidate", "finding"))
-        for identity in [
-            row["id"],
-            *(row.get("surfaceIds", []) if isinstance(row.get("surfaceIds", []), list) else []),
-        ]
-        if isinstance(identity, str)
-    }
-    for _, draft, owner in all_sources:
-        surfaces = draft["coverage"].get("surfaces", [])
-        by_id: dict[str, dict[str, Any]] = {}
-        for surface in surfaces if isinstance(surfaces, list) else []:
-            if not isinstance(surface, dict) or not isinstance(identity := surface.get("id"), str):
-                continue
-            if identity in by_id and surface != by_id[identity]:
-                ambiguous_surface_ids.add((owner, identity))
-            by_id[identity] = surface
-    for _, draft, owner in all_sources:
-        surfaces = draft["coverage"].get("surfaces", [])
-        for surface in surfaces if isinstance(surfaces, list) else []:
-            if (
-                isinstance(surface, dict)
-                and isinstance(surface.get("id"), str)
-                and (owner, surface["id"]) in ambiguous_surface_ids
-                and surface.get("disposition") == "needs_follow_up"
-                and not any(key in surface for key in ("candidateId", "candidate", "finding"))
-                and isinstance(coverage.get("surfaces"), list)
-            ):
-                retained_surface = {**surface, "receiptRefs": surface.get("receiptRefs", [])}
-                if retained_surface not in coverage["surfaces"]:
-                    coverage["surfaces"].append(copy.deepcopy(retained_surface))
-    selected_terminal_orders: dict[str, tuple[int, int]] = {}
-    for relative, draft, worker_id in sources:
-        if (
-            worker_id is not None
-            and relative in selected_observations
-            and draft.get("complete") is not False
-        ):
-            order = source_order[relative]
-            selected_terminal_orders[worker_id] = max(
-                selected_terminal_orders.get(worker_id, order), order
-            )
-    terminal_worker_orders: dict[str | None, tuple[int, int]] = {}
-    for relative, draft, worker_id in sources:
-        if relative in current_results and draft.get("complete") is not False:
-            order = source_order[relative]
-            terminal_worker_orders[worker_id] = max(
-                terminal_worker_orders.get(worker_id, order), order
-            )
-    for relative, draft, worker_id in all_sources:
-        worker_result_order = terminal_worker_orders.get(worker_id)
-        selected_coverage_superseded = worker_id in selected_terminal_orders and (
-            source_order[relative] < selected_terminal_orders[worker_id]
-            or (
-                relative in current_results
-                and source_order[relative] <= selected_terminal_orders[worker_id]
-            )
-        )
-        selected_candidates = {
-            candidate_id
-            for (owner, candidate_id), (_, source) in ordered_outcomes.items()
-            if owner == worker_id and source == relative
-        }
-        superseded = (
-            worker_id is None
-            and parent is not None
-            and parent.get("complete") is not False
-            and relative != "parent"
-            and source_order[relative] <= (0, parent_modified)
-            and (not stopped_parent_seal or relative in parent_preserved_sources)
-        ) or (
-            relative not in current_results
-            and worker_result_order is not None
-            and (
-                relative not in selected_observations
-                or source_order[relative] < worker_result_order
-            )
-        )
-        # A failed result write can leave pending work outside the accepted result.
-        accepted_order = (
-            (0, parent_modified)
-            if worker_id is None and parent is not None
-            else worker_result_order
-        )
-        retain_pending = (
-            superseded
-            and (worker_id in headed_workers or (worker_id is None and parent_heads))
-            and accepted_order is not None
-            and source_order[relative] >= accepted_order
-            and any(isinstance(row, dict) for row in deferred_rows[relative])
-        )
-        if (
-            (relative != "parent" or not parent_is_canonical)
-            and not superseded
-            and not selected_coverage_superseded
-            and (
-                draft.get("complete") is False
-                or draft["coverage"].get("completeness") != "complete"
-            )
-            and coverage.get("completeness") in {"complete", "unknown"}
-        ):
-            coverage["completeness"] = "partial"
-        skip_superseded_findings = (
-            superseded
-            and not stopped
-            and all(valid_finding(finding) for finding in (parent["findings"] if parent else []))
-        )
-        if skip_superseded_findings and not selected_candidates and not retain_pending:
-            continue
-        if (
-            not skip_superseded_findings
-            and "threatModel" not in manifest["scan"]
-            and isinstance(draft.get("threatModel"), dict)
-        ):
-            model = draft["threatModel"]
-            model_path = relative
-            checkpoint_dir = Path(relative).parent
-            prefer_worker_head = worker_id is not None and (
-                checkpoint_dir.name == "checkpoints" or draft.get("complete") is False
-            )
-            if worker_id is not None:
-                if checkpoint_dir.name != "checkpoints":
-                    checkpoint_dir /= "checkpoints"
-                selected_models = [
-                    path
-                    for path in selected_observations
-                    if Path(path).parent == checkpoint_dir
-                    and isinstance(drafts_by_path[path].get("threatModel"), dict)
-                ]
-                if selected_models:
-                    head_path = max(selected_models, key=source_order.__getitem__)
-                    current = drafts_by_path[head_path]
-                    # A terminal checkpoint is committed before result.json is replaced.
-                    # Use the admitted observation, including its frozen ordering on retries.
-                    if not prefer_worker_head and current.get("complete") is not False:
-                        prefer_worker_head = source_order[head_path] >= source_order[relative]
-                    if prefer_worker_head:
-                        model = current["threatModel"]
-                        model_path = head_path
-            manifest["scan"]["threatModel"] = copy.deepcopy(model)
-            if worker_id is not None:
-                manifest["scan"]["threatModel"]["origin"] = "recovered"
-            if selected_model_source is not None and worker_id is not None:
-                selected_model_source[:] = [model_path]
-        for value in draft["findings"]:
-            if skip_superseded_findings and not (
-                isinstance(value, dict)
-                and (candidate_id := finding_candidate_id(value)) in selected_candidates
-                and resolved.get((worker_id, candidate_id)) == "reported"
-            ):
-                continue
-            if relative == "parent" and parent_is_canonical:
-                finding = copy.deepcopy(value)
-                _ensure_finding_identity(finding, candidate_only=True)
-                provenance = finding.get("provenance") if isinstance(finding, dict) else None
-                owner = provenance.get("workerId") if isinstance(provenance, dict) else None
-                candidate_id = finding_candidate_id(finding) if isinstance(finding, dict) else None
-                if (
-                    stopped_parent_seal
-                    and isinstance(owner, str)
-                    and candidate_id
-                    and resolved.get((owner, candidate_id)) in {"rejected", "not_applicable"}
-                ):
-                    rejected_history.setdefault((owner, candidate_id), []).append(finding)
-                    continue
-                if valid_finding(finding):
-                    finding_positions.setdefault(_finding_key(finding), len(findings))
-                findings.append(finding)
-                continue
-            if relative != "parent" and parent and value in parent["findings"]:
-                continue
-            if not isinstance(value, dict):
-                warnings.append(f"Retained malformed finding evidence in {relative}.")
-                continue
-            finding = copy.deepcopy(value)
-            candidate_id = finding_candidate_id(finding)
-            if relative != "parent" and resolved.get((worker_id, candidate_id)) in {
-                "rejected",
-                "not_applicable",
-            }:
-                surfaces = coverage.get("surfaces")
-                for item in surfaces if isinstance(surfaces, list) else []:
-                    if isinstance(item, dict) and item.get("candidateId") == candidate_id:
-                        if not isinstance(item.get("previousFindings"), list):
-                            item["previousFindings"] = []
-                        history = item["previousFindings"]
-                        if not any(
-                            isinstance(previous, dict)
-                            and _finding_key(previous) == _finding_key(finding)
-                            and _finding_content(previous) == _finding_content(finding)
-                            for previous in history
-                        ):
-                            history.append(finding)
-                continue
-            for key in ("findingId", "occurrenceId", "fingerprints"):
-                finding.pop(key, None)
-            locations = finding.get("locations", [])
-            if not isinstance(locations, list) or not any(
-                isinstance(location, dict)
-                and isinstance(location.get("path"), str)
-                and any(
-                    path_within_scope(location["path"], path)
-                    for path in binding["scope"]["includePaths"]
-                )
-                for location in locations
-            ):
-                warnings.append(f"Skipped out-of-scope finding from {relative}.")
-                coverage["completeness"] = "partial"
-                continue
-            provenance = finding.setdefault("provenance", {"source": "local_plugin"})
-            if not isinstance(provenance, dict):
-                findings.append(finding)
-                continue
-            if worker_id:
-                provenance.setdefault("workerId", worker_id)
-            _ensure_finding_identity(finding)
-            if not valid_finding(finding):
-                findings.append(finding)
-                continue
-            key = _finding_key(finding)
-            represented_by_parent = False
-            if relative != "parent":
-                if key in represented:
-                    mapped_key = represented[key]
-                    historical_contents = represented_history.get(key, set())
-                elif worker_id and candidate_id:
-                    candidate_key = _worker_candidate_key(worker_id, candidate_id, finding)
-                    if candidate_key not in represented_candidates:
-                        represented_candidates[candidate_key] = key
-                    mapped_key = represented_candidates[candidate_key]
-                    historical_contents = represented_candidate_history.get(candidate_key, set())
-                else:
-                    mapped_key = None
-                    historical_contents = set()
-                if mapped_key is not None:
-                    key = mapped_key
-                    represented_by_parent = _digest(_finding_content(value)) in historical_contents
-            if key in finding_positions:
-                retained = findings[finding_positions[key]]
-                if finding != retained:
-                    if not represented_by_parent and _finding_strength(finding) > _finding_strength(
-                        retained
-                    ):
-                        previous = copy.deepcopy(retained)
-                        previous_history = previous["provenance"].pop("previousFindings", [])
-                        retained = finding
-                        findings[finding_positions[key]] = retained
-                    else:
-                        previous = copy.deepcopy(value)
-                        previous_history = previous.get("provenance", {}).pop(
-                            "previousFindings", []
-                        )
-                    retained_provenance = retained["provenance"]
-                    retained_history = retained_provenance.get("previousFindings")
-                    history = (
-                        [item for item in retained_history if isinstance(item, dict)]
-                        if isinstance(retained_history, list)
-                        else []
-                    )
-                    retained_provenance["previousFindings"] = history
-                    for original in [
-                        *(previous_history if isinstance(previous_history, list) else []),
-                        previous,
-                    ]:
-                        if not isinstance(original, dict):
-                            continue
-                        source_key = _finding_key(original)
-                        source_content = _finding_content(original)
-                        already_retained = any(
-                            source_key == _finding_key(historical)
-                            and source_content == _finding_content(historical)
-                            for historical in _retained_findings(retained)
-                        )
-                        if (
-                            not already_retained
-                            and original not in history
-                            and original != retained
-                        ):
-                            history.append(original)
-                continue
-            finding_positions[key] = len(findings)
-            findings.append(finding)
-        if superseded and not selected_candidates and not retain_pending:
-            continue
-        for field in ("surfaces", "explicitExclusions", "deferred", "openQuestions"):
-            if superseded and field not in {"surfaces", "explicitExclusions", "deferred"}:
-                continue
-            items = draft["coverage"].get(field, [])
-            if field == "deferred":
-                items = deferred_rows[relative]
-            if not isinstance(items, list):
-                continue
-            output = coverage.setdefault(field, [])
-            if not isinstance(output, list):
-                # Keep malformed canonical collections for the existing finalizer's
-                # recovery and warnings rather than silently changing its contract.
-                continue
-            for item in items:
-                # A selected terminal checkpoint replaces ordinary coverage, while
-                # candidate evidence and pending tasks retain their own reconciliation.
-                if (
-                    selected_coverage_superseded
-                    and field != "deferred"
-                    and not (
-                        isinstance(item, dict)
-                        and any(key in item for key in ("candidateId", "candidate", "finding"))
-                    )
-                ):
-                    continue
-                # A selected outcome must retain its evidence even if its result write failed.
-                if superseded and not (
-                    isinstance(item, dict)
-                    and (
-                        (field == "deferred" and retain_pending)
-                        or (
-                            isinstance(item.get("candidateId"), str)
-                            and item["candidateId"] in selected_candidates
-                            and item.get("disposition")
-                            == resolved.get((worker_id, item["candidateId"]))
-                        )
-                    )
-                ):
-                    continue
-                if id(item) in replaced_rows.get(field, ()):
-                    continue
-                if (
-                    field == "deferred"
-                    and isinstance(item, dict)
-                    and isinstance(item.get("id"), str)
-                    and (worker_id, item["id"]) in closed_deferred
-                ):
-                    continue
-                if field == "openQuestions" and isinstance(item, str):
-                    item = {"question": item.strip()}
-                if (
-                    field == "surfaces"
-                    and isinstance(item, dict)
-                    and item.get("disposition") in {"rejected", "not_applicable"}
-                    and isinstance(item.get("candidateId"), str)
-                    and (history_findings := rejected_history.get((worker_id, item["candidateId"])))
-                ):
-                    item = copy.deepcopy(item)
-                    if not isinstance(item.get("previousFindings"), list):
-                        item["previousFindings"] = []
-                    history = item["previousFindings"]
-                    for finding in history_findings:
-                        if not any(
-                            isinstance(previous, dict)
-                            and _finding_key(previous) == _finding_key(finding)
-                            and _finding_content(previous) == _finding_content(finding)
-                            for previous in history
-                        ):
-                            history.append(copy.deepcopy(finding))
-                if (
-                    isinstance(item, dict)
-                    and isinstance(
-                        identity := _deferred_candidate_id(item, worker_id, ambiguous_deferred)
-                        if field == "deferred"
-                        else item.get("candidateId"),
-                        str,
-                    )
-                    and (worker_id, identity) in resolved
-                    and (field == "deferred" or item.get("disposition") == "needs_follow_up")
-                ):
-                    continue
-                if field == "surfaces" and isinstance(item, dict):
-                    item = {**item, "receiptRefs": item.get("receiptRefs", [])}
-                if isinstance(item, dict) and "id" not in item:
-                    semantic_item = dict(item)
-                    if any(
-                        isinstance(existing, dict)
-                        and {key: value for key, value in existing.items() if key != "id"}
-                        == semantic_item
-                        for existing in output
-                    ):
-                        continue
-                if item not in output:
-                    output.append(copy.deepcopy(item))
-
-    identities: dict[str, str] = {}
-    for finding in findings:
-        if not valid_finding(finding):
-            continue
-        identity = finding.get("identity")
-        if not isinstance(identity, dict):
-            continue
-        key = _encoded([finding.get("ruleId"), identity]).decode()
-        variant = _finding_key(finding)
-        if key in identities and identities[key] != variant:
-            finding.setdefault("provenance", {})["preservedIdentity"] = copy.deepcopy(identity)
-            identity["instance"] = f"{identity.get('instance', 'saved')}-{variant[:16]}"
-        identities[key] = variant
-    for field in ("surfaces", "explicitExclusions", "deferred"):
-        used: set[str] = set()
-        items = coverage.setdefault(field, [])
-        for item in items if isinstance(items, list) else []:
-            if not isinstance(item, dict):
-                continue
-            if id(item) in canonical_rows:
-                if isinstance(item.get("id"), str):
-                    used.add(item["id"])
-                continue
-            item.setdefault("id", _saved_coverage_id(item))
-            if not isinstance(item["id"], str):
-                # Preserve malformed rows for per-record recovery, including frozen replay.
-                continue
-            if item["id"] in used:
-                item["id"] = f"{item['id']}-{_digest(item)[:16]}"
-            used.add(item["id"])
-            if field == "surfaces":
-                item.setdefault("receiptRefs", [])
-    if stopped or any(warning not in initial_warnings for warning in warnings):
-        coverage["completeness"] = "partial"
-    if stopped:
-        if not isinstance(coverage.get("deferred"), list):
-            coverage["deferred"] = []
-        item = {"id": "scan-stopped", "reason": reason}
-        if item not in coverage["deferred"]:
-            coverage["deferred"].append(item)
-    return manifest, {"findings": findings}, coverage
-
-
 def coverage_for_comparison(db: Any, scan: Any) -> dict[str, Any]:
+    """Return coverage from the verified, sealed scan or raise SystemExit if the stored scan cannot be matched."""
     if scan["seal_manifest_digest"] is None:
         raise SystemExit("Only sealed scans can be compared.")
     scan_dir = db.require_canonical_scan_directory(Path(scan["scan_dir"]))
     db.require_recorded_manifest_digest(scan, scan_dir)
     try:
-        _, _, manifest, _, coverage, was_sealed, _ = _prepare_scan_finalization(scan_dir)
+        prepared = _prepare_scan_finalization(scan_dir)
     except ContractError as exc:
         raise SystemExit(str(exc)) from exc
-    if not was_sealed or manifest["scan"]["id"] != scan["id"]:
+    if not prepared.was_sealed or prepared.manifest["scan"]["id"] != scan["id"]:
         raise SystemExit("Only sealed scans can be compared.")
-    return coverage
+    return prepared.coverage
 
 
-def _snapshot_published_outputs(scan_dir: Path) -> dict[str, bytes | None]:
-    snapshots: dict[str, bytes | None] = {}
-    for relative in _PUBLISHED_OUTPUTS:
-        descriptor = -1
-        try:
-            descriptor = open_scan_local_file_descriptor(
-                scan_dir, relative, "Published scan output"
+def preserve_deep_deadline_draft(
+    db: Any,
+    connection: Any,
+    scan: Any,
+    *,
+    preserve_reduction: bool = False,
+    allow_empty: bool = False,
+) -> tuple[Path, dict[str, tuple[bytes, os.stat_result] | None], set[str]] | None:
+    """Recover unfinished reviews at a settled Deep deadline without sealing the parent."""
+    scan_dir = db.require_canonical_scan_directory(Path(scan["scan_dir"]))
+    warnings = json.loads(scan["completion_warnings_json"])
+    binding = db.workbench_completion_binding(scan, db.now())
+    workers = saved_deep_workers(connection, scan)
+    if preserve_reduction:
+        # Completed reviews already went through reduction. Only add evidence
+        # from unfinished reviews; raw accepted drafts must not undo that result.
+        workers = [
+            worker
+            for worker in workers
+            if worker["kind"] == "discovery" and worker["status"] == "canceled"
+        ]
+        if not workers:
+            return None
+        _prepare_scan_finalization(
+            scan_dir,
+            expected_coverage_mode=db.expected_coverage_mode(scan),
+            completion_binding=binding,
+            allow_missing_writeups=True,
+        )
+    snapshots = _snapshot_published_outputs(
+        scan_dir, ("findings.json", "coverage.json", "scan-manifest.json", "checkpoint-head.json")
+    )
+    created_paths: set[str] = set()
+    try:
+        documents = merge_saved_results(
+            scan_dir,
+            scan["id"],
+            binding,
+            workers,
+            warnings,
+            stopped=not preserve_reduction,
+            preserve_canonical_parent=preserve_reduction,
+            project_worker_coverage=True,
+            # Without reduction, the coordinator's empty draft cannot replace worker evidence.
+            scan_mode="deep" if preserve_reduction else None,
+            finding_scope=db.requested_finding_scope(scan),
+            created_paths=created_paths,
+            current_contract=True,
+            reason=(
+                "The configured discovery time limit elapsed before any source review completed. "
+                "Saved findings and pending review were preserved without a completed reduction."
+            ),
+        )
+        if documents is None:
+            if not allow_empty:
+                raise ContractError("Deep Scan deadline has no saved parent draft.")
+            _restore_published_outputs(scan_dir, snapshots, created_paths)
+            connection.execute(
+                "UPDATE scans SET completion_warnings_json = ? WHERE id = ?",
+                (json.dumps(list(dict.fromkeys(warnings))), scan["id"]),
             )
-            with os.fdopen(descriptor, "rb") as handle:
-                descriptor = -1
-                snapshots[relative] = handle.read()
-        except ContractError:
-            path = scan_dir / relative
-            if path.exists() or path.is_symlink():
-                if relative == "threatmodel.md":
-                    # This optional projection will not replace an unsafe destination.
-                    continue
-                raise
-            snapshots[relative] = None
-        finally:
-            if descriptor >= 0:
-                os.close(descriptor)
-    return snapshots
-
-
-def _restore_published_outputs(scan_dir: Path, snapshots: dict[str, bytes | None]) -> None:
-    for relative, contents in snapshots.items():
-        if contents is None:
-            path = scan_dir / relative
-            if path.exists() or path.is_symlink():
-                _remove_scan_local_file_if_exists(scan_dir, relative)
-        else:
-            write_scan_local_bytes(scan_dir, relative, contents)
+            return None
+        if preserve_reduction:
+            marker = {
+                "id": "scan-deadline",
+                "reason": (
+                    "The configured discovery time limit elapsed. Saved findings and "
+                    "pending work from unfinished source reviews were preserved."
+                ),
+            }
+            if not any(
+                marker["id"] in (row.get("id"), row.get("candidateId"))
+                for key in ("deferred", "resolvedDeferred")
+                for row in documents[2].get(key, [])
+            ):
+                documents[2]["deferred"].append(marker)
+        documents[0]["scan"].pop("complete", None)
+        expected_coverage_mode = db.expected_coverage_mode(scan)
+        if not preserve_reduction:
+            # A capped deadline can retain interrupted records even though its
+            # completion binding requires strict validation of completed findings.
+            _populate_unsealed_manifest_envelope(documents[0], documents[0]["scan"], binding)
+            _populate_unsealed_artifact_envelope(*documents, binding)
+            if expected_coverage_mode == "deep_repository":
+                documents[2]["inventoryStrategy"] = "repository"
+            elif expected_coverage_mode == "scoped_path":
+                documents[2]["inventoryStrategy"] = "scoped_path"
+            schema_dir = Path(__file__).resolve().parent.parent / "schemas"
+            discarded_findings = _recover_unsealed_findings(
+                documents[0], documents[1], schema_dir, scan_dir, warnings, current_contract=True
+            )
+            _recover_unsealed_coverage(
+                documents[2], schema_dir, scan_dir, warnings, discarded_findings
+            )
+        # Reuse stopped-result recovery's per-record validation, scope checks,
+        # source lineage, and receipt validation before admitting this draft.
+        prepared = _prepare_scan_finalization(
+            scan_dir,
+            expected_coverage_mode=expected_coverage_mode,
+            completion_binding=binding,
+            recover_unsealed=not preserve_reduction,
+            allow_missing_writeups=preserve_reduction,
+            draft_documents=documents,
+            finding_scope=db.requested_finding_scope(scan),
+        )
+        warnings.extend(prepared.warnings)
+        manifest, findings, coverage = prepared.manifest, prepared.findings, prepared.coverage
+        manifest["scan"].pop("sealedAt", None)
+        manifest["scan"].pop("artifacts", None)
+        manifest["scan"]["reviewState"] = checkpoint_review_state(coverage)
+        checkpoint = _parent_scan_draft(scan["id"], manifest["scan"], findings, coverage)
+        contents = _encoded(checkpoint)
+        name = f"{hashlib.sha256(contents).hexdigest()}.json"
+        checkpoint_path = f"checkpoints/{name}"
+        # This draft is recoverable parent evidence too. Restore its prior state
+        # on local publication failure or a later caller transaction rollback.
+        snapshots.update(_snapshot_published_outputs(scan_dir, (checkpoint_path,)))
+        write_scan_local_bytes(scan_dir, checkpoint_path, contents)
+        write_scan_local_bytes(scan_dir, "checkpoint-head.json", _encoded({"checkpoint": name}))
+        for filename, document in (
+            ("findings.json", findings),
+            *([("coverage.json", coverage)] if "coverageRef" in manifest["scan"] else []),
+            ("scan-manifest.json", manifest),
+        ):
+            write_scan_local_bytes(scan_dir, filename, _encoded(document))
+        connection.execute(
+            "UPDATE scans SET completion_warnings_json = ? WHERE id = ?",
+            (json.dumps(list(dict.fromkeys(warnings))), scan["id"]),
+        )
+    except BaseException:
+        _restore_published_outputs(scan_dir, snapshots, created_paths)
+        raise
+    return scan_dir, snapshots, created_paths
 
 
 def preserve_scan_results_locked(
@@ -2088,25 +566,38 @@
     scan_id: str,
     *,
     recovery_source_digests: dict[str, str] | None = None,
+    recovery_checkpoint_heads: dict[str, str | None] | None = None,
     include_parent_with_recovery: bool = False,
+    recovery_snapshot_error: _CheckpointSnapshotError | None = None,
 ) -> bool:
     """Publish or verify retained terminal results through the workbench host."""
     scan = db.require_scan(connection, scan_id)
     if scan["status"] != "failed":
         return False
-    frozen_source_digests: dict[str, str] | None = None
-    model_source: list[str] = []
-    saved_model_source: str | None = None
+    checkpoint_heads, pending_recovery = _retained_checkpoint_state(scan)
     raw_frozen_sources = scan["retained_source_digests_json"]
-    if raw_frozen_sources is not None:
-        frozen_source_digests, saved_model_source = _retained_source_state(
-            json.loads(raw_frozen_sources)
-        )
-        if saved_model_source is not None:
-            model_source.append(saved_model_source)
+    retained = _retained_source_state(raw_frozen_sources)
+    frozen_source_digests = retained.get("sources")
+    saved_model_source = retained.get("threatModelSource")
+    model_source = [saved_model_source] if saved_model_source is not None else []
+    frozen_source_times = retained.get("sourceTimes")
+    canonical_sources = frozen_source_digests
     if recovery_source_digests is not None:
         frozen_source_digests = recovery_source_digests
+        checkpoint_heads = recovery_checkpoint_heads
     scan_dir = db.require_canonical_scan_directory(Path(scan["scan_dir"]))
+    if frozen_source_digests is not None:
+        _restore_frozen_model_capture(
+            scan_dir, scan_id, frozen_source_digests, frozen_source_times, saved_model_source
+        )
+    if frozen_source_times is not None and recovery_source_digests is None:
+        _freeze_source_times(
+            scan_dir,
+            scan_id,
+            frozen_source_digests,
+            frozen_source_times,
+            retained.get("parentContext"),
+        )
     deep_run = connection.execute(
         "SELECT status FROM deep_scan_runs WHERE scan_id = ?", (scan_id,)
     ).fetchone()
@@ -2157,11 +648,15 @@
             db.index_findings(connection, scan_id, findings, scan["completed_at"])
             connection.execute(
                 "UPDATE scans SET seal_manifest_digest = ?, retained_source_digests_json = ?, "
+                "retained_checkpoint_heads_json = ?, "
                 "completion_warnings_json = ?, "
                 "updated_at = ? WHERE id = ? AND status = 'failed'",
                 (
                     digest,
                     _encode_retained_sources(retained_sources, model_source),
+                    json.dumps(
+                        manifest["scan"].get("preservedCheckpointHeads", {}), sort_keys=True
+                    ),
                     json.dumps(list(dict.fromkeys(warnings))),
                     timestamp,
                     scan_id,
@@ -2177,10 +672,7 @@
     existing_scan = db.read_json_object(existing_path).get("scan", {}) if existing_path else {}
     existing = None
     if scan["seal_manifest_digest"] is not None or (
-        isinstance(existing_scan, dict)
-        and (
-            existing_scan.get("sealedAt") is not None or existing_scan.get("artifacts") is not None
-        )
+        isinstance(existing_scan, dict) and manifest_is_sealed(existing_scan)
     ):
         db.require_recorded_manifest_digest(scan, scan_dir)
         existing, existing_findings, _ = finalize_scan(
@@ -2191,11 +683,23 @@
         db.verify_manifest_binding(scan, existing)
         if existing_scan.get("status") == outcome:
             existing_sources = existing_scan.get("preservedSources")
+            existing_heads = existing_scan.get("preservedCheckpointHeads")
             if frozen_source_digests is None:
                 frozen_source_digests = _source_digests(
                     existing_sources, "Stopped scan source digests could not be frozen."
                 )
-            if existing_sources == frozen_source_digests:
+                checkpoint_heads = existing_heads
+            unchanged = existing_sources == frozen_source_digests and (
+                existing_heads == checkpoint_heads
+                or (
+                    "preservedCheckpointHeads" not in existing_scan
+                    and recovery_source_digests is None
+                    and not pending_recovery
+                )
+            )
+            if unchanged and not any(
+                Path(path).name == "checkpoint-head.json" for path in frozen_source_digests
+            ):
                 if (
                     raw_frozen_sources is not None
                     and scan["seal_manifest_digest"] is not None
@@ -2205,42 +709,113 @@
                     return True
                 record_publication(existing, existing_findings)
                 return True
-            if recovery_source_digests is None:
+            if not unchanged and recovery_source_digests is None and not pending_recovery:
                 raise ContractError("Stopped scan sources changed after terminal publication.")
     binding = {
         **db.workbench_completion_binding(scan, scan["completed_at"], existing),
         "status": outcome,
     }
-    if recovery_source_digests is not None:
+    canonical_model_source = saved_model_source
+    canonical_model = existing_scan.get("threatModel") if isinstance(existing_scan, dict) else None
+    if existing is None and frozen_source_digests is not None:
+        # An unsealed live draft is a fallback only when its complete identity
+        # belongs to the frozen set. Otherwise recover from the captured sources.
+        canonical_model = None
+        try:
+            _, canonical_draft = _read_saved_parent_result(scan_dir, scan_id)
+            digest = _digest(canonical_draft)
+            path = f"checkpoints/{digest}.json"
+            if frozen_source_digests.get(path) == digest:
+                canonical_model_source = path
+                canonical_model = canonical_draft.get("threatModel")
+        except (ContractError, OSError, ValueError):
+            # This live fallback is optional.
+            pass
+    if recovery_source_digests is not None and not pending_recovery:
         model_source.clear()
-    documents = merge_saved_results(
-        scan_dir,
-        scan_id,
-        binding,
-        connection.execute(
-            "SELECT * FROM deep_scan_workers WHERE scan_id = ? ORDER BY created_at, id",
-            (scan_id,),
-        ).fetchall(),
-        warnings,
-        stopped=True,
-        reason=(
-            f"Scan {outcome}; saved findings and pending review were preserved. "
-            f"{scan['failure_message'] or ''}"
-        ).strip(),
-        frozen_source_digests=frozen_source_digests,
-        frozen_model_source=model_source[0] if model_source else None,
-        selected_model_source=model_source,
-        allow_frozen_legacy_parent=(
-            include_parent_with_recovery
-            or (
-                recovery_source_digests is None
-                and frozen_source_digests == {}
-                and isinstance(existing_scan, dict)
-                and existing_scan.get("sealedAt") is not None
-                and "preservedSources" not in existing_scan
-            )
-        ),
+    # Older pending recoveries retained the parent union without recording the mode.
+    legacy_parent = (
+        include_parent_with_recovery
+        or (pending_recovery is not None and pending_recovery.get("legacyParent", True) is True)
+        or (
+            recovery_source_digests is None
+            and frozen_source_digests == {}
+            and isinstance(existing_scan, dict)
+            and existing_scan.get("sealedAt") is not None
+            and "preservedSources" not in existing_scan
+        )
     )
+
+    def pending_selection(heads: dict[str, str | None]) -> dict[str, Any]:
+        return {
+            "heads": heads,
+            "recoveryBaseDigest": scan["seal_manifest_digest"],
+            "legacyParent": legacy_parent,
+        }
+
+    try:
+        documents = merge_saved_results(
+            scan_dir,
+            scan_id,
+            binding,
+            saved_deep_workers(connection, scan),
+            warnings,
+            stopped=True,
+            scan_mode=scan["mode"],
+            finding_scope=db.requested_finding_scope(scan) if scan["mode"] == "deep" else None,
+            reason=(
+                f"Scan {outcome}; saved findings and pending review were preserved. "
+                f"{scan['failure_message'] or ''}"
+            ).strip(),
+            frozen_source_digests=frozen_source_digests,
+            checkpoint_heads=checkpoint_heads,
+            frozen_model_source=model_source[0] if model_source else None,
+            selected_model_source=model_source,
+            project_worker_coverage=scan["mode"] == "deep",
+            canonical_model=canonical_model,
+            canonical_model_source=canonical_model_source,
+            canonical_sources=canonical_sources,
+            recovery_snapshot_error=recovery_snapshot_error,
+            allow_frozen_legacy_parent=legacy_parent,
+            parent_already_captured=pending_recovery is not None,
+        )
+    except _CheckpointSnapshotError as exc:
+        if frozen_source_digests is None or recovery_snapshot_error is not None:
+            # The stop has already committed. Keep the source set and times in
+            # the database even when auxiliary snapshot files cannot be written.
+            # Changed raw heads remain rejected on retry.
+            captured = exc.captured
+            retained_sources = {path: value[0] for path, value in captured.items()}
+            source_times = {path: value[1] for path, value in captured.items()}
+            retained_heads = exc.heads
+            if recovery_snapshot_error is not None:
+                _prepare_scan_finalization(
+                    scan_dir,
+                    expected_coverage_mode=db.expected_coverage_mode(scan),
+                    completion_binding=binding,
+                    recover_unsealed=True,
+                    draft_documents=exc.documents,
+                    finding_scope=db.requested_finding_scope(scan)
+                    if scan["mode"] == "deep"
+                    else None,
+                )
+                retained_heads = pending_selection(retained_heads)
+            with connection:
+                connection.execute(
+                    "UPDATE scans SET retained_source_digests_json = ?, "
+                    "retained_checkpoint_heads_json = ?, completion_warnings_json = ? "
+                    "WHERE id = ? AND retained_source_digests_json IS ?",
+                    (
+                        _encode_retained_sources(
+                            retained_sources, exc.model_source, source_times, exc.parent_context
+                        ),
+                        json.dumps(retained_heads, sort_keys=True),
+                        json.dumps(list(dict.fromkeys(warnings))),
+                        scan_id,
+                        raw_frozen_sources,
+                    ),
+                )
+        raise
     if documents is None:
         unpublished_warnings = list(dict.fromkeys([*warnings, *publication_follow_up_warnings]))
         if unpublished_warnings != stored_warnings:
@@ -2251,30 +826,57 @@
                     (json.dumps(unpublished_warnings), db.now(), scan_id),
                 )
         return False
-    if frozen_source_digests is None or (
-        recovery_source_digests is None and saved_model_source is None and model_source
+    retained_state = None
+    if (
+        frozen_source_digests is None
+        or scan["retained_checkpoint_heads_json"] is None
+        or recovery_source_digests is not None
+        or documents[0]["scan"]["preservedSources"] != frozen_source_digests
+        or model_source != ([saved_model_source] if saved_model_source is not None else [])
     ):
         retained_sources = _source_digests(
             documents[0].get("scan", {}).get("preservedSources"),
             "Stopped scan source digests could not be frozen.",
         )
-        with connection:
-            connection.execute(
-                "UPDATE scans SET retained_source_digests_json = ? "
-                "WHERE id = ? AND retained_source_digests_json IS ?",
-                (
-                    _encode_retained_sources(retained_sources, model_source),
-                    scan_id,
-                    raw_frozen_sources,
-                ),
-            )
+        retained_heads = documents[0]["scan"]["preservedCheckpointHeads"]
+        if (
+            recovery_source_digests is not None
+            or pending_recovery
+            or (existing is not None and existing_scan.get("status") == outcome)
+        ):
+            retained_heads = pending_selection(retained_heads)
+        retained_state = (
+            _encode_retained_sources(retained_sources, model_source),
+            json.dumps(retained_heads, sort_keys=True),
+            json.dumps(list(dict.fromkeys(warnings))),
+            scan_id,
+            raw_frozen_sources,
+        )
+
+    def retain_sources() -> None:
+        if retained_state is not None:
+            with connection:
+                connection.execute(
+                    "UPDATE scans SET retained_source_digests_json = ?, "
+                    "retained_checkpoint_heads_json = ?, completion_warnings_json = ? "
+                    "WHERE id = ? AND retained_source_digests_json IS ?",
+                    retained_state,
+                )
+
+    first_preservation = recovery_source_digests is None and not pending_recovery
+    if first_preservation:
+        retain_sources()
     prepared = _prepare_scan_finalization(
         scan_dir,
         expected_coverage_mode=db.expected_coverage_mode(scan),
         completion_binding=binding,
-        completion_warnings=warnings,
+        recover_unsealed=True,
         draft_documents=documents,
+        finding_scope=db.requested_finding_scope(scan) if scan["mode"] == "deep" else None,
     )
+    if not first_preservation:
+        retain_sources()
+    warnings.extend(prepared.warnings)
     snapshots = _snapshot_published_outputs(scan_dir)
     try:
         manifest, findings, _ = _write_prepared_scan_finalization(
@@ -2289,6 +891,7 @@
 
 
 def recover_scan_results(db: Any, connection: Any, args: Any) -> dict[str, Any]:
+    """Recover terminal results from saved checkpoints under the completion lock for a failed, uncanceled scan."""
     scan_id = db.require_uuid(args.scan_id, "scan-id")
     with db.scan_completion_lock(scan_id):
         scan = db.require_scan(connection, scan_id)
@@ -2296,13 +899,24 @@
             raise SystemExit("Only a stopped scan can recover terminal results.")
         if scan["canceled_at"] is not None:
             raise SystemExit("Canceled scans cannot recover terminal results.")
-        recovery_source_digests, include_parent = _recovery_source_digests(db, connection, scan)
+        recovery_snapshot_error = None
+        try:
+            recovery_source_digests, include_parent, checkpoint_heads = _recovery_source_digests(
+                db, connection, scan
+            )
+        except _CheckpointSnapshotError as exc:
+            recovery_snapshot_error = exc
+            recovery_source_digests = {path: value[0] for path, value in exc.captured.items()}
+            include_parent = exc.include_parent
+            checkpoint_heads = exc.heads
         if not preserve_scan_results_locked(
             db,
             connection,
             scan_id,
             recovery_source_digests=recovery_source_digests,
+            recovery_checkpoint_heads=checkpoint_heads,
             include_parent_with_recovery=include_parent,
+            recovery_snapshot_error=recovery_snapshot_error,
         ):
             raise SystemExit("No saved stopped-scan results were available to recover.")
         db.deep_scan.clear_deep_scan_publication_failure(connection, scan_id)
@@ -2310,6 +924,7 @@
 
 
 def preserve_scan_results(db: Any, connection: Any, args: Any) -> dict[str, Any]:
+    """Publish results for a stopped scan under its completion lock and return the updated scan context."""
     scan_id = db.require_uuid(args.scan_id, "scan-id")
     with db.scan_completion_lock(scan_id):
         scan = db.require_scan(connection, scan_id)
@@ -2359,6 +974,9 @@
     scan_id = db.require_uuid(args.scan_id, "scan-id")
     with db.scan_completion_lock(scan_id):
         scan = db.require_scan(connection, scan_id)
+        db.handoff.require_tokenless_scan_owner(
+            connection, scan, getattr(args, "model_thread_id", None)
+        )
         db.handoff.require_current_continuation(
             scan,
             args.claim_token,
@@ -2370,7 +988,7 @@
         manifest_path = db.artifact_path(scan_dir, "scan-manifest.json", required=False)
         if manifest_path is not None:
             manifest = db.read_json_object(manifest_path).get("scan", {})
-            if manifest.get("sealedAt") is not None or manifest.get("artifacts") is not None:
+            if manifest_is_sealed(manifest):
                 raise SystemExit("The scan is sealed; its artifacts cannot be modified.")
         output = args.artifact_path
         key = output.lower()
@@ -2387,9 +1005,18 @@
 
 
 def write_scan_draft(db: Any, connection: Any, args: Any) -> dict[str, Any]:
+    """Publish a staged draft for the current continuation of a running, unsealed scan.
+
+    Read the draft from its registered scan directory and bind it to the scan
+    before publishing it under the completion lock. Return the scan ID, the
+    draft_written status, and any warning about the optional threat model.
+    """
     scan_id = db.require_uuid(args.scan_id, "scan-id")
     with db.scan_completion_lock(scan_id):
         scan = db.require_scan(connection, scan_id)
+        db.handoff.require_tokenless_scan_owner(
+            connection, scan, getattr(args, "model_thread_id", None)
+        )
         db.handoff.require_current_continuation(
             scan, args.claim_token, error_message="Scan draft is owned by another continuation."
         )
@@ -2398,13 +1025,6 @@
                 "The scan stopped; its saved checkpoint was retained without replacing sealed results."
             )
         scan_dir = db.require_canonical_scan_directory(Path(scan["scan_dir"]))
-        if (
-            args.expected_draft_digest is not None
-            and args.expected_draft_digest != _scan_draft_digest(scan_dir)
-        ):
-            raise SystemExit(
-                "scan_draft_conflict: canonical scan results changed; reconcile the saved checkpoint again."
-            )
         try:
             relative = Path(args.draft_path).relative_to(scan_dir).as_posix()
         except ValueError as exc:
@@ -2414,12 +1034,26 @@
         if not re.fullmatch(r"drafts/[0-9a-fA-F-]+\.json", relative):
             raise SystemExit("Scan draft must be inside the registered scan drafts directory.")
         draft = _read_scan_local_json(scan_dir, relative, "Staged scan draft")
-        manifest, findings, coverage = draft["manifest"], draft["findings"], draft["coverage"]
+        accepted_input = copy.deepcopy(draft)
+        accepted_checkpoint = None
+        manifest, findings, coverage = (
+            draft["manifest"],
+            draft["findings"],
+            draft.get("reviewState", draft.get("coverage")),
+        )
+        manifest["scan"]["reviewState"] = checkpoint_review_state(coverage)
+        manifest["scan"].pop("coverageRef", None)
         binding = db.workbench_completion_binding(scan, db.now())
         # Save scan IDs without sealing the draft.
         _populate_unsealed_manifest_envelope(manifest, manifest["scan"], binding)
         _populate_unsealed_artifact_envelope(manifest, findings, coverage, binding)
         _validate_completion_binding(manifest, findings, coverage, binding)
+        manifest["scan"]["mode"] = coverage["mode"]
+        manifest["scan"]["review"] = review_summary(coverage)
+        projected = _parent_scan_draft(scan_id, manifest["scan"], findings, coverage)
+        admitted_input = None
+        checkpoint = manifest["scan"]
+        checkpoint_contents = None
         if args.checkpoint_path is not None:
             try:
                 checkpoint_relative = Path(args.checkpoint_path).relative_to(scan_dir).as_posix()
@@ -2434,34 +1068,110 @@
             checkpoint, checkpoint_contents = _read_scan_local_json_bytes(
                 scan_dir, checkpoint_relative, "Staged scan checkpoint"
             )
+            accepted_checkpoint = checkpoint
             if checkpoint.get("scanId") != scan_id:
                 raise SystemExit("Staged scan checkpoint belongs to another scan.")
+            if scan["mode"] == "deep":
+                checkpoint_contents = _admit_parent_checkpoint(
+                    scan_dir, scan_id, checkpoint, projected
+                )
+        checkpoint_only = (
+            scan["mode"] == "deep"
+            and draft.get("deepScanPublication") is None
+            and checkpoint.get("complete") is False
+            and connection.execute(
+                "SELECT 1 FROM deep_scan_runs WHERE scan_id = ? "
+                "AND status = 'running' AND manifest_path = ?",
+                (scan_id, str(scan_dir / "scan-manifest.json")),
+            ).fetchone()
+            is not None
+        )
+        if scan["mode"] == "deep" and not checkpoint_only:
+            _require_current_deep_publication(db, connection, scan, draft)
+        acceptance_input = {**accepted_input, "checkpoint": accepted_checkpoint}
+        acceptance_relative = Path(relative).with_suffix(".accepted.json").as_posix()
+        acknowledge = (
+            scan["mode"] == "deep"
+            and draft.get("deepScanPublication") is not None
+            and db.deep_scan.require_deep_scan_run(connection, scan_id)["workflow_version"]
+            in {"deep-scan-mcp/v1", "deep-security-scan/v1"}
+        )
+        if acknowledge and (scan_dir / acceptance_relative).exists():
+            accepted = _read_scan_local_json(scan_dir, acceptance_relative, "Accepted scan draft")
+            if (
+                accepted.get("status") == "draft_written"
+                and accepted.get("input") == acceptance_input
+            ):
+                if accepted.get("draftDigest") != _scan_draft_digest(scan_dir):
+                    raise SystemExit(
+                        "scan_draft_conflict: canonical scan results changed after publication."
+                    )
+                return {
+                    "scanId": scan_id,
+                    "status": "draft_written",
+                    **({"warnings": accepted["warnings"]} if accepted.get("warnings") else {}),
+                }
+        if (
+            args.expected_draft_digest is not None
+            and args.expected_draft_digest != _scan_draft_digest(scan_dir)
+        ):
+            raise SystemExit(
+                "scan_draft_conflict: canonical scan results changed; reconcile the saved checkpoint again."
+            )
+        if checkpoint_contents is not None:
             checkpoint_digest = hashlib.sha256(checkpoint_contents).hexdigest()
+            if scan["mode"] == "deep":
+                admitted_input = f"{checkpoint_digest}.json"
             write_scan_local_bytes(
                 scan_dir,
                 f"checkpoints/{checkpoint_digest}.json",
                 checkpoint_contents,
             )
-        checkpoint = _parent_scan_draft(scan_id, manifest["scan"], findings, coverage)
-        checkpoint_contents = _encoded(checkpoint)
-        checkpoint_name = f"{hashlib.sha256(checkpoint_contents).hexdigest()}.json"
+            if checkpoint_only:
+                return {"scanId": scan_id, "status": "draft_written"}
+        projected_contents = _encoded(projected)
+        checkpoint_name = f"{hashlib.sha256(projected_contents).hexdigest()}.json"
         checkpoint_relative = f"checkpoints/{checkpoint_name}"
         if not (scan_dir / checkpoint_relative).exists():
-            write_scan_local_bytes(scan_dir, checkpoint_relative, checkpoint_contents)
-        write_scan_local_bytes(
-            scan_dir, "checkpoint-head.json", _encoded({"checkpoint": checkpoint_name})
-        )
-        for filename, document in (
-            ("findings.json", findings),
-            ("coverage.json", coverage),
-            ("scan-manifest.json", manifest),
-        ):
-            write_scan_local_bytes(
-                scan_dir,
-                filename,
-                (json.dumps(document, allow_nan=False, indent=2) + "\n").encode(),
+            write_scan_local_bytes(scan_dir, checkpoint_relative, projected_contents)
+        if checkpoint_only:
+            return {"scanId": scan_id, "status": "draft_written"}
+        head = {"checkpoint": checkpoint_name}
+        if admitted_input is not None:
+            head["inputCheckpoint"] = admitted_input
+        write_scan_local_bytes(scan_dir, "checkpoint-head.json", _encoded(head))
+        documents = {
+            filename: (json.dumps(document, allow_nan=False, indent=2) + "\n").encode()
+            for filename, document in (
+                ("findings.json", findings),
+                ("scan-manifest.json", manifest),
             )
+        }
+        for filename, contents in documents.items():
+            write_scan_local_bytes(scan_dir, filename, contents)
+        _remove_scan_local_file_if_exists(scan_dir, "coverage.json")
+        if scan["mode"] == "deep" and manifest["scan"].get("complete") is not False:
+            # Select the accepted final publication before releasing the write lock.
+            with connection:
+                connection.execute(
+                    "UPDATE deep_scan_runs SET manifest_path = ? "
+                    "WHERE scan_id = ? AND status = 'running'",
+                    (str(scan_dir / "scan-manifest.json"), scan_id),
+                )
         model_warning = write_threat_model_projection_if_possible(scan_dir, manifest)
+        if acknowledge:
+            # Optional recovery evidence is written only after the publication succeeds.
+            try:
+                acceptance = {
+                    "status": "draft_written",
+                    "input": acceptance_input,
+                    "draftDigest": _scan_draft_contents_digest(documents),
+                    **({"warnings": [model_warning]} if model_warning else {}),
+                }
+                write_scan_local_bytes(scan_dir, acceptance_relative, _encoded(acceptance))
+            except (OSError, ScanLocalIOError):
+                # A missing receipt prevents recovery but does not undo accepted results.
+                pass
         # Accepted Standard drafts are evidence of review or report assembly,
         # even when the parent omitted its explicit progress call.
         model_only_checkpoint = (
@@ -2500,23 +1210,62 @@
 
 
 def _scan_draft_digest(scan_dir: Path) -> str:
-    digest = hashlib.sha256()
+    documents: dict[str, bytes | None] = {}
     for filename in ("scan-manifest.json", "findings.json", "coverage.json"):
-        digest.update(filename.encode())
-        digest.update(b"\0")
         try:
             (scan_dir / filename).lstat()
         except FileNotFoundError:
-            digest.update(b"missing\0")
+            documents[filename] = None
             continue
-        digest.update(b"present\0")
         descriptor = open_scan_local_file_descriptor(scan_dir, filename, filename)
         with os.fdopen(descriptor, "rb") as handle:
-            digest.update(handle.read())
+            documents[filename] = handle.read()
+    return _scan_draft_contents_digest(documents)
+
+
+def _scan_draft_contents_digest(documents: dict[str, bytes | None]) -> str:
+    digest = hashlib.sha256()
+    for filename in ("scan-manifest.json", "findings.json", "coverage.json"):
+        digest.update(filename.encode())
         digest.update(b"\0")
+        contents = documents.get(filename)
+        if contents is None:
+            digest.update(b"missing\0")
+        else:
+            digest.update(b"present\0")
+            digest.update(contents)
+            digest.update(b"\0")
     return digest.hexdigest()
 
 
+def mark_running_scan_failed(
+    connection: sqlite3.Connection, scan_id: str, message: str | None, timestamp: str
+) -> bool:
+    updated = connection.execute(
+        """
+        UPDATE scans SET status = 'failed', failure_message = ?, completed_at = ?, updated_at = ?,
+            log_completed_at = ?
+        WHERE id = ? AND status = 'running'
+        """,
+        (message, timestamp, timestamp, timestamp, scan_id),
+    )
+    return updated.rowcount == 1
+
+
+def touch_scan_progress(
+    connection: sqlite3.Connection,
+    scan_id: str,
+    timestamp: str,
+    scope_file_count: int | None = None,
+) -> bool:
+    updated = connection.execute(
+        "UPDATE scan_progress SET updated_at = ?, scope_file_count = COALESCE(?, scope_file_count) "
+        "WHERE scan_id = ?",
+        (timestamp, scope_file_count, scan_id),
+    )
+    return updated.rowcount == 1
+
+
 def fail_scan(db: Any, connection: Any, args: Any) -> dict[str, Any]:
     with db.scan_completion_lock(db.require_uuid(args.scan_id, "scan-id")):
         return fail_scan_locked(db, connection, args)
@@ -2525,13 +1274,25 @@
 def fail_scan_locked(db: Any, connection: Any, args: Any) -> dict[str, Any]:
     scan_id = db.require_uuid(args.scan_id, "scan-id")
     cost_json = db.parse_scan_cost(args.cost_json)
+    observed = db.require_scan(connection, scan_id)
+    scope_file_count = None
+    if observed["status"] == "running" and observed["mode"] == "standard":
+        db.handoff.require_tokenless_scan_owner(
+            connection, observed, getattr(args, "model_thread_id", None)
+        )
+        db.handoff.require_current_continuation(
+            observed,
+            args.claim_token,
+            error_message="Scan failure is owned by another continuation.",
+        )
+        scope_file_count = db.progress.reported_scope_file_count(db, observed)
     connection.execute("BEGIN IMMEDIATE")
-    try:
+    with connection:
         timestamp = db.now()
         scan = db.require_scan(connection, scan_id)
-        if scan["status"] == "failed":
-            connection.commit()
-            return db.scan_context(connection, scan["id"])
+        db.handoff.require_tokenless_scan_owner(
+            connection, scan, getattr(args, "model_thread_id", None)
+        )
         if scan["status"] == "complete":
             raise SystemExit("A completed scan cannot be marked failed.")
         db.handoff.require_current_continuation(
@@ -2539,29 +1300,22 @@
             args.claim_token,
             error_message="Scan failure is owned by another continuation.",
         )
-        message = db.optional_text(args.message, maximum=2400)
-        updated = connection.execute(
-            """
-            UPDATE scans
-            SET status = 'failed', failure_message = ?, completed_at = ?, updated_at = ?,
-                cost_json = ?
-            WHERE id = ? AND status = 'running'
-            """,
-            (message, timestamp, timestamp, cost_json, scan["id"]),
-        )
-        if updated.rowcount != 1:
+        if scan["status"] == "failed":
+            connection.commit()
+            record_stopped_scan_usage(db, connection, scan_id, cost_json)
+            return db.scan_context(connection, scan["id"])
+        message = db.optional_text(args.message)
+        if not mark_running_scan_failed(connection, scan_id, message, timestamp):
             raise SystemExit("Only a running scan can be marked failed.")
         db.deep_scan.fail_from_parent_scan(connection, scan["id"], message, timestamp)
-        progress_updated = connection.execute(
-            "UPDATE scan_progress SET updated_at = ? WHERE scan_id = ?",
-            (timestamp, scan["id"]),
-        )
-        if progress_updated.rowcount != 1:
+        if not touch_scan_progress(
+            connection,
+            scan_id,
+            timestamp,
+            scope_file_count if scan["scan_dir"] == observed["scan_dir"] else None,
+        ):
             raise SystemExit("Codex Security scan progress not found.")
-        connection.commit()
-    except BaseException:
-        connection.rollback()
-        raise
+    record_stopped_scan_usage(db, connection, scan_id, cost_json)
     preserve_stopped_results_after_transition(db, connection, scan["id"])
     return db.scan_context(connection, scan["id"])
 
@@ -2571,48 +1325,100 @@
         return cancel_scan_locked(db, connection, args)
 
 
+def require_cancel_owner(
+    db: Any, connection: Any, scan: sqlite3.Row, thread_id: str | None
+) -> None:
+    workspace = db.require_workspace(connection, scan["workspace_id"])
+    owning_thread_id = scan["continuation_thread_id"] or workspace["thread_id"]
+    if thread_id is not None and owning_thread_id != thread_id:
+        raise SystemExit("A scan can only be canceled from its owning Codex thread.")
+
+
 def cancel_scan_locked(db: Any, connection: Any, args: Any) -> dict[str, Any]:
     scan_id = db.require_uuid(args.scan_id, "scan-id")
     thread_id = db.optional_text(args.thread_id, maximum=512)
+    observed = db.require_scan(connection, scan_id)
+    scope_file_count = None
+    if observed["status"] == "running" and observed["mode"] == "standard":
+        require_cancel_owner(db, connection, observed, thread_id)
+        scope_file_count = db.progress.reported_scope_file_count(db, observed)
+    cost_json = db.parse_scan_cost(getattr(args, "cost_json", None))
+    # The app displays the active scan. A conversation may only receive the scan it canceled.
+    result_scan_id = scan_id if thread_id is not None else None
     connection.execute("BEGIN IMMEDIATE")
-    try:
+    with connection:
         timestamp = db.now()
         scan = db.require_scan(connection, scan_id)
-        workspace = db.require_workspace(connection, scan["workspace_id"])
-        owning_thread_id = scan["continuation_thread_id"] or workspace["thread_id"]
-        if thread_id is not None and owning_thread_id != thread_id:
-            raise SystemExit("A scan can only be canceled from its owning Codex thread.")
+        require_cancel_owner(db, connection, scan, thread_id)
         if scan["canceled_at"] is not None:
             connection.commit()
-            return db.workspace_state(connection, scan["workspace_id"])
+            record_stopped_scan_usage(db, connection, scan_id, cost_json)
+            return {
+                **db.workspace_state(
+                    connection, scan["workspace_id"], result_scan_id=result_scan_id
+                ),
+                "canceledScanId": scan["id"],
+            }
         if scan["status"] != "running":
             raise SystemExit("Only a running scan can be canceled.")
         updated = connection.execute(
             """
             UPDATE scans
-            SET status = 'failed', canceled_at = ?, completed_at = ?, updated_at = ?
+            SET status = 'failed', canceled_at = ?, completed_at = ?, updated_at = ?, log_completed_at = ?
             WHERE id = ? AND status = 'running'
             """,
-            (timestamp, timestamp, timestamp, scan["id"]),
+            (timestamp, timestamp, timestamp, timestamp, scan["id"]),
         )
         if updated.rowcount != 1:
             raise SystemExit("Only a running scan can be canceled.")
         db.deep_scan.cancel_from_parent_scan(connection, scan["id"], timestamp)
-        progress_updated = connection.execute(
-            "UPDATE scan_progress SET updated_at = ? WHERE scan_id = ?",
-            (timestamp, scan["id"]),
-        )
-        if progress_updated.rowcount != 1:
+        if not touch_scan_progress(
+            connection,
+            scan_id,
+            timestamp,
+            scope_file_count if scan["scan_dir"] == observed["scan_dir"] else None,
+        ):
             raise SystemExit("Codex Security scan progress not found.")
-        connection.commit()
-    except BaseException:
-        connection.rollback()
-        raise
+    record_stopped_scan_usage(db, connection, scan_id, cost_json)
     preserve_stopped_results_after_transition(db, connection, scan["id"])
-    return db.workspace_state(connection, scan["workspace_id"])
+    return {
+        **db.workspace_state(connection, scan["workspace_id"], result_scan_id=result_scan_id),
+        "canceledScanId": scan["id"],
+    }
+
+
+def record_stopped_scan_usage(
+    db: Any, connection: Any, scan_id: str, cost_json: str | None = None
+) -> None:
+    """Keep optional accounting independent of the already-persisted scan outcome."""
+
+    try:
+        scan = db.require_scan(connection, scan_id)
+        fields = db.scan_usage.merge_scan_usage_fields(
+            db.scan_usage.stored_scan_cost_fields(scan["cost_json"]),
+            db.scan_usage.stored_scan_cost_fields(cost_json),
+        )
+        fields = db.scan_usage.merge_scan_usage_fields(
+            fields,
+            {"usage": db.scan_usage.collect_scan_usage_safely(connection, scan)},
+        )
+        if fields:
+            encoded = db.parse_scan_cost(json.dumps(fields))
+            with connection:
+                connection.execute(
+                    "UPDATE scans SET cost_json = ? WHERE id = ? AND status = 'failed'",
+                    (encoded, scan_id),
+                )
+    except (Exception, SystemExit) as exc:
+        try:
+            print(f"Could not save stopped scan token usage: {exc}", file=sys.stderr)
+        except OSError:
+            # A closed diagnostic stream must not alter the persisted scan outcome.
+            pass
 
 
 def preserve_stopped_results_after_transition(db: Any, connection: Any, scan_id: str) -> None:
+    """Try to publish saved evidence after stopping a scan and record a warning if publication fails."""
     try:
         published = preserve_scan_results_locked(db, connection, scan_id)
     except (ContractError, OSError, SystemExit, ValueError) as exc:
@@ -2631,3 +1437,162 @@
 
 if __name__ == "__main__":
     argparse.ArgumentParser(description=__doc__).parse_args()
+
+
+def budget_exhausted_draft(
+    db: Any,
+    scan: sqlite3.Row,
+    scan_dir: Path,
+    candidates: list[dict[str, Any]],
+    warning: str,
+) -> None:
+    documents: dict[str, dict[str, Any]] = {}
+    for name in ("scan-manifest.json", "findings.json"):
+        path = db.artifact_path(scan_dir, name, required=False)
+        if path is not None:
+            documents[name] = db.read_json_object(path)
+    if documents and len(documents) != 2:
+        raise SystemExit("Budget-exhausted scan contains an incomplete canonical scan draft.")
+
+    if documents:
+        manifest = documents["scan-manifest.json"]
+        findings = documents["findings.json"]
+        coverage = (
+            db.read_json_object(db.artifact_path(scan_dir, "coverage.json", required=True))
+            if uses_legacy_review(manifest["scan"])
+            else review_state(manifest["scan"])
+        )
+        if not isinstance(manifest.get("scan"), dict) or not isinstance(
+            findings.get("findings"), list
+        ):
+            raise SystemExit("Budget-exhausted scan contains an invalid canonical scan draft.")
+        for key in ("surfaces", "explicitExclusions", "deferred"):
+            if not isinstance(coverage.get(key), list):
+                raise SystemExit("Budget-exhausted scan contains invalid canonical coverage.")
+        if manifest_is_sealed(manifest["scan"]):
+            raise SystemExit("Budget-exhausted scan cannot replace an already sealed scan draft.")
+    else:
+        contract = db.scan_contract(scan)
+        target_contract = contract["target"]
+        target: dict[str, Any] = {
+            "kind": target_contract["allowedKinds"][0],
+            "targetId": target_contract["targetId"],
+            "displayName": target_contract["displayName"],
+        }
+        if scan["target_revision"] != "unversioned":
+            target["revision"] = scan["target_revision"]
+        if "requiredSnapshotDigest" in target_contract:
+            target["snapshotDigest"] = target_contract["requiredSnapshotDigest"]
+        manifest = {
+            "scan": {
+                "target": target,
+                "scope": {"limitations": [warning]},
+            }
+        }
+        findings = {"findings": []}
+        coverage = {
+            "inventoryStrategy": (
+                "scoped_path" if db.expected_coverage_mode(scan) == "scoped_path" else "repository"
+            ),
+            "surfaces": [],
+            "explicitExclusions": [],
+            "deferred": [],
+        }
+
+    findings_by_candidate = {
+        candidate_id
+        for finding in findings["findings"]
+        if isinstance(finding, dict)
+        and isinstance(candidate_id := finding_candidate_id(finding), str)
+    }
+    existing_deferred = {
+        item.get("candidateId", item.get("id"))
+        for item in coverage["deferred"]
+        if isinstance(item, dict) and isinstance(item.get("candidateId", item.get("id")), str)
+    }
+    existing_surfaces = {
+        item.get("id")
+        for item in coverage["surfaces"]
+        if isinstance(item, dict) and isinstance(item.get("id"), str)
+    }
+    for candidate in candidates:
+        candidate_id = candidate["candidate_id"]
+        if candidate_id in findings_by_candidate or candidate_id in existing_deferred:
+            continue
+        paths = list(dict.fromkeys(location["path"] for location in candidate["locations"]))
+        surface_id = f"candidate-{candidate_id}"
+        validation = candidate.get("validation")
+        validation = validation.get("disposition") if isinstance(validation, dict) else None
+        attack = candidate.get("attack_path")
+        attack = attack.get("decision") if isinstance(attack, dict) else None
+        disposition = (
+            "needs_follow_up"
+            if validation == "deferred" or attack == "deferred"
+            else "not_applicable"
+            if validation == "not_applicable"
+            else "rejected"
+            if validation == "suppressed" or attack == "ignore"
+            else "needs_follow_up"
+        )
+        if surface_id not in existing_surfaces:
+            coverage["surfaces"].append(
+                {
+                    "id": surface_id,
+                    "label": candidate["summary"],
+                    "disposition": disposition,
+                    "notes": candidate["evidence"],
+                    "receiptRefs": [],
+                }
+            )
+            existing_surfaces.add(surface_id)
+        if disposition != "needs_follow_up":
+            continue
+        coverage["deferred"].append(
+            {
+                "id": candidate_id,
+                "candidateId": candidate_id,
+                "reason": (
+                    "Validation was deferred because the scan reached its cost limit: "
+                    f"{candidate['summary']}. Evidence: {candidate['evidence']}"
+                ),
+                "paths": paths,
+                "surfaceIds": [surface_id],
+            }
+        )
+    deferred_reason = "Validation was deferred because the scan reached its cost limit."
+    limitations = manifest["scan"].setdefault("scope", {}).setdefault("limitations", [])
+    if deferred_reason not in limitations:
+        limitations.append(deferred_reason)
+    if not any(
+        isinstance(item, dict)
+        and isinstance(reason := item.get("reason"), str)
+        and (
+            reason == deferred_reason
+            or reason.startswith(
+                "Validation was deferred because the scan reached its cost limit: "
+            )
+        )
+        for item in coverage["deferred"]
+    ):
+        coverage["deferred"].append(
+            {
+                "id": "scan-cost-limit",
+                "reason": deferred_reason,
+            }
+        )
+    coverage.pop("completeness", None)
+    manifest["scan"].pop("coverageRef", None)
+    manifest["scan"]["mode"] = db.expected_coverage_mode(scan)
+    manifest["scan"]["reviewState"] = checkpoint_review_state(coverage)
+    for name, payload in (
+        ("findings.json", findings),
+        ("scan-manifest.json", manifest),
+    ):
+        try:
+            write_scan_local_bytes(
+                scan_dir,
+                name,
+                (json.dumps(payload, allow_nan=False, indent=2, sort_keys=True) + "\n").encode(),
+            )
+        except (ContractError, OSError, TypeError, ValueError) as exc:
+            raise SystemExit(f"Budget-exhausted scan draft could not be saved: {exc}") from exc
Full technical diff · 281 changed fields

changed /files/.codex-plugin~1plugin.json/sha256

BEFORE
"527d1a0db286884729572d400b0ad9b0ff852d4a12b36228ff5fbef180f7de9d"
AFTER
"3766646eafb09a5e691657999f4f423c9652bbac286c0e0f55e179169aa97e99"

changed /files/.codex-plugin~1plugin.json/size

BEFORE
1582
AFTER
1846

changed /files/.mcp.json/sha256

BEFORE
"7c5968060f6e848859ce02450d6e02e67029d8d39011bbda1059b19de6309ebf"
AFTER
"69bbc0f86c92397eb7540ff09c17d69d429b0dc45dc1de3e02b16d101adfe7c0"

changed /files/.mcp.json/size

BEFORE
1679
AFTER
2078

removed /files/examples~1completed-scan~1coverage.json

BEFORE
{
  "sha256": "d55b9b98d48323b4659dfee6531ec83ec538f2084325412b7188bf85ad68b01b",
  "size": 467
}
AFTER
Field is absent

changed /files/examples~1completed-scan~1findings.json/sha256

BEFORE
"a6dc4521d6478828224fbafc33585401a47bfeb0e56e07b5d2886e8a29937f2f"
AFTER
"3c63586ea38b07b1d5ad9004ba2afc27f67e79ed164da508c7beae72648eb3b7"

changed /files/examples~1completed-scan~1findings.json/size

BEFORE
1844
AFTER
2678

changed /files/examples~1completed-scan~1report.md/sha256

BEFORE
"83b7c709c0b49d1500b52e61a88ea70b8423ebebec38308b1294cf094838b66f"
AFTER
"fe1ef26b96b22a519f3a1367cade27d466a7ced669cf8e2ddb0b2adb3e9246dc"

changed /files/examples~1completed-scan~1report.md/size

BEFORE
4116
AFTER
2910

changed /files/examples~1completed-scan~1scan-manifest.json/sha256

BEFORE
"d245ae9fc62a676293c6821e562d1a2d7d59db12d5b8dc99b85f7c5f1462fe00"
AFTER
"85d7e8ce925bfc49cab180ab87e24f156b9c470fada7511ddc70ce4390dfaae6"

changed /files/examples~1completed-scan~1scan-manifest.json/size

BEFORE
1245
AFTER
1227

added /files/examples~1legacy-completed-scan~1coverage.json

BEFORE
Field was absent
AFTER
{
  "sha256": "d55b9b98d48323b4659dfee6531ec83ec538f2084325412b7188bf85ad68b01b",
  "size": 467
}

added /files/examples~1legacy-completed-scan~1findings.json

BEFORE
Field was absent
AFTER
{
  "sha256": "a6dc4521d6478828224fbafc33585401a47bfeb0e56e07b5d2886e8a29937f2f",
  "size": 1844
}

added /files/examples~1legacy-completed-scan~1report.md

BEFORE
Field was absent
AFTER
{
  "sha256": "062030ba6d342c615aaed926775813b1c3a69bb503e3fa621298fe30914520df",
  "size": 4158
}

added /files/examples~1legacy-completed-scan~1scan-manifest.json

BEFORE
Field was absent
AFTER
{
  "sha256": "d245ae9fc62a676293c6821e562d1a2d7d59db12d5b8dc99b85f7c5f1462fe00",
  "size": 1245
}

removed /files/integrity.json

BEFORE
{
  "sha256": "6b342df66fb9b5ce7fc8c9de0e974b59d21340cdc06167df46d1a19bd4ea9441",
  "size": 17465
}
AFTER
Field is absent

added /files/mcp~1fzstd-LICENSE.txt

BEFORE
Field was absent
AFTER
{
  "sha256": "62249119bb7df6e54300f37a37145c26a6d4420410aac8881a119c5b427cf751",
  "size": 1069
}

changed /files/mcp~1helpers.mjs/sha256

BEFORE
"c272f3761e5c405619b26e4d0fd621df5ac189f2ee1bb32b975480e9835f9ca8"
AFTER
"1cf4f6bfaa9462c467a61f743ca9cd65f0a61fedf8839dc4f78f1179774673ba"

changed /files/mcp~1helpers.mjs/size

BEFORE
1097
AFTER
766

added /files/mcp~1helpers.mjs.br

BEFORE
Field was absent
AFTER
{
  "sha256": "b26250268c324738d87354096135f9df52405eea495c89f96aedf2b1d879753c",
  "size": 160967
}

removed /files/mcp~1helpers.mjs.br.part-000

BEFORE
{
  "sha256": "6299f73c92c4f924bffc6b1bed001480603473967006b3e75941bc49a21f18d5",
  "size": 63398
}
AFTER
Field is absent

changed /files/mcp~1native~1THIRD_PARTY_NOTICES.txt/sha256

BEFORE
"16ac63908855f5bb7eab864923cc1855b406bd7051dfcd70d7e69684f6c69955"
AFTER
"32c4db438d7141ea680b20b3d7e6093e548012ca482a6399176cf20985a3a55f"

changed /files/mcp~1native~1THIRD_PARTY_NOTICES.txt/size

BEFORE
308404
AFTER
286866

changed /files/mcp~1native~1darwin-arm64~1unix.node/sha256

BEFORE
"093e87d8de3d2676fc9a2a1430f571bf4fc970b2bbef4c7ded0bf8924e45f473"
AFTER
"0fc69686798e3f71f02a7f9d802e39f7c44f6a9bc1a5e3ea863960afaba13c23"

changed /files/mcp~1native~1darwin-arm64~1unix.node/size

BEFORE
354352
AFTER
421776

changed /files/mcp~1native~1darwin-x64~1unix.node/sha256

BEFORE
"57c45d212d35ce7599afc7b9b21693e18443753231bad1fb5146a4e224db68ec"
AFTER
"8ca00589f8f565d286ed5eeb6fbaa33acfe993fbd3a3e2c0ac552cc1a2100e48"

changed /files/mcp~1native~1darwin-x64~1unix.node/size

BEFORE
343296
AFTER
430688

changed /files/mcp~1native~1linux-arm64-gnu~1unix.node/sha256

BEFORE
"6b352aaaac21f9ad9b772481429ba7bc8433a0e44ca5ffe433ad47289c3007f6"
AFTER
"dd83a0bd82214da9da00583fdab234bebfd86e20c7e352c5b93d9e93603ab932"

changed /files/mcp~1native~1linux-arm64-gnu~1unix.node/size

BEFORE
465088
AFTER
531752

changed /files/mcp~1native~1linux-arm64-musl~1unix.node/sha256

BEFORE
"3a55ec4f42202c58a29654701c31a8deab386969d14e2ab85f23e81345b4fedb"
AFTER
"998b604f3f32c40e119e122e16d9d3f91e201d6066fb7a0369f6d273c8ff556a"

changed /files/mcp~1native~1linux-arm64-musl~1unix.node/size

BEFORE
332456
AFTER
463536

changed /files/mcp~1native~1linux-x64-gnu~1unix.node/sha256

BEFORE
"ed2061078400010852a9f8d3ecdf7bc0a008d13adc9e9d5c6954f5cb686a2a2a"
AFTER
"7b447ad208c2c52182843ac1042f13da86cbbcb932bb48e07812cb8bdb8dac5e"

changed /files/mcp~1native~1linux-x64-gnu~1unix.node/size

BEFORE
365352
AFTER
458464

changed /files/mcp~1native~1linux-x64-musl~1unix.node/sha256

BEFORE
"c2e4c07ac6dde175464c6315937652465b200e5f28590898663523beaf4e9ab6"
AFTER
"c2bbb330743b264052ec677b60b3d0bc7e6356eb64116cf19fd0f00b2400e4fb"

changed /files/mcp~1native~1linux-x64-musl~1unix.node/size

BEFORE
369304
AFTER
459432

changed /files/mcp~1native~1win32-arm64~1windows.node/sha256

BEFORE
"19f78e88fd8934038201c26b044123bc05db74f5d7065df10a32583ccbcf7a55"
AFTER
"0856b9c435fd5407bec2fce4c3d536f14e27f2bb298eb80b267f4260577635d1"

changed /files/mcp~1native~1win32-arm64~1windows.node/size

BEFORE
419840
AFTER
571904

changed /files/mcp~1native~1win32-x64~1windows.node/sha256

BEFORE
"5aed21edb5fe06efac49d9bd3899d6242f60b1bfac2b710b967a76c924d98298"
AFTER
"b3cfc53a2efe0da8581ffe8a13203b4a1921bc0f11f2b3ea52e5962a72a0951b"

changed /files/mcp~1native~1win32-x64~1windows.node/size

BEFORE
453120
AFTER
623104

added /files/mcp~1package.json

BEFORE
Field was absent
AFTER
{
  "sha256": "5bbbec757633dcbc268e91dd63a59bd3c09b9626ea5cedd3b6656379ed0cb643",
  "size": 17
}

added /files/mcp~1permission-profile-preflight.mjs

BEFORE
Field was absent
AFTER
{
  "sha256": "cacb1f399a1e53a732ff09a33babf886d8691e1eb2762adbbaf57ee6c5bde84f",
  "size": 24633
}

changed /files/mcp~1server.mjs/sha256

BEFORE
"c58624aa4c4bd3efbb67601c9c2e98759f167f608320a6cd342814b2f2e6a636"
AFTER
"acb2bdf8446b3116d48dc075a64613d92805a690a178277f612e5082cf1f2687"

changed /files/mcp~1server.mjs/size

BEFORE
1096
AFTER
765

added /files/mcp~1server.mjs.br

BEFORE
Field was absent
AFTER
{
  "sha256": "456bf45d8653a176a5ee28a6923766488e75f05546738ac6d0f32af3e4fc27ab",
  "size": 339502
}

removed /files/mcp~1server.mjs.br.part-000

BEFORE
{
  "sha256": "7ef9c7387b405b51e2aec793a86696bf793506a8f34155199035aa515b3a415a",
  "size": 140000
}
AFTER
Field is absent

removed /files/mcp~1server.mjs.br.part-001

BEFORE
{
  "sha256": "94d6412009e284ecbc17bd14d07e0116d8e74e572a62198912ac5a03f95a50c2",
  "size": 126028
}
AFTER
Field is absent

added /files/mcp~1session-decompression.mjs

BEFORE
Field was absent
AFTER
{
  "sha256": "bacebc26fe0d726622d2af9b9007b27bd0b717662098b29c6b2130ca901d2d21",
  "size": 17439
}

removed /files/preflight~1capability-profiles.toml

BEFORE
{
  "sha256": "543a0f6a0e81cbbac1fe43e2e3d44d6163a6792384ab9c768ac519295d9ec8a1",
  "size": 2350
}
AFTER
Field is absent

added /files/references~1access-advisory.md

BEFORE
Field was absent
AFTER
{
  "sha256": "7f4bf0905d60e35a70e0bbfe27d5578f8af4777afc46a92f33cb43f4250fe68c",
  "size": 1448
}

changed /files/references~1artifact-storage.md/sha256

BEFORE
"ccce9c76f5d044fbce333d6129fbb55eb63f512c15c2ebeeca405e296f38325b"
AFTER
"e8c173d1e89ec7b930953bf04220905a6ab35c3798c8e66799ded3b06c1a87d2"

changed /files/references~1artifact-storage.md/size

BEFORE
7632
AFTER
7947

added /files/references~1baseline-auditor.md

BEFORE
Field was absent
AFTER
{
  "sha256": "717ad7cdcda32fe212e7f930ea5c1cb301eae005833490808dce35d49314a74b",
  "size": 2839
}

removed /files/references~1config-preflight.md

BEFORE
{
  "sha256": "5894f9fd7efcae7034404a2c062ee3d7417520753be16ddcdb3acf5b884f048d",
  "size": 19162
}
AFTER
Field is absent

changed /files/references~1core-scan.md/sha256

BEFORE
"9c0eca53147383a89cd345eac7791ea75b954f7f083448ef25019d8f9ba30afe"
AFTER
"6954c9a971611b79dcf03b4c62991e70cfd437fe249627249af6dc2709517868"

changed /files/references~1core-scan.md/size

BEFORE
22978
AFTER
7479

added /files/references~1default-severity-rubric.md

BEFORE
Field was absent
AFTER
{
  "sha256": "b718f8314712b307690d31d9c6f533c113ad1754f725b8d37856b6dc58a42043",
  "size": 3348
}

removed /files/references~1desktop-config-preflight.md

BEFORE
{
  "sha256": "d03e7c604a0459509a4a3238289c3ad0725811e8b11fb7d0044ce8bcee6a7a26",
  "size": 1587
}
AFTER
Field is absent

changed /files/references~1final-report.md/sha256

BEFORE
"9c34375584c8ae76959b0eae038b86b2b8ed7874517c249fcae8715314c76298"
AFTER
"f742994e8c9109cf6072c578104f75a7353bd562614ee7288a30105c53717c89"

changed /files/references~1final-report.md/size

BEFORE
29931
AFTER
12135

changed /files/references~1finding-detail-fields.md/sha256

BEFORE
"9e4dcc5633ca1f31291688606e4ec0d56067ed485e748ac9e7d433984f9ab451"
AFTER
"6580ca83b7a9208dfa23f0e3626b5ce957b331c6c861815005720a3a2370752f"

changed /files/references~1finding-detail-fields.md/size

BEFORE
11920
AFTER
10874

added /files/references~1focused-investigator.md

BEFORE
Field was absent
AFTER
{
  "sha256": "5624cca98860204c50ac3f281486594b690a04a4979144fd608769a50aadfc18",
  "size": 2548
}

added /files/references~1investigation-time-budget.md

BEFORE
Field was absent
AFTER
{
  "sha256": "3216d053bd2e4ede72d3a64ef38974d293dfb54a000a40782d73357070b0f1e9",
  "size": 1749
}

changed /files/references~1sarif-adapter.md/sha256

BEFORE
"32725cc851d998c9b33f0232c435d720383c86bc13526b04d356b85d08101cc5"
AFTER
"76c69bd20b0e4fca20daeaad5e5dd89ad742a210afb7dce6331eec3defc7cb3e"

changed /files/references~1sarif-adapter.md/size

BEFORE
2341
AFTER
2829

changed /files/references~1scan-artifacts.md/sha256

BEFORE
"eecdccac30b8ad65bb702dc9ac8d9718dcb0b95532a94a61195268d22bdf504b"
AFTER
"30a83f78ed066b1b4cfec3486b9f87952fb3c188fe16d16f654e025c6d3737e6"

changed /files/references~1scan-artifacts.md/size

BEFORE
11243
AFTER
11701

changed /files/references~1scan-contract.md/sha256

BEFORE
"b362636c29d1e8b18053481abe2f97d7bb099a97040f5b63aa2702a41c1d62c8"
AFTER
"ba4e01a4c3c753f41d1ffd69d6bb10c51fb12b9a6a8904c42e6e66e3fbe2a13c"

changed /files/references~1scan-contract.md/size

BEFORE
14537
AFTER
16529

changed /files/references~1scan-prologue.md/sha256

BEFORE
"1d23ab6db651134b54307cdea873ffa711a83458bda563f1e126f35e83b278e9"
AFTER
"87f0e966103ab5dd608611854370599a8fd2aa7ff91fe342b52f777352449c73"

changed /files/references~1scan-prologue.md/size

BEFORE
4812
AFTER
5747

added /files/references~1scan-runtime.md

BEFORE
Field was absent
AFTER
{
  "sha256": "5ebe088747c8458b768609d058c7a53305e1b78af660e5a1f328baead1ef5686",
  "size": 1558
}

changed /files/references~1security-guidance.md/sha256

BEFORE
"a0f49ad3bd09fa6180a100d81326b75bf87a2d49893ca9e37b64ab151c759a80"
AFTER
"f52e88c85634c0a3b254f9a0f2ed0aa6652c63c34453bd0a87a73c20c990459f"

changed /files/references~1security-guidance.md/size

BEFORE
1801
AFTER
2830

added /files/references~1standalone-validation.md

BEFORE
Field was absent
AFTER
{
  "sha256": "a2357b01e308bea046a4cfa65a7734f2b7e2e2d84ef72dcb9efade68ff76f5b3",
  "size": 2134
}

changed /files/references~1threat-model.md/sha256

BEFORE
"f3dd2d05d7f0c61b13d29a78e810b367772fe22d5ac58adbbc00080a9495706e"
AFTER
"5cd54326b7b7801b28e1480d76e19bfeda7ff30129d911359c9d5fa31c9b0b45"

changed /files/references~1threat-model.md/size

BEFORE
15203
AFTER
7751

added /files/references~1validate-scan-findings.md

BEFORE
Field was absent
AFTER
{
  "sha256": "32ed68556c537f479b0fc09aa78e184d75ddc13cac9b9bec1d9297fe06b92737",
  "size": 1131
}

changed /files/schemas~1coverage.schema.json/sha256

BEFORE
"6ac14e659e884e9582d8bd9ba480f6364ca17309e1a3dee9469ab025a3380b11"
AFTER
"3629bdde34e73e13be85d54c81487805677560c6d7c9077a50444715afcf188d"

changed /files/schemas~1coverage.schema.json/size

BEFORE
5198
AFTER
3893

changed /files/schemas~1definitions~1artifact-common.schema.json/sha256

BEFORE
"8187236867a2397515571d937deac92dcbf23d3db5e330d32b1f24aced4b9abc"
AFTER
"73f7137f00e61e714e2903e427daabeb71d646310005f90b582fa468fac53aae"

changed /files/schemas~1definitions~1artifact-common.schema.json/size

BEFORE
1065
AFTER
870

changed /files/schemas~1definitions~1discovery-candidate.schema.json/sha256

BEFORE
"b0cf54fc1ae1947db0f6a6f73e17d1124d528226de763fb89489d05fd612331b"
AFTER
"1fc379a8c79c57d9889a7a3d278f4f3e31fd8337dd0aa0a59ff171ecf817624d"

changed /files/schemas~1definitions~1discovery-candidate.schema.json/size

BEFORE
2951
AFTER
4203

changed /files/schemas~1findings.schema.json/sha256

BEFORE
"a480337cc0fa4c48c44fc7be17c6c4348767815570775cda80f2aaf797b8e56c"
AFTER
"c53067bf1f17b88de5b555ed4d074f7d17975294345b40f16c7a9f91019c9f67"

changed /files/schemas~1findings.schema.json/size

BEFORE
19167
AFTER
10591

changed /files/schemas~1patch-risk-assessment.schema.json/sha256

BEFORE
"536492481c5b67910ce8d3754d61c7d5a44c5cb78fe3f081e8f5d1620d6ae9c9"
AFTER
"f36759528740edd9c6c86e76b034cf59a3c6796b143f2ed0d8bbfd011f02811d"

changed /files/schemas~1patch-risk-assessment.schema.json/size

BEFORE
6854
AFTER
6858

changed /files/schemas~1scan-manifest.schema.json/sha256

BEFORE
"c621d4136ac81741ac8da1960c7f5e92ade22c0b5490e378ea4339b09e45b6f3"
AFTER
"4bac4a5b898ebe72d9bf1128f3a8530979159b3c3bfe2c37ccd3c651f47ce234"

changed /files/schemas~1scan-manifest.schema.json/size

BEFORE
9513
AFTER
7815

changed /files/schemas~1tools~1candidate-attack-paths.schema.json/sha256

BEFORE
"f6fcb643b4b975466c4717356a0768b0572812cd832578d8714557f5e3d16935"
AFTER
"0550e20a4b51f5d7d0edc71f98a31441c92df55b5f36eb366b39b2e878ae9a0c"

changed /files/schemas~1tools~1candidate-attack-paths.schema.json/size

BEFORE
6055
AFTER
6810

changed /files/schemas~1tools~1candidate-validations.schema.json/sha256

BEFORE
"c871eb3462b7873c1774e6aade62acdd570636e43c0ac3c7b41b7041ca5627e9"
AFTER
"e89cd513a320d376b6366ea1f1365b62415c7a1355778c285103b34f23733f48"

changed /files/schemas~1tools~1candidate-validations.schema.json/size

BEFORE
4916
AFTER
4519

removed /files/schemas~1tools~1deep-reducer.schema.json

BEFORE
{
  "sha256": "5f0c25f826445251415986097c41127018d19b6c690cd99720fd9365893b0028",
  "size": 2221
}
AFTER
Field is absent

changed /files/schemas~1tools~1discovery-candidates.schema.json/sha256

BEFORE
"dcd2031d64015c69b415c66e57d6e90cbdef91152a445a6f409c14d80153afa6"
AFTER
"5ebffa84b6a60e6e15c2eecb08f05353af2a239f6f463883efe954b482997d7c"

changed /files/schemas~1tools~1discovery-candidates.schema.json/size

BEFORE
2473
AFTER
1152

changed /files/schemas~1tools~1review-items.schema.json/sha256

BEFORE
"acc4f4909446a62811728dd1d6581456053da8d26f774b7af208a1856f86ac5b"
AFTER
"f7c4522e9e6faf736347b40a42a0839df5fe6818ad1cfd377ef1d452a233a87b"

changed /files/schemas~1tools~1review-items.schema.json/size

BEFORE
2250
AFTER
1431

changed /files/schemas~1tools~1scan-draft.schema.json/sha256

BEFORE
"151f9dffc83e1c5b4f0a7fba20b90fb3196fdaa9719180eb0009ba2b50f75d48"
AFTER
"fc3cdd65c39a22d6fc110076696a43fbf67226044e989a1047682473521973d4"

changed /files/schemas~1tools~1scan-draft.schema.json/size

BEFORE
23475
AFTER
28295

removed /files/schemas~1tools~1worker-threat-model.schema.json

BEFORE
{
  "sha256": "a00f875918794661316a033bd2d03426d61ab1e41d4a36c548c07525dcfde478",
  "size": 435
}
AFTER
Field is absent

added /files/scripts~1check_deep_scan_target.py

BEFORE
Field was absent
AFTER
{
  "sha256": "165230b549343af0ad28cc5397459441506e2dfc4978ba00d717f9eb964a34c5",
  "size": 3538
}

added /files/scripts~1codex_profile.mjs

BEFORE
Field was absent
AFTER
{
  "sha256": "f739efe073f5243556d2073fdf10ecf4be1305878e3334d7ce8642ed1a885311",
  "size": 8621
}

added /files/scripts~1codex_session.mjs

BEFORE
Field was absent
AFTER
{
  "sha256": "11685e239918a11fd811b36a9259b800013d3e914ee4e33c20ce024e52eeed12",
  "size": 1730
}

removed /files/scripts~1config_preflight.py

BEFORE
{
  "sha256": "f4d4103650977d078b71f49da6b1e287b6db2f2b7b5fb08e943722a6d869354e",
  "size": 35176
}
AFTER
Field is absent

changed /files/scripts~1deep_scan_config.py/sha256

BEFORE
"44229bc7b2e7f4c7654e2e9ed91650a28630eeb00fcc38358f19d69739771f8c"
AFTER
"f9e384daa017afa553ef4fb99fdff5cbec93cb22bfd76b722d962bf32534f49d"

changed /files/scripts~1deep_scan_config.py/size

BEFORE
5042
AFTER
6510

changed /files/scripts~1deep_scan_workbench.py/sha256

BEFORE
"5012b337503f44e086fbf021be9db8340f8ba992fe5169c5534752e900947cf5"
AFTER
"d5f65879341d97d18f531fae0ce197e11207761add9787c2c0031f2980dca6d9"

changed /files/scripts~1deep_scan_workbench.py/size

BEFORE
84709
AFTER
78126

added /files/scripts~1dispatch_inventory_tool

BEFORE
Field was absent
AFTER
{
  "sha256": "eff576e0e584cc093dcf2bd18ea6c64bc33eb1c448d8558ef557f7373d962a83",
  "size": 238
}

changed /files/scripts~1filesystem_identity.py/sha256

BEFORE
"5298f2012b6e48ab1106837a5440ef2b3966383e2321507a47593010bb4dd01f"
AFTER
"b9d0b916c1b8a1fbc3a7c1e6692af2d0ef19f36a36d1d66d0a9a4190112c9387"

changed /files/scripts~1filesystem_identity.py/size

BEFORE
893
AFTER
991

changed /files/scripts~1finalize_scan_contract.py/sha256

BEFORE
"3fa92d8e2ccadb032cf458f0fde444785e8ee5ced0abe6346c285b07ef153e27"
AFTER
"339d9f2068634e65147373fe87b4a88c44d4f17d3e36fa06c0fcb3e97b66f8da"

changed /files/scripts~1finalize_scan_contract.py/size

BEFORE
133770
AFTER
147094

changed /files/scripts~1finding_preview.py/sha256

BEFORE
"ebdf8e7b7e465c0937e73e945e3593d659b2f15ff1db08d0b4a2d3b106174c4d"
AFTER
"4d93ed0170cbf4f4d37b3ff202eb313ea71a19b89b5953d40c1ac05d1c7c2e90"

changed /files/scripts~1finding_preview.py/size

BEFORE
16089
AFTER
16692

removed /files/scripts~1generate_in_scope_files.py

BEFORE
{
  "sha256": "0b420d786b17e4f91451b5b686fdb4d6beee3913eebb952f8fcbf220aec6230e",
  "size": 11646
}
AFTER
Field is absent

removed /files/scripts~1generate_rank_input.py

BEFORE
{
  "sha256": "e7c0bddbdb7e9236f7431d84b86be4c3fc202daa8d1306d6baa930110635b671",
  "size": 17899
}
AFTER
Field is absent

changed /files/scripts~1launch_codex_security_mcp/sha256

BEFORE
"56794e736a1e8f588f9959a2e707ea3ed9bc7d4d2b796c132e91d5fbed59e600"
AFTER
"497680a7ecc2163da04338d2f7ec26549362b0f098b810ed57ee64c56dea3665"

changed /files/scripts~1launch_codex_security_mcp/size

BEFORE
1793
AFTER
4646

changed /files/scripts~1launch_codex_security_mcp.cmd/sha256

BEFORE
"2539c0914bb130d76629e8176ac93762cd0051677ac2c525e7ba524b0b828f80"
AFTER
"7859298f6ebdb8d58f58d163bfe2fc9023e5f1b6f336f10180269f05bdec602f"

changed /files/scripts~1launch_codex_security_mcp.cmd/size

BEFORE
2582
AFTER
2667

added /files/scripts~1legacy_findings.py

BEFORE
Field was absent
AFTER
{
  "sha256": "bb1209b9963a1698c51ba29b3047fbf3cf31fb0f1e98e4c118ecedde3ee673be",
  "size": 6125
}

added /files/scripts~1posix_scan_local_files.py

BEFORE
Field was absent
AFTER
{
  "sha256": "0911b75dc67fdc04d0284fb97977063fe88ab3dfc2ec79becc426ff55483dfd7",
  "size": 8949
}

removed /files/scripts~1rank_preview.py

BEFORE
{
  "sha256": "627d0b89c9d4436162ab9bcb80f7aa562605695e784dc612307c7eda6fef3a7f",
  "size": 34726
}
AFTER
Field is absent

added /files/scripts~1read_codex_session.mjs

BEFORE
Field was absent
AFTER
{
  "sha256": "09b47a949ae78879adc49afab1cc4ba29a450e333838ab20da429883448e752d",
  "size": 816
}

changed /files/scripts~1report_projection.py/sha256

BEFORE
"1b24978a3cdb3c336ac27a2b39fb35457bade13a4aad0782710fe38ac39965cf"
AFTER
"6e950c378fece395b7cb648425a814ae6a45211abade77b96ddeca1e743f65e5"

changed /files/scripts~1report_projection.py/size

BEFORE
41098
AFTER
41680

added /files/scripts~1review_state.py

BEFORE
Field was absent
AFTER
{
  "sha256": "567f0cef32dff8fab7fba364ad75fd42f303b5efbf85bf4a457024cd3c2342e0",
  "size": 2661
}

added /files/scripts~1servicenow_avit.py

BEFORE
Field was absent
AFTER
{
  "sha256": "f852c39d2d10adfd7d38e2aef492ccf425f56162b3f618ffd9b21a06072c7e3f",
  "size": 4625
}

changed /files/scripts~1snapshot_sqlite.py/sha256

BEFORE
"9e0be851702f0962070ece6e0e2959e3955fc99126f68452d175fc22bc38423b"
AFTER
"9f3c4835730e2e766c3b082242594bd773a3cae2cc76aa9be47a7faab96c3947"

changed /files/scripts~1snapshot_sqlite.py/size

BEFORE
1084
AFTER
1738

changed /files/scripts~1threat_model_projection.py/sha256

BEFORE
"32e4d5cd370a49cdc5658c3ded3d4d63ba7f41a44b34b67da87321048d088111"
AFTER
"e87dddf2bca93b4bd066c8c631e981ed14c770ee4fd33be8f5523f29cf6abf1a"

changed /files/scripts~1threat_model_projection.py/size

BEFORE
6711
AFTER
6687

changed /files/scripts~1validate_scan_contract.py/sha256

BEFORE
"38a5eb0126ea06b22eb82c5829e4ffcbebd2c1e55f99634454622fedd7b9e1a0"
AFTER
"a8b10d0bc03dc1b2cf040f121f65d8896e0c8f6bd4fdb7339d679234cb5ba08e"

changed /files/scripts~1validate_scan_contract.py/size

BEFORE
3803
AFTER
3224

removed /files/scripts~1validate_tracking_source.py

BEFORE
{
  "sha256": "802fb3062456128c7adceb6048183811120255b222018e123e10c5ba0caa4bdc",
  "size": 2813
}
AFTER
Field is absent

changed /files/scripts~1windows_scan_local_files.py/sha256

BEFORE
"c26276695435d134c1354048c3c74c3c6b0ed203158a93b63b67ef0b6bfab843"
AFTER
"9ab01a477f944f0ce4d3f7ef8646d477b40dc6b775b5b615b464fcf461beaee7"

changed /files/scripts~1windows_scan_local_files.py/size

BEFORE
24919
AFTER
60676

changed /files/scripts~1workbench~1__init__.py/sha256

BEFORE
"3635fffd60f51d5a5d889e20c91df803c667f8b1b29cbcf68c96cb2e0a9c33ed"
AFTER
"b33e759162aeda0e8489f518bbc13b991f8c3a2ef5270cfb381177f838d321ac"

changed /files/scripts~1workbench~1__init__.py/size

BEFORE
58
AFTER
98

changed /files/scripts~1workbench~1handoff.py/sha256

BEFORE
"83606054cc47064514a612d8ce16353cce669fe07b61852d73bc0c94b75c8ee5"
AFTER
"af4eb66124ea1d66b8625ab54c6e846a6d7375d242c5509fa0bf8ef75c202fe0"

changed /files/scripts~1workbench~1handoff.py/size

BEFORE
8914
AFTER
11403

added /files/scripts~1workbench~1retained_coverage.py

BEFORE
Field was absent
AFTER
{
  "sha256": "f6dec9dbd0197d1d4593086bbb9ebe36ea39d4891d101df0a584dad55aaa6a72",
  "size": 148411
}

added /files/scripts~1workbench~1retained_records.py

BEFORE
Field was absent
AFTER
{
  "sha256": "98d1996f869bd0071510bc3c9dffadd7cf3e6d33c960e7c6f8ea090ba69b93ac",
  "size": 24885
}

added /files/scripts~1workbench~1runtime_toml.py

BEFORE
Field was absent
AFTER
{
  "sha256": "119fe79d8ecf4feedd5f17be578b9a84b3c2b450b36fed058b5aa2cb64c750e8",
  "size": 802
}

added /files/scripts~1workbench~1saved_coverage.py

BEFORE
Field was absent
AFTER
{
  "sha256": "8884d54caaed1f8f3fa0b4a7ac128eb17535a03445cdbfabeec49731f6f076cf",
  "size": 35410
}

added /files/scripts~1workbench~1saved_outputs.py

BEFORE
Field was absent
AFTER
{
  "sha256": "f845413ad0a16542d8d3728dc0ca1231c450c7898d4770a11bd3d319c61c8fd2",
  "size": 2921
}

added /files/scripts~1workbench~1saved_sources.py

BEFORE
Field was absent
AFTER
{
  "sha256": "53859519948b55e74bbdb26d44d355e63ce8705f0db8dd117cc25d52beb5a977",
  "size": 30156
}

changed /files/scripts~1workbench~1storage.py/sha256

BEFORE
"5e389073520fb7668defd433228befd9e7b9c8309c1b6024bffd6213d59f1d88"
AFTER
"4791845b4a6b6e3437a5403e984ea2e97bc2758be052719b51aa3b353ce01d85"

changed /files/scripts~1workbench~1storage.py/size

BEFORE
973
AFTER
4390

changed /files/scripts~1workbench_cli.py/sha256

BEFORE
"959e951fa5daf326049ee61bd0773999be92600b65a9062e56b4f62fc4e2aa55"
AFTER
"79bb508b068f73b8f5444c5af82ff58e26562f08eaa9cd9aec368766970deb8f"

changed /files/scripts~1workbench_cli.py/size

BEFORE
21260
AFTER
21516

changed /files/scripts~1workbench_constants.py/sha256

BEFORE
"0ff12b11b2ae9f71c1de6cff0afc234b035379bb1193f1ca9a56ddeb7aa32cf7"
AFTER
"8cc007a47d6f687ea2860896adff1e51eb98ae6e1811b370c53e36f37fe9dde3"

changed /files/scripts~1workbench_constants.py/size

BEFORE
2187
AFTER
3177

added /files/scripts~1workbench_coverage_receipts.py

BEFORE
Field was absent
AFTER
{
  "sha256": "ab88ee90de1ff4607f9599607f76f0c619d4d5067b52a84d745b4c896703ee5a",
  "size": 21284
}

removed /files/scripts~1workbench_dashboard.py

BEFORE
{
  "sha256": "5770b77ff551cde46c22fae9239ef8ce28254320da77876e0b936dc35b829967",
  "size": 5990
}
AFTER
Field is absent

changed /files/scripts~1workbench_db.py/sha256

BEFORE
"94bf11d7d74202ae7efbdd4f70a036393d4ba013ffc2ada44172a59be41f97f2"
AFTER
"95e263bca1c718e444ddd2afe43d661264014192b4cf8cfbc157391b42920a27"

changed /files/scripts~1workbench_db.py/size

BEFORE
146186
AFTER
149908

changed /files/scripts~1workbench_feedback.py/sha256

BEFORE
"675bc5897444a39950297f74353fa6fd296f73d3a5ac87d294647ae8425151dd"
AFTER
"92ab94e29eb654a5077a2532140750d9cbe2a5ac2967cfc206e4e026eb550564"

changed /files/scripts~1workbench_feedback.py/size

BEFORE
4120
AFTER
6259

changed /files/scripts~1workbench_finding_index.py/sha256

BEFORE
"4618f994786fa2300e78592fa2868bc0a585368127027c1940a0e504b0254265"
AFTER
"dcf3482bb31f3248a84a7b9e7aa69b331fe4c50d28e501db6a10fe97ade17d3c"

changed /files/scripts~1workbench_finding_index.py/size

BEFORE
3938
AFTER
4745

changed /files/scripts~1workbench_finding_workflows.py/sha256

BEFORE
"de44bfc28c0a4d2021643a50d5a42408f4853bb4a21cf9d1f4ffb43a695b06ce"
AFTER
"2d3914e553d5e5bf710a8d27bd25f878a023449270b2045db97a9752c1f7ba51"

changed /files/scripts~1workbench_finding_workflows.py/size

BEFORE
8754
AFTER
15010

removed /files/scripts~1workbench_findings.py

BEFORE
{
  "sha256": "b78e2ca68f29cf002b6215985225e1b3996c8edd08601569945405d42c33b301",
  "size": 8881
}
AFTER
Field is absent

changed /files/scripts~1workbench_native_indexes.py/sha256

BEFORE
"114dbf1e4050302948c4b8f24d69454f127d128e3bc35e34a5f3ec9dd3b187cd"
AFTER
"a40b4cfae313b6799541f70dc251508ce9d9a474a2298742c23a823d7819139d"

changed /files/scripts~1workbench_native_indexes.py/size

BEFORE
9870
AFTER
18571

changed /files/scripts~1workbench_progress.py/sha256

BEFORE
"42c7d0b8b4d253095e1062922cd9e59b10b966ac314bef092cb78cad2217b967"
AFTER
"85fedf2b9f3095a5abb30b55f5b4a56acc0d8bdc7f2a16268123aa0d855773e2"

changed /files/scripts~1workbench_progress.py/size

BEFORE
13296
AFTER
16640

changed /files/scripts~1workbench_publication.py/sha256

BEFORE
"9312a2962b797ed355d6b05fb375da6325aeb5c5ead5d52f2fb7114ef3ad9635"
AFTER
"90834075ed64ec43a30f2f15fe265baa730ce4a473101ca4b0a420a5fef4948b"

changed /files/scripts~1workbench_publication.py/size

BEFORE
20346
AFTER
20245

changed /files/scripts~1workbench_remediation.py/sha256

BEFORE
"96585805c4956917bb473c3b60493a3c15daa2028b074b756e36358a9ac76525"
AFTER
"8e3a6e766edb0649d913af24562e8cdbe29455f742adfdb3f1c31536df5d814b"

changed /files/scripts~1workbench_remediation.py/size

BEFORE
7281
AFTER
35923

changed /files/scripts~1workbench_saved_results.py/sha256

BEFORE
"436b23a4d169006437985bb352bfd792da9e465c4c7506dce31bfd5e78524c6d"
AFTER
"f0a4ac2411dd12dccce1c911e3bff5a60054a66c5d3706090661e4b1cc1bc8ea"

changed /files/scripts~1workbench_saved_results.py/size

BEFORE
119202
AFTER
71471

changed /files/scripts~1workbench_scan_history.py/sha256

BEFORE
"920a4c6448c4ee87500e4488fdfa5a294dfa0696f94f55f2e2cbe544e5acf60f"
AFTER
"375425ddd2afcaff361905a6c2d9882e99453ece79aa75068d5c6121cd3aa81a"

changed /files/scripts~1workbench_scan_history.py/size

BEFORE
48177
AFTER
60835

changed /files/scripts~1workbench_scan_start.py/sha256

BEFORE
"647e54ce40a7dc5b17d6abe547406f22ca0cb4eee628938b4c21629eb8e73c35"
AFTER
"1ee02b3ff745b0926330c993757448be7b813067642abbdf024352b32ad1fd6e"

changed /files/scripts~1workbench_scan_start.py/size

BEFORE
7963
AFTER
19611

changed /files/scripts~1workbench_scan_usage.py/sha256

BEFORE
"21d845f8967c9206351e54f94fd2b4bbfe834434e35b642992d7a829b76cd94e"
AFTER
"eea597036388f90977d358ea4f66801aad2138c304f6ff7d573f35f3495148aa"

changed /files/scripts~1workbench_scan_usage.py/size

BEFORE
22094
AFTER
65712

changed /files/scripts~1workbench_schema.py/sha256

BEFORE
"25ef8550ded14785fa47b19f1fa358422d8883affc94641c84e68c172e800cc0"
AFTER
"08d7451b45ac74c211ad1be360854f12719cb02e876ca9ed03274c9e1315044c"

changed /files/scripts~1workbench_schema.py/size

BEFORE
51783
AFTER
18275

added /files/scripts~1workbench_setup.py

BEFORE
Field was absent
AFTER
{
  "sha256": "90a18fddfd853c8a305d8191ec098693a53dee30e6a087e092ebbdeb54fd472c",
  "size": 9683
}

removed /files/scripts~1workbench_severity.py

BEFORE
{
  "sha256": "ec74f540595e8052e295846303f31988329e0dc68fcebdd92572673555b1c99d",
  "size": 4625
}
AFTER
Field is absent

changed /files/scripts~1workbench_source_excerpt.py/sha256

BEFORE
"5681d4a5c547404f687c644f54432c10e0770b6ba4c1e6be321664579a252a24"
AFTER
"97667580f629597a284939ff60e137af3526e217165a7946de2420f19ea489d7"

changed /files/scripts~1workbench_source_excerpt.py/size

BEFORE
3210
AFTER
5200

added /files/scripts~1workbench_source_scopes.py

BEFORE
Field was absent
AFTER
{
  "sha256": "2ecd66dc35c390cecbacbb8c92a444e3f2d5ce49284581fcea036a0c11450529",
  "size": 15576
}

changed /files/scripts~1workbench_target.py/sha256

BEFORE
"08ed149295b9347ac37f2b8523c822a35f165283422c7644dabecfa236b81b72"
AFTER
"ccefc18e546174426276f99f9ea09e1f55eaa533a77e652185391bf1bffa3a1c"

changed /files/scripts~1workbench_target.py/size

BEFORE
32451
AFTER
71863

changed /files/scripts~1workbench_target_state.py/sha256

BEFORE
"9c133f67397ab4b90ce1275edc09a7e6d05900236209bc72e8f113b9f0cde287"
AFTER
"5471646ac8fe3f62d358c49ee2c0f0833ae14f57affe4bb9cea855158d0d6d1c"

changed /files/scripts~1workbench_target_state.py/size

BEFORE
1920
AFTER
44552

changed /files/scripts~1workbench_validation.py/sha256

BEFORE
"11259b8ce1e135c5a86677964f29e6331e65e5fd80a1931c80f7fac507cccb13"
AFTER
"06746a3aae15e85cd5c1671bf4da16f000cc2ad1cb19bbea9e63e00fa524e2ea"

changed /files/scripts~1workbench_validation.py/size

BEFORE
6547
AFTER
10189

added /files/shared~1workbench-history-repairs.json

BEFORE
Field was absent
AFTER
{
  "sha256": "9ce97bb58f0803c9bf67b0bc11a56d015a0444b08fbf7f2ee3bb51ab5f87b755",
  "size": 16081
}

added /files/shared~1workbench-migrations.json

BEFORE
Field was absent
AFTER
{
  "sha256": "ac63f2f69d36428a5fea82ac4bc522b7f98b8e825f7f9bf35d3aae009c89258f",
  "size": 47324
}

changed /files/skills~1assess-patch-risk~1SKILL.md/sha256

BEFORE
"c3b62a8c1d6135945a055134f50329047bb908972fc7b320a592edbc3d38b419"
AFTER
"5e115b0ba2f346e52efd2033a191da4aa40f1ff3f7b1ff5e2bde586e48eabf0d"

changed /files/skills~1assess-patch-risk~1SKILL.md/size

BEFORE
9511
AFTER
8299

added /files/skills~1assess-patch-risk~1references~1windows-validation.md

BEFORE
Field was absent
AFTER
{
  "sha256": "9a7d12e493497b2aa7135493e3d23ec35da05f687f6513266a5c45ffb67dad94",
  "size": 1173
}

changed /files/skills~1attack-path-analysis~1SKILL.md/sha256

BEFORE
"9465d2750182acbf6dd8f61e60bb47dc1ca502be5cc3f4a71da7ad39935d1eb1"
AFTER
"cacb4a0dc7676db7346b8295e555cb515092528cdd6b07a1ebb7c22790241eed"

changed /files/skills~1attack-path-analysis~1SKILL.md/size

BEFORE
8568
AFTER
5355

changed /files/skills~1attack-path-analysis~1references~1attack-path-facts.md/sha256

BEFORE
"8c8f1abb46ddf045d76908df78e3a273da8d61aaa0f37fc992534a3ddfe42430"
AFTER
"1979ea81991ba1c095c1846d4b8e09429edc6295912f87a6ebb7fa7e32651a1e"

changed /files/skills~1attack-path-analysis~1references~1attack-path-facts.md/size

BEFORE
2882
AFTER
1585

changed /files/skills~1attack-path-analysis~1references~1severity-policy.md/sha256

BEFORE
"44719bb96a1065df7683a4f7968145efd3b3f365ec95c22a4bed5b20b5d8a0a1"
AFTER
"8b715db602fc58ea48a6e96d9a69648ddd835c2c39a2fe962c0958d0a2594008"

changed /files/skills~1attack-path-analysis~1references~1severity-policy.md/size

BEFORE
15288
AFTER
2644

added /files/skills~1check-skills~1SKILL.md

BEFORE
Field was absent
AFTER
{
  "sha256": "790204df7e162d44b4ea509bb67aaa1b61ffb1f602f6f01cad0ae89e085c16fb",
  "size": 5844
}

added /files/skills~1check-skills~1agents~1openai.yaml

BEFORE
Field was absent
AFTER
{
  "sha256": "d0a8f882b30deec19f1dfdcae61b191f8a312bee3ddccc6b9536d7daf32e4862",
  "size": 272
}

added /files/skills~1cloud-findings~1SKILL.md

BEFORE
Field was absent
AFTER
{
  "sha256": "a534ce50f358a1076b4d4c186a22675a0d23f6dd97564009ea66a08813497e64",
  "size": 10563
}

added /files/skills~1cloud-findings~1agents~1openai.yaml

BEFORE
Field was absent
AFTER
{
  "sha256": "37c9d9ca3047fbc71f27726dad8f7136e8a84fd8fbf3cedea57422a7cf9af5cb",
  "size": 295
}

changed /files/skills~1deep-security-scan~1SKILL.md/sha256

BEFORE
"d6aed0d9b47065a1384a96d0a45c843b0cda8ba48e3d2cbe96c65357c6e55ee3"
AFTER
"1d8328232b225b50526b2aaec54b253e4018956531ef22860c70789ae0410fe8"

changed /files/skills~1deep-security-scan~1SKILL.md/size

BEFORE
14096
AFTER
3127

changed /files/skills~1define-security-policy~1SKILL.md/sha256

BEFORE
"2817e1a03980a7ebea478c8d9e6c622e3c6205123e767a1e32f0204c06729cc7"
AFTER
"8a63f6af4570ed2e152155d1891f61948fa66678d354930e6e7922e568af866a"

changed /files/skills~1define-security-policy~1SKILL.md/size

BEFORE
6256
AFTER
5982

changed /files/skills~1finding-discovery~1SKILL.md/sha256

BEFORE
"14cc797e750ca4bdd8b060c4cf96d7d32f25b132aa8f80d0a0837683fe010790"
AFTER
"ca30309e330daddc0caf2dd6ff6529dbb67e83084cb3e6387029305ea194de99"

changed /files/skills~1finding-discovery~1SKILL.md/size

BEFORE
25598
AFTER
5076

changed /files/skills~1fix-finding~1SKILL.md/sha256

BEFORE
"ba7311f43b2c0742da0d5c6bdb2f0b26601c09cc59747cf8c62a09f8d0bb86d2"
AFTER
"5182ad87bd342a7785bb6ef1800abfe59af5d98662522f6fa43c53f4d7c5cf3e"

changed /files/skills~1fix-finding~1SKILL.md/size

BEFORE
9477
AFTER
18461

changed /files/skills~1propose-security-hardening~1SKILL.md/sha256

BEFORE
"ad07d88da7c2bc9e551849cdde686b0daad380ed0aac798e6c06444681d75959"
AFTER
"815d626877332e5178afedc2ef6ee267faa9d3b3ecfe411f09c7a16290406043"

changed /files/skills~1propose-security-hardening~1SKILL.md/size

BEFORE
22791
AFTER
5026

changed /files/skills~1propose-security-hardening~1references~1proposal-format.md/sha256

BEFORE
"72b93c32f1cbe7d25a3d347d0894e7b642942e68f2d8a3c0409bc398a41b06e7"
AFTER
"041df983ccb0e2923067c86e500fa22bbbe20c8d557ad36b71214e0811eb0ede"

changed /files/skills~1propose-security-hardening~1references~1proposal-format.md/size

BEFORE
25933
AFTER
4144

added /files/skills~1publish-findings~1SKILL.md

BEFORE
Field was absent
AFTER
{
  "sha256": "3e233cde046fea1161417e5757393fe40de9ff234762636ed559c608bae38d69",
  "size": 11118
}

added /files/skills~1publish-findings~1agents~1openai.yaml

BEFORE
Field was absent
AFTER
{
  "sha256": "d3c61dcec1b7d800bc2d12d0d2330c00535cb1685ecad2252838f8942ffc0a9c",
  "size": 284
}

added /files/skills~1publish-findings~1references~1checkmarx-import.md

BEFORE
Field was absent
AFTER
{
  "sha256": "9e1a1c131b1987011c3db37051fec9c817b9001190cf3cfa98698a3390f488e0",
  "size": 4888
}

added /files/skills~1publish-findings~1references~1wiz-import.md

BEFORE
Field was absent
AFTER
{
  "sha256": "81fd16f06d936d9f0720f9233eed782e5b67a4fe0a33ab7e402084dfe403dbf2",
  "size": 5153
}

added /files/skills~1publish-findings~1scripts~1collect_checkmarx.py

BEFORE
Field was absent
AFTER
{
  "sha256": "06d0638171f1b10ec3b2dc1fb810dd5935c2fcc73f300d3ad875ecd6b17b6892",
  "size": 17126
}

added /files/skills~1publish-findings~1scripts~1collector_paths.py

BEFORE
Field was absent
AFTER
{
  "sha256": "f74939f2435a62c85432028d16b404aa3d24f5bc33759b24b12682e1e2a428ed",
  "size": 2210
}

added /files/skills~1resolve-dependency-alert~1SKILL.md

BEFORE
Field was absent
AFTER
{
  "sha256": "2a0e0a68e7dba39cebb5a810a9d15d10282638c6ad2c1b2f5f8ce219d3e78f23",
  "size": 2548
}

added /files/skills~1resolve-dependency-alert~1agents~1openai.yaml

BEFORE
Field was absent
AFTER
{
  "sha256": "0e6d5ebea26253ea7113bbe6570ee308e7f1393872fbdf28b747b9ccc90272c1",
  "size": 250
}

changed /files/skills~1security-diff-scan~1SKILL.md/sha256

BEFORE
"f85962d46f141227d794a25253a39232bc4e1ad756509ecd3d8769b85b735136"
AFTER
"09232fd5d96cfed2a5bdccd176c09b7e9ca53ebd7ac136d283bec884fde94b0d"

changed /files/skills~1security-diff-scan~1SKILL.md/size

BEFORE
6102
AFTER
5405

changed /files/skills~1security-scan~1SKILL.md/sha256

BEFORE
"104e2f93fc965c34e91970f517a89e330d5b29dbb243dcea5d95d83f14d135cf"
AFTER
"1e678be7315aefe1c101baf6ef6c01c4002ea3e5297f029589244554c31fd78b"

changed /files/skills~1security-scan~1SKILL.md/size

BEFORE
9007
AFTER
2972

changed /files/skills~1security-scan~1agents~1openai.yaml/sha256

BEFORE
"5952ae0b0f7d378b7e6ab3fe793335a0e26e5d15bd2d7fdd14ecdd795607ceb6"
AFTER
"0790c2851c5b595ed376954f34a22c04f346a0a32fff6dfe1d30b3d2dee1b66a"

changed /files/skills~1security-scan~1agents~1openai.yaml/size

BEFORE
271
AFTER
245

changed /files/skills~1security-scan~1references~1desktop-scan.md/sha256

BEFORE
"62a3b3baac5773c36eb291c74c0304dd97157aff5b89dd56fa8b0fed08803389"
AFTER
"7e48dfbcd1d478bf0ca73de9d1a1a1d583face2d0755d7ba04d606e30b8aedfb"

changed /files/skills~1security-scan~1references~1desktop-scan.md/size

BEFORE
4747
AFTER
580

added /files/skills~1security-scan~1references~1managed-scan.md

BEFORE
Field was absent
AFTER
{
  "sha256": "b4680ddd79fab1d215c92696e1fbfb49db82ef0983f4d04680567f294bdd2c38",
  "size": 1356
}

changed /files/skills~1security-scan~1references~1scan-artifacts-and-ledger.md/sha256

BEFORE
"c95780a7af36fd42716f4c909bb57e68b438769b13f8d6f02ac06ffa73c838ff"
AFTER
"13678fd302742e5c728989912705765332e2b6ae5203562a9b549786f2819db9"

changed /files/skills~1security-scan~1references~1scan-artifacts-and-ledger.md/size

BEFORE
14716
AFTER
7021

added /files/skills~1security-scan~1references~1scan-results.md

BEFORE
Field was absent
AFTER
{
  "sha256": "ddc6b6d1041b45de338c0f50849ec3f003a57c46e202c95d5c52e4cf18d3c522",
  "size": 2871
}

added /files/skills~1security-scan~1references~1scoped-paths.md

BEFORE
Field was absent
AFTER
{
  "sha256": "0d4f77b51276fc1541397c9dd387464493fb9bb2d451ac2d580d1f3f35195bc5",
  "size": 2359
}

added /files/skills~1security-scan~1references~1sdk-files.md

BEFORE
Field was absent
AFTER
{
  "sha256": "5a6df47271bc1a9b4fd61024e3d389311be70f732759fb2439a32e5675fb05de",
  "size": 2192
}

added /files/skills~1threat-model-visualize~1SKILL.md

BEFORE
Field was absent
AFTER
{
  "sha256": "96e1a7517575ee419284d219f5a6e75d9a7825ae499480bd78b7393b544b106a",
  "size": 19102
}

added /files/skills~1threat-model-visualize~1agents~1openai.yaml

BEFORE
Field was absent
AFTER
{
  "sha256": "3b31472477c1e6f05e299df82b4a61d89b62f42ff8cec0c9394f53fa42e3cda7",
  "size": 259
}

added /files/skills~1threat-model-visualize~1assets~1context-reference-overview.svg

BEFORE
Field was absent
AFTER
{
  "sha256": "b5f01ae1842c96c54d7dfe74cc0f1cb5ab1a62a4f39395162031c048e1a9c4a5",
  "size": 36850
}

added /files/skills~1threat-model-visualize~1assets~1context-reference-path.svg

BEFORE
Field was absent
AFTER
{
  "sha256": "7f62d1bb0e054c44630e2a9e934ed2a6f3e15645360302b536818833c979ec00",
  "size": 60788
}

added /files/skills~1threat-model-visualize~1assets~1control-effects.js

BEFORE
Field was absent
AFTER
{
  "sha256": "667abbdc09dbe20428db6eda6d12c46d1b6630ed981bf6a7eefc4fb02c671763",
  "size": 4005
}

added /files/skills~1threat-model-visualize~1assets~1explorer.css

BEFORE
Field was absent
AFTER
{
  "sha256": "323849e45cbe90d0bc7efe62101c72dd21af775e493fb1e9e5a65eefcaaf4db0",
  "size": 12126
}

added /files/skills~1threat-model-visualize~1assets~1explorer.html

BEFORE
Field was absent
AFTER
{
  "sha256": "bb23f19f561b59b964ab00b314d1e15a768b70f6e879e57123e3ac6d0e3d4293",
  "size": 2673
}

added /files/skills~1threat-model-visualize~1assets~1explorer.js

BEFORE
Field was absent
AFTER
{
  "sha256": "117c772583d29a504137e5fefeb62bd996050175f3da5d40f214b471d072481f",
  "size": 42283
}

added /files/skills~1threat-model-visualize~1assets~1route-paths.js

BEFORE
Field was absent
AFTER
{
  "sha256": "54edff9691a35a118653fcf5e128f9402fb3cc602bf25c0875514dbf328a40ae",
  "size": 3648
}

added /files/skills~1threat-model-visualize~1assets~1source-roles.js

BEFORE
Field was absent
AFTER
{
  "sha256": "a304027486857462974783c12d6bfd8f09dadc7cabd2e7ed0e8fe2b7862c1ece",
  "size": 2762
}

added /files/skills~1threat-model-visualize~1assets~1svg-layout.js

BEFORE
Field was absent
AFTER
{
  "sha256": "9404259952ae08a80e4877b1ac28781d453974c0d1828fb46bbec172c50f42cf",
  "size": 11530
}

added /files/skills~1threat-model-visualize~1references~1context-explorer.md

BEFORE
Field was absent
AFTER
{
  "sha256": "2ec94ffc33589100cead235eacdb6ce80596272c12285532ae4a682b064fbed9",
  "size": 5636
}

added /files/skills~1threat-model-visualize~1references~1view-model.md

BEFORE
Field was absent
AFTER
{
  "sha256": "05c81e732bca0b64b182329e68d47900d18da5b3c22354b11f2a0183d890b019",
  "size": 12062
}

added /files/skills~1threat-model-visualize~1scripts~1build_explorer.py

BEFORE
Field was absent
AFTER
{
  "sha256": "d2036f1d8783b6d3b5a7673412b80ba6f9d2e63112f8fd8802fee1395964c90f",
  "size": 27557
}

changed /files/skills~1threat-model~1SKILL.md/sha256

BEFORE
"42568e50c787c4c0bfb9495ad67e72ab6c1a951bb910ecba2c67cff8961c4d56"
AFTER
"79a1b6282f80804227a28f9a1fae71bbfcd6928c1de5d2c84ab0ebf9c1f49226"

changed /files/skills~1threat-model~1SKILL.md/size

BEFORE
3606
AFTER
2986

changed /files/skills~1track-findings~1SKILL.md/sha256

BEFORE
"a6d2f30e6d5ca7bd9d74d83017f2f5481c5829585941208a1673b82c683d292b"
AFTER
"ef1cbf5e8b0240a78f32903540f6c1b500cd329c00bfcefc405fec1e382c46e9"

changed /files/skills~1track-findings~1SKILL.md/size

BEFORE
11371
AFTER
13459

changed /files/skills~1track-findings~1references~1github-security-advisories.md/sha256

BEFORE
"5e583aa2f77db32e4983b8b4bb857b1c7eaebfa1f43fc833b551c96acab70d4e"
AFTER
"1d0a4e10e837834e00f1c041a3aa972f176529385c5161e55821adb9d1f3cdf4"

changed /files/skills~1track-findings~1references~1github-security-advisories.md/size

BEFORE
3288
AFTER
3420

changed /files/skills~1triage-finding~1SKILL.md/sha256

BEFORE
"83081950bd4b29ff37cf82d137aec164532ae56b03dbaad3f4dd1d5423e758a7"
AFTER
"2c71d6a89ef0c61ed2f5f1f6af9d05de43e38547eec777937774fd1054b0afaa"

changed /files/skills~1triage-finding~1SKILL.md/size

BEFORE
10004
AFTER
8394

changed /files/skills~1triage-finding~1references~1github-rest-intake.md/sha256

BEFORE
"f026bef041ca92f3d9b47a131794aa54e98cf8d7716fae3f71ab53e8ab09c79f"
AFTER
"3ff78c08946b3731d2672c08817ad654724df8573ae8bc1d7560c2850e17a832"

changed /files/skills~1triage-finding~1references~1github-rest-intake.md/size

BEFORE
9314
AFTER
12277

changed /files/skills~1triage-finding~1references~1ticket-intake.md/sha256

BEFORE
"693b415fdfcdcf8e6d5539677ff89c79bb36995ae22916d87866ce2c25113439"
AFTER
"b8044c6d2e15c4372fa08f6fd6946be02ce9444f1f1be4416f2e435466c73bff"

changed /files/skills~1triage-finding~1references~1ticket-intake.md/size

BEFORE
3645
AFTER
5231

changed /files/skills~1validation~1SKILL.md/sha256

BEFORE
"3c4660f79b12a92728e6bb25027064c3a911d0960d39aeafc8fda9e42ce517a5"
AFTER
"aac2d8598af99fc27c163c24204b264427100b89f15e203822b108262fcb7876"

changed /files/skills~1validation~1SKILL.md/size

BEFORE
12845
AFTER
4619

changed /files/skills~1validation~1references~1validation-guidance.md/sha256

BEFORE
"42f7a9d85b78d0deb5e6eda82b8c59ed101c40d36065833b9cf39fe50699e255"
AFTER
"48439b292c9e92195ef9905062b1c948df7202ddc1a99aa9192c71e54c46d6ab"

changed /files/skills~1validation~1references~1validation-guidance.md/size

BEFORE
26823
AFTER
4408

changed /files/skills~1verify-fix~1SKILL.md/sha256

BEFORE
"3d4530484c7e4c18b6afe7c6527247e96517dce1ebd1bda9d349cd367ecb0ae3"
AFTER
"3569c165dffeae015ede1ab1c0dbfd03164673f5b6a54c263b4941ed9a9703a5"

changed /files/skills~1verify-fix~1SKILL.md/size

BEFORE
3025
AFTER
4193

changed /files/skills~1vulnerability-writeup~1SKILL.md/sha256

BEFORE
"d08582d9963ce3bfbc3fe81b6e85a01e6fe306713d7951bfd8dd2fbc3df75de4"
AFTER
"9c15d78cca5b847e270740daa405276e9e8ba5fcbfeeeb5b2a68d7752b1bda99"

changed /files/skills~1vulnerability-writeup~1SKILL.md/size

BEFORE
27640
AFTER
5571

changed /files/skills~1vulnerability-writeup~1references~1report-format.md/sha256

BEFORE
"60568466f7057562d7359dc3a396632c760c147582603896d7e569a77487d0b1"
AFTER
"68a1b4a293f0379ba5ae2c21a32d6618245f6de1b6dd977c5a2cf9d62a25c874"

changed /files/skills~1vulnerability-writeup~1references~1report-format.md/size

BEFORE
14682
AFTER
4482
Full snapshot data
{
  "files": {
    ".app.json": {
      "sha256": "a7bbe314059c7311e169474823e3978f267e560c3e961ba49fb94032da9843fe",
      "size": 479
    },
    ".codex-plugin/plugin.json": {
      "sha256": "3766646eafb09a5e691657999f4f423c9652bbac286c0e0f55e179169aa97e99",
      "size": 1846
    },
    ".mcp.json": {
      "sha256": "69bbc0f86c92397eb7540ff09c17d69d429b0dc45dc1de3e02b16d101adfe7c0",
      "size": 2078
    },
    "OWNERS": {
      "sha256": "49be76d15302e4f158b3ef907e9802a955ab9c0a59a039827eab4cb6221f0e5f",
      "size": 41
    },
    "assets/logo.png": {
      "sha256": "9b9c2b09b2fa064611fb62307d321d5c2ea70cf0789f7ce34cdb0fc0d9190b3a",
      "size": 99567
    },
    "examples/completed-scan/findings.json": {
      "sha256": "3c63586ea38b07b1d5ad9004ba2afc27f67e79ed164da508c7beae72648eb3b7",
      "size": 2678
    },
    "examples/completed-scan/report.md": {
      "sha256": "fe1ef26b96b22a519f3a1367cade27d466a7ced669cf8e2ddb0b2adb3e9246dc",
      "size": 2910
    },
    "examples/completed-scan/scan-manifest.json": {
      "sha256": "85d7e8ce925bfc49cab180ab87e24f156b9c470fada7511ddc70ce4390dfaae6",
      "size": 1227
    },
    "examples/legacy-completed-scan/coverage.json": {
      "sha256": "d55b9b98d48323b4659dfee6531ec83ec538f2084325412b7188bf85ad68b01b",
      "size": 467
    },
    "examples/legacy-completed-scan/findings.json": {
      "sha256": "a6dc4521d6478828224fbafc33585401a47bfeb0e56e07b5d2886e8a29937f2f",
      "size": 1844
    },
    "examples/legacy-completed-scan/report.md": {
      "sha256": "062030ba6d342c615aaed926775813b1c3a69bb503e3fa621298fe30914520df",
      "size": 4158
    },
    "examples/legacy-completed-scan/scan-manifest.json": {
      "sha256": "d245ae9fc62a676293c6821e562d1a2d7d59db12d5b8dc99b85f7c5f1462fe00",
      "size": 1245
    },
    "mcp/fzstd-LICENSE.txt": {
      "sha256": "62249119bb7df6e54300f37a37145c26a6d4420410aac8881a119c5b427cf751",
      "size": 1069
    },
    "mcp/helpers.mjs": {
      "sha256": "1cf4f6bfaa9462c467a61f743ca9cd65f0a61fedf8839dc4f78f1179774673ba",
      "size": 766
    },
    "mcp/helpers.mjs.br": {
      "sha256": "b26250268c324738d87354096135f9df52405eea495c89f96aedf2b1d879753c",
      "size": 160967
    },
    "mcp/native/COPYRIGHT-library.html": {
      "sha256": "0a65bb747c49c7bb816cbc7188319bd6e4e8d08091c1190b8a3c0971c47968ed",
      "size": 279302
    },
    "mcp/native/THIRD_PARTY_NOTICES.txt": {
      "sha256": "32c4db438d7141ea680b20b3d7e6093e548012ca482a6399176cf20985a3a55f",
      "size": 286866
    },
    "mcp/native/darwin-arm64/unix.node": {
      "sha256": "0fc69686798e3f71f02a7f9d802e39f7c44f6a9bc1a5e3ea863960afaba13c23",
      "size": 421776
    },
    "mcp/native/darwin-x64/unix.node": {
      "sha256": "8ca00589f8f565d286ed5eeb6fbaa33acfe993fbd3a3e2c0ac552cc1a2100e48",
      "size": 430688
    },
    "mcp/native/licenses/Apache-2.0.txt": {
      "sha256": "074e6e32c86a4c0ef8b3ed25b721ca23aca83df277cd88106ef7177c354615ff",
      "size": 10280
    },
    "mcp/native/licenses/BSD-2-Clause.txt": {
      "sha256": "f32fb3b417a194167cfad068223fc975ba96c5960513a10f66a3c28720aec1df",
      "size": 1267
    },
    "mcp/native/licenses/MIT.txt": {
      "sha256": "b85dcd3e453d05982552c52b5fc9e0bdd6d23c6f8e844b984a88af32570b0cc0",
      "size": 1078
    },
    "mcp/native/licenses/Unicode-3.0.txt": {
      "sha256": "f5062c9a188d81dfe66b56db4182dcf9e4b17c0d9b0d311a8e20b3a1b075c443",
      "size": 1995
    },
    "mcp/native/linux-arm64-gnu/unix.node": {
      "sha256": "dd83a0bd82214da9da00583fdab234bebfd86e20c7e352c5b93d9e93603ab932",
      "size": 531752
    },
    "mcp/native/linux-arm64-musl/unix.node": {
      "sha256": "998b604f3f32c40e119e122e16d9d3f91e201d6066fb7a0369f6d273c8ff556a",
      "size": 463536
    },
    "mcp/native/linux-x64-gnu/unix.node": {
      "sha256": "7b447ad208c2c52182843ac1042f13da86cbbcb932bb48e07812cb8bdb8dac5e",
      "size": 458464
    },
    "mcp/native/linux-x64-musl/unix.node": {
      "sha256": "c2bbb330743b264052ec677b60b3d0bc7e6356eb64116cf19fd0f00b2400e4fb",
      "size": 459432
    },
    "mcp/native/win32-arm64/windows.node": {
      "sha256": "0856b9c435fd5407bec2fce4c3d536f14e27f2bb298eb80b267f4260577635d1",
      "size": 571904
    },
    "mcp/native/win32-x64/windows.node": {
      "sha256": "b3cfc53a2efe0da8581ffe8a13203b4a1921bc0f11f2b3ea52e5962a72a0951b",
      "size": 623104
    },
    "mcp/package.json": {
      "sha256": "5bbbec757633dcbc268e91dd63a59bd3c09b9626ea5cedd3b6656379ed0cb643",
      "size": 17
    },
    "mcp/permission-profile-preflight.mjs": {
      "sha256": "cacb1f399a1e53a732ff09a33babf886d8691e1eb2762adbbaf57ee6c5bde84f",
      "size": 24633
    },
    "mcp/server.mjs": {
      "sha256": "acb2bdf8446b3116d48dc075a64613d92805a690a178277f612e5082cf1f2687",
      "size": 765
    },
    "mcp/server.mjs.br": {
      "sha256": "456bf45d8653a176a5ee28a6923766488e75f05546738ac6d0f32af3e4fc27ab",
      "size": 339502
    },
    "mcp/session-decompression.mjs": {
      "sha256": "bacebc26fe0d726622d2af9b9007b27bd0b717662098b29c6b2130ca901d2d21",
      "size": 17439
    },
    "references/access-advisory.md": {
      "sha256": "7f4bf0905d60e35a70e0bbfe27d5578f8af4777afc46a92f33cb43f4250fe68c",
      "size": 1448
    },
    "references/artifact-storage.md": {
      "sha256": "e8c173d1e89ec7b930953bf04220905a6ab35c3798c8e66799ded3b06c1a87d2",
      "size": 7947
    },
    "references/baseline-auditor.md": {
      "sha256": "717ad7cdcda32fe212e7f930ea5c1cb301eae005833490808dce35d49314a74b",
      "size": 2839
    },
    "references/core-scan.md": {
      "sha256": "6954c9a971611b79dcf03b4c62991e70cfd437fe249627249af6dc2709517868",
      "size": 7479
    },
    "references/default-severity-rubric.md": {
      "sha256": "b718f8314712b307690d31d9c6f533c113ad1754f725b8d37856b6dc58a42043",
      "size": 3348
    },
    "references/final-report.md": {
      "sha256": "f742994e8c9109cf6072c578104f75a7353bd562614ee7288a30105c53717c89",
      "size": 12135
    },
    "references/finding-detail-fields.md": {
      "sha256": "6580ca83b7a9208dfa23f0e3626b5ce957b331c6c861815005720a3a2370752f",
      "size": 10874
    },
    "references/focused-investigator.md": {
      "sha256": "5624cca98860204c50ac3f281486594b690a04a4979144fd608769a50aadfc18",
      "size": 2548
    },
    "references/investigation-time-budget.md": {
      "sha256": "3216d053bd2e4ede72d3a64ef38974d293dfb54a000a40782d73357070b0f1e9",
      "size": 1749
    },
    "references/sarif-adapter.md": {
      "sha256": "76c69bd20b0e4fca20daeaad5e5dd89ad742a210afb7dce6331eec3defc7cb3e",
      "size": 2829
    },
    "references/scan-artifacts.md": {
      "sha256": "30a83f78ed066b1b4cfec3486b9f87952fb3c188fe16d16f654e025c6d3737e6",
      "size": 11701
    },
    "references/scan-contract.md": {
      "sha256": "ba4e01a4c3c753f41d1ffd69d6bb10c51fb12b9a6a8904c42e6e66e3fbe2a13c",
      "size": 16529
    },
    "references/scan-prologue.md": {
      "sha256": "87f0e966103ab5dd608611854370599a8fd2aa7ff91fe342b52f777352449c73",
      "size": 5747
    },
    "references/scan-runtime.md": {
      "sha256": "5ebe088747c8458b768609d058c7a53305e1b78af660e5a1f328baead1ef5686",
      "size": 1558
    },
    "references/security-guidance.md": {
      "sha256": "f52e88c85634c0a3b254f9a0f2ed0aa6652c63c34453bd0a87a73c20c990459f",
      "size": 2830
    },
    "references/standalone-validation.md": {
      "sha256": "a2357b01e308bea046a4cfa65a7734f2b7e2e2d84ef72dcb9efade68ff76f5b3",
      "size": 2134
    },
    "references/static-finding-assessment.md": {
      "sha256": "78de933caef1c8d971dab83fbb71877602a1197a52eaa7a59d6ff7bc399d0bc7",
      "size": 3949
    },
    "references/threat-model.md": {
      "sha256": "5cd54326b7b7801b28e1480d76e19bfeda7ff30129d911359c9d5fa31c9b0b45",
      "size": 7751
    },
    "references/validate-scan-findings.md": {
      "sha256": "32ed68556c537f479b0fc09aa78e184d75ddc13cac9b9bec1d9297fe06b92737",
      "size": 1131
    },
    "schemas/coverage.schema.json": {
      "sha256": "3629bdde34e73e13be85d54c81487805677560c6d7c9077a50444715afcf188d",
      "size": 3893
    },
    "schemas/definitions/artifact-common.schema.json": {
      "sha256": "73f7137f00e61e714e2903e427daabeb71d646310005f90b582fa468fac53aae",
      "size": 870
    },
    "schemas/definitions/discovery-candidate.schema.json": {
      "sha256": "1fc379a8c79c57d9889a7a3d278f4f3e31fd8337dd0aa0a59ff171ecf817624d",
      "size": 4203
    },
    "schemas/findings.schema.json": {
      "sha256": "c53067bf1f17b88de5b555ed4d074f7d17975294345b40f16c7a9f91019c9f67",
      "size": 10591
    },
    "schemas/patch-risk-assessment.schema.json": {
      "sha256": "f36759528740edd9c6c86e76b034cf59a3c6796b143f2ed0d8bbfd011f02811d",
      "size": 6858
    },
    "schemas/scan-manifest.schema.json": {
      "sha256": "4bac4a5b898ebe72d9bf1128f3a8530979159b3c3bfe2c37ccd3c651f47ce234",
      "size": 7815
    },
    "schemas/tools/candidate-attack-paths.schema.json": {
      "sha256": "0550e20a4b51f5d7d0edc71f98a31441c92df55b5f36eb366b39b2e878ae9a0c",
      "size": 6810
    },
    "schemas/tools/candidate-validations.schema.json": {
      "sha256": "e89cd513a320d376b6366ea1f1365b62415c7a1355778c285103b34f23733f48",
      "size": 4519
    },
    "schemas/tools/discovery-candidates.schema.json": {
      "sha256": "5ebffa84b6a60e6e15c2eecb08f05353af2a239f6f463883efe954b482997d7c",
      "size": 1152
    },
    "schemas/tools/review-items.schema.json": {
      "sha256": "f7c4522e9e6faf736347b40a42a0839df5fe6818ad1cfd377ef1d452a233a87b",
      "size": 1431
    },
    "schemas/tools/scan-draft.schema.json": {
      "sha256": "fc3cdd65c39a22d6fc110076696a43fbf67226044e989a1047682473521973d4",
      "size": 28295
    },
    "scripts/check_deep_scan_target.py": {
      "sha256": "165230b549343af0ad28cc5397459441506e2dfc4978ba00d717f9eb964a34c5",
      "size": 3538
    },
    "scripts/codex_profile.mjs": {
      "sha256": "f739efe073f5243556d2073fdf10ecf4be1305878e3334d7ce8642ed1a885311",
      "size": 8621
    },
    "scripts/codex_session.mjs": {
      "sha256": "11685e239918a11fd811b36a9259b800013d3e914ee4e33c20ce024e52eeed12",
      "size": 1730
    },
    "scripts/deep_scan_config.py": {
      "sha256": "f9e384daa017afa553ef4fb99fdff5cbec93cb22bfd76b722d962bf32534f49d",
      "size": 6510
    },
    "scripts/deep_scan_defaults.json": {
      "sha256": "89bdb96ff721f0f1d509f3c5c83f5fc89022f14406d0a84df781b7e0e42cde66",
      "size": 143
    },
    "scripts/deep_scan_workbench.py": {
      "sha256": "d5f65879341d97d18f531fae0ce197e11207761add9787c2c0031f2980dca6d9",
      "size": 78126
    },
    "scripts/dispatch_inventory_tool": {
      "sha256": "eff576e0e584cc093dcf2bd18ea6c64bc33eb1c448d8558ef557f7373d962a83",
      "size": 238
    },
    "scripts/filesystem_identity.py": {
      "sha256": "b9d0b916c1b8a1fbc3a7c1e6692af2d0ef19f36a36d1d66d0a9a4190112c9387",
      "size": 991
    },
    "scripts/finalize_scan_contract.py": {
      "sha256": "339d9f2068634e65147373fe87b4a88c44d4f17d3e36fa06c0fcb3e97b66f8da",
      "size": 147094
    },
    "scripts/finding_preview.py": {
      "sha256": "4d93ed0170cbf4f4d37b3ff202eb313ea71a19b89b5953d40c1ac05d1c7c2e90",
      "size": 16692
    },
    "scripts/launch_codex_security_mcp": {
      "sha256": "497680a7ecc2163da04338d2f7ec26549362b0f098b810ed57ee64c56dea3665",
      "size": 4646
    },
    "scripts/launch_codex_security_mcp.cmd": {
      "sha256": "7859298f6ebdb8d58f58d163bfe2fc9023e5f1b6f336f10180269f05bdec602f",
      "size": 2667
    },
    "scripts/legacy_findings.py": {
      "sha256": "bb1209b9963a1698c51ba29b3047fbf3cf31fb0f1e98e4c118ecedde3ee673be",
      "size": 6125
    },
    "scripts/posix_scan_local_files.py": {
      "sha256": "0911b75dc67fdc04d0284fb97977063fe88ab3dfc2ec79becc426ff55483dfd7",
      "size": 8949
    },
    "scripts/read_codex_session.mjs": {
      "sha256": "09b47a949ae78879adc49afab1cc4ba29a450e333838ab20da429883448e752d",
      "size": 816
    },
    "scripts/report_projection.py": {
      "sha256": "6e950c378fece395b7cb648425a814ae6a45211abade77b96ddeca1e743f65e5",
      "size": 41680
    },
    "scripts/reserved_artifact_paths.json": {
      "sha256": "58ba1cf42437ac3af65c85a66eeff46f22572e45081fa2620f4b241173efcc50",
      "size": 186
    },
    "scripts/review_state.py": {
      "sha256": "567f0cef32dff8fab7fba364ad75fd42f303b5efbf85bf4a457024cd3c2342e0",
      "size": 2661
    },
    "scripts/servicenow_avit.py": {
      "sha256": "f852c39d2d10adfd7d38e2aef492ccf425f56162b3f618ffd9b21a06072c7e3f",
      "size": 4625
    },
    "scripts/snapshot_sqlite.py": {
      "sha256": "9f3c4835730e2e766c3b082242594bd773a3cae2cc76aa9be47a7faab96c3947",
      "size": 1738
    },
    "scripts/threat_model_projection.py": {
      "sha256": "e87dddf2bca93b4bd066c8c631e981ed14c770ee4fd33be8f5523f29cf6abf1a",
      "size": 6687
    },
    "scripts/validate_scan_contract.py": {
      "sha256": "a8b10d0bc03dc1b2cf040f121f65d8896e0c8f6bd4fdb7339d679234cb5ba08e",
      "size": 3224
    },
    "scripts/windows_scan_local_files.py": {
      "sha256": "9ab01a477f944f0ce4d3f7ef8646d477b40dc6b775b5b615b464fcf461beaee7",
      "size": 60676
    },
    "scripts/workbench/__init__.py": {
      "sha256": "b33e759162aeda0e8489f518bbc13b991f8c3a2ef5270cfb381177f838d321ac",
      "size": 98
    },
    "scripts/workbench/handoff.py": {
      "sha256": "af4eb66124ea1d66b8625ab54c6e846a6d7375d242c5509fa0bf8ef75c202fe0",
      "size": 11403
    },
    "scripts/workbench/retained_coverage.py": {
      "sha256": "f6dec9dbd0197d1d4593086bbb9ebe36ea39d4891d101df0a584dad55aaa6a72",
      "size": 148411
    },
    "scripts/workbench/retained_records.py": {
      "sha256": "98d1996f869bd0071510bc3c9dffadd7cf3e6d33c960e7c6f8ea090ba69b93ac",
      "size": 24885
    },
    "scripts/workbench/runtime_toml.py": {
      "sha256": "119fe79d8ecf4feedd5f17be578b9a84b3c2b450b36fed058b5aa2cb64c750e8",
      "size": 802
    },
    "scripts/workbench/saved_coverage.py": {
      "sha256": "8884d54caaed1f8f3fa0b4a7ac128eb17535a03445cdbfabeec49731f6f076cf",
      "size": 35410
    },
    "scripts/workbench/saved_outputs.py": {
      "sha256": "f845413ad0a16542d8d3728dc0ca1231c450c7898d4770a11bd3d319c61c8fd2",
      "size": 2921
    },
    "scripts/workbench/saved_sources.py": {
      "sha256": "53859519948b55e74bbdb26d44d355e63ce8705f0db8dd117cc25d52beb5a977",
      "size": 30156
    },
    "scripts/workbench/storage.py": {
      "sha256": "4791845b4a6b6e3437a5403e984ea2e97bc2758be052719b51aa3b353ce01d85",
      "size": 4390
    },
    "scripts/workbench_cli.py": {
      "sha256": "79bb508b068f73b8f5444c5af82ff58e26562f08eaa9cd9aec368766970deb8f",
      "size": 21516
    },
    "scripts/workbench_constants.py": {
      "sha256": "8cc007a47d6f687ea2860896adff1e51eb98ae6e1811b370c53e36f37fe9dde3",
      "size": 3177
    },
    "scripts/workbench_coverage_receipts.py": {
      "sha256": "ab88ee90de1ff4607f9599607f76f0c619d4d5067b52a84d745b4c896703ee5a",
      "size": 21284
    },
    "scripts/workbench_db.py": {
      "sha256": "95e263bca1c718e444ddd2afe43d661264014192b4cf8cfbc157391b42920a27",
      "size": 149908
    },
    "scripts/workbench_feedback.py": {
      "sha256": "92ab94e29eb654a5077a2532140750d9cbe2a5ac2967cfc206e4e026eb550564",
      "size": 6259
    },
    "scripts/workbench_finding_index.py": {
      "sha256": "dcf3482bb31f3248a84a7b9e7aa69b331fe4c50d28e501db6a10fe97ade17d3c",
      "size": 4745
    },
    "scripts/workbench_finding_workflows.py": {
      "sha256": "2d3914e553d5e5bf710a8d27bd25f878a023449270b2045db97a9752c1f7ba51",
      "size": 15010
    },
    "scripts/workbench_native_indexes.py": {
      "sha256": "a40b4cfae313b6799541f70dc251508ce9d9a474a2298742c23a823d7819139d",
      "size": 18571
    },
    "scripts/workbench_progress.py": {
      "sha256": "85fedf2b9f3095a5abb30b55f5b4a56acc0d8bdc7f2a16268123aa0d855773e2",
      "size": 16640
    },
    "scripts/workbench_publication.py": {
      "sha256": "90834075ed64ec43a30f2f15fe265baa730ce4a473101ca4b0a420a5fef4948b",
      "size": 20245
    },
    "scripts/workbench_remediation.py": {
      "sha256": "8e3a6e766edb0649d913af24562e8cdbe29455f742adfdb3f1c31536df5d814b",
      "size": 35923
    },
    "scripts/workbench_saved_results.py": {
      "sha256": "f0a4ac2411dd12dccce1c911e3bff5a60054a66c5d3706090661e4b1cc1bc8ea",
      "size": 71471
    },
    "scripts/workbench_scan_history.py": {
      "sha256": "375425ddd2afcaff361905a6c2d9882e99453ece79aa75068d5c6121cd3aa81a",
      "size": 60835
    },
    "scripts/workbench_scan_start.py": {
      "sha256": "1ee02b3ff745b0926330c993757448be7b813067642abbdf024352b32ad1fd6e",
      "size": 19611
    },
    "scripts/workbench_scan_usage.py": {
      "sha256": "eea597036388f90977d358ea4f66801aad2138c304f6ff7d573f35f3495148aa",
      "size": 65712
    },
    "scripts/workbench_schema.py": {
      "sha256": "08d7451b45ac74c211ad1be360854f12719cb02e876ca9ed03274c9e1315044c",
      "size": 18275
    },
    "scripts/workbench_setup.py": {
      "sha256": "90a18fddfd853c8a305d8191ec098693a53dee30e6a087e092ebbdeb54fd472c",
      "size": 9683
    },
    "scripts/workbench_source_excerpt.py": {
      "sha256": "97667580f629597a284939ff60e137af3526e217165a7946de2420f19ea489d7",
      "size": 5200
    },
    "scripts/workbench_source_scopes.py": {
      "sha256": "2ecd66dc35c390cecbacbb8c92a444e3f2d5ce49284581fcea036a0c11450529",
      "size": 15576
    },
    "scripts/workbench_target.py": {
      "sha256": "ccefc18e546174426276f99f9ea09e1f55eaa533a77e652185391bf1bffa3a1c",
      "size": 71863
    },
    "scripts/workbench_target_state.py": {
      "sha256": "5471646ac8fe3f62d358c49ee2c0f0833ae14f57affe4bb9cea855158d0d6d1c",
      "size": 44552
    },
    "scripts/workbench_validation.py": {
      "sha256": "06746a3aae15e85cd5c1671bf4da16f000cc2ad1cb19bbea9e63e00fa524e2ea",
      "size": 10189
    },
    "shared/workbench-history-repairs.json": {
      "sha256": "9ce97bb58f0803c9bf67b0bc11a56d015a0444b08fbf7f2ee3bb51ab5f87b755",
      "size": 16081
    },
    "shared/workbench-migrations.json": {
      "sha256": "ac63f2f69d36428a5fea82ac4bc522b7f98b8e825f7f9bf35d3aae009c89258f",
      "size": 47324
    },
    "skills/assess-patch-risk/SKILL.md": {
      "sha256": "5e115b0ba2f346e52efd2033a191da4aa40f1ff3f7b1ff5e2bde586e48eabf0d",
      "size": 8299
    },
    "skills/assess-patch-risk/agents/openai.yaml": {
      "sha256": "fec61f321e18022579cac25ffb33286f48cc316172a0b8d502f2bf4faecba025",
      "size": 274
    },
    "skills/assess-patch-risk/references/risk-rubric.md": {
      "sha256": "078a71175191580791685808980cb1815dc97265cfee8c0ddad1f4d3b8203b4a",
      "size": 5049
    },
    "skills/assess-patch-risk/references/windows-validation.md": {
      "sha256": "9a7d12e493497b2aa7135493e3d23ec35da05f687f6513266a5c45ffb67dad94",
      "size": 1173
    },
    "skills/attack-path-analysis/SKILL.md": {
      "sha256": "cacb4a0dc7676db7346b8295e555cb515092528cdd6b07a1ebb7c22790241eed",
      "size": 5355
    },
    "skills/attack-path-analysis/agents/openai.yaml": {
      "sha256": "d9355cbcf0bc81098c9e837d9d4e8644e598410d052a862ab11cf91ef9ccb633",
      "size": 261
    },
    "skills/attack-path-analysis/references/attack-path-facts.md": {
      "sha256": "1979ea81991ba1c095c1846d4b8e09429edc6295912f87a6ebb7fa7e32651a1e",
      "size": 1585
    },
    "skills/attack-path-analysis/references/severity-policy.md": {
      "sha256": "8b715db602fc58ea48a6e96d9a69648ddd835c2c39a2fe962c0958d0a2594008",
      "size": 2644
    },
    "skills/check-skills/SKILL.md": {
      "sha256": "790204df7e162d44b4ea509bb67aaa1b61ffb1f602f6f01cad0ae89e085c16fb",
      "size": 5844
    },
    "skills/check-skills/agents/openai.yaml": {
      "sha256": "d0a8f882b30deec19f1dfdcae61b191f8a312bee3ddccc6b9536d7daf32e4862",
      "size": 272
    },
    "skills/cloud-findings/SKILL.md": {
      "sha256": "a534ce50f358a1076b4d4c186a22675a0d23f6dd97564009ea66a08813497e64",
      "size": 10563
    },
    "skills/cloud-findings/agents/openai.yaml": {
      "sha256": "37c9d9ca3047fbc71f27726dad8f7136e8a84fd8fbf3cedea57422a7cf9af5cb",
      "size": 295
    },
    "skills/deep-security-scan/SKILL.md": {
      "sha256": "1d8328232b225b50526b2aaec54b253e4018956531ef22860c70789ae0410fe8",
      "size": 3127
    },
    "skills/deep-security-scan/agents/openai.yaml": {
      "sha256": "3f8d781bf372b0d053a017eabaebf947d5d48d9be2b82cb67da211128924c3f1",
      "size": 192
    },
    "skills/define-security-policy/SKILL.md": {
      "sha256": "8a63f6af4570ed2e152155d1891f61948fa66678d354930e6e7922e568af866a",
      "size": 5982
    },
    "skills/define-security-policy/agents/openai.yaml": {
      "sha256": "8c40b0f8bd1eb7feabdcea69f12c2a7d18e492e96893c0702507ffd808b8e2b4",
      "size": 210
    },
    "skills/finding-discovery/SKILL.md": {
      "sha256": "ca30309e330daddc0caf2dd6ff6529dbb67e83084cb3e6387029305ea194de99",
      "size": 5076
    },
    "skills/finding-discovery/agents/openai.yaml": {
      "sha256": "c044dd83a7624b90ed19f11adc899202685ce64e32502f1d46225f69f9a2c962",
      "size": 220
    },
    "skills/fix-finding/SKILL.md": {
      "sha256": "5182ad87bd342a7785bb6ef1800abfe59af5d98662522f6fa43c53f4d7c5cf3e",
      "size": 18461
    },
    "skills/fix-finding/agents/openai.yaml": {
      "sha256": "5dac397bf3a17e45283691b656179eb56d19e34881af380f098d7c455bce52d7",
      "size": 225
    },
    "skills/propose-security-hardening/SKILL.md": {
      "sha256": "815d626877332e5178afedc2ef6ee267faa9d3b3ecfe411f09c7a16290406043",
      "size": 5026
    },
    "skills/propose-security-hardening/agents/openai.yaml": {
      "sha256": "1bcab19d48eb4b768c0dc435bd2e738f1471c2345cce5865bb31bdca5be0b134",
      "size": 293
    },
    "skills/propose-security-hardening/references/proposal-format.md": {
      "sha256": "041df983ccb0e2923067c86e500fa22bbbe20c8d557ad36b71214e0811eb0ede",
      "size": 4144
    },
    "skills/publish-findings/SKILL.md": {
      "sha256": "3e233cde046fea1161417e5757393fe40de9ff234762636ed559c608bae38d69",
      "size": 11118
    },
    "skills/publish-findings/agents/openai.yaml": {
      "sha256": "d3c61dcec1b7d800bc2d12d0d2330c00535cb1685ecad2252838f8942ffc0a9c",
      "size": 284
    },
    "skills/publish-findings/references/checkmarx-import.md": {
      "sha256": "9e1a1c131b1987011c3db37051fec9c817b9001190cf3cfa98698a3390f488e0",
      "size": 4888
    },
    "skills/publish-findings/references/wiz-import.md": {
      "sha256": "81fd16f06d936d9f0720f9233eed782e5b67a4fe0a33ab7e402084dfe403dbf2",
      "size": 5153
    },
    "skills/publish-findings/scripts/collect_checkmarx.py": {
      "sha256": "06d0638171f1b10ec3b2dc1fb810dd5935c2fcc73f300d3ad875ecd6b17b6892",
      "size": 17126
    },
    "skills/publish-findings/scripts/collector_paths.py": {
      "sha256": "f74939f2435a62c85432028d16b404aa3d24f5bc33759b24b12682e1e2a428ed",
      "size": 2210
    },
    "skills/resolve-dependency-alert/SKILL.md": {
      "sha256": "2a0e0a68e7dba39cebb5a810a9d15d10282638c6ad2c1b2f5f8ce219d3e78f23",
      "size": 2548
    },
    "skills/resolve-dependency-alert/agents/openai.yaml": {
      "sha256": "0e6d5ebea26253ea7113bbe6570ee308e7f1393872fbdf28b747b9ccc90272c1",
      "size": 250
    },
    "skills/security-diff-scan/SKILL.md": {
      "sha256": "09232fd5d96cfed2a5bdccd176c09b7e9ca53ebd7ac136d283bec884fde94b0d",
      "size": 5405
    },
    "skills/security-diff-scan/agents/openai.yaml": {
      "sha256": "f3d31e09befbb8532b53fdccb63a34c0b894a7fb96215b40e84647cd9f8e1b50",
      "size": 284
    },
    "skills/security-scan/SKILL.md": {
      "sha256": "1e678be7315aefe1c101baf6ef6c01c4002ea3e5297f029589244554c31fd78b",
      "size": 2972
    },
    "skills/security-scan/agents/openai.yaml": {
      "sha256": "0790c2851c5b595ed376954f34a22c04f346a0a32fff6dfe1d30b3d2dee1b66a",
      "size": 245
    },
    "skills/security-scan/references/desktop-scan.md": {
      "sha256": "7e48dfbcd1d478bf0ca73de9d1a1a1d583face2d0755d7ba04d606e30b8aedfb",
      "size": 580
    },
    "skills/security-scan/references/managed-scan.md": {
      "sha256": "b4680ddd79fab1d215c92696e1fbfb49db82ef0983f4d04680567f294bdd2c38",
      "size": 1356
    },
    "skills/security-scan/references/scan-artifacts-and-ledger.md": {
      "sha256": "13678fd302742e5c728989912705765332e2b6ae5203562a9b549786f2819db9",
      "size": 7021
    },
    "skills/security-scan/references/scan-results.md": {
      "sha256": "ddc6b6d1041b45de338c0f50849ec3f003a57c46e202c95d5c52e4cf18d3c522",
      "size": 2871
    },
    "skills/security-scan/references/scoped-paths.md": {
      "sha256": "0d4f77b51276fc1541397c9dd387464493fb9bb2d451ac2d580d1f3f35195bc5",
      "size": 2359
    },
    "skills/security-scan/references/sdk-files.md": {
      "sha256": "5a6df47271bc1a9b4fd61024e3d389311be70f732759fb2439a32e5675fb05de",
      "size": 2192
    },
    "skills/threat-model-visualize/SKILL.md": {
      "sha256": "96e1a7517575ee419284d219f5a6e75d9a7825ae499480bd78b7393b544b106a",
      "size": 19102
    },
    "skills/threat-model-visualize/agents/openai.yaml": {
      "sha256": "3b31472477c1e6f05e299df82b4a61d89b62f42ff8cec0c9394f53fa42e3cda7",
      "size": 259
    },
    "skills/threat-model-visualize/assets/context-reference-overview.svg": {
      "sha256": "b5f01ae1842c96c54d7dfe74cc0f1cb5ab1a62a4f39395162031c048e1a9c4a5",
      "size": 36850
    },
    "skills/threat-model-visualize/assets/context-reference-path.svg": {
      "sha256": "7f62d1bb0e054c44630e2a9e934ed2a6f3e15645360302b536818833c979ec00",
      "size": 60788
    },
    "skills/threat-model-visualize/assets/control-effects.js": {
      "sha256": "667abbdc09dbe20428db6eda6d12c46d1b6630ed981bf6a7eefc4fb02c671763",
      "size": 4005
    },
    "skills/threat-model-visualize/assets/explorer.css": {
      "sha256": "323849e45cbe90d0bc7efe62101c72dd21af775e493fb1e9e5a65eefcaaf4db0",
      "size": 12126
    },
    "skills/threat-model-visualize/assets/explorer.html": {
      "sha256": "bb23f19f561b59b964ab00b314d1e15a768b70f6e879e57123e3ac6d0e3d4293",
      "size": 2673
    },
    "skills/threat-model-visualize/assets/explorer.js": {
      "sha256": "117c772583d29a504137e5fefeb62bd996050175f3da5d40f214b471d072481f",
      "size": 42283
    },
    "skills/threat-model-visualize/assets/route-paths.js": {
      "sha256": "54edff9691a35a118653fcf5e128f9402fb3cc602bf25c0875514dbf328a40ae",
      "size": 3648
    },
    "skills/threat-model-visualize/assets/source-roles.js": {
      "sha256": "a304027486857462974783c12d6bfd8f09dadc7cabd2e7ed0e8fe2b7862c1ece",
      "size": 2762
    },
    "skills/threat-model-visualize/assets/svg-layout.js": {
      "sha256": "9404259952ae08a80e4877b1ac28781d453974c0d1828fb46bbec172c50f42cf",
      "size": 11530
    },
    "skills/threat-model-visualize/references/context-explorer.md": {
      "sha256": "2ec94ffc33589100cead235eacdb6ce80596272c12285532ae4a682b064fbed9",
      "size": 5636
    },
    "skills/threat-model-visualize/references/view-model.md": {
      "sha256": "05c81e732bca0b64b182329e68d47900d18da5b3c22354b11f2a0183d890b019",
      "size": 12062
    },
    "skills/threat-model-visualize/scripts/build_explorer.py": {
      "sha256": "d2036f1d8783b6d3b5a7673412b80ba6f9d2e63112f8fd8802fee1395964c90f",
      "size": 27557
    },
    "skills/threat-model/SKILL.md": {
      "sha256": "79a1b6282f80804227a28f9a1fae71bbfcd6928c1de5d2c84ab0ebf9c1f49226",
      "size": 2986
    },
    "skills/threat-model/agents/openai.yaml": {
      "sha256": "a3533478c2548248ef07c9afbbe0a7451f1fa1882883b4def0906d8113b7dd6c",
      "size": 171
    },
    "skills/track-findings/SKILL.md": {
      "sha256": "ef1cbf5e8b0240a78f32903540f6c1b500cd329c00bfcefc405fec1e382c46e9",
      "size": 13459
    },
    "skills/track-findings/agents/openai.yaml": {
      "sha256": "39e73c0003afc8bd9d3cf53c027d8274e724dc41f46e3cd6863ad34bb4de4200",
      "size": 279
    },
    "skills/track-findings/references/github-security-advisories.md": {
      "sha256": "1d0a4e10e837834e00f1c041a3aa972f176529385c5161e55821adb9d1f3cdf4",
      "size": 3420
    },
    "skills/track-findings/references/jira.md": {
      "sha256": "bb1f7bb6fa638f20f1caad35b04482ae33f0cdbf2ab9c617e7805575dff457a0",
      "size": 3027
    },
    "skills/triage-finding/SKILL.md": {
      "sha256": "2c71d6a89ef0c61ed2f5f1f6af9d05de43e38547eec777937774fd1054b0afaa",
      "size": 8394
    },
    "skills/triage-finding/agents/openai.yaml": {
      "sha256": "4a4094210aa6360cf503f5adf7be1e590e27898f3163da1b713632d2828e8563",
      "size": 400
    },
    "skills/triage-finding/references/github-rest-intake.md": {
      "sha256": "3ff78c08946b3731d2672c08817ad654724df8573ae8bc1d7560c2850e17a832",
      "size": 12277
    },
    "skills/triage-finding/references/ticket-intake.md": {
      "sha256": "b8044c6d2e15c4372fa08f6fd6946be02ce9444f1f1be4416f2e435466c73bff",
      "size": 5231
    },
    "skills/triage-finding/references/triage-result-contract.md": {
      "sha256": "709c1d803c001a47c884ba10ac97f8c1434c3ce06a75033778343a662b25729b",
      "size": 4447
    },
    "skills/validation/SKILL.md": {
      "sha256": "aac2d8598af99fc27c163c24204b264427100b89f15e203822b108262fcb7876",
      "size": 4619
    },
    "skills/validation/agents/openai.yaml": {
      "sha256": "7516bcd4748b55566694284d7d953a7db0c94d5a2123895fabb36d7d9d7d74e4",
      "size": 183
    },
    "skills/validation/references/validation-guidance.md": {
      "sha256": "48439b292c9e92195ef9905062b1c948df7202ddc1a99aa9192c71e54c46d6ab",
      "size": 4408
    },
    "skills/verify-fix/SKILL.md": {
      "sha256": "3569c165dffeae015ede1ab1c0dbfd03164673f5b6a54c263b4941ed9a9703a5",
      "size": 4193
    },
    "skills/verify-fix/agents/openai.yaml": {
      "sha256": "ac35fc4704cde35b6bf103e16a16d0a44f2b9c2671e1634292cf285905cf40f3",
      "size": 235
    },
    "skills/vulnerability-writeup/SKILL.md": {
      "sha256": "9c15d78cca5b847e270740daa405276e9e8ba5fcbfeeeb5b2a68d7752b1bda99",
      "size": 5571
    },
    "skills/vulnerability-writeup/agents/openai.yaml": {
      "sha256": "7987566daac59e3dd6c5211fe020f71fc4c862843c231d10c28a45697d680f9e",
      "size": 290
    },
    "skills/vulnerability-writeup/references/report-format.md": {
      "sha256": "68a1b4a293f0379ba5ae2c21a32d6618245f6de1b6dd977c5a2cf9d62a25c874",
      "size": 4482
    }
  }
}

SHA-256 of public snapshot: c86a875d9b371cbd9d94d26cd70600ea7c81c78738e0761c5ce406a32660fb41