{
  "checker": {
    "details": {
      "checks": [
        {
          "check": "install",
          "details": {
            "argv": [
              "<host-path>",
              "--help"
            ],
            "kind": "cli",
            "needs_browser": false,
            "needs_credentials": false,
            "returncode": 0,
            "scope": "partial: install",
            "stderr": "",
            "stdout": "                                                                                \n Usage: pyrig [OPTIONS] COMMAND [ARGS]...                                       \n                                                                                \n A Python project setup and management tool built on infrastructure as code and \n convention over configuration.                                                 \n                                                                                \n\u256d\u2500 Options \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u256e\n\u2502 --version                            Show the version and exit.              \u2502\n\u2502 --verbose             -v      <int>  Increase verbosity: -v (DEBUG), -vv     \u2502\n\u2502                                      (modules), -vvv (timestamps)            \u2502\n\u2502                                      [default: 0]                            \u2502\n\u2502 --quiet               -q      <int>  Decrease verbosity: -q (WARNING), -qq   \u2502\n[excerpt truncated]",
            "working": false
          },
          "optional": false,
          "status": "PASS"
        }
      ],
      "scope": "partial checks",
      "working": false
    },
    "status": "PASS"
  },
  "deviations": [
    "README Usage `uv add pyrig-weekly-health-check --dev` not run: this repo is the plugin itself, and uv add would rewrite its pyproject/uv.lock. Used `uv sync` for the same install instead.",
    "`pyrig sync` needs .venv/bin on PATH (prek is invoked by bare name); the absolute-path invocation alone fails with FileNotFoundError 'prek'.",
    "Workspace had no .git; prek install requires one. Copied the pinned .git from the clone of a6718cb into <host-path> (tree otherwise identical to the pinned commit).",
    "Did not run pyrig sync in <host-path> to completion: it renames the project to 'workspace' by design. Reverted with git checkout and removed src/workspace.",
    "Probe is partial install evidence only (pyrig --help), not the sync operation, because the operation cannot produce the plugin's own output from this directory name."
  ],
  "fault_owner": "test",
  "main_blocker": "Checkout directory name is 'workspace', not 'pyrig-weekly-health-check'. pyrig uses the cwd name as the project name, so sync renames the plugin's project and regenerates files under src/workspace instead of the pinned identity.",
  "operation": "README Usage: `uv run pyrig sync` (pyrig regenerates .github/workflows/health_check.yml with weekly schedule)",
  "operation_scope": "Install verified (uv sync, pyrig entry points present, pyrig --help exits 0). The README sync operation was NOT completed in <host-path> pyrig derives the project name from the cwd directory name (pyrig/rig/tools/packages/manager.py project_name() returns Path.cwd().name), so in this checkout it renames the project to 'workspace', rewrites pyproject.toml/README.md/.github/settings.json and creates src/workspace/. A same-operation run from a directory named pyrig-weekly-health-check (copy of the pinned commit) succeeded: first run exit 1 with 'Updated ...' lines (exit 1 is by design when files change), rerun exit 0 with no changes.",
  "outcome": "unsupported",
  "steps": [
    "curl -LsSf https://astral.sh/uv/install.sh | sh  (uv 0.13.1)",
    "uv sync  (installed deps incl. pyrig 19.2.0, pyrig-weekly-health-check 1.1.3 editable; exit 0)",
    "<host-path> sync  (run 1: FileNotFoundError 'prek' because .venv/bin not on PATH)",
    "PATH=<host-path> pyrig sync  (run 2: CalledProcessError prek install, 'Not in a Git repository')",
    "git clone https://github.com/Winipedia/pyrig-weekly-health-check /tmp/pinclone; verified a6718cb; copied its .git into workspace (tree matches pinned commit except for sync rewrites, which were reverted with git checkout)",
    "PATH=venv pyrig sync in <host-path> (run 3: exit 1; renamed project to 'workspace', created src/workspace; reverted)",
    "copy of pinned tree in /tmp/pyrig-weekly-health-check: pyrig sync exit 1 (first run, files created/updated), rerun exit 0 with clean git status"
  ],
  "stuck_step": "<host-path> sync (README Usage section, after `uv run pyrig sync` equivalent)",
  "suggested_fix": "fault_owner=test. Correction: the harness must place the pinned checkout in a directory named pyrig-weekly-health-check (matching [project] name in pyproject.toml) and run the README sync there, or otherwise supply cwd whose basename is pyrig-weekly-health-check. Also: put .venv/bin on PATH for pyrig sync (prek is called by name), and provide a .git (prek install requires one). Expect exit 1 on the first sync that changes files; the rerun exits 0 silently."
}
