{
  "run_id": "localthink-org--gbrain-localthink-claude-haiku-5-5-1792807150718015202",
  "checker": {
    "claims": [
      {
        "claim": "Converts agent session JSONL to LTF markdown",
        "command": "python3 ltf/ltf_converter.py <guest-path> --out <guest-path> --overwrite",
        "evidence": "written=1 skipped_unchanged=0 skipped_empty=0 blocked=0 stale_removed=0\n",
        "expected": "one session written",
        "input": "<guest-path> (one demo session JSONL)",
        "kind": "claim",
        "outcome": "Real input produced the expected result: written=1",
        "returncode": 0,
        "source": "- **Converts** agent session JSONL to clean LTF v1.0 markdown (redacts secrets and incidental private IPs, MACs, and emails; elides inline base64 images; summarizes tool output per LTF spec \u00a75.2)",
        "source_checked": true,
        "source_file": "README.md",
        "verdict": "yes"
      },
      {
        "claim": "Scans export and conversations for plaintext secret patterns",
        "command": "python3 ltf/ltf_converter.py --scan <guest-path>",
        "evidence": "scan_hits=0 files=1\n",
        "expected": "no secret hits",
        "input": "<guest-path> (converted LTF file with redacted secrets)",
        "kind": "claim",
        "outcome": "Real input produced the expected result: scan_hits=0",
        "returncode": 0,
        "source": "- **Scans** `export/` and `conversations/` for plaintext secret patterns before pushing \u2014 blocks the backup if anything looks like a credential",
        "source_checked": true,
        "source_file": "README.md",
        "verdict": "yes"
      },
      {
        "claim": "Exports GBrain pages to markdown",
        "command": "gbrain export --dir <guest-path>",
        "evidence": "Exported 1 pages to <guest-path>\n[export.pages] start\n[export.pages] 1/1 (100%)\n[export.pages] 1/1 (100%) done\n",
        "expected": "page exported to the fresh directory",
        "input": "gbrain brain holding one page (notes/backup-bridge-demo)",
        "kind": "claim",
        "outcome": "Real input produced the expected result: Exported 1 pages",
        "returncode": 0,
        "source": "- **Exports** your GBrain pages to markdown (`gbrain export --dir`)",
        "source_checked": true,
        "source_file": "README.md",
        "verdict": "yes"
      }
    ],
    "cycle_checks": [
      {
        "claim": "Scheduled daily backup run",
        "command": "bash <guest-path>",
        "evidence": "written=1 skipped_unchanged=0 skipped_empty=0 blocked=0 stale_removed=0\nscan_hits=0 files=4\n2026-10-24 02:07:18 backup pushed: 1b2d4cc backup: gbrain+ltf 2026-10-24 02:07\nTo <guest-path>\n * [new branch]      main -> main",
        "expected": "converter, scan and commit/push run; output ends with backup pushed",
        "input": "SESSIONS_DIR=<guest-path> and the gbrain brain with one page",
        "kind": "cycle",
        "method": "run-once wrapper: one manual run of scripts/backup.sh against a fresh empty local bare remote (no external push, no source edits)",
        "outcome": "Triggered one cycle by hand (run-once wrapper: one manual run of scripts/backup.sh against a fresh empty local bare remote (no external push, no source edits); normal trigger: daily at 18:00 via system cron): written=1 skipped_unchanged=0 skipped_empty=0 blocked=0 stale_removed=0\nscan_hits=0 files=4\n2026-10-24 02:07:18 backup pushed: 1b2d4cc backup: gbrain+ltf 2026-10-24 02:07\nTo <guest-path>\n * [new branch]      main -> main",
        "returncode": 0,
        "schedule": "daily at 18:00 via system cron",
        "source": "cron/README.md",
        "verdict": "yes"
      }
    ],
    "details": {
      "argv": [
        "python3",
        "ltf/ltf_converter.py",
        "<guest-path>",
        "--out",
        "<guest-path>",
        "--overwrite"
      ],
      "kind": "cli",
      "needs_browser": false,
      "needs_credentials": false,
      "returncode": 0,
      "scope": "product operation",
      "stderr": "",
      "stdout": "written=1 skipped_unchanged=0 skipped_empty=0 blocked=0 stale_removed=0",
      "working": true
    },
    "evidence_strength": "readme_checked",
    "example_checks": [
      {
        "claim": "Repository tests run with pytest",
        "command": "<guest-path> -m pytest",
        "deferred": false,
        "evidence": "============================= test session starts ==============================\nplatform linux -- Python 3.12.3, pytest-9.1.1, pluggy-1.7.0\nrootdir: <guest-path>\nconfigfile: pytest.ini\ntestpaths: tests\ncollected 27 items\n\ntests/test_converter.py ...................                              [ 70%]\ntests/test_scripts.py ........                                           [100%]\n\n============================== 27 passed in 8.59s ==============================",
        "expected": "all offline tests pass",
        "input": "tests/ directory",
        "kind": "example",
        "outcome": "command completed successfully",
        "returncode": 0,
        "source": "README.md Tests section (python3 -m pytest)",
        "verdict": "yes"
      },
      {
        "claim": "Shell scripts pass shellcheck",
        "command": "shellcheck scripts/backup.sh scripts/restore.sh",
        "deferred": false,
        "evidence": "",
        "expected": "no findings, exit 0",
        "input": "scripts/backup.sh scripts/restore.sh",
        "kind": "example",
        "outcome": "command completed successfully with no output",
        "returncode": 0,
        "source": "README.md Tests section (shellcheck scripts/backup.sh scripts/restore.sh)",
        "verdict": "yes"
      },
      {
        "claim": "Restore imports a backup clone into GBrain",
        "command": "<guest-path> <guest-path>",
        "deferred": false,
        "evidence": "ck/conversations/\n   open any .ltf.md in a markdown reader; tools can search this tree directly.\n\u2192 gbrain import (no embeddings; run 'gbrain embed' later for semantic recall)\nFound 1 markdown files\n\nImport complete (0.1s):\n  0 pages imported\n  1 pages skipped (1 unchanged, 0 errors, 0 malformed filenames)\n  0 chunks created\nrestore done.\n[gbrain phase] import.collect_files start dir=<guest-path> strategy=markdown\n[gbrain phase] import.collect_files done 36ms files=1\n[import.files] start\n[import.files] 1/1 (100%) imported=0 skipped=1 errors=0\n[import.files] 1/1 (100%) done",
        "expected": "gbrain import runs and restore prints restore done.",
        "input": "<guest-path> (fresh clone of the backup remote with export/)",
        "kind": "example",
        "outcome": "command completed successfully",
        "returncode": 0,
        "source": "README.md Restore on a new machine section",
        "verdict": "yes"
      }
    ],
    "status": "PASS"
  },
  "diagnosis": null
}
