Skip to content

The design language that makes your AI harness better at design.

JavaScript
8.1 KB
Raw Blame
{
  "stdout": "{\n  \"ok\": false,\n  \"error\": \"source_dirty\",\n  \"id\": \"ab12cd34\",\n  \"file\": \"index.html\",\n  \"findings\": [\n    {\n      \"marker\": \"impeccable-variants-start\",\n      \"line\": 13,\n      \"excerpt\": \"<!-- impeccable-variants-start ab12cd34 -->\",\n      \"why\": \"variant wrapper comment left in source\"\n    },\n    {\n      \"marker\": \"data-impeccable-\",\n      \"line\": 14,\n      \"excerpt\": \"<div data-impeccable-variants=\\\"ab12cd34\\\" data-impeccable-variant-count=\\\"3\\\" style=\\\"display: contents\\\">\",\n      \"why\": \"live-mode plumbing attribute left on markup\"\n    },\n    {\n      \"marker\": \"data-impeccable-\",\n      \"line\": 16,\n      \"excerpt\": \"<div data-impeccable-variant=\\\"original\\\">\",\n      \"why\": \"live-mode plumbing attribute left on markup\"\n    },\n    {\n      \"marker\": \"data-impeccable-\",\n      \"line\": 20,\n      \"excerpt\": \"<style data-impeccable-css=\\\"ab12cd34\\\">\",\n      \"why\": \"live-mode plumbing attribute left on markup\"\n    },\n    {\n      \"marker\": \"data-impeccable-\",\n      \"line\": 21,\n      \"excerpt\": \"@scope ([data-impeccable-variant=\\\"1\\\"]) {\",\n      \"why\": \"live-mode plumbing attribute left on markup\"\n    },\n    {\n      \"marker\": \"var(--p-*)\",\n      \"line\": 24,\n      \"excerpt\": \"color: oklch(var(--p-lightness, 0.5) 0.25 25);\",\n      \"why\": \"preview parameter variable not baked to a literal\"\n    },\n    {\n      \"marker\": \"data-impeccable-\",\n      \"line\": 27,\n      \"excerpt\": \"@scope ([data-impeccable-variant=\\\"2\\\"]) {\",\n      \"why\": \"live-mode plumbing attribute left on markup\"\n    },\n    {\n      \"marker\": \"data-p-*\",\n      \"line\": 29,\n      \"excerpt\": \":scope[data-p-face=\\\"serif\\\"] > h1 { font-family: ui-serif, serif; }\",\n      \"why\": \"preview parameter attribute left on markup\"\n    },\n    {\n      \"marker\": \"data-p-*\",\n      \"line\": 30,\n      \"excerpt\": \":scope[data-p-face=\\\"mono\\\"]  > h1 { font-family: ui-monospace, monospace; }\",\n      \"why\": \"preview parameter attribute left on markup\"\n    },\n    {\n      \"marker\": \"data-impeccable-\",\n      \"line\": 32,\n      \"excerpt\": \"@scope ([data-impeccable-variant=\\\"3\\\"]) {\",\n      \"why\": \"live-mode plumbing attribute left on markup\"\n    },\n    {\n      \"marker\": \"data-p-*\",\n      \"line\": 34,\n      \"excerpt\": \":scope[data-p-italic] > h1 { font-style: italic; }\",\n      \"why\": \"preview parameter attribute left on markup\"\n    },\n    {\n      \"marker\": \"data-impeccable-\",\n      \"line\": 38,\n      \"excerpt\": \"<div data-impeccable-variant=\\\"1\\\" data-impeccable-params='[{\\\"id\\\":\\\"lightness\\\",\\\"kind\\\":\\\"range\\\",\\\"min\\\":0.3,\\\"max\\\":0.7,\\\"step\\\":0.\",\n      \"why\": \"live-mode plumbing attribute left on markup\"\n    },\n    {\n      \"marker\": \"data-impeccable-\",\n      \"line\": 42,\n      \"excerpt\": \"<div data-impeccable-variant=\\\"2\\\" style=\\\"display: none\\\" data-impeccable-params='[{\\\"id\\\":\\\"face\\\",\\\"kind\\\":\\\"steps\\\",\\\"default\\\":\\\"s\",\n      \"why\": \"live-mode plumbing attribute left on markup\"\n    },\n    {\n      \"marker\": \"data-impeccable-\",\n      \"line\": 46,\n      \"excerpt\": \"<div data-impeccable-variant=\\\"3\\\" style=\\\"display: none\\\" data-impeccable-params='[{\\\"id\\\":\\\"italic\\\",\\\"kind\\\":\\\"toggle\\\",\\\"default\\\"\",\n      \"why\": \"live-mode plumbing attribute left on markup\"\n    },\n    {\n      \"marker\": \"impeccable-variants-end\",\n      \"line\": 50,\n      \"excerpt\": \"<!-- impeccable-variants-end ab12cd34 -->\",\n      \"why\": \"variant wrapper comment left in source\"\n    }\n  ],\n  \"hint\": \"The accepted source still carries live-mode leftovers. Finish the carbonize cleanup (bake params, remove markers and data-p-* attributes), then run live-complete again. Use --force only if a finding is a false positive.\"\n}\n",
  "stderr": "",
  "exit": 1,
  "signal": null,
  "files": {
    ".impeccable/live/config.json": "{\n  \"files\": [\"index.html\", \"public/**/*.html\"],\n  \"insertBefore\": \"</body>\",\n  \"commentSyntax\": \"html\"\n}\n",
    ".impeccable/live/sessions/ab12cd34.jsonl": "{\"seq\":1,\"id\":\"ab12cd34\",\"type\":\"generate\",\"ts\":\"<ISO>\",\"event\":{\"id\":\"ab12cd34\",\"type\":\"generate\",\"action\":\"bolder\",\"count\":3,\"pageUrl\":\"/\",\"element\":{\"tagName\":\"h1\",\"id\":\"hero\",\"classes\":[\"hero-title\"],\"textContent\":\"Oracle Fixture\",\"outerHTML\":\"<h1 id=\\\"hero\\\" class=\\\"hero-title\\\">Oracle Fixture</h1>\"},\"clientSentAt\":1754042400000}}\n{\"seq\":2,\"id\":\"ab12cd34\",\"type\":\"agent_done\",\"ts\":\"<ISO>\",\"event\":{\"id\":\"ab12cd34\",\"type\":\"agent_done\",\"file\":\"index.html\",\"sourceEventType\":\"generate\",\"carbonize\":false,\"arrivedVariants\":3}}\n{\"seq\":3,\"id\":\"ab12cd34\",\"type\":\"accept\",\"ts\":\"<ISO>\",\"event\":{\"id\":\"ab12cd34\",\"type\":\"accept\",\"variantId\":\"2\",\"pageUrl\":\"/\",\"paramValues\":{\"face\":\"serif\"}}}\n{\"seq\":4,\"id\":\"ab12cd34\",\"type\":\"agent_done\",\"ts\":\"<ISO>\",\"event\":{\"id\":\"ab12cd34\",\"type\":\"agent_done\",\"file\":\"index.html\",\"sourceEventType\":\"accept\",\"carbonize\":true}}\n",
    "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"
  }
}