{
  "schema_version": 1,
  "run_id": "Archolith--menhir-claude-haiku-5-5-1796067953338241399",
  "date": "2026-11-30T19:55:57.894346+00:00",
  "repo": "Archolith/menhir",
  "model": "claude-haiku-5-5",
  "kind": "mcp",
  "mcp": "local",
  "commit": "98e8aed0044bc30cb5c6fa1635aed4d5751b96b5",
  "outcome": "pass",
  "time_to_working_s": 532.7868629390141,
  "install_s": 103.098,
  "first_use_s": 268.201,
  "stuck_step": "run",
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "Start Menhir in degraded queue-only mode (menhir up --allow-degraded) against a local Neo4j 5.26 and queue a memory through the documented stdio MCP bridge (add_memory), which returned 'Queued. episode_id=...'",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "Menhir's opening description: Git records what changed.",
      "source": "> Git records what changed.",
      "input": "{\"tool\": \"add_memory\", \"arguments\": {\"text\": \"Alice maintains the billing service and deploys it every Friday.\", \"source\": \"coldpass\"}}",
      "expected": "add_memory returns a queued episode id",
      "command": "<guest-path> -m menhir.mcp.server tools/call {\"tool\": \"add_memory\", \"arguments\": {\"text\": \"Alice maintains the billing service and deploys it every Friday.\", \"source\": \"coldpass\"}}",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: Queued. episode_id=",
      "evidence": "…Queued. episode_id=f567e49f-d42b-4daa-8561-be1152630579, state=PENDING, nodes=1, edges=0, queue_depth=0, active_enriching=0, scheduler=unknown\"}], \"isError\": false}",
      "cwd": "<guest-path>",
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "add_memory queues an episode for entity and relationship extraction",
      "source": "`add_memory` queues an episode for entity and relationship extraction.",
      "input": "{\"tool\": \"add_memory\", \"arguments\": {\"text\": \"Alice maintains the billing service and deploys it every Friday.\", \"source\": \"coldpass\"}}",
      "expected": "Queued. episode_id= returned by the stdio MCP tool",
      "command": "<guest-path> -m menhir.mcp.server tools/call {\"tool\": \"add_memory\", \"arguments\": {\"text\": \"Alice maintains the billing service and deploys it every Friday.\", \"source\": \"coldpass\"}}",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: Queued. episode_id=",
      "evidence": "…Queued. episode_id=5f47c937-63cb-47cb-999c-d17e4c753ce8, state=PENDING, nodes=1, edges=0, queue_depth=0, active_enriching=0, scheduler=unknown\"}], \"isError\": false}",
      "cwd": "<guest-path>",
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "add_memory queues an episode for entity and relationship extraction",
      "source": "README.md: Or use the REST API (POST /api/memory)",
      "input": "Alice maintains the billing service and deploys it every Friday.",
      "command": "curl -fsS -m 20 -X POST http://127.0.0.1:8100/api/memory -H 'Content-Type: application/json' -d '{\"episode\": \"Alice maintains the billing service and deploys it every Friday.\", \"source\": \"curl\"}'",
      "evidence": "{\"episode_id\":\"07b382d1-3f9c-44b1-815c-52ee48604218\",\"idempotent_replay\":false,\"processing_state\":null,\"status\":\"queued\",\"session_id\":\"remote-api-8c3ae02f03916e92\",\"flagged\":false,\"bootstrap_scope\":null,\"error\":null,\"warning\":null,\"retry\":null,\"timed_out\":false,\"entities_linked\":null}",
      "deferred": false,
      "expected": "status queued with an episode_id",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "{\"episode_id\":\"07b382d1-3f9c-44b1-815c-52ee48604218\",\"idempotent_replay\":false,\"processing_state\":null,\"status\":\"queued\",\"session_id\":\"remote-api-8c3ae02f03916e92\",\"flagged\":false,\"bootstrap_scope\":null,\"error\":null,\"warning\":null,\"retry\":null,\"timed_out\":false,\"entities_linked\":null}",
      "stderr": "",
      "output_truncated": false,
      "verdict": "yes",
      "outcome": "command completed successfully"
    }
  ],
  "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.md and the entrypoints: the README describes a project watcher that checks indexed projects every 30 minutes and an hourly scheduler job that sends new contradictions to the LLM for confirmation. No documented manual --once or --now trigger was found in the menhir CLI (menhir --help, saga, ingest-wiki) or the README. The hourly conflict review needs a configured LLM model, which is unavailable in this guest (startup_mode degraded_queue_only), and the interval is too long to wait for within the time budget, so no cycle was triggered.",
      "evidence": "Inspected README.md and the entrypoints: the README describes a project watcher that checks indexed projects every 30 minutes and an hourly scheduler job that sends new contradictions to the LLM for confirmation. No documented manual --once or --now trigger was found in the menhir CLI (menhir --help, saga, ingest-wiki) or the README. The hourly conflict review needs a configured LLM model, which is unavailable in this guest (startup_mode degraded_queue_only), and the interval is too long to wait for within the time budget, so no cycle was triggered.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "a063909345bba3fa639c59eff1dec9a25fba7872",
    "ci_read_at": "2026-11-15T20:26:11Z",
    "ci_state": "SUCCESS",
    "commits_90d": 1693,
    "last_commit_at": "2026-11-08T17:33:37Z",
    "last_release_at": "2026-11-08T18:14:17Z",
    "median_reply_hours": null,
    "merged_prs_90d": 284,
    "note": "actively maintained: last commit 0 days ago; 1693 commits and 284 merged PRs in 90 days; 145 open issues, 3 open PRs; latest release 2026-11-08",
    "open_issues": 145,
    "open_prs": 3,
    "reply_share": null,
    "reply_threads": 0,
    "verdict": "maintained"
  },
  "dependencies": [
    "Python 3.12.3 (system python3)",
    "archolith-menhir 0.3.12 from source checkout",
    "Neo4j 5.26.0 community + APOC core 5.26.0",
    "OpenJDK 21",
    "OpenAI-compatible LLM endpoint or OPENAI_API_KEY (not available)"
  ],
  "local_or_hosted": "local",
  "readme_deviations": [
    "README's primary install path is pip install archolith-menhir and menhir up --compose-neo4j; Docker is not available in the guest, so Neo4j was run from the official tarball and .env was pointed at it, as the README's 'existing Neo4j' path allows.",
    "menhir setup in a checkout wrote .env into the checkout and set core.hooksPath=.githooks, not MENHIR_STATE_DIR.",
    "The MCP add_memory tool takes 'text' (per its schema), while the REST POST /api/memory takes 'episode'; the README's REST example uses 'episode' and works as documented."
  ],
  "safety": {
    "version": "z2x-1",
    "summary": "Review signals: 1 connection review, 6 hardcoded secret. 4 static matches retained as 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."
    ]
  },
  "observed": {
    "traced": true,
    "trace_truncated": false,
    "network_rule": true,
    "unsorted_contacts": false,
    "protocols_recorded": true,
    "lookups_recorded": true,
    "unsorted_blocked_ports": [],
    "contacts": [
      {
        "to": "57.150.192.193",
        "port": "443",
        "rule": null,
        "programs": [
          "menhir"
        ],
        "names": [
          "openaipublic.blob.core.windows.net"
        ]
      }
    ],
    "contacts_not_listed": 0,
    "lookups": [
      {
        "owner": "installer",
        "programs": [
          "git-remote-https"
        ],
        "names": [
          "github.com"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "http"
        ],
        "names": [
          "_http._tcp.archive.ubuntu.com",
          "archive.ubuntu.com",
          "security.ubuntu.com",
          "our local network"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "python"
        ],
        "names": [
          "files.pythonhosted.org",
          "pypi.org"
        ]
      },
      {
        "owner": "repo",
        "programs": [
          "menhir"
        ],
        "names": [
          "openaipublic.blob.core.windows.net"
        ]
      }
    ],
    "credential_reads": [],
    "outside_writes": 0,
    "download_and_run_lines": 0,
    "malware_advisories": [],
    "vulnerabilities": [],
    "secrets": 10,
    "secrets_in_tests": 4,
    "download_lines_in_tests": 0,
    "dependency_versions": 122,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": {
      "counts": {},
      "paths": []
    },
    "installed": {
      "packages": 113,
      "malicious": [],
      "vulnerabilities": [
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-4xh5-x5gv-qwph"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-58qw-9mgm-455v"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-6vgw-5pg2-w6jp"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-jp4c-xjxw-mgf9"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-qwm4-qh6w-59xr"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-wf93-45jw-7689"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-1795"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-1796"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-196"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-2875"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-2876"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-3721"
        }
      ]
    },
    "installed_inventory": true,
    "installed_partial": false
  },
  "platform": "linux",
  "test_version": "readme-c3548b1d4d95f8d0e8e8f4a75365640c198e1b37314d19d0037881958636427a",
  "touched": {
    "evidence_file": "touched.json.gz",
    "linked_files": [
      "agent-events.jsonl.gz",
      "command-output.jsonl.gz"
    ],
    "network": {
      "allowed_hosts": [
        "archive.ubuntu.com",
        "files.pythonhosted.org",
        "openaipublic.blob.core.windows.net",
        "pypi.org",
        "security.ubuntu.com"
      ],
      "blocked_hosts": [],
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [
        "archive.ubuntu.com",
        "files.pythonhosted.org",
        "openaipublic.blob.core.windows.net",
        "pypi.org",
        "security.ubuntu.com"
      ],
      "package_registries": [
        "archive.ubuntu.com",
        "files.pythonhosted.org",
        "pypi.org",
        "security.ubuntu.com"
      ],
      "private_address_attempts": 0,
      "recorded": true,
      "repo_hosts": [
        "openaipublic.blob.core.windows.net"
      ],
      "unanswered_hosts": [],
      "unattributed": [],
      "hosts_withheld": 5
    },
    "secret_files": {
      "opened_by_agent": [
        "~/.env"
      ],
      "opened_by_other": [],
      "opened_by_repo": [],
      "planted": [
        "~/.env",
        "~/.ssh/id_ed25519",
        "~/.aws/credentials",
        "~/.config/gh/hosts.yml"
      ],
      "recorded": true
    },
    "version": 1
  },
  "evidence_strength": "readme_checked"
}
