From 83255698f6921a7357ceae2dc701f5fa6cc9b915 Mon Sep 17 00:00:00 2001 From: Paul Bakaus Date: Tue, 21 Jul 2026 02:18:18 -0700 Subject: [PATCH] Repoint reference files at the craft floor live.md's insert branch told the agent to load `brand.md` or `product.md`. Both files are gone on this branch; the register system became SKILL.md's modes plus operate.md. Net-new markup in live mode now decides the mode from the surface and loads craft-floor.md, which is where the bans live. The freeform generate path gets the same pointer, since live never runs Setup step 3 and so never picks the floor up on its own. operate.md still located the craft floor inside SKILL.md. Co-Authored-By: Claude --- skill/reference/live.md | 4 ++-- skill/reference/operate.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/skill/reference/live.md b/skill/reference/live.md index 4901eaff5..8842b47b9 100644 --- a/skill/reference/live.md +++ b/skill/reference/live.md @@ -116,7 +116,7 @@ node {{scripts_path}}/live-insert.mjs --id EVENT_ID --count EVENT_COUNT --positi - `--position` ← `event.insert.position` (`before` | `after`) - Anchor flags ← `event.insert.anchor` (same mapping as wrap: id, classes, tag, text) -The scaffold has **no** `data-impeccable-variant="original"`. Variants are net-new HTML+CSS inserted at `insertLine`. Load `brand.md` or `product.md` (freeform only, no action sub-command). Deliver using the harness policy, then `--reply done`. +The scaffold has **no** `data-impeccable-variant="original"`. Variants are net-new HTML+CSS inserted at `insertLine`. Decide the visitor mode from the surface and load [craft-floor.md](craft-floor.md) before writing net-new markup (freeform only, no action sub-command). Deliver using the harness policy, then `--reply done`. For Svelte/SvelteKit targets, `live-insert.mjs` returns `previewMode: "svelte-component"` with `mode: "insert"`, `file` pointing at a temporary `node_modules/.impeccable-live//manifest.json`, `componentDir` pointing at the variant component files, and `sourceFile` pointing at the real `.svelte` route. Write each inserted variant as a real Svelte component (`v1.svelte`, `v2.svelte`, …) under `componentDir`. Insert variants must be non-empty net-new content with a single top-level root, no `data-impeccable-*` attributes, and CSS in each component's `