Skip to content

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

JavaScript
5.5 KB
Raw Blame
{
  "stdout": "{\"mode\":\"insert\",\"position\":\"after\",\"file\":\"node_modules/.impeccable-live/ab12cd34/manifest.json\",\"sourceFile\":\"src/routes/+page.svelte\",\"previewMode\":\"svelte-component\",\"componentDir\":\"node_modules/.impeccable-live/ab12cd34\",\"propContract\":[],\"insertLine\":1,\"sourceInsertLine\":21,\"anchorStartLine\":17,\"anchorEndLine\":20,\"commentSyntax\":{\"open\":\"<!--\",\"close\":\"-->\"},\"styleMode\":\"svelte-component\",\"styleTag\":null,\"cssSelectorPrefixExamples\":[],\"cssAuthoring\":{\"mode\":\"svelte-component\",\"styleTag\":null,\"strategy\":\"component-style-block\",\"rulePattern\":\".semantic-class { ... }\",\"selectorExamples\":[\".expense-row { padding: 22px; }\",\".expense-row { padding: 22px; }\",\".expense-row { padding: 22px; }\"],\"requirements\":[\"Write each variant as a real Svelte component file (v1.svelte, v2.svelte, ...).\",\"Keep the prop names from propContract; bind dynamic text with {propName}, not literal snapshot text.\",\"Put variant CSS in the component <style> block using semantic class selectors.\",\"Author param-driven CSS against var(--p-<id>, default) and [data-p-<id>] using :global(...) so the runtime knob values reach the mounted root.\",\"Declare params in componentDir/params.json keyed by variant number (e.g. {\\\"1\\\": [...], \\\"2\\\": [...]}), NOT as a data-impeccable-params attribute.\",\"Do not use @scope or data-impeccable-variant selectors in component files.\",\"Do not edit the route source file during generation; only edit files under componentDir.\"],\"forbidden\":[\"Do not use @scope blocks in Svelte component variants.\",\"Do not copy live DOM snapshot text into markup when propContract provides bindings.\",\"Do not add data-impeccable-* attributes inside component files. Svelte parses { in attribute values as an expression, so data-impeccable-params with JSON breaks the build; use componentDir/params.json instead.\"],\"paramsFile\":\"params.json\"}}\n",
  "stderr": "",
  "exit": 0,
  "signal": null,
  "files": {
    ".impeccable/live/config.json": "{\n  \"files\": [\"src/app.html\"],\n  \"insertBefore\": \"</body>\",\n  \"commentSyntax\": \"html\"\n}\n",
    "node_modules/.impeccable-live/__probe.js": "export const impeccableLivePreviewProbe = true;\n",
    "node_modules/.impeccable-live/__runtime.js": "export { mount, unmount } from 'svelte';\n",
    "node_modules/.impeccable-live/ab12cd34/manifest.json": "{\n  \"id\": \"ab12cd34\",\n  \"mode\": \"insert\",\n  \"previewMode\": \"svelte-component\",\n  \"sourceFile\": \"src/routes/+page.svelte\",\n  \"insertLine\": 21,\n  \"position\": \"after\",\n  \"anchorStartLine\": 17,\n  \"anchorEndLine\": 20,\n  \"originalMarkup\": \"  <section id=\\\"features\\\" class=\\\"feature-grid\\\">\\n    <article class=\\\"feature-card\\\">One</article>\\n    <article class=\\\"feature-card\\\">Two</article>\\n  </section>\",\n  \"anchorMarkup\": \"  <section id=\\\"features\\\" class=\\\"feature-grid\\\">\\n    <article class=\\\"feature-card\\\">One</article>\\n    <article class=\\\"feature-card\\\">Two</article>\\n  </section>\",\n  \"count\": 3,\n  \"propContract\": [],\n  \"componentDir\": \"node_modules/.impeccable-live/ab12cd34\",\n  \"componentDirAbs\": \"<WS>/node_modules/.impeccable-live/ab12cd34\",\n  \"runtimeModule\": \"/node_modules/.impeccable-live/__runtime.js\",\n  \"runtimeModuleAbs\": \"<WS>/node_modules/.impeccable-live/__runtime.js\",\n  \"probeModule\": \"/node_modules/.impeccable-live/__probe.js\",\n  \"probeModuleAbs\": \"<WS>/node_modules/.impeccable-live/__probe.js\"\n}\n",
    "node_modules/.impeccable-live/ab12cd34/v1.svelte": "<script>\n  /** @typedef {Record<string, never>} Props */\n  let {} = $props();\n</script>\n<div class=\"impeccable-insert-preview\">Insert variant 1</div>\n\n<style>\n  .impeccable-insert-preview { display: block; }\n</style>\n",
    "node_modules/.impeccable-live/ab12cd34/v2.svelte": "<script>\n  /** @typedef {Record<string, never>} Props */\n  let {} = $props();\n</script>\n<div class=\"impeccable-insert-preview\">Insert variant 2</div>\n\n<style>\n  .impeccable-insert-preview { display: block; }\n</style>\n",
    "node_modules/.impeccable-live/ab12cd34/v3.svelte": "<script>\n  /** @typedef {Record<string, never>} Props */\n  let {} = $props();\n</script>\n<div class=\"impeccable-insert-preview\">Insert variant 3</div>\n\n<style>\n  .impeccable-insert-preview { display: block; }\n</style>\n",
    "src/app.html": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"utf-8\" />\n    <title>SvelteKit Fixture</title>\n    %sveltekit.head%\n  </head>\n  <body data-sveltekit-preload-data=\"hover\">\n    <div style=\"display: contents\">%sveltekit.body%</div>\n  </body>\n</html>\n",
    "src/routes/+page.svelte": "<script>\n  let title = 'SvelteKit Fixture';\n  let expenses = [\n    { id: 1, label: 'Coffee', amount: 3 },\n    { id: 2, label: 'Lunch', amount: 12 },\n  ];\n</script>\n\n<main class=\"page\">\n  <h1 class=\"hero-title\">{title}</h1>\n  <p class=\"hero-hook\">Minimal SvelteKit route for oracle live-mode goldens.</p>\n  <ul class=\"expense-list\">\n    {#each expenses as expense (expense.id)}\n      <li class=\"expense-row\">{expense.label}: {expense.amount}</li>\n    {/each}\n  </ul>\n  <section id=\"features\" class=\"feature-grid\">\n    <article class=\"feature-card\">One</article>\n    <article class=\"feature-card\">Two</article>\n  </section>\n</main>\n\n<style>\n  .hero-title { font-size: 2rem; }\n  .expense-list { list-style: none; padding: 0; }\n  .expense-row { padding: 4px 0; }\n</style>\n"
  }
}