Files
pbakaus_impeccable/tests/oracle/golden/hook-config-max-findings-1.json
T
2026-08-31 19:56:22 -07:00

11 lines
2.0 KiB
JSON

{
"stdout": "{\"hookSpecificOutput\":{\"hookEventName\":\"PostToolUse\",\"additionalContext\":\"[impeccable@1] Design hook findings requiring review in src/page.html (4 issue(s)):\\n- [low-contrast] Low contrast text. Text does not meet WCAG AA contrast requirements (4.5:1 for body, 3:1 for large text). Increase the contrast between text and background.\\n... and 3 more (see /impeccable audit).\\n\\nTriage each finding, then state in your reply what you fixed, what you suppressed, and what you left standing:\\n- Real design problem: fix it. Keep intentional design as designed.\\n- Confident false positive or sanctioned exception (an intentional demo or fixture, documentation of bad design, literal or domain-appropriate motion, a choice the user confirmed): persist the narrowest ignore yourself and disclose it. Run `<HOOK_ADMIN_CMD> ignore-value <rule> \\\"<value>\\\" --reason \\\"<who decided: evidence>\\\"` with the pair shown on the finding line, or value \\\"*\\\" plus `--file <path>` when the line shows none. Write \\\"user confirmed\\\" in a reason only when the user did.\\n- Unsure: leave it as is and ask the user in one line.\\nSelf-serve ends at ignore-value: `ignore-file` and `ignore-rule` need the user's explicit approval, and never add an ignore to push a blocked write through. Full suppression ladder: /impeccable hooks.\"}}",
"stderr": "",
"exit": 0,
"signal": null,
"files": {
".impeccable/config.json": "{\n \"hook\": {\n \"perEditRules\": \"all\",\n \"limits\": {\n \"maxFindings\": 1,\n \"maxChars\": 8000\n }\n }\n}\n",
".impeccable/hook.cache.json": "{\"version\":1,\"sessions\":{\"s1\":{\"updatedAt\": <EPOCH>,\"files\":{\"<WS>/src/page.html\":{\"editCount\":1,\"findings\":[\"low-contrast:0:1.3:1 (need 4.5:1) — text #666666 on #555555\",\"low-contrast:0:1.1:1 (need 4.5:1) — text #000000 on #111111\",\"dark-glow:0:Zero-offset box-shadow glow (#8b5cf6)\",\"cramped-padding:0:<div> \\\"hero\\\": children flush against bg on all sides (no inset)\"]}},\"footerShown\":true}}}"
}
}