Files
pbakaus_impeccable/tests/oracle/golden/live-accept-source-locked.json
T
Paul BakausandClaude Fable 5.1 9961848ce2 oracle: replay byte-for-byte on Linux too
The corpus was recorded on macOS and eight cases failed on ubuntu CI for
reasons that were all environment, not behavior:

- stageWorkspace returns the realpath of the staged dir. macOS's tmpdir is a
  symlink and two goldens (context-dir-override, live-accept-source-locked)
  had recorded that artifact; both re-recorded, reviewed in DELTAS.md. The
  source-locked case now actually exercises the lock it is named for.
- context-lowercase-product-name declares platforms: ['darwin', 'win32'];
  run.mjs skips such cases elsewhere and says so in the summary.
- The hook-project workspace's empty provider skill folders (.claude,
  .cursor) are now tracked with .gitkeep; git cannot track empty
  directories, so a fresh checkout had none and hooks on found nothing to
  repair.
- crates/live's read_dir_raw sorts entries by name: the goldens hold the
  order macOS returned, Linux returns hash order, and the source-candidate
  lists in live-commit output depended on it.

macOS: 795 pass, 0 fail. The Svelte accept cases additionally need the
public repo's node_modules on the machine that runs them (CI now installs
them).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Vau2X53xGTjjTCXWMVBoNY
2026-09-01 16:24:13 -07:00

10 lines
3.1 KiB
JSON

{
"stdout": "{\"handled\":false,\"mode\":\"error\",\"error\":\"source_locked\",\"file\":\"index.html\"}\n",
"stderr": "",
"exit": 0,
"signal": null,
"files": {
"index.html": "<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <title>Oracle Live HTML Fixture</title>\n <style>\n .hero-title { font-size: 2rem; }\n .hero-hook { color: #555; }\n </style>\n </head>\n <body>\n <main class=\"page\">\n <!-- impeccable-variants-start ab12cd34 -->\n <div data-impeccable-variants=\"ab12cd34\" data-impeccable-variant-count=\"3\" style=\"display: contents\">\n <!-- Original -->\n <div data-impeccable-variant=\"original\">\n <h1 id=\"hero\" class=\"hero-title\">Oracle Fixture</h1>\n </div>\n <!-- Variants: insert below this line -->\n <style data-impeccable-css=\"ab12cd34\">\n @scope ([data-impeccable-variant=\"1\"]) {\n :scope > h1 {\n font-weight: 300;\n color: oklch(var(--p-lightness, 0.5) 0.25 25);\n }\n }\n @scope ([data-impeccable-variant=\"2\"]) {\n :scope > h1 { font-weight: 900; }\n :scope[data-p-face=\"serif\"] > h1 { font-family: ui-serif, serif; }\n :scope[data-p-face=\"mono\"] > h1 { font-family: ui-monospace, monospace; }\n }\n @scope ([data-impeccable-variant=\"3\"]) {\n :scope > h1 { font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }\n :scope[data-p-italic] > h1 { font-style: italic; }\n }\n </style>\n <!-- Variant 1 -->\n <div data-impeccable-variant=\"1\" data-impeccable-params='[{\"id\":\"lightness\",\"kind\":\"range\",\"min\":0.3,\"max\":0.7,\"step\":0.05,\"default\":0.5,\"label\":\"Lightness\"}]'>\n <h1 id=\"hero\" class=\"hero-title\">Oracle Fixture</h1>\n </div>\n <!-- Variant 2 -->\n <div data-impeccable-variant=\"2\" style=\"display: none\" data-impeccable-params='[{\"id\":\"face\",\"kind\":\"steps\",\"default\":\"sans\",\"label\":\"Face\",\"options\":[{\"value\":\"sans\",\"label\":\"Sans\"},{\"value\":\"serif\",\"label\":\"Serif\"},{\"value\":\"mono\",\"label\":\"Mono\"}]}]'>\n <h1 id=\"hero\" class=\"hero-title\">Oracle Fixture</h1>\n </div>\n <!-- Variant 3 -->\n <div data-impeccable-variant=\"3\" style=\"display: none\" data-impeccable-params='[{\"id\":\"italic\",\"kind\":\"toggle\",\"default\":false,\"label\":\"Italic\"}]'>\n <h1 id=\"hero\" class=\"hero-title\">Oracle Fixture</h1>\n </div>\n </div>\n <!-- impeccable-variants-end ab12cd34 -->\n <p class=\"hero-hook\">Minimal static page for oracle live-mode goldens.</p>\n <section id=\"features\" class=\"feature-grid\">\n <article class=\"feature-card\">One</article>\n <article class=\"feature-card\">Two</article>\n </section>\n <aside class=\"side-note\">\n <h2 class=\"note-title\">Aside</h2>\n <p>Nested content.</p>\n </aside>\n </main>\n </body>\n</html>\n"
}
}