Files
pbakaus_impeccable/tests/oracle/golden/detect-config-inline-disabled.json
T
Paul Bakaus 57c1fccf73 Add oracle harness: verb goldens and function-level vectors
Records stdout/stderr/exit/files for every impeccable verb over a fixed
corpus and replays them against an alternate implementation. Adds a loader
hook that captures per-function call vectors from the pure engine modules.

Prepared with AI assistance (Claude Code).
2026-08-31 19:56:22 -07:00

8 lines
2.1 KiB
JSON

{
"stdout": "[\n {\n \"antipattern\": \"low-contrast\",\n \"name\": \"Low contrast text\",\n \"description\": \"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 \"severity\": \"warning\",\n \"category\": \"quality\",\n \"file\": \"<WS>/src/inline.html\",\n \"line\": 0,\n \"snippet\": \"3.6:1 (need 4.5:1) — text #ff00aa on #ffffff\"\n },\n {\n \"antipattern\": \"design-system-color\",\n \"name\": \"Color outside DESIGN.md\",\n \"description\": \"A literal color is outside the DESIGN.md palette and sidecar tonal ramps. This may be legitimate, but it should be an intentional design-system addition rather than drift.\",\n \"severity\": \"advisory\",\n \"category\": \"quality\",\n \"file\": \"<WS>/src/inline.html\",\n \"line\": 5,\n \"snippet\": \"text color rgb(255, 0, 170) on p \\\"faint text\\\" is outside DESIGN.md colors\",\n \"ignoreValue\": \"rgb(255, 0, 170)\"\n },\n {\n \"antipattern\": \"design-system-font\",\n \"name\": \"Font outside DESIGN.md\",\n \"description\": \"A font is used that is not declared in DESIGN.md typography. Use the documented type system or update DESIGN.md if this is an intentional brand addition.\",\n \"severity\": \"warning\",\n \"category\": \"quality\",\n \"file\": \"<WS>/src/inline.html\",\n \"line\": 6,\n \"snippet\": \"p \\\"x\\\" uses verdana; not declared in DESIGN.md typography\",\n \"ignoreValue\": \"verdana\"\n },\n {\n \"antipattern\": \"design-system-color\",\n \"name\": \"Color outside DESIGN.md\",\n \"description\": \"A literal color is outside the DESIGN.md palette and sidecar tonal ramps. This may be legitimate, but it should be an intentional design-system addition rather than drift.\",\n \"severity\": \"advisory\",\n \"category\": \"quality\",\n \"file\": \"<WS>/src/inline.html\",\n \"line\": 0,\n \"snippet\": \"text color rgb(0, 0, 0) on p \\\"x\\\" is outside DESIGN.md colors\",\n \"ignoreValue\": \"rgb(0, 0, 0)\"\n }\n]\n",
"stderr": "",
"exit": 2,
"signal": null,
"files": {}
}