mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-12 14:16:28 +03:00
startVariantObserver's "dominated" check only matched when the variant wrapper was added directly as a mutation's addedNode. SvelteKit (and any framework whose HMR replaces a whole subtree on edit) adds the wrapper as a descendant of an added <main> or similar — the observer ignored those mutations and the session stayed in GENERATING forever even with all 3 variants present in the DOM. Surfaced by the LLM-agent E2E run on vite8-sveltekit. The fake-agent path masked the issue because its splice timing happened before Vite's reload finalized; the slower LLM call shifted timing into the failure window. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>