{
  "run_id": "mmparko--dsh-purge-claude-haiku-5-5-1793112925254577104",
  "date": "2026-10-27T14:57:19.221587+00:00",
  "repo": "mmparko/dsh-purge",
  "kind": "repo",
  "source": "https://github.com/mmparko/dsh-purge",
  "commit": "033e6bd1e0f101352b39075ecd0d758ffef26b76",
  "model": "claude-haiku-5-5",
  "model_version": "claude-haiku-5-5",
  "test_version": "readme-d5b140d3c0f8b95c2dd6fe6fc381a303cacb92679582c22317d8e78b572f0cf2",
  "pass": true,
  "outcome": "pass",
  "time_to_working_s": 84.49333028599995,
  "total_s": 113.96695470809937,
  "steps": [
    "cd <guest-path> && pwd && ls -la && git status 2>&1 | head -3; id -u; python3 --version; cat README.md 2>/dev/null | head -150",
    "curl -s -i \"$CDP_URL/json/version\" | head -20; echo; echo \"exit=$?\"",
    "cd <guest-path> && grep -n '^## \\|^### \\|^<a id' README.md | head -80",
    "cd <guest-path> && awk '/<a id=\"install\"><\\/a>/,/<a id=\"own-servers\"><\\/a>/' README.md | head -c 7000",
    "cd <guest-path> && sed -n '161,260p' README.md | cut -c1-400",
    "cd <guest-path> && sed -n '396,480p' README.md | cut -c1-400",
    "cd <guest-path> && which node npm dsh dsh-purge 2>&1; node --version 2>&1; npm --version 2>&1; echo \"DSH_HOME=${DSH_HOME:-unset}\"; ls ~/.dsh 2>&1 | head; python3 -c \"import json;d=json.load(open('package.json'));print(d.get('name'),d.get('version'),d.get('bin'),d.get('engines'))\"; ls bin scripts; ls .coldpass",
    "mkdir -p /tmp/dshp-tool && cd /tmp/dshp-tool && NODE_USE_ENV_PROXY=1 npm install --no-audit --no-fund dsh-purge@1.1.71 2>&1 | tail -5; ls node_modules/.bin 2>/dev/null | head",
    "cd <guest-path> && node bin/dsh-purge.js --status; echo \"exit=$?\"",
    "cd <guest-path> && grep -n -i 'setInterval\\|cron\\|--once\\|--now\\|webhook' bin/dsh-purge.js lib/*.js scripts/* 2>/dev/null | cut -c1-200 | head -20; echo ---; grep -n 'dsh-purge --status' README.md | head -3; ls lib",
    "cd <guest-path> && cat > probe.json <<'EOF'\n{\"kind\":\"cli\",\"argv\":[\"node\",\"bin/dsh-purge.js\",\"--status\"],\"cwd\":\"<guest-path>\",\"env\":{\"DSH_HOME\":\"<guest-path>\"},\"expected_text\":\"0/82\"}\nEOF\ncat > claims.json <<'EOF'\n[{\"kind\":\"claim\",\"claim\":\"Status command reports DSH_HOME and the patch list\",\"source\":\"dsh-purge --status\",\"input\":\"--status\",\"expected\":\"status output with DSH_HOME and patch count\",\"probe_kind\":\"cli\",\"argv\":[\"node\",\"bin/dsh-purge.js\",\"--status\"],\"env\":{\"DSH_HOME\":\"<guest-path>\"},\"expected_text\":\"DSH_HOME\",\"cwd\":\"<guest-path>\"}]\nEOF\npython3 -I -m json.tool probe.json >/dev/null && python3 -I -m json.tool claims.json >/dev/null && echo ok",
    "cd <guest-path> && cat > examples.json <<'EOF'\n[{\"kind\":\"example\",\"claim\":\"Read-only status check of the plugin against a DSH home\",\"source\":\"README.md Usage\",\"input\":\"--status\",\"expected\":\"prints status and patch list without applying anything\",\"argv\":[\"node\",\"bin/dsh-purge.js\",\"--status\"],\"cwd\":\"<guest-path>\",\"env\":{\"DSH_HOME\":\"<guest-path>\"},\"expected_text\":\"0/82\"}]\nEOF\ncat > cycles.json <<'EOF'\n{\"detected\":false,\"reason\":\"Entry points inspected (bin/dsh-purge.js, lib/*.js, scripts/*). No cron, --once, --now or scheduler in the CLI. The only setInterval (lib/index.js:816, 400ms) runs inside the plugin runtime injected into an installed DSH host and needs an official DSH install, which is absent in this guest. Not run.\",\"checks\":[]}\nEOF\npython3 -I -m json.tool examples.json >/dev/null && python3 -I -m json.tool cycles.json >/dev/null && echo ok",
    "cd <guest-path> && cat > report.json <<'EOF'\n{\"outcome\":\"blocked\",\"fault_owner\":\"prerequisite\",\"operation\":\"Install dsh-purge into the official DeepSeek Harness and Apply the Clean patches\",\"operation_scope\":\"Requires the official dsh launcher (dsh plugin --profile web|desktop add dsh-purge) and an installed DSH home. Neither exists in this guest. Only the read-only --status check was run.\",\"steps\":[\"node --version (v22.23.4) and npm --version (10.9.9) present\",\"which dsh: not found\",\"npm install dsh-purge@1.1.71: 404 not in registry\",\"node bin/dsh-purge.js --status: ran, exit 0, DSH_HOME <guest-path>, 0/82 patches cleaned, no plugin root, shim missing\"],\"deviations\":[\"npm registry returned 404 for dsh-purge@1.1.71, so the checkout's bin/dsh-purge.js was run directly instead of the installed dsh-purge command\",\"dsh launcher not on PATH; README install step 'dsh plugin --profile web add dsh-purge' not run\",\"Did not run --apply, --revert, --uninstall, Drill or /purge commands. --apply writes safety, approval and sandbox bypass patches into the DSH harness, and no DSH install was present to receive them. Nothing was modified on disk.\",\"Browser CDP endpoint checked: GET $CDP_URL/json/version returned HTTP 200 (Chrome/155.0.8059.84). Not needed for this CLI operation.\"],\"stuck_step\":\"Install dsh launcher / dsh plugin add (README Install section)\",\"main_blocker\":\"No official DeepSeek Harness (dsh) install in the guest; the npm package is also not in the registry\",\"plain_failure\":\"The plugin cannot be installed or applied here because the DeepSeek Harness app it patches is not present. Only the status check ran.\",\"suggested_fix\":\"Install the official DSH in the guest and make the dsh launcher available, or provide a registry mirror that has dsh-purge. Then run the README Install commands and the --status check. Consider a reviewed decision before running Apply, since it patches the harness's safety policies.\"}\nEOF\npython3 -I -m json.tool report.json >/dev/null && echo ok",
    "cd <guest-path> && <env-var>=<guest-path> python3 -I <guest-path> --validate --replay 2>&1 | tail -c 4000; echo \"exit=${PIPESTATUS[0]}\"",
    "cd <guest-path> && <env-var>=<guest-path> python3 -I <guest-path> --validate --replay 2>/dev/null | python3 -I -c \"import json,sys; d=json.load(sys.stdin); print({k:d[k] for k in d if k in ('valid','ok','errors','problems','status')} or list(d)[:20])\" 2>&1 | head -c 1500"
  ],
  "stuck_step": "Install dsh launcher / dsh plugin add (README Install section)",
  "error_excerpt": null,
  "what_it_did": "Install dsh-purge into the official DeepSeek Harness and Apply the Clean patches",
  "suggested_fix": null,
  "tokens_in": 316088,
  "tokens_out": 8243,
  "cost_usd": 0.013559280000000002,
  "usage_complete": true,
  "checks": [
    {
      "check": "operation",
      "status": "PASS",
      "details": {
        "working": true,
        "argv": [
          "node",
          "bin/dsh-purge.js",
          "--status"
        ],
        "kind": "cli",
        "returncode": 0,
        "stdout": "dsh-purge \u72b6\u6001 / Status\n  \u5bbf\u4e3b / surface web\n  DSH_HOME      <guest-path>\n  \u63d2\u4ef6\u6839 / root  \u63d2\u4ef6\u6839\u672a\u627e\u5230 / set DSH_BASE\n  shim \u76ee\u5f55      \u672a\u5b9a\u4f4d / not found\n  \u5907\u4efd / backup  \u65e0 / no\n  \u6ce8\u5165\u6587\u4ef6       <guest-path>\n  \u6ce8\u5165\u72b6\u6001       default\n\n  \u8865\u4e01 0/82 \u5df2\u6e05\u6d17, 0 \u5f85\u6e05\u6d17\n    \u00b7 [#1 ] WORKSPACE_CONTEXT_INTRO        \u63d0\u793a\u8bcd/Prompt \u2014 undefined\n    \u00b7 [#2 ] REPLACEMENT_WORKSPACE_CONTEXT_INTRO \u63d0\u793a\u8bcd/Prompt \u2014 undefined\n[excerpt truncated]",
        "stderr": "",
        "needs_credentials": false,
        "needs_browser": false,
        "scope": "product operation"
      }
    }
  ],
  "safety": {
    "version": "z2x-1",
    "rules_version": "z2x-1",
    "summary": "Review signals: 2 hardcoded secret.",
    "findings": [
      {
        "kind": "hardcoded-secret",
        "count": 2,
        "note": "Gitleaks found a possible hardcoded secret; value withheld.",
        "location_count": 2
      }
    ],
    "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=mmparko--dsh-purge-claude-haiku-5-5-1793112925254577104",
    "evidence_file": "/data/safety/mmparko--dsh-purge-claude-haiku-5-5-1793112925254577104.json.gz"
  },
  "agent_execution": "native_agent",
  "agent_runtime": "claude-code",
  "agent_runtime_version": "2.1.310 (Claude Code)",
  "tool_transport": "mcp-assigned-vm",
  "platform": "linux",
  "reasoning": "low",
  "service_tier": null,
  "resources": {
    "cpus": 2,
    "memory_mib": 4096,
    "disk_mib": 32768
  },
  "native_tool_calls": 15,
  "native_bundle": null,
  "architecture": null,
  "backend": "hyperv",
  "platform_details": {
    "backend": "hyperv",
    "os": "linux"
  },
  "platform_conflicts": null,
  "sandbox_source": null,
  "source_pin": {
    "commit": "033e6bd1e0f101352b39075ecd0d758ffef26b76",
    "url": "https://github.com/mmparko/dsh-purge"
  },
  "purpose": "initial",
  "profile": {
    "model": "claude-haiku-5-5",
    "reasoning": "low"
  },
  "fault": {
    "owner": "prerequisite",
    "status": "diagnosed",
    "reason": "No official DeepSeek Harness (dsh) install in the guest; the npm package is also not in the registry"
  },
  "fix_id": null,
  "verifies_run_id": null,
  "hosting": null,
  "operation_scope": "product operation",
  "tool_calls": 15,
  "guest_setup": null,
  "runtime": null,
  "runtime_version": null,
  "runtime_revision": null,
  "source_revision": null,
  "evidence_version": null,
  "failure_origin": null,
  "evidence_strength": "readme_checked",
  "works": "yes",
  "install_s": null,
  "first_use_s": null,
  "mcp": "none",
  "needs": [],
  "needs_which": null,
  "agent_interface": [
    "cli"
  ],
  "license": "MIT",
  "repo_url": "https://github.com/mmparko/dsh-purge",
  "cost_to_try": "free",
  "hardware": null,
  "what_failed": null,
  "local_or_hosted": "local",
  "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": "Entry points inspected (bin/dsh-purge.js, lib/*.js, scripts/*). No cron, --once, --now or scheduler in the CLI. The only setInterval (lib/index.js:816, 400ms) runs inside the plugin runtime injected into an installed DSH host and needs an official DSH install, which is absent in this guest. Not run.",
      "evidence": "Entry points inspected (bin/dsh-purge.js, lib/*.js, scripts/*). No cron, --once, --now or scheduler in the CLI. The only setInterval (lib/index.js:816, 400ms) runs inside the plugin runtime injected into an installed DSH host and needs an official DSH install, which is absent in this guest. Not run.",
      "command": ""
    }
  ],
  "claims": [
    {
      "kind": "claim",
      "claim": "Status command reports DSH_HOME and the patch list",
      "source": "dsh-purge --status",
      "input": "--status",
      "expected": "status output with DSH_HOME and patch count",
      "command": "node bin/dsh-purge.js --status",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: DSH_HOME",
      "evidence": "DSH_HOME      <guest-path>\n  \u63d2\u4ef6\u6839 / root  \u63d2\u4ef6\u6839\u672a\u627e\u5230 / set DSH_BASE\n  shim \u76ee\u5f55      \u672a\u5b9a\u4f4d / not found\n  \u5907\u4efd / backup  \u65e0 / no\n  \u6ce8\u5165\u6587\u4ef6       <guest-path>\n  \u6ce8\u5165\u72b6\u6001       default\n\n  \u8865\u4e01 0/82 \u5df2\u6e05\u6d17, 0 \u5f85\u6e05\u6d17\n    \u00b7 [#1 ] WORKSPACE_CONTEXT_INTRO        \u63d0\u793a\u8bcd/Prompt \u2014 undefined\n    \u00b7 [#2 ] REPLACEMENT_WORKSPACE_CONTEXT_INTRO \u63d0\u793a\u8bcd/Prompt \u2014 undefined\n    \u00b7 [#3 ] SCOPE_INTRO                    \u63d0\u793a\u8bcd/Prompt \u2014 undefined\n    \u00b7 [#4 ] SYSTEM_PROMPT_PERSONA          \u63d0\u793a\u8bcd/Prompt \u2014 undefined\n    \u00b7 [#43] WEB_PRESET_IDENTITY_STRIP      \u63d0\u793a\u8bcd/Prompt \u2014 undefined\n    \u00b7 [#76] PRESET_UNRESTRICTED_IDENTITY_STRIP \u63d0\u793a\u8bcd/",
      "returncode": 0,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "claims_note": null,
  "example_checks": [
    {
      "kind": "example",
      "claim": "Read-only status check of the plugin against a DSH home",
      "source": "README.md Usage",
      "input": "--status",
      "command": "node bin/dsh-purge.js --status",
      "evidence": "mpt \u2014 undefined\n    \u00b7 [#64] HOOKS_STOP_STEER_NEUTRAL       \u5de5\u5177/Tools \u2014 undefined\n    \u00b7 [#65] HOOKS_PRESTEP_REJECT_NEUTRAL   \u5de5\u5177/Tools \u2014 undefined\n    \u00b7 [#78] OVERLAY_RESTORE_FROM_BAK       \u4ee3\u7801/Code \u2014 undefined\n    \u00b7 [#82] DESKTOP_SHELL_PROFILE_FALLBACK \u4ee3\u7801/Code \u2014 undefined\n    \u00b7 [#85] SESSION_PROMPT_ALWAYS_FOLLOWUP \u4ee3\u7801/Code \u2014 undefined\n    \u00b7 [#86] SESSION_STEER_ALWAYS_FOLLOWUP  \u4ee3\u7801/Code \u2014 undefined\n    \u00b7 [#87] HUNG_PROMPT_LF_NEEDLE          \u4ee3\u7801/Code \u2014 undefined\n    \u00b7 [#88] HUNG_PROMPT_STRICT_NEEDLE      \u4ee3\u7801/Code \u2014 undefined\n\n  shim: dsh.cmd=missing  dsh.ps1=missing  dsh=missing\n\n\u9ed8\u8ba4\u4e0d\u6e05\u6d17\uff0c\u4f7f\u7528 --apply \u5e94\u7528\u6e05\u6d17\u3002",
      "deferred": false,
      "expected": "prints status and patch list without applying anything",
      "returncode": 0,
      "verdict": "yes",
      "outcome": "command completed successfully"
    }
  ],
  "does_what_it_says": "yes",
  "maintenance": {
    "last_commit_at": "2026-10-13T05:30:32Z",
    "commits_90d": 231,
    "merged_prs_90d": 0,
    "open_issues": 4,
    "open_prs": 0,
    "reply_share": null,
    "reply_threads": 0,
    "median_reply_hours": null,
    "last_release_at": null,
    "archived": false,
    "verdict": "maintained",
    "note": "actively maintained: last commit 14 days ago; 231 commits and 0 merged PRs in 90 days; 4 open issues, 0 open PRs; no releases"
  },
  "maintenance_verdict": "maintained",
  "maintenance_note": "actively maintained: last commit 14 days ago; 231 commits and 0 merged PRs in 90 days; 4 open issues, 0 open PRs; no releases",
  "maintained": "active",
  "maintained_note": "last commit 14 days ago; 4 open issues, 1 answered or closed",
  "last_commit_at": "2026-10-13T05:50:46Z",
  "last_release_at": null,
  "open_issues": 4,
  "answered_issues": 1,
  "platforms_claimed": [
    "linux",
    "mac",
    "windows"
  ],
  "topic": "agent-harness",
  "agent_interfaces": [
    {
      "interface": "cli",
      "evidence": "independent checker",
      "observed": true,
      "operation_checked": true
    }
  ],
  "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.",
  "mcp_context": null,
  "tested_at": "2026-10-27T14:57:19.221587+00:00",
  "tested_commit": "033e6bd1e0f101352b39075ecd0d758ffef26b76",
  "tested_with": {
    "agent": "claude-code",
    "agent_version": "2.1.310 (Claude Code)",
    "model": "claude-haiku-5-5",
    "model_route": "claude-haiku-5-5",
    "reasoning": "low",
    "os": "linux",
    "backend": "hyperv",
    "transport": "mcp-assigned-vm"
  },
  "setup_identity": {
    "repo": "mmparko/dsh-purge",
    "source": "https://github.com/mmparko/dsh-purge",
    "commit": "033e6bd1e0f101352b39075ecd0d758ffef26b76",
    "source_revision": null,
    "os": "linux",
    "architecture": null,
    "backend": "hyperv",
    "model": "claude-haiku-5-5",
    "model_version": "claude-haiku-5-5",
    "agent_execution": "native_agent",
    "agent_runtime": "claude-code",
    "agent_runtime_version": "2.1.310 (Claude Code)",
    "tool_transport": "mcp-assigned-vm",
    "runtime": null,
    "runtime_version": null,
    "runtime_revision": null,
    "sandbox_source": null,
    "guest_setup": null,
    "source_pin": {
      "commit": "033e6bd1e0f101352b39075ecd0d758ffef26b76",
      "url": "https://github.com/mmparko/dsh-purge"
    },
    "platform_details": {
      "os": "linux",
      "backend": "hyperv"
    },
    "platform_conflicts": null,
    "reasoning": "low",
    "service_tier": null,
    "resources": {
      "cpus": 2,
      "memory_mib": 4096,
      "disk_mib": 32768
    },
    "operation": "Install dsh-purge into the official DeepSeek Harness and Apply the Clean patches",
    "operation_scope": "product operation",
    "hosting": null,
    "kind": "repo",
    "test_version": "readme-d5b140d3c0f8b95c2dd6fe6fc381a303cacb92679582c22317d8e78b572f0cf2",
    "evidence_version": null
  },
  "other_model": null,
  "other_run_id": null,
  "models_agree": null,
  "furthest_model": null,
  "transcript_url": "/transcripts/mmparko--dsh-purge-claude-haiku-5-5-1793112925254577104.txt",
  "report_url": "/reports/mmparko--dsh-purge-claude-haiku-5-5-1793112925254577104.json"
}
