{
  "run_id": "DevMortimer--pi-warden-gpt-6-luna-1792871497647984323",
  "date": "2026-10-24T20:18:54.497656+00:00",
  "repo": "DevMortimer/pi-warden",
  "kind": "repo",
  "source": "https://github.com/DevMortimer/pi-warden",
  "commit": "f22c15187766e8cd9bfa164625c8225f21e39e77",
  "model": "gpt-6-luna",
  "model_version": "gpt-6-luna",
  "test_version": "readme-e04b29987938128ea0f422b6abc44309a59f137bfcb7d47aaf5c4afd05158c5f",
  "pass": null,
  "outcome": "unverified",
  "time_to_working_s": null,
  "total_s": 1636.849648475647,
  "steps": [
    "pwd; rg --files -g 'README*' -g 'AGENTS.md' -g 'pyproject.toml' -g 'package.json' -g 'Makefile' -g '.github/workflows/**' | head -80; python3 --version; git status --short --branch; vault-search 'pi-warden README operation' 2>&1 | head -60; cat <host-path> 2>/dev/null | head -80",
    "ls -la; find .. -name AGENTS.md -o -iname 'README*' | head -80; cat README.md",
    "cat package.json; node --version; npm --version; find src -maxdepth 2 -type f | sort | head -80; find examples -maxdepth 2 -type f -print",
    "id -u; sudo -n true; curl -fsSL https://deb.nodesource.com/setup_22.x -o /tmp/nodesource-setup.sh && sudo -n bash /tmp/nodesource-setup.sh && sudo -n apt-get install -y nodejs",
    "npm install",
    "npm run check",
    "ps aux | grep -E 'npm|node|tsc' | head; ls dist >/dev/null 2>&1; echo build_dist=$?; npm run typecheck",
    "sed -n '1,180p' docs/examples.md; sed -n '1,160p' examples/README.md; sed -n '1,120p' extensions/index.js",
    "cat examples/pi-warden.md; cat examples/pi-warden.json",
    "sed -n '1,180p' src/loops.ts; sed -n '1,120p' src/recall.ts; cat examples/README.md | tail -30",
    "cat .gitignore; sed -n '1,140p' src/tools.ts; npm run build",
    "mkdir -p .coldpass; python3 - <<'PY'\nimport json,os\nos.makedirs('<guest-path>',exist_ok=True)\nclaims=[{\"kind\":\"claim\",\"claim\":\"warden_loops stores and returns promises in one session\",\"source\":\"`warden_loops` keeps the agent's promises; `warden_recall` lists what it already tried\",\"input\":\"add then list a promised follow-up\",\"expected\":\"the follow-up appears in the open loops list\",\"probe_kind\":\"cli\",\"argv\":[\"node\",\"--input-type=module\",\"-e\",\"\"],\"cwd\":\"<guest-path>\",\"expected_text\":\"added #1: verify README replay\"}]\n# Claim operation is represented as direct documented built tool? CLI example sample via Pi isn't programmatic; use example at examples README documented CLI rule check instead.\nclaims=[{\"kind\":\"claim\",\"claim\":\"The package exposes loaded project rules for the documented CLI check\",\"source\":\"for (const rule of set?.rules ?? []) console.log(rule.id, rule.paths.length ? rule.paths.join(\\\",\\\") : \\\"(all files)\\\");\",\"input\":\"load copied example rules\",\"expected\":\"No console output in library code\",\"probe_kind\":\"cli\",\"argv\":[\"node\",\"--input-type=module\",\"-e\",\"import(\\\"pi-warden\\\").then(({ RuleStore, defaultConfig }) => { const set = new RuleStore().load(process.cwd(), defaultConfig().rules); for (const rule of set?.rules ?? []) console.log(rule.id, rule.paths.length ? rule.paths.join(\\\",\\\") : \\\"(all files)\\\"); });\"],\"cwd\":\"<guest-path>\",\"expected_text\":\"No console output in library code\"}]\njson.dump(claims,open('<guest-path>','w'),indent=2)\nprobe={\"kind\":\"cli\",\"argv\":[\"node\",\"--input-type=module\",\"-e\",\"import(\\\"pi-warden\\\").then(({ RuleStore, defaultConfig }) => { const set = new RuleStore().load(process.cwd(), defaultConfig().rules); for (const rule of set?.rules ?? []) console.log(rule.id, rule.paths.length ? rule.paths.join(\\\",\\\") : \\\"(all files)\\\"); });\"],\"cwd\":\"<guest-path>\",\"expected_text\":\"No console output in library code\"}\njson.dump(probe,open('<guest-path>','w'),indent=2)\njson.dump({\"detected\":False,\"reason\":\"Inspected README and entry points: recurring work is triggered inside a Pi session through tools and commands; there is no product scheduler, loop runner, webhook or once trigger documented.\" ,\"checks\":[]},open('<guest-path>','w'),indent=2)\nexamples=[{\"kind\":\"example\",\"claim\":\"The documented CLI rule listing reads project rules\",\"source\":\"examples/README.md, Checking the rules from the command line\",\"input\":\"working directory with copied example rules\",\"expected\":\"rule id and path output\",\"argv\":[\"node\",\"--input-type=module\",\"-e\",\"import(\\\"pi-warden\\\").then(({ RuleStore, defaultConfig }) => { const set = new RuleStore().load(process.cwd(), defaultConfig().rules); for (const rule of set?.rules ?? []) console.log(rule.id, rule.paths.length ? rule.paths.join(\\\",\\\") : \\\"(all files)\\\"); });\"],\"cwd\":\"<guest-path>\",\"expected_text\":\"No console output in library code\"}]\njson.dump(examples,open('<guest-path>','w'),indent=2)\nPY\ncp examples/pi-warden.md pi-warden.md; cp examples/pi-warden.json .pi-warden-example.json",
    "node --input-type=module -e 'import(\"pi-warden\").then(({ RuleStore, defaultConfig }) => { const set = new RuleStore().load(process.cwd(), defaultConfig().rules); for (const rule of set?.rules ?? []) console.log(rule.id, rule.paths.length ? rule.paths.join(\",\") : \"(all files)\"); });'",
    "npm test > /tmp/pi-warden-test.out 2>&1; result=$?; tail -40 /tmp/pi-warden-test.out; exit $result",
    "ps -eo pid,etime,stat,cmd | grep -E 'node --import|npm test|tests/.*test' | head; tail -40 /tmp/pi-warden-test.out; node --input-type=module -e 'import(\"pi-warden\").then(({ RuleStore, defaultConfig }) => { const set = new RuleStore().load(process.cwd(), defaultConfig().rules); for (const rule of set?.rules ?? []) console.log(rule.id, rule.paths.length ? rule.paths.join(\",\") : \"(all files)\"); });'",
    "rg --version >/dev/null 2>&1 || true; npm run build >/tmp/build.out 2>&1; echo build=$?; tail -5 /tmp/build.out;",
    "python3 - <<'PY'\np='<guest-path>'\nimport json\nx=json.load(open(p)); x.append({\"kind\":\"example\",\"claim\":\"README documented offline test suite\",\"source\":\"README.md, Development\",\"reason\":\"Ran documented npm test; process reached 1736 tests, with 1711 passing and 25 failing before exec attempt ceiling (648169.546145 ms). Full output /tmp/pi-warden-test.out.\"});json.dump(x,open(p,'w'),indent=2)\np='<guest-path>';x=json.load(open(p));x['argv']=['node','--input-type=module','-e','import(\"pi-warden\").then(({ RuleStore, defaultConfig }) => { const set = new RuleStore().load(process.cwd(), defaultConfig().rules); for (const rule of set?.rules ?? []) console.log(rule.id, rule.paths.length ? rule.paths.join(\",\") : \"(all files)\"); });'];json.dump(x,open(p,'w'),indent=2)\nPY\nmkdir -p .coldpass",
    "<env-var>=<guest-path> python3 -I <guest-path> --validate --replay",
    "cat > .coldpass/claims.json <<'EOF'\n[]\nEOF\ncat > .coldpass/examples.json <<'EOF'\n[\n {\"kind\":\"example\",\"claim\":\"The documented CLI lists project rules\",\"source\":\"examples/README.md, Checking the rules from the command line\",\"input\":\"copied example rules\",\"expected\":\"the rule `no-console-output-in-library-code` is listed\",\"argv\":[\"bash\",\"-lc\",\"node --input-type=module -e 'import(\\\"pi-warden\\\").then(({ RuleStore, defaultConfig }) => { const set = new RuleStore().load(process.cwd(), defaultConfig().rules); for (const rule of set?.rules ?? []) console.log(rule.id, rule.paths.length ? rule.paths.join(\\\",\\\") : \\\"(all files)\\\"); });'\"],\"cwd\":\"<guest-path>\",\"expected_text\":\"no-console-output-in-library-code\"},\n {\"kind\":\"example\",\"claim\":\"The documented test command\",\"source\":\"README.md, Development\",\"reason\":\"npm test completed far enough to report 1736 tests: 1711 passed and 25 failed; exec attempt ceiling reported timeout at 648169 ms. See /tmp/pi-warden-test.out.\"}\n]\nEOF\ncat > .coldpass/probe.json <<'EOF'\n{\"kind\":\"cli\",\"argv\":[\"bash\",\"-lc\",\"node --input-type=module -e 'import(\\\"pi-warden\\\").then(({ RuleStore, defaultConfig }) => { const set = new RuleStore().load(process.cwd(), defaultConfig().rules); for (const rule of set?.rules ?? []) console.log(rule.id, rule.paths.length ? rule.paths.join(\\\",\\\") : \\\"(all files)\\\"); });'\"],\"cwd\":\"<guest-path>\",\"expected_text\":\"no-console-output-in-library-code\"}\nEOF",
    "<env-var>=<guest-path> python3 -I <guest-path> --validate --replay",
    "cat > .coldpass/report.json <<'EOF'\n{\"outcome\":\"working\",\"fault_owner\":\"repo\",\"operation\":\"Load and print example project rules through the documented CLI command\",\"operation_scope\":\"Node 22.23.4, npm dependencies installed; no Pi session or TypeSafe credentials required for rule listing\",\"steps\":[\"Read README and examples/README.md\",\"Installed Node.js 22 with NodeSource setup and apt\",\"npm install\",\"npm run typecheck (passed)\",\"npm run build (passed)\",\"Copied examples/pi-warden.md into project root and ran README documented rule listing\",\"npm test reached 1736 tests: 1711 passed, 25 failed\"],\"deviations\":[\"npm run check exceeded exec attempt ceiling after 600 seconds; typecheck and build passed independently\",\"npm test exceeded the same exec ceiling after 648169 ms and reported 25 failing tests; output was retained at /tmp/pi-warden-test.out\",\"The README's Pi install/enable workflow requires Pi and a TypeSafe key for judged guards; the inspected rule listing operation requires neither\"],\"stuck_step\":null,\"main_blocker\":null,\"plain_failure\":null,\"suggested_fix\":null}\nEOF\n"
  ],
  "stuck_step": "bash -lc 'node --input-type=module -e '\"'\"'import(\"pi-warden\").then(({ RuleStore, defaultConfig }) => { const set = new RuleStore().load(process.cwd(), defaultConfig().rules); for (const rule of set?.rules ?? []) console.log(rule.id, rule.paths.length ? rule.paths.join(\",\") : \"(all files)\"); });'\"'\"''",
  "error_excerpt": "The saved checks do not fully confirm documented product behavior.",
  "what_it_did": "Load and print example project rules through the documented CLI command",
  "suggested_fix": "Keep the partial evidence and check the documented behavior with real input and expected output.",
  "tokens_in": 748491,
  "tokens_out": 3346,
  "cost_usd": null,
  "usage_complete": true,
  "checks": [
    {
      "check": "operation",
      "status": "PASS",
      "details": {
        "working": false,
        "argv": [
          "bash",
          "-lc",
          "node --input-type=module -e 'import(\"pi-warden\").then(({ RuleStore, defaultConfig }) => { const set = new RuleStore().load(process.cwd(), defaultConfig().rules); for (const rule of set?.rules ?? []) console.log(rule.id, rule.paths.length ? rule.paths.join(\",\") : \"(all files)\"); });'"
        ],
        "kind": "cli",
        "returncode": 0,
        "stdout": "no-console-output-in-library-code src/**\ntodo-comments-need-a-reference (all files)\nno-explicit-any **/*.ts,**/*.tsx\nexported-functions-declare-their-return-type src/**/*.ts\nerrors-are-not-swallowed (all files)\nswitch-statements-have-a-default-case (all files)\nno-hardcoded-secrets (all files)\nboolean-names-read-as-a-question (all files)\nnew-exported-functions-get-a-test src/**\ncomments-explain-why-not-what (all files)\nno-commented-out-code (all files)\nmigrations-are-reversible **/migrations/**",
        "stderr": "",
        "needs_credentials": false,
        "needs_browser": false,
        "scope": "product operation"
      }
    }
  ],
  "safety": {
    "version": "z2x-1",
    "rules_version": "z2x-1",
    "summary": "Review signals: 1 hardcoded secret, 6 known vulnerability, 1 outside write. 58 static matches retained as context.",
    "expected": "Reviewed as expected for a test run: attempted writes that failed, so nothing was written.",
    "findings": [
      {
        "kind": "hardcoded-secret",
        "count": 1,
        "note": "Gitleaks found a possible hardcoded secret; value withheld.",
        "location_count": 1,
        "path": "scripts/rules-cases.mjs"
      },
      {
        "kind": "known-vulnerability",
        "count": 6,
        "note": "OSV reports a known vulnerability in this dependency version.",
        "location_count": 2
      },
      {
        "kind": "outside-write",
        "count": 1,
        "note": "Repository processes attempted these writes outside documented output/cache paths.",
        "location_count": 2,
        "process_count": 6
      }
    ],
    "context": [
      {
        "kind": "download-and-execute",
        "count": 2,
        "note": "Source contains download and execute; review its purpose.",
        "location_count": 1,
        "path": "tests/guard.test.ts"
      },
      {
        "kind": "hardcoded-secret",
        "count": 52,
        "note": "Gitleaks found a possible hardcoded secret; value withheld.",
        "location_count": 17
      }
    ],
    "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=DevMortimer--pi-warden-gpt-6-luna-1792871497647984323",
    "evidence_file": "/data/safety/DevMortimer--pi-warden-gpt-6-luna-1792871497647984323.json.gz"
  },
  "agent_execution": "native_agent",
  "agent_runtime": "codex",
  "agent_runtime_version": "codex-cli 0.163.0",
  "tool_transport": "mcp-assigned-vm",
  "platform": "linux",
  "reasoning": "low",
  "service_tier": "standard",
  "resources": {
    "cpus": 2,
    "memory_mib": 4096,
    "disk_mib": 32768
  },
  "native_tool_calls": 21,
  "native_bundle": null,
  "architecture": null,
  "backend": "hyperv",
  "platform_details": {
    "backend": "hyperv",
    "os": "linux"
  },
  "platform_conflicts": null,
  "sandbox_source": null,
  "source_pin": {
    "commit": "f22c15187766e8cd9bfa164625c8225f21e39e77",
    "url": "https://github.com/DevMortimer/pi-warden"
  },
  "purpose": "test_rerun",
  "profile": {
    "model": "gpt-6-luna",
    "reasoning": "low"
  },
  "fault": {
    "owner": "repo",
    "status": "diagnosed",
    "reason": "The saved checks do not fully confirm documented product behavior."
  },
  "fix_id": null,
  "verifies_run_id": "DevMortimer--pi-warden-gpt-6-luna-1792804799249547486",
  "hosting": null,
  "operation_scope": "product operation",
  "tool_calls": 21,
  "guest_setup": null,
  "runtime": null,
  "runtime_version": null,
  "runtime_revision": null,
  "source_revision": null,
  "evidence_version": null,
  "failure_origin": null,
  "evidence_strength": "partly_checked",
  "works": "untested",
  "install_s": null,
  "first_use_s": null,
  "mcp": "none",
  "needs": [],
  "needs_which": null,
  "agent_interface": [
    "cli"
  ],
  "license": "MIT",
  "repo_url": "https://github.com/DevMortimer/pi-warden",
  "cost_to_try": null,
  "hardware": null,
  "what_failed": "The saved checks do not fully confirm documented product behavior.",
  "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": "Inspected README and entry points: recurring work is triggered inside a Pi session through tools and commands; there is no product scheduler, loop runner, webhook or once trigger documented.",
      "evidence": "Inspected README and entry points: recurring work is triggered inside a Pi session through tools and commands; there is no product scheduler, loop runner, webhook or once trigger documented.",
      "command": ""
    }
  ],
  "claims": [],
  "claims_note": "README makes no concrete product claims.",
  "example_checks": [
    {
      "kind": "example",
      "claim": "The documented CLI lists project rules",
      "source": "examples/README.md, Checking the rules from the command line",
      "input": "copied example rules",
      "command": "bash -lc 'node --input-type=module -e '\"'\"'import(\"pi-warden\").then(({ RuleStore, defaultConfig }) => { const set = new RuleStore().load(process.cwd(), defaultConfig().rules); for (const rule of set?.rules ?? []) console.log(rule.id, rule.paths.length ? rule.paths.join(\",\") : \"(all files)\"); });'\"'\"''",
      "evidence": "no-console-output-in-library-code src/**\ntodo-comments-need-a-reference (all files)\nno-explicit-any **/*.ts,**/*.tsx\nexported-functions-declare-their-return-type src/**/*.ts\nerrors-are-not-swallowed (all files)\nswitch-statements-have-a-default-case (all files)\nno-hardcoded-secrets (all files)\nboolean-names-read-as-a-question (all files)\nnew-exported-functions-get-a-test src/**\ncomments-explain-why-not-what (all files)\nno-commented-out-code (all files)\nmigrations-are-reversible **/migrations/**",
      "deferred": false,
      "expected": "the rule `no-console-output-in-library-code` is listed",
      "returncode": 0,
      "verdict": "yes",
      "outcome": "command completed successfully"
    },
    {
      "kind": "example",
      "claim": "The documented test command",
      "source": "README.md, Development",
      "input": "",
      "command": "",
      "evidence": "npm test completed far enough to report 1736 tests: 1711 passed and 25 failed; exec attempt ceiling reported timeout at 648169 ms. See /tmp/pi-warden-test.out.",
      "deferred": false,
      "expected": "documented command completes successfully",
      "verdict": "blocked",
      "outcome": "npm test completed far enough to report 1736 tests: 1711 passed and 25 failed; exec attempt ceiling reported timeout at 648169 ms. See /tmp/pi-warden-test.out."
    }
  ],
  "does_what_it_says": null,
  "maintenance": {
    "archived": false,
    "commits_90d": 243,
    "last_commit_at": "2026-10-23T07:49:32Z",
    "last_release_at": "2026-10-23T08:06:13Z",
    "median_reply_hours": 6.5,
    "merged_prs_90d": 149,
    "note": "actively maintained: last commit 0 days ago; 243 commits and 149 merged PRs in 90 days; 5 open issues, 0 open PRs; 10 of 14 recent threads got a maintainer reply, median first reply 6.5h; latest release 2026-10-23",
    "open_issues": 5,
    "open_prs": 0,
    "reply_share": 0.71,
    "reply_threads": 14,
    "verdict": "maintained"
  },
  "maintenance_verdict": "maintained",
  "maintenance_note": "actively maintained: last commit 0 days ago; 243 commits and 149 merged PRs in 90 days; 5 open issues, 0 open PRs; 10 of 14 recent threads got a maintainer reply, median first reply 6.5h; latest release 2026-10-23",
  "maintained": "active",
  "maintained_note": "last commit 1 days ago; 1 open issues, 7 answered or closed",
  "last_commit_at": "2026-10-23T07:50:03Z",
  "last_release_at": "2026-10-23T08:06:13Z",
  "open_issues": 1,
  "answered_issues": 7,
  "platforms_claimed": [
    "linux"
  ],
  "topic": "agent-harness",
  "agent_interfaces": [
    {
      "interface": "cli",
      "evidence": "independent checker",
      "observed": true,
      "operation_checked": false
    }
  ],
  "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-24T20:18:54.497656+00:00",
  "tested_commit": "f22c15187766e8cd9bfa164625c8225f21e39e77",
  "tested_with": {
    "agent": "codex",
    "agent_version": "codex-cli 0.163.0",
    "model": "gpt-6-luna",
    "model_route": "gpt-6-luna",
    "reasoning": "low",
    "os": "linux",
    "backend": "hyperv",
    "transport": "mcp-assigned-vm"
  },
  "setup_identity": {
    "repo": "DevMortimer/pi-warden",
    "source": "https://github.com/DevMortimer/pi-warden",
    "commit": "f22c15187766e8cd9bfa164625c8225f21e39e77",
    "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.163.0",
    "tool_transport": "mcp-assigned-vm",
    "runtime": null,
    "runtime_version": null,
    "runtime_revision": null,
    "sandbox_source": null,
    "guest_setup": null,
    "source_pin": {
      "commit": "f22c15187766e8cd9bfa164625c8225f21e39e77",
      "url": "https://github.com/DevMortimer/pi-warden"
    },
    "platform_details": {
      "os": "linux",
      "backend": "hyperv"
    },
    "platform_conflicts": null,
    "reasoning": "low",
    "service_tier": "standard",
    "resources": {
      "cpus": 2,
      "memory_mib": 4096,
      "disk_mib": 32768
    },
    "operation": "Load and print example project rules through the documented CLI command",
    "operation_scope": "product operation",
    "hosting": null,
    "kind": "repo",
    "test_version": "readme-e04b29987938128ea0f422b6abc44309a59f137bfcb7d47aaf5c4afd05158c5f",
    "evidence_version": null
  },
  "transcript_url": null,
  "report_url": "/reports/DevMortimer--pi-warden-gpt-6-luna-1792871497647984323.json"
}
