{
  "captured": "2026-09-20T20:06:13.577Z",
  "rule": "Read the first six headings. Each names a task or a topic. Vague narrative headings such as \"What we learned\" or \"One issue, opened up\" break this rule.",
  "before": "# Getting started on your journey\n\nInstall Perch:\n\n```sh\nnpm install -g @lakeday/perch\n```\n\n## Let the magic begin\n\nCheck a file before committing:\n\n```sh\nperch check docs/install.md\n```\n",
  "after": "# Installation\n\nInstall Perch:\n\n```sh\nnpm install -g @lakeday/perch\n```\n\n## Check a file\n\nCheck a file before committing:\n\n```sh\nperch check docs/install.md\n```\n",
  "add": {
    "command": "perch rules add docs-headings-name-things --where docs/**/*.md --ensure Read the first six headings. Each names a task or a topic. Vague narrative headings such as \"What we learned\" or \"One issue, opened up\" break this rule.",
    "args": [
      "rules",
      "add",
      "docs-headings-name-things",
      "--where",
      "docs/**/*.md",
      "--ensure",
      "Read the first six headings. Each names a task or a topic. Vague narrative headings such as \"What we learned\" or \"One issue, opened up\" break this rule."
    ],
    "code": 0,
    "stdout": "Added docs-headings-name-things.\n",
    "stderr": "",
    "elapsedMs": 86
  },
  "fail": {
    "command": "perch check docs/install.md --rules docs-headings-name-things",
    "args": [
      "check",
      "docs/install.md",
      "--rules",
      "docs-headings-name-things"
    ],
    "code": 3,
    "stdout": "docs/install.md:1\n1 check, 1 broken.\n\n  Confidence  Rule                       Description\n         60%  docs-headings-name-things  Read the first six headings. Each names a task or a topic. Vague\n                                         narrative headings such as \"What we learned\" or \"One issue, opened\n                                         up\" break this rule.\n",
    "stderr": "1 request  449 tokens in / 26 out  $0.0000\n",
    "elapsedMs": 404
  },
  "pass": {
    "command": "perch check docs/install.md --rules docs-headings-name-things",
    "args": [
      "check",
      "docs/install.md",
      "--rules",
      "docs-headings-name-things"
    ],
    "code": 0,
    "stdout": "docs/install.md:1\n1 check, nothing to report.\n",
    "stderr": "1 request  444 tokens in / 26 out  $0.0000\n",
    "elapsedMs": 308
  }
}