Files
pbakaus_impeccable/tests/oracle/golden/comp-diff-threshold-below.json
T
Paul Bakaus 6c474b1c79 Node-free swap: comp-fidelity verbs move to the engine
The four comp-fidelity scripts (comp-spec, comp-diff, font-match, build-phase)
and their six libs are ported into the impeccable-engine binary. This removes
the last Node .mjs from the skill: `git ls-files skill/scripts | grep '\.mjs$'`
now returns nothing.

- reference/new-work.md, reference/visualize.md, and the asset-producer /
  finish-reviewer agents now invoke `{{scripts_path}}/impeccable <verb>` instead
  of `node <script>.mjs`.
- Deleted the ten ported .mjs and the four JS unit tests that imported them
  (their behavior is now covered by the engine's Rust tests and the oracle);
  removed those files from scripts/test-suites.mjs.
- Added oracle cases (comp-*, font-match-*, build-phase-*) over a comp-basic
  workspace, recorded from the engine binary; the deterministic outputs are
  byte-identical to the JS the scripts left behind.
- docs/CLI-CONTRACT.md documents the four verbs, the CDP font rendering, and
  the runtime-resolved (never-committed) font-index catalog.

The font-index catalog JSON stays shipped in the skill (data/font-index.json);
the engine resolves it at run time and never vendors it.

Prepared with AI assistance (Claude Code).
2026-09-01 12:29:17 -07:00

8 lines
855 B
JSON

{
"stdout": "COMP-DIFF [build] overall 84% (match) structure 98% color 83% detail 54% bands 100%\nPALETTE comp #f7e8e8(69%) #182838(14%) #9a9aa5(7%) #c5c5d1(7%) #7c7c82(4%)\nPALETTE build #ede1e1(84%) #182838(14%) #787878(1%) #b82828(0%)\nREGION top match 82% structure 98% color 75% detail 54%\nREGION art missing 36% structure 86% color 42% detail 2%\nREGION body match 100% structure 100% color 100% detail 100%\nWORST art (missing, 36%); top (match, 82%); body (match, 100%)\nOPEN the side-by-side and the worst region pairs before deciding anything; the numbers rank, the crops decide.\nBELOW THRESHOLD 95%: the reproduction is not done. Fix the worst regions and re-run; do not build past the hero.\n",
"stderr": "",
"exit": 3,
"signal": null,
"files": {}
}