{
  "checker": {
    "claims": [
      {
        "claim": "Headless one-shot prompt prints the agent reply to stdout",
        "command": "<guest-path> -p --dangerously-skip-permissions 'say hi'",
        "evidence": "LOADN_E2E_OK_7731\n\n2026-10-28 13:39:24,415 loadn.tools.grep WARNING rg \u4e0d\u53ef\u7528\u2014\u2014Grep \u8d70\u7eaf Python \u626b\u63cf\u515c\u5e95\uff08\u901f\u5ea6\u6162\uff0crg -g/--multiline \u53c2\u6570\u8bed\u4e49\u964d\u7ea7\uff1aglob \u4ecd\u751f\u6548\u3001multiline \u9010\u884c\u8fd1\u4f3c\uff09\n2026-10-28 13:39:24,470 loadn.core.models WARNING \u6a21\u578b 'fake' \u4e0d\u5728\u76ee\u5f55\uff08models.json\uff09\u2014\u2014\u7a97\u53e3\u6309\u4fdd\u5b88 128k \u4f30\u7b97\uff08\u8865\u76ee\u5f55\u53ef\u6d88\u9664\u672c\u544a\u8b66\uff09\n2026-10-28 13:39:24,470 loadn.core.cache_warmer INFO cache-warm \u4e0d\u53d1\uff1acache economics unavailable\uff08\u76ee\u5f55\u65e0\u4ef7\u683c\uff09\n",
        "expected": "reply text printed",
        "input": "say hi",
        "kind": "claim",
        "outcome": "Real input produced the expected result: LOADN_E2E_OK_7731",
        "returncode": 0,
        "source": "# one-shot, human-readable output",
        "source_checked": true,
        "source_file": "README.md",
        "verdict": "yes"
      }
    ],
    "cycle_checks": [
      {
        "claim": "Scheduled or looping main behavior",
        "command": "",
        "evidence": "Inspected README.md and entrypoints. The only scheduler (loadn_webui/scheduler.py, tick()/_loop every CHECK_INTERVAL, exposed via 'loadn-web schedule') belongs to the loadn-web platform, which needs the webui extra, database init and a server; the engine quickstart has no cron/--once/--now trigger. Not exercised.",
        "expected": "identify the product trigger",
        "input": "source inspection",
        "kind": "cycle",
        "outcome": "Inspected README.md and entrypoints. The only scheduler (loadn_webui/scheduler.py, tick()/_loop every CHECK_INTERVAL, exposed via 'loadn-web schedule') belongs to the loadn-web platform, which needs the webui extra, database init and a server; the engine quickstart has no cron/--once/--now trigger. Not exercised.",
        "source": "repository entry points",
        "verdict": "yes"
      }
    ],
    "details": {
      "argv": [
        "<guest-path>",
        "-p",
        "--dangerously-skip-permissions",
        "say hi"
      ],
      "kind": "cli",
      "needs_browser": false,
      "needs_credentials": false,
      "returncode": 0,
      "scope": "product operation",
      "stderr": "2026-10-28 13:39:20,751 loadn.tools.grep WARNING rg \u4e0d\u53ef\u7528\u2014\u2014Grep \u8d70\u7eaf Python \u626b\u63cf\u515c\u5e95\uff08\u901f\u5ea6\u6162\uff0crg -g/--multiline \u53c2\u6570\u8bed\u4e49\u964d\u7ea7\uff1aglob \u4ecd\u751f\u6548\u3001multiline \u9010\u884c\u8fd1\u4f3c\uff09\n2026-10-28 13:39:20,809 loadn.core.models WARNING \u6a21\u578b 'fake' \u4e0d\u5728\u76ee\u5f55\uff08models.json\uff09\u2014\u2014\u7a97\u53e3\u6309\u4fdd\u5b88 128k \u4f30\u7b97\uff08\u8865\u76ee\u5f55\u53ef\u6d88\u9664\u672c\u544a\u8b66\uff09\n2026-10-28 13:39:20,810 loadn.core.cache_warmer INFO cache-warm \u4e0d\u53d1\uff1acache economics unavailable\uff08\u76ee\u5f55\u65e0\u4ef7\u683c\uff09",
      "stdout": "LOADN_E2E_OK_7731\n",
      "working": true
    },
    "evidence_strength": "readme_checked",
    "example_checks": [
      {
        "claim": "Structured JSON result output from the headless quickstart",
        "command": "<guest-path> -p --output-format json --dangerously-skip-permissions 'say hi'",
        "deferred": false,
        "evidence": "t_tokens\": 10000, \"cache_creation_input_tokens\": 0}, \"modelUsage\": {\"fake\": {\"inputTokens\": 1000, \"outputTokens\": 200, \"cacheReadInputTokens\": 10000, \"cacheCreationInputTokens\": 0, \"webSearchRequests\": 0, \"costUSD\": 0.00488}}, \"num_turns\": 1, \"duration_ms\": 2495}\n2026-10-28 13:39:27,983 loadn.tools.grep WARNING rg \u4e0d\u53ef\u7528\u2014\u2014Grep \u8d70\u7eaf Python \u626b\u63cf\u515c\u5e95\uff08\u901f\u5ea6\u6162\uff0crg -g/--multiline \u53c2\u6570\u8bed\u4e49\u964d\u7ea7\uff1aglob \u4ecd\u751f\u6548\u3001multiline \u9010\u884c\u8fd1\u4f3c\uff09\n2026-10-28 13:39:28,038 loadn.core.models WARNING \u6a21\u578b 'fake' \u4e0d\u5728\u76ee\u5f55\uff08models.json\uff09\u2014\u2014\u7a97\u53e3\u6309\u4fdd\u5b88 128k \u4f30\u7b97\uff08\u8865\u76ee\u5f55\u53ef\u6d88\u9664\u672c\u544a\u8b66\uff09\n2026-10-28 13:39:28,039 loadn.core.cache_warmer INFO cache-warm \u4e0d\u53d1\uff1acache economics unavailable\uff08\u76ee\u5f55\u65e0\u4ef7\u683c\uff09",
        "expected": "JSON result containing the reply text",
        "input": "say hi",
        "kind": "example",
        "outcome": "command completed successfully",
        "returncode": 0,
        "source": "README.md First run section",
        "verdict": "yes"
      }
    ],
    "status": "PASS"
  },
  "deviations": [
    "No endpoint or API key available, so the fake provider (documented in README Development setup as LOADN_PROVIDER=fake) was used instead of Anthropic/OpenAI-compatible endpoint;",
    "Installed from the local workspace with pip install -e . rather than from PyPI or git+https (both are documented in README Install the engine); same package source at the pinned commit.",
    "Full pytest suite (1600+ tests per README) was not run; validation relied on the documented headless CLI operation.",
    "Cycle check: loadn-web scheduler (webui extra) was inspected but not run; detected=false.",
    "Harmless warnings printed to stderr: rg not installed (Grep falls back to pure Python) and model 'fake' not in models.json."
  ],
  "fault_owner": null,
  "main_blocker": null,
  "operation": "Install the loadn engine from the pinned source and run a headless one-shot prompt (loadn -p) that prints the reply to stdout",
  "operation_scope": "Python 3.12.3 venv at <guest-path>; editable install of the workspace source; LOADN_PROVIDER=fake with a control-file reply (no real model endpoint or API credentials, so no live LLM call was made); no browser needed",
  "outcome": "working",
  "plain_failure": null,
  "steps": [
    "python3 -m venv ~/.venvs/loadn",
    "pip install -e .  (in the venv, from the workspace)",
    "loadn --version -> loadn 0.7.68",
    "LOADN_PROVIDER=fake LOADN_FAKE_DIR=/tmp/loadn-run/fake LOADN_HOME=/tmp/loadn-run/home loadn -p --dangerously-skip-permissions \"say hi\" -> prints LOADN_E2E_OK_7731, exit 0",
    "loadn -p --output-format json (same fake env) -> JSON result, exit 0"
  ],
  "stuck_step": null,
  "suggested_fix": "None required for the engine quickstart. Optionally install ripgrep to silence the Grep fallback warning and add a models.json entry for custom model names."
}
