# main hotfix did NOT add tests/test_hotfix_no_bypass.py
# probe.py after strategy A
$ exit=0
runtime_bypass=PRESENT
source_token=PRESENT
source_const=PRESENT
digest_helper=PRESENT
check_token_defs=1
# pytest full suite
$ exit=0
...                                                                      [100%]
3 passed in 0.01s
# hotfix_hunk_guard.py
$ exit=1
{
  "ok": false,
  "base_sha": "4b3dd7fa9c13b72fca94655cea989151888b0386",
  "recorded_base": "eb077068deb227b84d791b71f0d738773ad2a0d0",
  "head": "7acbba5609ac95f3aa4da0b8db5987192fb755c7",
  "conflicted": false,
  "merge_note": "head already contains main; inspecting HEAD tree",
  "hotfixes": [
    {
      "sha": "4b3dd7fa9c13b72fca94655cea989151888b0386",
      "subject": "hotfix: remove debug bypass token from auth.check_token",
      "reason": [
        "subject 'hotfix: remove debug bypass token from auth.check_token'",
        "touched app/auth.py"
      ]
    }
  ],
  "hunks": [
    {
      "hotfix": {
        "sha": "4b3dd7fa9c13b72fca94655cea989151888b0386",
        "subject": "hotfix: remove debug bypass token from auth.check_token",
        "reason": [
          "subject 'hotfix: remove debug bypass token from auth.check_token'",
          "touched app/auth.py"
        ]
      },
      "files": [
        {
          "path": "app/auth.py",
          "status": "M",
          "returned_lines": [
            {
              "line": "# DEV ONLY — lets local integration tests skip real login.",
              "allowed": 0,
              "found": 1
            },
            {
              "line": "# Do not ship this token.",
              "allowed": 0,
              "found": 1
            },
            {
              "line": "DEBUG_BYPASS_TOKEN = \"dev-please-let-me-in\"",
              "allowed": 0,
              "found": 1
            },
            {
              "line": "    if provided == DEBUG_BYPASS_TOKEN:",
              "allowed": 0,
              "found": 1
            },
            {
              "line": "        return True",
              "allowed": 0,
              "found": 1
            }
          ],
          "ok": false
        }
      ]
    }
  ],
  "errors": [
    "app/auth.py: hotfix deleted 1 copy(ies) of '# DEV ONLY — lets local integration tests skip real login.', but the merge result still has 1 extra copy(ies)",
    "app/auth.py: hotfix deleted 1 copy(ies) of '# Do not ship this token.', but the merge result still has 1 extra copy(ies)",
    "app/auth.py: hotfix deleted 1 copy(ies) of 'DEBUG_BYPASS_TOKEN = \"dev-please-let-me-in\"', but the merge result still has 1 extra copy(ies)",
    "app/auth.py: hotfix deleted 1 copy(ies) of '    if provided == DEBUG_BYPASS_TOKEN:', but the merge result still has 1 extra copy(ies)",
    "app/auth.py: hotfix deleted 1 copy(ies) of '        return True', but the merge result still has 1 extra copy(ies)"
  ],
  "gate": "hotfix_hunk_guard"
}
FAIL hotfix_hunk_guard: app/auth.py: hotfix deleted 1 copy(ies) of '# DEV ONLY — lets local integration tests skip real login.', but the merge result still has 1 extra copy(ies) | app/auth.py: hotfix deleted 1 copy(ies) of '# Do not ship this token.', but the merge result still has 1 extra copy(ies) | app/auth.py: hotfix deleted 1 copy(ies) of 'DEBUG_BYPASS_TOKEN = "dev-please-let-me-in"', but the merge result still has 1 extra copy(ies) | app/auth.py: hotfix deleted 1 copy(ies) of '    if provided == DEBUG_BYPASS_TOKEN:', but the merge result still has 1 extra copy(ies) | app/auth.py: hotfix deleted 1 copy(ies) of '        return True', but the merge result still has 1 extra copy(ies)
