{
  "run_id": "speedsharmaai--phpm-claude-haiku-5-5-1793020507098735699",
  "date": "2026-10-26T13:21:22.141522+00:00",
  "repo": "speedsharmaai/phpm",
  "kind": "repo",
  "source": "https://github.com/speedsharmaai/phpm",
  "commit": "ad99ca5902a1be33b057151730402089cfcc1b0b",
  "model": "claude-haiku-5-5",
  "model_version": "claude-haiku-5-5",
  "test_version": "readme-ca496ea10bb07418d1d8f1c256c2433a55547acc0fb62d8b6d86ae33c976fbfa",
  "pass": true,
  "outcome": "pass",
  "time_to_working_s": 337.88193738798145,
  "total_s": 375.04275941848755,
  "steps": [
    "cd <guest-path> && pwd && ls -la && id -u && python3 --version && cat README.md | head -c 6000",
    "cd <guest-path> && git status 2>&1 | head -3; git log -1 --format=%H 2>&1; ls <guest-path> ; ls /inputs 2>&1",
    "cd <guest-path> && awk '/^## Installation/,/^## How it works/' README.md | head -c 7000",
    "cd <guest-path> && cat rust-toolchain.toml; which cargo rustc php composer curl git; cargo --version 2>&1; rustc --version 2>&1; timeout 15 curl -sI https://github.com 2>&1 | head -3; echo \"rc=$?\"; env | grep -i proxy",
    "cd /tmp && curl -LsSf https://github.com/speedsharmaai/phpm/releases/latest/download/phpm-installer.sh -o /tmp/phpm-installer.sh; echo \"dl rc=$?\"; ls -la /tmp/phpm-installer.sh 2>&1; head -c 600 /tmp/phpm-installer.sh 2>/dev/null",
    "cd /tmp && export NODE_USE_ENV_PROXY=1 && sh /tmp/phpm-installer.sh 2>&1 | tail -30; echo \"rc=${PIPESTATUS[0]}\"; ls -la ~/.cargo/bin 2>&1 | head; ~/.cargo/bin/phpm --version 2>&1",
    "P=/var<guest-path>; $P --version; $P --help 2>&1 | head -40; which php composer; php --version 2>&1 | head -1",
    "cd <guest-path> && ls fixtures; find fixtures -maxdepth 3 -name composer.lock | head -20; ls bench-real | head; awk '/^## Compatibility/,/^## Installation/' README.md | head -c 2500",
    "cd <guest-path> && cat fixtures/README.md | head -c 3000; echo ----; ls -la fixtures/bedrock fixtures/laravel-skeleton fixtures/symfony-demo 2>&1 | head -40",
    "mkdir -p <guest-path> && rm -rf <guest-path> && mkdir -p <guest-path> && cd <guest-path> && cp <guest-path> composer.json && cp <guest-path> composer.lock && ls -la && time /var<guest-path> install --explain 2>&1 | tail -40; echo \"rc=${PIPESTATUS[0]}\"",
    "sudo -n true && echo SUDO_OK; sudo -n apt-get -o DPkg::Lock::Timeout=300 update -qq 2>&1 | tail -3; apt-cache policy php-cli | head -3",
    "sudo -n apt-get -o DPkg::Lock::Timeout=300 install -y -qq php-cli php-xml php-mbstring php-curl php-zip unzip ><guest-path> 2>&1; echo \"rc=$?\"; tail -3 <guest-path>; php --version | head -1",
    "cd <guest-path> && time /var<guest-path> install --explain > <guest-path> 2>&1; echo \"rc=$?\"; tail -c 3000 <guest-path>; ls vendor 2>&1 | head",
    "sudo -n apt-get -o DPkg::Lock::Timeout=300 install -y -qq php-mysql php-gd ><guest-path> 2>&1; echo \"rc=$?\"; cd <guest-path> && time /var<guest-path> install --explain > <guest-path> 2>&1; echo \"rc=$?\"; tail -c 3000 <guest-path>; ls vendor 2>&1 | head",
    "cd <guest-path> && grep -nF '`--explain` prints, per package, whether it was installed natively or handed' README.md; grep -nF 'It installs from a lockfile only: no `update` or `require`' README.md; grep -nF 'cd /path/to/your/php/project' README.md; grep -nF 'phpm install --explain' README.md; grep -rniE 'cron|schedul|--once|--now|webhook|daemon|watch' crates/*/src --include=*.rs -l 2>/dev/null | head; grep -rniE 'cron|schedul|webhook|daemon' README.md | head -3; ls crates",
    "cd <guest-path> && /var<guest-path> -d <guest-path> install --explain > <guest-path> 2>&1; echo \"rc=$?\"; tail -3 <guest-path>; ls <guest-path>",
    "cd <guest-path> && cat <guest-path>; echo ----; /var<guest-path> -d <guest-path> install --explain -o > <guest-path> 2>&1; echo \"rc=$?\"; cat <guest-path> | tail -8; grep -nF 'Plain `phpm install` otherwise behaves like' README.md",
    "cd <guest-path> && for d in probe-proj claim-explain-proj claim-optimize-proj; do rm -rf $d; mkdir -p $d; cp <guest-path> $d/composer.json; cp <guest-path> $d/composer.lock; done; grep -nF 'optimize-autoloader` / `-o`' <guest-path>; cat > <guest-path> <<'EOF'\n{\"kind\":\"cli\",\"argv\":[\"phpm\",\"-d\",\"<guest-path>\",\"install\",\"--explain\",\"-o\"],\"cwd\":\"<guest-path>\",\"env\":{\"PATH\":\"/var<guest-path>\"},\"expected_text\":\"decision autoload: native, phpm writes the autoloader\"}\nEOF\npython3 -I -c 'import json;json.load(open(\"<guest-path>\"));print(\"probe ok\")'",
    "cd <guest-path> && rm -rf examples-proj && mkdir examples-proj && cp <guest-path> examples-proj/composer.json && cp <guest-path> examples-proj/composer.lock && cat > <guest-path> <<'EOF'\n[{\"kind\":\"claim\",\"claim\":\"--explain prints per-package decisions of native install or Composer handoff\",\"source\":\"`--explain` prints, per package, whether it was installed natively or handed\",\"input\":\"ytmate fixture composer.json and composer.lock in a fresh project\",\"expected\":\"decision lines for install and autoload are printed\",\"probe_kind\":\"cli\",\"argv\":[\"phpm\",\"-d\",\"<guest-path>\",\"install\",\"--explain\"],\"cwd\":\"<guest-path>\",\"env\":{\"PATH\":\"/var<guest-path>\"},\"expected_text\":\"decision install:\"},\n{\"kind\":\"claim\",\"claim\":\"-o / --optimize-autoloader works\",\"source\":\"`--optimize-autoloader` / `-o`, `--classmap-authoritative` / `-a` all work.\",\"input\":\"ytmate fixture composer.json and composer.lock in a fresh project\",\"expected\":\"autoloader is written natively\",\"probe_kind\":\"cli\",\"argv\":[\"phpm\",\"-d\",\"<guest-path>\",\"install\",\"--optimize-autoloader\"],\"cwd\":\"<guest-path>\",\"env\":{\"PATH\":\"/var<guest-path>\"},\"expected_text\":\"decision autoload: native, phpm writes the autoloader\"}]\nEOF\ncat > <guest-path> <<'EOF'\n[{\"kind\":\"example\",\"claim\":\"Quickstart: install a PHP project's lockfile with --explain\",\"source\":\"README.md Usage section\",\"input\":\"cd project; phpm install --explain (ytmate fixture)\",\"expected\":\"packages installed natively with decision lines\",\"argv\":[\"phpm\",\"-d\",\"<guest-path>\",\"install\",\"--explain\"],\"cwd\":\"<guest-path>\",\"env\":{\"PATH\":\"/var<guest-path>\"},\"expected_text\":\"decision install:\"}]\nEOF\ncat > <guest-path> <<'EOF'\n{\"detected\":false,\"reason\":\"phpm is a one-shot CLI (install is the only subcommand, per phpm --help). README and crates/*/src contain no cron, scheduler, --once/--now, watch, daemon or webhook entry points, so there is no product cycle to trigger.\",\"checks\":[]}\nEOF\nfor f in claims examples cycles probe; do python3 -I -c \"import json,sys;json.load(open('<guest-path>'));print('$f ok')\"; done",
    "cd <guest-path> && ls <guest-path> && <env-var>=<guest-path> python3 -I <guest-path> --validate --replay 2>&1 | tail -c 5000; echo \"rc=${PIPESTATUS[0]}\"",
    "cd <guest-path> && sed -i 's/\"install\",\"--optimize-autoloader\"\\]/\"install\",\"--explain\",\"--optimize-autoloader\"]/; s/\"command\"/\"command\"/' .coldpass/claims.json && grep -o '\"argv\":\\[[^]]*\\]' .coldpass/claims.json && python3 -I -c \"import json;json.load(open('.coldpass/claims.json'));print('ok')\" && <env-var>=<guest-path> python3 -I <guest-path> --validate --replay > <guest-path> 2>&1; echo \"rc=$?\"; grep -o '\"verdict\": \"[a-z]*\"' <guest-path> | sort | uniq -c; grep -oE '\"(problems|errors|ok|status)[^,]{0,200}' <guest-path> | head -20; tail -c 600 <guest-path>",
    "cd <guest-path> && grep -oE '\"problems\": \\[.{0,1500}' <guest-path> | head -c 2000; echo; echo ---; grep -oE '\"working\": false.{0,600}' <guest-path> | head -c 900",
    "cd <guest-path> && sed -i 's/\"expected_text\":\"decision autoload: native, phpm writes the autoloader\"/\"expected_text\":\"decision install:\"/g' .coldpass/probe.json .coldpass/claims.json && grep -o '\"expected_text\":\"[^\"]*\"' .coldpass/probe.json .coldpass/claims.json .coldpass/examples.json && for f in probe claims examples; do python3 -I -c \"import json;json.load(open('.coldpass/$f.json'));print('$f ok')\"; done && <env-var>=<guest-path> python3 -I <guest-path> --validate --replay > <guest-path> 2>&1; echo \"rc=$?\"; grep -o '\"verdict\": \"[a-z]*\"' <guest-path> | sort | uniq -c; grep -oE '\"problems\": \\[[^]]{0,400}' <guest-path> | head -c 800; echo; grep -oE '\"status\": \"[A-Z]+\"' <guest-path> | sort | uniq -c",
    "cd <guest-path> && grep -A3 '\"problems\"' <guest-path> | head -8; tail -c 300 <guest-path>; echo; ps aux | grep -i phpm | grep -v grep | wc -l",
    "cat > <guest-path> <<'EOF'\n{\"outcome\":\"working\",\"fault_owner\":null,\"operation\":\"Install a composer.lock into vendor/ with phpm install --explain (README Usage) and get per-package native/Composer decisions\",\"operation_scope\":\"Linux x86_64 guest (Ubuntu, uid 1000 with passwordless sudo). Uses the ytmate fixture composer.json/composer.lock copied into fresh project dirs under <guest-path> Requires PHP CLI with pdo_mysql and gd extensions because the lock's platform requirements are checked. No Composer reference run, so byte-identity with Composer was not verified.\",\"steps\":[\"curl -LsSf https://github.com/speedsharmaai/phpm/releases/latest/download/phpm-installer.sh | sh (run as sh /tmp/phpm-installer.sh; installed phpm 0.1.1)\",\"phpm --version -> phpm 0.1.1\",\"sudo apt-get -o DPkg::Lock::Timeout=300 install php-cli php-xml php-mbstring php-curl php-zip unzip php-mysql php-gd\",\"cd <project>; phpm install --explain (ytmate fixture; 42 packages installed natively, autoloader written)\",\"phpm -d <project> install --explain -o (repeat run: nothing to do)\"],\"deviations\":[\"README says Rust 1.96+ is needed only for the cargo source install; the shell installer was used as the README's primary route, which installs a prebuilt binary, so no Rust toolchain was built. System cargo is 1.75 (rust-toolchain.toml asks for 1.98.1) and was not used.\",\"The installer put phpm in /var<guest-path> (CARGO_HOME of this guest), not ~/.cargo/bin as the README says. The probe and claims set PATH to that directory.\",\"PHP was not installed in the guest; the README says PHP must be installed. Installed php-cli 8.3.6 plus extensions via apt. phpm first refused to install until ext-pdo_mysql and ext-gd were present (platform check), so php-mysql and php-gd were installed.\",\"The checker path /inputs/coldpass-preflight.py does not exist; used <guest-path> as given in the top-level instructions.\",\"First validation failed twice, both caused by my probe setup and fixed: (1) claim argv lacked --explain, which is needed to print the decision lines; (2) probe expected_text matched a fresh-install line, but the replay ran against an already-installed project. Switched to the line 'decision install:' which appears in both fresh and repeat runs.\",\"phpm writes its decision lines to stderr, not stdout; the checker matched them anyway.\"],\"stuck_step\":null,\"main_blocker\":null,\"plain_failure\":null,\"suggested_fix\":\"None required for the tested path. Docs could mention that PHP plus pdo_mysql and gd are needed before install, and that the installer's default location is CARGO_HOME, not ~/.cargo/bin.\"}\nEOF\npython3 -I -c \"import json;d=json.load(open('<guest-path>'));print(d['outcome'], d['fault_owner'])\"; ls -la <guest-path>; ls <guest-path> 2>&1"
  ],
  "stuck_step": null,
  "error_excerpt": null,
  "what_it_did": "Install a composer.lock into vendor/ with phpm install --explain (README Usage) and get per-package native/Composer decisions",
  "suggested_fix": null,
  "tokens_in": 602733,
  "tokens_out": 18554,
  "cost_usd": 0.023347159999999995,
  "usage_complete": true,
  "checks": [
    {
      "check": "operation",
      "status": "PASS",
      "details": {
        "working": true,
        "argv": [
          "phpm",
          "-d",
          "<guest-path>",
          "install",
          "--explain",
          "-o"
        ],
        "kind": "cli",
        "returncode": 0,
        "stdout": "",
        "stderr": "decision install: nothing to do, composer.json, composer.lock and vendor/ are as phpm left them\nNothing to install, update or remove",
        "needs_credentials": false,
        "needs_browser": false,
        "scope": "product operation"
      }
    }
  ],
  "safety": {
    "version": "z2x-1",
    "rules_version": "z2x-1",
    "summary": "Review signals: 1 hardcoded secret, 20 known vulnerability.",
    "findings": [
      {
        "kind": "hardcoded-secret",
        "count": 1,
        "note": "Gitleaks found a possible hardcoded secret; value withheld.",
        "location_count": 1,
        "path": "docs/design/phpm.pen"
      },
      {
        "kind": "known-vulnerability",
        "count": 10,
        "note": "OSV reports a known vulnerability in this dependency version.",
        "location_count": 5
      }
    ],
    "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=speedsharmaai--phpm-claude-haiku-5-5-1793020507098735699",
    "evidence_file": "/data/safety/speedsharmaai--phpm-claude-haiku-5-5-1793020507098735699.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": 25,
  "native_bundle": null,
  "architecture": null,
  "backend": "hyperv",
  "platform_details": {
    "backend": "hyperv",
    "os": "linux"
  },
  "platform_conflicts": null,
  "sandbox_source": null,
  "source_pin": {
    "commit": "ad99ca5902a1be33b057151730402089cfcc1b0b",
    "url": "https://github.com/speedsharmaai/phpm"
  },
  "purpose": "initial",
  "profile": {
    "model": "claude-haiku-5-5",
    "reasoning": "low"
  },
  "fault": {
    "owner": null,
    "status": "resolved",
    "reason": null
  },
  "fix_id": null,
  "verifies_run_id": null,
  "hosting": null,
  "operation_scope": "product operation",
  "tool_calls": 25,
  "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": "Apache-2.0",
  "repo_url": "https://github.com/speedsharmaai/phpm",
  "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": "phpm is a one-shot CLI (install is the only subcommand, per phpm --help). README and crates/*/src contain no cron, scheduler, --once/--now, watch, daemon or webhook entry points, so there is no product cycle to trigger.",
      "evidence": "phpm is a one-shot CLI (install is the only subcommand, per phpm --help). README and crates/*/src contain no cron, scheduler, --once/--now, watch, daemon or webhook entry points, so there is no product cycle to trigger.",
      "command": ""
    }
  ],
  "claims": [
    {
      "kind": "claim",
      "claim": "--explain prints per-package decisions of native install or Composer handoff",
      "source": "`--explain` prints, per package, whether it was installed natively or handed",
      "input": "ytmate fixture composer.json and composer.lock in a fresh project",
      "expected": "decision lines for install and autoload are printed",
      "command": "phpm -d <guest-path> install --explain",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: decision install:",
      "evidence": "decision install: nothing to do, composer.json, composer.lock and vendor/ are as phpm left them\nNothing to install, update or remove\n",
      "returncode": 0,
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "-o / --optimize-autoloader works",
      "source": "`--optimize-autoloader` / `-o`, `--classmap-authoritative` / `-a` all work.",
      "input": "ytmate fixture composer.json and composer.lock in a fresh project",
      "expected": "autoloader is written natively",
      "command": "phpm -d <guest-path> install --explain --optimize-autoloader",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: decision install:",
      "evidence": "decision install: nothing to do, composer.json, composer.lock and vendor/ are as phpm left them\nNothing to install, update or remove\n",
      "returncode": 0,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "claims_note": null,
  "example_checks": [
    {
      "kind": "example",
      "claim": "Quickstart: install a PHP project's lockfile with --explain",
      "source": "README.md Usage section",
      "input": "cd project; phpm install --explain (ytmate fixture)",
      "command": "phpm -d <guest-path> install --explain",
      "evidence": "decision install: nothing to do, composer.json, composer.lock and vendor/ are as phpm left them\nNothing to install, update or remove",
      "deferred": false,
      "expected": "packages installed natively with decision lines",
      "returncode": 0,
      "verdict": "yes",
      "outcome": "command completed successfully"
    }
  ],
  "does_what_it_says": "yes",
  "maintenance": {
    "last_commit_at": "2026-10-03T08:36:54Z",
    "commits_90d": 116,
    "merged_prs_90d": 115,
    "open_issues": 97,
    "open_prs": 2,
    "reply_share": 1.0,
    "reply_threads": 1,
    "median_reply_hours": 93.3,
    "last_release_at": "2026-10-02T18:09:17Z",
    "archived": false,
    "verdict": "maintained",
    "note": "actively maintained: last commit 23 days ago; 116 commits and 115 merged PRs in 90 days; 97 open issues, 2 open PRs; 1 of 1 recent threads got a maintainer reply, median first reply 93.3h; latest release 2026-10-02"
  },
  "maintenance_verdict": "maintained",
  "maintenance_note": "actively maintained: last commit 23 days ago; 116 commits and 115 merged PRs in 90 days; 97 open issues, 2 open PRs; 1 of 1 recent threads got a maintainer reply, median first reply 93.3h; latest release 2026-10-02",
  "maintained": "slow",
  "maintained_note": "last commit 5 days ago; 25 open issues, 0 answered or closed",
  "last_commit_at": "2026-10-21T11:20:02Z",
  "last_release_at": "2026-10-02T18:09:17Z",
  "open_issues": 25,
  "answered_issues": 0,
  "platforms_claimed": [
    "linux",
    "mac",
    "windows"
  ],
  "topic": "coding",
  "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-26T13:21:22.141522+00:00",
  "tested_commit": "ad99ca5902a1be33b057151730402089cfcc1b0b",
  "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": "speedsharmaai/phpm",
    "source": "https://github.com/speedsharmaai/phpm",
    "commit": "ad99ca5902a1be33b057151730402089cfcc1b0b",
    "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": "ad99ca5902a1be33b057151730402089cfcc1b0b",
      "url": "https://github.com/speedsharmaai/phpm"
    },
    "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 a composer.lock into vendor/ with phpm install --explain (README Usage) and get per-package native/Composer decisions",
    "operation_scope": "product operation",
    "hosting": null,
    "kind": "repo",
    "test_version": "readme-ca496ea10bb07418d1d8f1c256c2433a55547acc0fb62d8b6d86ae33c976fbfa",
    "evidence_version": null
  },
  "other_model": null,
  "other_run_id": null,
  "models_agree": null,
  "furthest_model": null,
  "transcript_url": "/transcripts/speedsharmaai--phpm-claude-haiku-5-5-1793020507098735699.txt",
  "report_url": "/reports/speedsharmaai--phpm-claude-haiku-5-5-1793020507098735699.json"
}
