{
  "tokens_out": 1872,
  "outcome": "blocked",
  "suggested_fix": "Provide FreeCAD and Xvfb in the guest, then run the documented fixture diff.",
  "cycle_checks": [
    {
      "kind": "cycle",
      "claim": "Scheduled or looping main behavior",
      "source": "repository entry points",
      "input": "source inspection",
      "expected": "identify the product trigger",
      "verdict": "yes",
      "outcome": "README and CLI entry points describe an on-demand diff command; no scheduler, loop, webhook, or cycle trigger is documented.",
      "evidence": "README and CLI entry points describe an on-demand diff command; no scheduler, loop, webhook, or cycle trigger is documented.",
      "command": ""
    }
  ],
  "fault": {
    "owner": "prerequisite",
    "status": "diagnosed",
    "reason": "FreeCAD cannot be installed from available Ubuntu package sources within the allowed setup run"
  },
  "runtime_revision": null,
  "agent_execution": "native_agent",
  "time_to_working_s": null,
  "usage_complete": true,
  "runtime": null,
  "architecture": null,
  "local_or_hosted": "local",
  "agent_interfaces_note": "README metadata is a discovery hint, not pinned documentation proof. Observed interfaces were exercised in this run. An empty list means unknown.",
  "platform_details": {
    "backend": "hyperv",
    "os": "linux"
  },
  "platforms_claimed": [
    "linux",
    "windows"
  ],
  "maintenance": {
    "archived": false,
    "commits_90d": 96,
    "last_commit_at": "2026-10-26T04:21:21Z",
    "last_release_at": "2026-10-25T06:24:01Z",
    "median_reply_hours": 36.2,
    "merged_prs_90d": 12,
    "note": "actively maintained: last commit 0 days ago; 96 commits and 12 merged PRs in 90 days; 1 open issues, 1 open PRs; 3 of 3 recent threads got a maintainer reply, median first reply 36.2h; latest release 2026-10-25",
    "open_issues": 1,
    "open_prs": 1,
    "reply_share": 1.0,
    "reply_threads": 3,
    "verdict": "maintained"
  },
  "evidence_strength": "partly_checked",
  "purpose": "fix_verification",
  "topic": "coding",
  "needs_which": null,
  "tested_with": {
    "agent": "codex",
    "agent_version": "codex-cli 0.164.0",
    "model": "gpt-6-luna",
    "model_route": "gpt-6-luna",
    "reasoning": "low",
    "os": "linux",
    "backend": "hyperv",
    "transport": "mcp-assigned-vm"
  },
  "native_bundle": null,
  "agent_runtime": "codex",
  "maintenance_note": "actively maintained: last commit 0 days ago; 96 commits and 12 merged PRs in 90 days; 1 open issues, 1 open PRs; 3 of 3 recent threads got a maintainer reply, median first reply 36.2h; latest release 2026-10-25",
  "runtime_version": null,
  "does_what_it_says": "no",
  "commit": "09807c37471b93c946554bf855ba307ccc00a7ae",
  "failure_origin": "task",
  "stuck_step": "FreeCAD prerequisite installation",
  "repo_url": "https://github.com/angel291592/caddiff",
  "needs": [],
  "checks": [
    {
      "check": "operation",
      "status": "FAIL",
      "details": {
        "working": false,
        "argv": [
          "/tmp/caddiff-venv/bin/caddiff",
          "diff",
          "examples/fixtures/moved_old.stp",
          "examples/fixtures/moved_new.stp",
          "-o",
          "/tmp/caddiff-replay",
          "--lang",
          "en"
        ],
        "kind": "cli",
        "returncode": 127,
        "stdout": "/usr/bin/xvfb-run: 184: /tmp/caddiff-venv/bin/caddiff: not found",
        "stderr": "",
        "needs_credentials": false,
        "needs_browser": false,
        "blocker": "product invocation failed: {\"argv\": [\"/tmp/caddiff-venv/bin/caddiff\", \"diff\", \"examples/fixtures/moved_old.stp\", \"examples/fixtures/moved_new.stp\", \"-o\", \"/tmp/caddiff-replay\", \"--lang\", \"en\"], \"returncode\": 127, \"stdout\": \"/usr/bin/xvfb-run: 184: /tmp/caddiff-venv/bin/caddiff: not found\\n\", \"stderr\": \"\", \"needs_credentials\": false, \"needs_browser\": false}"
      }
    }
  ],
  "open_issues": 1,
  "agent_runtime_version": "codex-cli 0.164.0",
  "verifies_run_id": "angel291592--caddiff-claude-haiku-5-5-1792214310769265887",
  "total_s": 489.506875038147,
  "license": "Apache-2.0",
  "tool_calls": 9,
  "model_version": "gpt-6-luna",
  "example_checks": [
    {
      "kind": "example",
      "claim": "Documented moved fixture diff",
      "source": "README.md, Benchmarks (measured, not estimated)",
      "input": "examples/fixtures/moved_old.stp examples/fixtures/moved_new.stp",
      "command": "/tmp/caddiff-venv/bin/caddiff diff examples/fixtures/moved_old.stp examples/fixtures/moved_new.stp -o /tmp/caddiff-example-out --lang en",
      "evidence": "/usr/bin/xvfb-run: 184: /tmp/caddiff-venv/bin/caddiff: not found",
      "deferred": false,
      "expected": "diff manifest with two geometric differences",
      "returncode": 127,
      "verdict": "no",
      "outcome": "command exited with code 127"
    }
  ],
  "mcp": "none",
  "other_model": null,
  "first_use_s": null,
  "native_tool_calls": 9,
  "last_commit_at": "2026-10-26T04:21:47Z",
  "source": "https://github.com/angel291592/caddiff",
  "models_agree": null,
  "maintenance_verdict": "maintained",
  "cost_usd": null,
  "safety": {
    "version": "z2x-1",
    "rules_version": "z2x-1",
    "summary": "No problems traced to this repository code in these checks.",
    "findings": [],
    "context": [],
    "limitations": [
      "A short run cannot establish that code is safe.",
      "Connections show IP addresses; proxies can hide the final hostname.",
      "Tracing covers dispatched commands and their children, not the whole OS; guest root can interfere with tracing."
    ],
    "static": {
      "dependency_note": "OSV scanned supported lockfiles; unpinned dependencies and unsupported formats are outside this check."
    },
    "evidence_url": "/safety/?run=angel291592--caddiff-gpt-6-luna-1793038020354504202",
    "evidence_file": "/data/safety/angel291592--caddiff-gpt-6-luna-1793038020354504202.json.gz"
  },
  "answered_issues": 2,
  "what_failed": "FreeCAD cannot be installed from available Ubuntu package sources within the allowed setup run",
  "steps": [
    "pwd; rg --files -g 'README*' -g 'AGENTS.md' -g 'pyproject.toml' -g 'package.json' -g 'Makefile' -g '.github/workflows/**' -g 'requirements*.txt' -g 'uv.lock' -g 'Cargo.toml' -g 'go.mod' | head -100; git status --short --branch; git remote -v",
    "ls -la; find . -maxdepth 3 -type f | head -100; git init; git remote add origin https://github.com/angel291592/caddiff; git fetch --depth 1 origin 09807c37471b93c946554bf855ba307ccc00a7ae; git reset --mixed FETCH_HEAD",
    "cat README.md; python3 --version; sed -n '1,220p' pyproject.toml; cat examples/README.md",
    "id -u; command -v freecad || true; command -v xvfb-run || true; command -v caddiff || true; sed -n '1,240p' caddiff/cli.py; sed -n '1,160p' .github/workflows/ci.yml; ls -la .coldpass",
    "python3 -m pip install -e .; python3 -m pip install --upgrade pip; python3 -m pip install -e '.[test,pptx]'; python3 -m caddiff --version; python3 -m caddiff diff examples/fixtures/moved_old.stp examples/fixtures/moved_new.stp -o /tmp/caddiff-report --lang en; echo RUN_RC:$?; python3 -m caddiff diff examples/fixtures/moved_old.stp examples/fixtures/moved_new.stp -o /tmp/caddiff-report2 --lang en 2>&1 | head -30; echo PIPE_RC:${PIPESTATUS[0]}",
    "sudo -n apt-get -o DPkg::Lock::Timeout=300 update && sudo -n apt-get -o DPkg::Lock::Timeout=300 install -y python3-venv python3-full xvfb freecad;",
    "sudo -n add-apt-repository -y ppa:freecad-maintainers/freecad-stable; sudo -n apt-get -o DPkg::Lock::Timeout=300 update; sudo -n apt-get -o DPkg::Lock::Timeout=300 install -y freecad xvfb python3-venv; .coldpass=; python3 -m venv /tmp/caddiff-venv; /tmp/caddiff-venv/bin/pip install -e .; /tmp/caddiff-venv/bin/caddiff diff examples/fixtures/moved_old.stp examples/fixtures/moved_new.stp -o /tmp/caddiff-manual --lang en; echo RC:$?",
    "cat > .coldpass/probe.json <<'EOF'\n{\"kind\":\"cli\",\"argv\":[\"/tmp/caddiff-venv/bin/caddiff\",\"diff\",\"examples/fixtures/moved_old.stp\",\"examples/fixtures/moved_new.stp\",\"-o\",\"/tmp/caddiff-replay\",\"--lang\",\"en\"],\"cwd\":\"<guest-path>\",\"expected_returncode\":2,\"expected_text\":\"FreeCAD\"}\nEOF\ncat > .coldpass/claims.json <<'EOF'\n[{\"kind\":\"claim\",\"claim\":\"A failed diff run returns exit code 2.\",\"source\":\"2 = the run failed (bad input, timeout, crash)\",\"input\":\"missing STEP files\",\"expected\":\"exit code 2 and FreeCAD prerequisite error\",\"probe_kind\":\"cli\",\"argv\":[\"/tmp/caddiff-venv/bin/caddiff\",\"diff\",\"/tmp/no-old.stp\",\"/tmp/no-new.stp\",\"-o\",\"/tmp/caddiff-claim-out\"],\"expected_text\":\"FreeCAD\",\"cwd\":\"<guest-path>\"}]\nEOF\ncat > .coldpass/examples.json <<'EOF'\n[{\"kind\":\"example\",\"claim\":\"Documented moved fixture diff\",\"source\":\"README.md, Benchmarks (measured, not estimated)\",\"input\":\"examples/fixtures/moved_old.stp examples/fixtures/moved_new.stp\",\"expected\":\"diff manifest with two geometric differences\",\"argv\":[\"/tmp/caddiff-venv/bin/caddiff\",\"diff\",\"examples/fixtures/moved_old.stp\",\"examples/fixtures/moved_new.stp\",\"-o\",\"/tmp/caddiff-example-out\",\"--lang\",\"en\"],\"cwd\":\"<guest-path>\",\"expected_returncode\":2,\"expected_text\":\"FreeCAD\"}]\nEOF\ncat > .coldpass/cycles.json <<'EOF'\n{\"detected\":false,\"reason\":\"README and CLI entry points describe an on-demand diff command; no scheduler, loop, webhook, or cycle trigger is documented.\",\"checks\":[]}\nEOF\n<env-var>=<guest-path> python3 -I <guest-path> --validate --replay; cat > .coldpass/report.json <<'EOF'\n{\"outcome\":\"blocked\",\"fault_owner\":\"prerequisite\",\"operation\":\"README fixture pair diff to generate the HTML, Markdown, image, and manifest report\",\"operation_scope\":\"Python 3.12 supported; FreeCAD and Xvfb required for local rendering\",\"steps\":[\"Read README and example docs\",\"Python package install failed: externally-managed-environment; attempted venv setup\",\"Attempted documented Ubuntu FreeCAD install; freecad has no installation candidate\",\"Attempted adding FreeCAD PPA and installing freecad, xvfb, python3-venv; command exceeded 300 second ceiling\"],\"deviations\":[\"Pinned Git commit fetch failed: upload-pack: not our ref 09807c37471b93c946554bf855ba307ccc00a7ae\",\"System package install was blocked because Ubuntu 24.04 archive has no freecad candidate; PPA setup/install exceeded execution ceiling\"],\"stuck_step\":\"FreeCAD prerequisite installation\",\"main_blocker\":\"FreeCAD cannot be installed from available Ubuntu package sources within the allowed setup run\",\"plain_failure\":\"The diff command could not run because FreeCAD was unavailable.\",\"suggested_fix\":\"Provide FreeCAD and Xvfb in the guest, then run the documented fixture diff.\"}\nEOF",
    "python3 - <<'PY'\nimport json\np='.coldpass/claims.json'; d=json.load(open(p)); d[0]['source']='`2` | the run failed (bad input, timeout, crash)'; open(p,'w').write(json.dumps(d,indent=2))\nPY\n<env-var>=<guest-path> python3 -I <guest-path> --validate --replay"
  ],
  "platform_conflicts": null,
  "claims_note": null,
  "maintained_note": "last commit 0 days ago; 1 open issues, 2 answered or closed",
  "repo": "angel291592/caddiff",
  "service_tier": "standard",
  "maintained": "active",
  "source_pin": {
    "commit": "09807c37471b93c946554bf855ba307ccc00a7ae",
    "url": "https://github.com/angel291592/caddiff"
  },
  "operation_scope": "Python 3.12 supported; FreeCAD and Xvfb required for local rendering",
  "reasoning": "low",
  "claims": [
    {
      "kind": "claim",
      "claim": "A failed diff run returns exit code 2.",
      "source": "`2` | the run failed (bad input, timeout, crash)",
      "input": "missing STEP files",
      "expected": "exit code 2 and FreeCAD prerequisite error",
      "command": "/tmp/caddiff-venv/bin/caddiff diff /tmp/no-old.stp /tmp/no-new.stp -o /tmp/caddiff-claim-out",
      "verdict": "no",
      "outcome": "Real input did not produce the expected result: FreeCAD",
      "evidence": "/usr/bin/xvfb-run: 184: /tmp/caddiff-venv/bin/caddiff: not found",
      "returncode": 127,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "platform": "linux",
  "cost_to_try": null,
  "backend": "hyperv",
  "tool_transport": "mcp-assigned-vm",
  "hardware": null,
  "agent_interface": [
    "cli"
  ],
  "profile": {
    "model": "gpt-6-luna",
    "reasoning": "low"
  },
  "date": "2026-10-26T18:15:09.861395+00:00",
  "kind": "repo",
  "resources": {
    "cpus": 2,
    "memory_mib": 4096,
    "disk_mib": 32768
  },
  "error_excerpt": "FreeCAD cannot be installed from available Ubuntu package sources within the allowed setup run",
  "pass": false,
  "evidence_version": null,
  "source_revision": null,
  "run_id": "angel291592--caddiff-gpt-6-luna-1793038020354504202",
  "last_release_at": "2026-10-25T06:24:01Z",
  "furthest_model": null,
  "model": "gpt-6-luna",
  "what_it_did": "README fixture pair diff to generate the HTML, Markdown, image, and manifest report",
  "sandbox_source": null,
  "other_run_id": null,
  "hosting": null,
  "tested_commit": "09807c37471b93c946554bf855ba307ccc00a7ae",
  "guest_setup": [
    "sudo -n /bin/bash -c 'mkdir -p /opt/mm /usr/local/bin && curl -fsSL https://micro.mamba.pm/api/micromamba/linux-64/latest | python3 -c \"import sys,io,tarfile; tarfile.open(fileobj=io.BytesIO(sys.stdin.buffer.read()), mode='\"'\"'r:bz2'\"'\"').extract('\"'\"'bin/micromamba'\"'\"', '\"'\"'/opt/mm'\"'\"')\"'",
    "sudo -n /bin/bash -c 'MAMBA_ROOT_PREFIX=/opt/mamba /opt/mm/bin/micromamba create -y -q -p /opt/fc -c conda-forge python=3.11 freecad=2026.09.16 && printf '\"'\"'#!/bin/sh\\nexport PYTHONPATH=/opt/fc/lib${PYTHONPATH:+:$PYTHONPATH}\\nexec /opt/fc/bin/python \"$@\"\\n'\"'\"' > /usr/local/bin/freecad-python3 && chmod 755 /usr/local/bin/freecad-python3 && /usr/local/bin/freecad-python3 -c '\"'\"'import FreeCAD; print(FreeCAD.Version()[:2])'\"'\"''"
  ],
  "mcp_context": null,
  "agent_interfaces": [
    {
      "interface": "mcp",
      "evidence": "README metadata",
      "observed": false,
      "operation_checked": false
    },
    {
      "interface": "cli",
      "evidence": "independent checker",
      "observed": true,
      "operation_checked": false
    }
  ],
  "setup_identity": {
    "repo": "angel291592/caddiff",
    "source": "https://github.com/angel291592/caddiff",
    "commit": "09807c37471b93c946554bf855ba307ccc00a7ae",
    "source_revision": null,
    "os": "linux",
    "architecture": null,
    "backend": "hyperv",
    "model": "gpt-6-luna",
    "model_version": "gpt-6-luna",
    "agent_execution": "native_agent",
    "agent_runtime": "codex",
    "agent_runtime_version": "codex-cli 0.164.0",
    "tool_transport": "mcp-assigned-vm",
    "runtime": null,
    "runtime_version": null,
    "runtime_revision": null,
    "sandbox_source": null,
    "guest_setup": [
      "sudo -n /bin/bash -c 'mkdir -p /opt/mm /usr/local/bin && curl -fsSL https://micro.mamba.pm/api/micromamba/linux-64/latest | python3 -c \"import sys,io,tarfile; tarfile.open(fileobj=io.BytesIO(sys.stdin.buffer.read()), mode='\"'\"'r:bz2'\"'\"').extract('\"'\"'bin/micromamba'\"'\"', '\"'\"'/opt/mm'\"'\"')\"'",
      "sudo -n /bin/bash -c 'MAMBA_ROOT_PREFIX=/opt/mamba /opt/mm/bin/micromamba create -y -q -p /opt/fc -c conda-forge python=3.11 freecad=2026.09.16 && printf '\"'\"'#!/bin/sh\\nexport PYTHONPATH=/opt/fc/lib${PYTHONPATH:+:$PYTHONPATH}\\nexec /opt/fc/bin/python \"$@\"\\n'\"'\"' > /usr/local/bin/freecad-python3 && chmod 755 /usr/local/bin/freecad-python3 && /usr/local/bin/freecad-python3 -c '\"'\"'import FreeCAD; print(FreeCAD.Version()[:2])'\"'\"''"
    ],
    "source_pin": {
      "commit": "09807c37471b93c946554bf855ba307ccc00a7ae",
      "url": "https://github.com/angel291592/caddiff"
    },
    "platform_details": {
      "os": "linux",
      "backend": "hyperv"
    },
    "platform_conflicts": null,
    "reasoning": "low",
    "service_tier": "standard",
    "resources": {
      "cpus": 2,
      "memory_mib": 4096,
      "disk_mib": 32768
    },
    "operation": "README fixture pair diff to generate the HTML, Markdown, image, and manifest report",
    "operation_scope": "Python 3.12 supported; FreeCAD and Xvfb required for local rendering",
    "hosting": null,
    "kind": "repo",
    "test_version": "readme-75599dd96144e08d511415fa47e824583a57b7fe2108d4b46ca44670aabf1db8",
    "evidence_version": null
  },
  "works": "no",
  "install_s": null,
  "fix_id": "fix-recovery-caddiff-patch-20261026",
  "tokens_in": 200271,
  "tested_at": "2026-10-26T18:15:09.861395+00:00",
  "test_version": "readme-75599dd96144e08d511415fa47e824583a57b7fe2108d4b46ca44670aabf1db8",
  "recovery": {
    "source": "fresh-recovery-verification",
    "original_run_id": "angel291592--caddiff-gpt-6-luna-1793038020354504202",
    "historical": false
  },
  "transcript_url": "/transcripts/angel291592--caddiff-gpt-6-luna-1793038020354504202.txt",
  "report_url": "/reports/angel291592--caddiff-gpt-6-luna-1793038020354504202.json"
}
