The design language that makes your AI harness better at design.
JavaScript
chore(skill): slim per-event carbonize reminders
Paul Bakausaf50f22d57f8
diff --git a/.agents/skills/impeccable/scripts/live-accept.mjs b/.agents/skills/impeccable/scripts/live-accept.mjsindex 484b5cb5b..a44e954f1 100644--- a/.agents/skills/impeccable/scripts/live-accept.mjs+++ b/.agents/skills/impeccable/scripts/live-accept.mjs@@ -79,20 +79,11 @@ Output (JSON):console.log(JSON.stringify({ handled: true, file: relFile, carbonize: false, ...result }));} else {const result = handleAccept(id, variantNum, lines, targetFile);- // When carbonize is needed, emit an explicit todo in the payload so the- // agent can't miss it. The five steps are mirrored from reference/live.md- // "Required after accept" and are intentionally verbose: past runs skipped- // cleanup when the instruction was a single bullet.+ // Single-line attention-grabber when cleanup is required. The full+ // five-step checklist lives in reference/live.md (loaded once per+ // session); repeating it per-event would waste tokens.if (result.carbonize) {- result.todo = [- 'REQUIRED before next poll: post-accept carbonize cleanup.',- '1. Move the inline <style data-impeccable-css="' + id + '"> rules into the project stylesheet.',- '2. Rewrite @scope ([data-impeccable-variant="N"]) selectors to use the element\'s real classes.',- '3. Drop the <div data-impeccable-variant="N" style="display: contents"> wrapper around the accepted content.',- '4. Delete the <!-- impeccable-carbonize-start/end --> marker comments and the inline <style> block.',- '5. Remove any @scope blocks for variants other than the accepted one (dead code).',- 'See reference/live.md "Required after accept" for the full checklist.',- ];+ result.todo = 'REQUIRED before next poll: carbonize cleanup in ' + relFile + '. See reference/live.md "Required after accept".';}console.log(JSON.stringify({ handled: true, file: relFile, ...result }));}diff --git a/.agents/skills/impeccable/scripts/live-poll.mjs b/.agents/skills/impeccable/scripts/live-poll.mjsindex 1fcc6ceb6..9dd87e3ea 100644--- a/.agents/skills/impeccable/scripts/live-poll.mjs+++ b/.agents/skills/impeccable/scripts/live-poll.mjs@@ -156,24 +156,11 @@ Options:}}- // Loud stderr banner so the agent sees the cleanup requirement even if- // it parses stdout JSON and ignores nested fields. carbonize: true means- // the accepted variant was stitched in with helper markers + inline CSS- // that must be cleaned up before the next poll — see reference/live.md- // "Required after accept".+ // Second signal path: stderr banner in case the agent parses stdout+ // JSON but skips nested fields. One line is enough — the full checklist+ // is in reference/live.md.if (event._acceptResult?.carbonize === true) {- process.stderr.write(- '\n' +- '========================================================================\n' +- ' REQUIRED: post-accept carbonize cleanup before the next poll.\n' +- ' 1. Move inline <style> rules into the project stylesheet.\n' +- ' 2. Rewrite @scope ([data-impeccable-variant]) to real classes.\n' +- ' 3. Drop the <div data-impeccable-variant> wrapper.\n' +- ' 4. Delete impeccable-carbonize-start/end marker comments.\n' +- ' 5. Drop @scope blocks for unaccepted variants.\n' +- ' Full checklist: reference/live.md, "Required after accept".\n' +- '========================================================================\n\n'- );+ process.stderr.write('\n⚠ Carbonize cleanup REQUIRED before next poll. See reference/live.md "Required after accept".\n\n');}// Print the event as JSON — the agent reads this from stdoutdiff --git a/.claude/skills/impeccable/scripts/live-accept.mjs b/.claude/skills/impeccable/scripts/live-accept.mjsindex 484b5cb5b..a44e954f1 100644--- a/.claude/skills/impeccable/scripts/live-accept.mjs+++ b/.claude/skills/impeccable/scripts/live-accept.mjs@@ -79,20 +79,11 @@ Output (JSON):console.log(JSON.stringify({ handled: true, file: relFile, carbonize: false, ...result }));} else {const result = handleAccept(id, variantNum, lines, targetFile);- // When carbonize is needed, emit an explicit todo in the payload so the- // agent can't miss it. The five steps are mirrored from reference/live.md- // "Required after accept" and are intentionally verbose: past runs skipped- // cleanup when the instruction was a single bullet.+ // Single-line attention-grabber when cleanup is required. The full+ // five-step checklist lives in reference/live.md (loaded once per+ // session); repeating it per-event would waste tokens.if (result.carbonize) {- result.todo = [- 'REQUIRED before next poll: post-accept carbonize cleanup.',- '1. Move the inline <style data-impeccable-css="' + id + '"> rules into the project stylesheet.',- '2. Rewrite @scope ([data-impeccable-variant="N"]) selectors to use the element\'s real classes.',- '3. Drop the <div data-impeccable-variant="N" style="display: contents"> wrapper around the accepted content.',- '4. Delete the <!-- impeccable-carbonize-start/end --> marker comments and the inline <style> block.',- '5. Remove any @scope blocks for variants other than the accepted one (dead code).',- 'See reference/live.md "Required after accept" for the full checklist.',- ];+ result.todo = 'REQUIRED before next poll: carbonize cleanup in ' + relFile + '. See reference/live.md "Required after accept".';}console.log(JSON.stringify({ handled: true, file: relFile, ...result }));}diff --git a/.claude/skills/impeccable/scripts/live-poll.mjs b/.claude/skills/impeccable/scripts/live-poll.mjsindex 1fcc6ceb6..9dd87e3ea 100644--- a/.claude/skills/impeccable/scripts/live-poll.mjs+++ b/.claude/skills/impeccable/scripts/live-poll.mjs@@ -156,24 +156,11 @@ Options:}}- // Loud stderr banner so the agent sees the cleanup requirement even if- // it parses stdout JSON and ignores nested fields. carbonize: true means- // the accepted variant was stitched in with helper markers + inline CSS- // that must be cleaned up before the next poll — see reference/live.md- // "Required after accept".+ // Second signal path: stderr banner in case the agent parses stdout+ // JSON but skips nested fields. One line is enough — the full checklist+ // is in reference/live.md.if (event._acceptResult?.carbonize === true) {- process.stderr.write(- '\n' +- '========================================================================\n' +- ' REQUIRED: post-accept carbonize cleanup before the next poll.\n' +- ' 1. Move inline <style> rules into the project stylesheet.\n' +- ' 2. Rewrite @scope ([data-impeccable-variant]) to real classes.\n' +- ' 3. Drop the <div data-impeccable-variant> wrapper.\n' +- ' 4. Delete impeccable-carbonize-start/end marker comments.\n' +- ' 5. Drop @scope blocks for unaccepted variants.\n' +- ' Full checklist: reference/live.md, "Required after accept".\n' +- '========================================================================\n\n'- );+ process.stderr.write('\n⚠ Carbonize cleanup REQUIRED before next poll. See reference/live.md "Required after accept".\n\n');}// Print the event as JSON — the agent reads this from stdoutdiff --git a/.cursor/skills/impeccable/scripts/live-accept.mjs b/.cursor/skills/impeccable/scripts/live-accept.mjsindex 484b5cb5b..a44e954f1 100644--- a/.cursor/skills/impeccable/scripts/live-accept.mjs+++ b/.cursor/skills/impeccable/scripts/live-accept.mjs@@ -79,20 +79,11 @@ Output (JSON):console.log(JSON.stringify({ handled: true, file: relFile, carbonize: false, ...result }));} else {const result = handleAccept(id, variantNum, lines, targetFile);- // When carbonize is needed, emit an explicit todo in the payload so the- // agent can't miss it. The five steps are mirrored from reference/live.md- // "Required after accept" and are intentionally verbose: past runs skipped- // cleanup when the instruction was a single bullet.+ // Single-line attention-grabber when cleanup is required. The full+ // five-step checklist lives in reference/live.md (loaded once per+ // session); repeating it per-event would waste tokens.if (result.carbonize) {- result.todo = [- 'REQUIRED before next poll: post-accept carbonize cleanup.',- '1. Move the inline <style data-impeccable-css="' + id + '"> rules into the project stylesheet.',- '2. Rewrite @scope ([data-impeccable-variant="N"]) selectors to use the element\'s real classes.',- '3. Drop the <div data-impeccable-variant="N" style="display: contents"> wrapper around the accepted content.',- '4. Delete the <!-- impeccable-carbonize-start/end --> marker comments and the inline <style> block.',- '5. Remove any @scope blocks for variants other than the accepted one (dead code).',- 'See reference/live.md "Required after accept" for the full checklist.',- ];+ result.todo = 'REQUIRED before next poll: carbonize cleanup in ' + relFile + '. See reference/live.md "Required after accept".';}console.log(JSON.stringify({ handled: true, file: relFile, ...result }));}diff --git a/.cursor/skills/impeccable/scripts/live-poll.mjs b/.cursor/skills/impeccable/scripts/live-poll.mjsindex 1fcc6ceb6..9dd87e3ea 100644--- a/.cursor/skills/impeccable/scripts/live-poll.mjs+++ b/.cursor/skills/impeccable/scripts/live-poll.mjs@@ -156,24 +156,11 @@ Options:}}- // Loud stderr banner so the agent sees the cleanup requirement even if- // it parses stdout JSON and ignores nested fields. carbonize: true means- // the accepted variant was stitched in with helper markers + inline CSS- // that must be cleaned up before the next poll — see reference/live.md- // "Required after accept".+ // Second signal path: stderr banner in case the agent parses stdout+ // JSON but skips nested fields. One line is enough — the full checklist+ // is in reference/live.md.if (event._acceptResult?.carbonize === true) {- process.stderr.write(- '\n' +- '========================================================================\n' +- ' REQUIRED: post-accept carbonize cleanup before the next poll.\n' +- ' 1. Move inline <style> rules into the project stylesheet.\n' +- ' 2. Rewrite @scope ([data-impeccable-variant]) to real classes.\n' +- ' 3. Drop the <div data-impeccable-variant> wrapper.\n' +- ' 4. Delete impeccable-carbonize-start/end marker comments.\n' +- ' 5. Drop @scope blocks for unaccepted variants.\n' +- ' Full checklist: reference/live.md, "Required after accept".\n' +- '========================================================================\n\n'- );+ process.stderr.write('\n⚠ Carbonize cleanup REQUIRED before next poll. See reference/live.md "Required after accept".\n\n');}// Print the event as JSON — the agent reads this from stdoutdiff --git a/.gemini/skills/impeccable/scripts/live-accept.mjs b/.gemini/skills/impeccable/scripts/live-accept.mjsindex 484b5cb5b..a44e954f1 100644--- a/.gemini/skills/impeccable/scripts/live-accept.mjs+++ b/.gemini/skills/impeccable/scripts/live-accept.mjs@@ -79,20 +79,11 @@ Output (JSON):console.log(JSON.stringify({ handled: true, file: relFile, carbonize: false, ...result }));} else {const result = handleAccept(id, variantNum, lines, targetFile);- // When carbonize is needed, emit an explicit todo in the payload so the- // agent can't miss it. The five steps are mirrored from reference/live.md- // "Required after accept" and are intentionally verbose: past runs skipped- // cleanup when the instruction was a single bullet.+ // Single-line attention-grabber when cleanup is required. The full+ // five-step checklist lives in reference/live.md (loaded once per+ // session); repeating it per-event would waste tokens.if (result.carbonize) {- result.todo = [- 'REQUIRED before next poll: post-accept carbonize cleanup.',- '1. Move the inline <style data-impeccable-css="' + id + '"> rules into the project stylesheet.',- '2. Rewrite @scope ([data-impeccable-variant="N"]) selectors to use the element\'s real classes.',- '3. Drop the <div data-impeccable-variant="N" style="display: contents"> wrapper around the accepted content.',- '4. Delete the <!-- impeccable-carbonize-start/end --> marker comments and the inline <style> block.',- '5. Remove any @scope blocks for variants other than the accepted one (dead code).',- 'See reference/live.md "Required after accept" for the full checklist.',- ];+ result.todo = 'REQUIRED before next poll: carbonize cleanup in ' + relFile + '. See reference/live.md "Required after accept".';}console.log(JSON.stringify({ handled: true, file: relFile, ...result }));}diff --git a/.gemini/skills/impeccable/scripts/live-poll.mjs b/.gemini/skills/impeccable/scripts/live-poll.mjsindex 1fcc6ceb6..9dd87e3ea 100644--- a/.gemini/skills/impeccable/scripts/live-poll.mjs+++ b/.gemini/skills/impeccable/scripts/live-poll.mjs@@ -156,24 +156,11 @@ Options:}}- // Loud stderr banner so the agent sees the cleanup requirement even if- // it parses stdout JSON and ignores nested fields. carbonize: true means- // the accepted variant was stitched in with helper markers + inline CSS- // that must be cleaned up before the next poll — see reference/live.md- // "Required after accept".+ // Second signal path: stderr banner in case the agent parses stdout+ // JSON but skips nested fields. One line is enough — the full checklist+ // is in reference/live.md.if (event._acceptResult?.carbonize === true) {- process.stderr.write(- '\n' +- '========================================================================\n' +- ' REQUIRED: post-accept carbonize cleanup before the next poll.\n' +- ' 1. Move inline <style> rules into the project stylesheet.\n' +- ' 2. Rewrite @scope ([data-impeccable-variant]) to real classes.\n' +- ' 3. Drop the <div data-impeccable-variant> wrapper.\n' +- ' 4. Delete impeccable-carbonize-start/end marker comments.\n' +- ' 5. Drop @scope blocks for unaccepted variants.\n' +- ' Full checklist: reference/live.md, "Required after accept".\n' +- '========================================================================\n\n'- );+ process.stderr.write('\n⚠ Carbonize cleanup REQUIRED before next poll. See reference/live.md "Required after accept".\n\n');}// Print the event as JSON — the agent reads this from stdoutdiff --git a/.github/skills/impeccable/scripts/live-accept.mjs b/.github/skills/impeccable/scripts/live-accept.mjsindex 484b5cb5b..a44e954f1 100644--- a/.github/skills/impeccable/scripts/live-accept.mjs+++ b/.github/skills/impeccable/scripts/live-accept.mjs@@ -79,20 +79,11 @@ Output (JSON):console.log(JSON.stringify({ handled: true, file: relFile, carbonize: false, ...result }));} else {const result = handleAccept(id, variantNum, lines, targetFile);- // When carbonize is needed, emit an explicit todo in the payload so the- // agent can't miss it. The five steps are mirrored from reference/live.md- // "Required after accept" and are intentionally verbose: past runs skipped- // cleanup when the instruction was a single bullet.+ // Single-line attention-grabber when cleanup is required. The full+ // five-step checklist lives in reference/live.md (loaded once per+ // session); repeating it per-event would waste tokens.if (result.carbonize) {- result.todo = [- 'REQUIRED before next poll: post-accept carbonize cleanup.',- '1. Move the inline <style data-impeccable-css="' + id + '"> rules into the project stylesheet.',- '2. Rewrite @scope ([data-impeccable-variant="N"]) selectors to use the element\'s real classes.',- '3. Drop the <div data-impeccable-variant="N" style="display: contents"> wrapper around the accepted content.',- '4. Delete the <!-- impeccable-carbonize-start/end --> marker comments and the inline <style> block.',- '5. Remove any @scope blocks for variants other than the accepted one (dead code).',- 'See reference/live.md "Required after accept" for the full checklist.',- ];+ result.todo = 'REQUIRED before next poll: carbonize cleanup in ' + relFile + '. See reference/live.md "Required after accept".';}console.log(JSON.stringify({ handled: true, file: relFile, ...result }));}diff --git a/.github/skills/impeccable/scripts/live-poll.mjs b/.github/skills/impeccable/scripts/live-poll.mjsindex 1fcc6ceb6..9dd87e3ea 100644--- a/.github/skills/impeccable/scripts/live-poll.mjs+++ b/.github/skills/impeccable/scripts/live-poll.mjs@@ -156,24 +156,11 @@ Options:}}- // Loud stderr banner so the agent sees the cleanup requirement even if- // it parses stdout JSON and ignores nested fields. carbonize: true means- // the accepted variant was stitched in with helper markers + inline CSS- // that must be cleaned up before the next poll — see reference/live.md- // "Required after accept".+ // Second signal path: stderr banner in case the agent parses stdout+ // JSON but skips nested fields. One line is enough — the full checklist+ // is in reference/live.md.if (event._acceptResult?.carbonize === true) {- process.stderr.write(- '\n' +- '========================================================================\n' +- ' REQUIRED: post-accept carbonize cleanup before the next poll.\n' +- ' 1. Move inline <style> rules into the project stylesheet.\n' +- ' 2. Rewrite @scope ([data-impeccable-variant]) to real classes.\n' +- ' 3. Drop the <div data-impeccable-variant> wrapper.\n' +- ' 4. Delete impeccable-carbonize-start/end marker comments.\n' +- ' 5. Drop @scope blocks for unaccepted variants.\n' +- ' Full checklist: reference/live.md, "Required after accept".\n' +- '========================================================================\n\n'- );+ process.stderr.write('\n⚠ Carbonize cleanup REQUIRED before next poll. See reference/live.md "Required after accept".\n\n');}// Print the event as JSON — the agent reads this from stdoutdiff --git a/.kiro/skills/impeccable/scripts/live-accept.mjs b/.kiro/skills/impeccable/scripts/live-accept.mjsindex 484b5cb5b..a44e954f1 100644--- a/.kiro/skills/impeccable/scripts/live-accept.mjs+++ b/.kiro/skills/impeccable/scripts/live-accept.mjs@@ -79,20 +79,11 @@ Output (JSON):console.log(JSON.stringify({ handled: true, file: relFile, carbonize: false, ...result }));} else {const result = handleAccept(id, variantNum, lines, targetFile);- // When carbonize is needed, emit an explicit todo in the payload so the- // agent can't miss it. The five steps are mirrored from reference/live.md- // "Required after accept" and are intentionally verbose: past runs skipped- // cleanup when the instruction was a single bullet.+ // Single-line attention-grabber when cleanup is required. The full+ // five-step checklist lives in reference/live.md (loaded once per+ // session); repeating it per-event would waste tokens.if (result.carbonize) {- result.todo = [- 'REQUIRED before next poll: post-accept carbonize cleanup.',- '1. Move the inline <style data-impeccable-css="' + id + '"> rules into the project stylesheet.',- '2. Rewrite @scope ([data-impeccable-variant="N"]) selectors to use the element\'s real classes.',- '3. Drop the <div data-impeccable-variant="N" style="display: contents"> wrapper around the accepted content.',- '4. Delete the <!-- impeccable-carbonize-start/end --> marker comments and the inline <style> block.',- '5. Remove any @scope blocks for variants other than the accepted one (dead code).',- 'See reference/live.md "Required after accept" for the full checklist.',- ];+ result.todo = 'REQUIRED before next poll: carbonize cleanup in ' + relFile + '. See reference/live.md "Required after accept".';}console.log(JSON.stringify({ handled: true, file: relFile, ...result }));}diff --git a/.kiro/skills/impeccable/scripts/live-poll.mjs b/.kiro/skills/impeccable/scripts/live-poll.mjsindex 1fcc6ceb6..9dd87e3ea 100644--- a/.kiro/skills/impeccable/scripts/live-poll.mjs+++ b/.kiro/skills/impeccable/scripts/live-poll.mjs@@ -156,24 +156,11 @@ Options:}}- // Loud stderr banner so the agent sees the cleanup requirement even if- // it parses stdout JSON and ignores nested fields. carbonize: true means- // the accepted variant was stitched in with helper markers + inline CSS- // that must be cleaned up before the next poll — see reference/live.md- // "Required after accept".+ // Second signal path: stderr banner in case the agent parses stdout+ // JSON but skips nested fields. One line is enough — the full checklist+ // is in reference/live.md.if (event._acceptResult?.carbonize === true) {- process.stderr.write(- '\n' +- '========================================================================\n' +- ' REQUIRED: post-accept carbonize cleanup before the next poll.\n' +- ' 1. Move inline <style> rules into the project stylesheet.\n' +- ' 2. Rewrite @scope ([data-impeccable-variant]) to real classes.\n' +- ' 3. Drop the <div data-impeccable-variant> wrapper.\n' +- ' 4. Delete impeccable-carbonize-start/end marker comments.\n' +- ' 5. Drop @scope blocks for unaccepted variants.\n' +- ' Full checklist: reference/live.md, "Required after accept".\n' +- '========================================================================\n\n'- );+ process.stderr.write('\n⚠ Carbonize cleanup REQUIRED before next poll. See reference/live.md "Required after accept".\n\n');}// Print the event as JSON — the agent reads this from stdoutdiff --git a/.opencode/skills/impeccable/scripts/live-accept.mjs b/.opencode/skills/impeccable/scripts/live-accept.mjsindex 484b5cb5b..a44e954f1 100644--- a/.opencode/skills/impeccable/scripts/live-accept.mjs+++ b/.opencode/skills/impeccable/scripts/live-accept.mjs@@ -79,20 +79,11 @@ Output (JSON):console.log(JSON.stringify({ handled: true, file: relFile, carbonize: false, ...result }));} else {const result = handleAccept(id, variantNum, lines, targetFile);- // When carbonize is needed, emit an explicit todo in the payload so the- // agent can't miss it. The five steps are mirrored from reference/live.md- // "Required after accept" and are intentionally verbose: past runs skipped- // cleanup when the instruction was a single bullet.+ // Single-line attention-grabber when cleanup is required. The full+ // five-step checklist lives in reference/live.md (loaded once per+ // session); repeating it per-event would waste tokens.if (result.carbonize) {- result.todo = [- 'REQUIRED before next poll: post-accept carbonize cleanup.',- '1. Move the inline <style data-impeccable-css="' + id + '"> rules into the project stylesheet.',- '2. Rewrite @scope ([data-impeccable-variant="N"]) selectors to use the element\'s real classes.',- '3. Drop the <div data-impeccable-variant="N" style="display: contents"> wrapper around the accepted content.',- '4. Delete the <!-- impeccable-carbonize-start/end --> marker comments and the inline <style> block.',- '5. Remove any @scope blocks for variants other than the accepted one (dead code).',- 'See reference/live.md "Required after accept" for the full checklist.',- ];+ result.todo = 'REQUIRED before next poll: carbonize cleanup in ' + relFile + '. See reference/live.md "Required after accept".';}console.log(JSON.stringify({ handled: true, file: relFile, ...result }));}diff --git a/.opencode/skills/impeccable/scripts/live-poll.mjs b/.opencode/skills/impeccable/scripts/live-poll.mjsindex 1fcc6ceb6..9dd87e3ea 100644--- a/.opencode/skills/impeccable/scripts/live-poll.mjs+++ b/.opencode/skills/impeccable/scripts/live-poll.mjs@@ -156,24 +156,11 @@ Options:}}- // Loud stderr banner so the agent sees the cleanup requirement even if- // it parses stdout JSON and ignores nested fields. carbonize: true means- // the accepted variant was stitched in with helper markers + inline CSS- // that must be cleaned up before the next poll — see reference/live.md- // "Required after accept".+ // Second signal path: stderr banner in case the agent parses stdout+ // JSON but skips nested fields. One line is enough — the full checklist+ // is in reference/live.md.if (event._acceptResult?.carbonize === true) {- process.stderr.write(- '\n' +- '========================================================================\n' +- ' REQUIRED: post-accept carbonize cleanup before the next poll.\n' +- ' 1. Move inline <style> rules into the project stylesheet.\n' +- ' 2. Rewrite @scope ([data-impeccable-variant]) to real classes.\n' +- ' 3. Drop the <div data-impeccable-variant> wrapper.\n' +- ' 4. Delete impeccable-carbonize-start/end marker comments.\n' +- ' 5. Drop @scope blocks for unaccepted variants.\n' +- ' Full checklist: reference/live.md, "Required after accept".\n' +- '========================================================================\n\n'- );+ process.stderr.write('\n⚠ Carbonize cleanup REQUIRED before next poll. See reference/live.md "Required after accept".\n\n');}// Print the event as JSON — the agent reads this from stdoutdiff --git a/.pi/skills/impeccable/scripts/live-accept.mjs b/.pi/skills/impeccable/scripts/live-accept.mjsindex 484b5cb5b..a44e954f1 100644--- a/.pi/skills/impeccable/scripts/live-accept.mjs+++ b/.pi/skills/impeccable/scripts/live-accept.mjs@@ -79,20 +79,11 @@ Output (JSON):console.log(JSON.stringify({ handled: true, file: relFile, carbonize: false, ...result }));} else {const result = handleAccept(id, variantNum, lines, targetFile);- // When carbonize is needed, emit an explicit todo in the payload so the- // agent can't miss it. The five steps are mirrored from reference/live.md- // "Required after accept" and are intentionally verbose: past runs skipped- // cleanup when the instruction was a single bullet.+ // Single-line attention-grabber when cleanup is required. The full+ // five-step checklist lives in reference/live.md (loaded once per+ // session); repeating it per-event would waste tokens.if (result.carbonize) {- result.todo = [- 'REQUIRED before next poll: post-accept carbonize cleanup.',- '1. Move the inline <style data-impeccable-css="' + id + '"> rules into the project stylesheet.',- '2. Rewrite @scope ([data-impeccable-variant="N"]) selectors to use the element\'s real classes.',- '3. Drop the <div data-impeccable-variant="N" style="display: contents"> wrapper around the accepted content.',- '4. Delete the <!-- impeccable-carbonize-start/end --> marker comments and the inline <style> block.',- '5. Remove any @scope blocks for variants other than the accepted one (dead code).',- 'See reference/live.md "Required after accept" for the full checklist.',- ];+ result.todo = 'REQUIRED before next poll: carbonize cleanup in ' + relFile + '. See reference/live.md "Required after accept".';}console.log(JSON.stringify({ handled: true, file: relFile, ...result }));}diff --git a/.pi/skills/impeccable/scripts/live-poll.mjs b/.pi/skills/impeccable/scripts/live-poll.mjsindex 1fcc6ceb6..9dd87e3ea 100644--- a/.pi/skills/impeccable/scripts/live-poll.mjs+++ b/.pi/skills/impeccable/scripts/live-poll.mjs@@ -156,24 +156,11 @@ Options:}}- // Loud stderr banner so the agent sees the cleanup requirement even if- // it parses stdout JSON and ignores nested fields. carbonize: true means- // the accepted variant was stitched in with helper markers + inline CSS- // that must be cleaned up before the next poll — see reference/live.md- // "Required after accept".+ // Second signal path: stderr banner in case the agent parses stdout+ // JSON but skips nested fields. One line is enough — the full checklist+ // is in reference/live.md.if (event._acceptResult?.carbonize === true) {- process.stderr.write(- '\n' +- '========================================================================\n' +- ' REQUIRED: post-accept carbonize cleanup before the next poll.\n' +- ' 1. Move inline <style> rules into the project stylesheet.\n' +- ' 2. Rewrite @scope ([data-impeccable-variant]) to real classes.\n' +- ' 3. Drop the <div data-impeccable-variant> wrapper.\n' +- ' 4. Delete impeccable-carbonize-start/end marker comments.\n' +- ' 5. Drop @scope blocks for unaccepted variants.\n' +- ' Full checklist: reference/live.md, "Required after accept".\n' +- '========================================================================\n\n'- );+ process.stderr.write('\n⚠ Carbonize cleanup REQUIRED before next poll. See reference/live.md "Required after accept".\n\n');}// Print the event as JSON — the agent reads this from stdoutdiff --git a/.rovodev/skills/impeccable/scripts/live-accept.mjs b/.rovodev/skills/impeccable/scripts/live-accept.mjsindex 484b5cb5b..a44e954f1 100644--- a/.rovodev/skills/impeccable/scripts/live-accept.mjs+++ b/.rovodev/skills/impeccable/scripts/live-accept.mjs@@ -79,20 +79,11 @@ Output (JSON):console.log(JSON.stringify({ handled: true, file: relFile, carbonize: false, ...result }));} else {const result = handleAccept(id, variantNum, lines, targetFile);- // When carbonize is needed, emit an explicit todo in the payload so the- // agent can't miss it. The five steps are mirrored from reference/live.md- // "Required after accept" and are intentionally verbose: past runs skipped- // cleanup when the instruction was a single bullet.+ // Single-line attention-grabber when cleanup is required. The full+ // five-step checklist lives in reference/live.md (loaded once per+ // session); repeating it per-event would waste tokens.if (result.carbonize) {- result.todo = [- 'REQUIRED before next poll: post-accept carbonize cleanup.',- '1. Move the inline <style data-impeccable-css="' + id + '"> rules into the project stylesheet.',- '2. Rewrite @scope ([data-impeccable-variant="N"]) selectors to use the element\'s real classes.',- '3. Drop the <div data-impeccable-variant="N" style="display: contents"> wrapper around the accepted content.',- '4. Delete the <!-- impeccable-carbonize-start/end --> marker comments and the inline <style> block.',- '5. Remove any @scope blocks for variants other than the accepted one (dead code).',- 'See reference/live.md "Required after accept" for the full checklist.',- ];+ result.todo = 'REQUIRED before next poll: carbonize cleanup in ' + relFile + '. See reference/live.md "Required after accept".';}console.log(JSON.stringify({ handled: true, file: relFile, ...result }));}diff --git a/.rovodev/skills/impeccable/scripts/live-poll.mjs b/.rovodev/skills/impeccable/scripts/live-poll.mjsindex 1fcc6ceb6..9dd87e3ea 100644--- a/.rovodev/skills/impeccable/scripts/live-poll.mjs+++ b/.rovodev/skills/impeccable/scripts/live-poll.mjs@@ -156,24 +156,11 @@ Options:}}- // Loud stderr banner so the agent sees the cleanup requirement even if- // it parses stdout JSON and ignores nested fields. carbonize: true means- // the accepted variant was stitched in with helper markers + inline CSS- // that must be cleaned up before the next poll — see reference/live.md- // "Required after accept".+ // Second signal path: stderr banner in case the agent parses stdout+ // JSON but skips nested fields. One line is enough — the full checklist+ // is in reference/live.md.if (event._acceptResult?.carbonize === true) {- process.stderr.write(- '\n' +- '========================================================================\n' +- ' REQUIRED: post-accept carbonize cleanup before the next poll.\n' +- ' 1. Move inline <style> rules into the project stylesheet.\n' +- ' 2. Rewrite @scope ([data-impeccable-variant]) to real classes.\n' +- ' 3. Drop the <div data-impeccable-variant> wrapper.\n' +- ' 4. Delete impeccable-carbonize-start/end marker comments.\n' +- ' 5. Drop @scope blocks for unaccepted variants.\n' +- ' Full checklist: reference/live.md, "Required after accept".\n' +- '========================================================================\n\n'- );+ process.stderr.write('\n⚠ Carbonize cleanup REQUIRED before next poll. See reference/live.md "Required after accept".\n\n');}// Print the event as JSON — the agent reads this from stdoutdiff --git a/.trae-cn/skills/impeccable/scripts/live-accept.mjs b/.trae-cn/skills/impeccable/scripts/live-accept.mjsindex 484b5cb5b..a44e954f1 100644--- a/.trae-cn/skills/impeccable/scripts/live-accept.mjs+++ b/.trae-cn/skills/impeccable/scripts/live-accept.mjs@@ -79,20 +79,11 @@ Output (JSON):console.log(JSON.stringify({ handled: true, file: relFile, carbonize: false, ...result }));} else {const result = handleAccept(id, variantNum, lines, targetFile);- // When carbonize is needed, emit an explicit todo in the payload so the- // agent can't miss it. The five steps are mirrored from reference/live.md- // "Required after accept" and are intentionally verbose: past runs skipped- // cleanup when the instruction was a single bullet.+ // Single-line attention-grabber when cleanup is required. The full+ // five-step checklist lives in reference/live.md (loaded once per+ // session); repeating it per-event would waste tokens.if (result.carbonize) {- result.todo = [- 'REQUIRED before next poll: post-accept carbonize cleanup.',- '1. Move the inline <style data-impeccable-css="' + id + '"> rules into the project stylesheet.',- '2. Rewrite @scope ([data-impeccable-variant="N"]) selectors to use the element\'s real classes.',- '3. Drop the <div data-impeccable-variant="N" style="display: contents"> wrapper around the accepted content.',- '4. Delete the <!-- impeccable-carbonize-start/end --> marker comments and the inline <style> block.',- '5. Remove any @scope blocks for variants other than the accepted one (dead code).',- 'See reference/live.md "Required after accept" for the full checklist.',- ];+ result.todo = 'REQUIRED before next poll: carbonize cleanup in ' + relFile + '. See reference/live.md "Required after accept".';}console.log(JSON.stringify({ handled: true, file: relFile, ...result }));}diff --git a/.trae-cn/skills/impeccable/scripts/live-poll.mjs b/.trae-cn/skills/impeccable/scripts/live-poll.mjsindex 1fcc6ceb6..9dd87e3ea 100644--- a/.trae-cn/skills/impeccable/scripts/live-poll.mjs+++ b/.trae-cn/skills/impeccable/scripts/live-poll.mjs@@ -156,24 +156,11 @@ Options:}}- // Loud stderr banner so the agent sees the cleanup requirement even if- // it parses stdout JSON and ignores nested fields. carbonize: true means- // the accepted variant was stitched in with helper markers + inline CSS- // that must be cleaned up before the next poll — see reference/live.md- // "Required after accept".+ // Second signal path: stderr banner in case the agent parses stdout+ // JSON but skips nested fields. One line is enough — the full checklist+ // is in reference/live.md.if (event._acceptResult?.carbonize === true) {- process.stderr.write(- '\n' +- '========================================================================\n' +- ' REQUIRED: post-accept carbonize cleanup before the next poll.\n' +- ' 1. Move inline <style> rules into the project stylesheet.\n' +- ' 2. Rewrite @scope ([data-impeccable-variant]) to real classes.\n' +- ' 3. Drop the <div data-impeccable-variant> wrapper.\n' +- ' 4. Delete impeccable-carbonize-start/end marker comments.\n' +- ' 5. Drop @scope blocks for unaccepted variants.\n' +- ' Full checklist: reference/live.md, "Required after accept".\n' +- '========================================================================\n\n'- );+ process.stderr.write('\n⚠ Carbonize cleanup REQUIRED before next poll. See reference/live.md "Required after accept".\n\n');}// Print the event as JSON — the agent reads this from stdoutdiff --git a/.trae/skills/impeccable/scripts/live-accept.mjs b/.trae/skills/impeccable/scripts/live-accept.mjsindex 484b5cb5b..a44e954f1 100644--- a/.trae/skills/impeccable/scripts/live-accept.mjs+++ b/.trae/skills/impeccable/scripts/live-accept.mjs@@ -79,20 +79,11 @@ Output (JSON):console.log(JSON.stringify({ handled: true, file: relFile, carbonize: false, ...result }));} else {const result = handleAccept(id, variantNum, lines, targetFile);- // When carbonize is needed, emit an explicit todo in the payload so the- // agent can't miss it. The five steps are mirrored from reference/live.md- // "Required after accept" and are intentionally verbose: past runs skipped- // cleanup when the instruction was a single bullet.+ // Single-line attention-grabber when cleanup is required. The full+ // five-step checklist lives in reference/live.md (loaded once per+ // session); repeating it per-event would waste tokens.if (result.carbonize) {- result.todo = [- 'REQUIRED before next poll: post-accept carbonize cleanup.',- '1. Move the inline <style data-impeccable-css="' + id + '"> rules into the project stylesheet.',- '2. Rewrite @scope ([data-impeccable-variant="N"]) selectors to use the element\'s real classes.',- '3. Drop the <div data-impeccable-variant="N" style="display: contents"> wrapper around the accepted content.',- '4. Delete the <!-- impeccable-carbonize-start/end --> marker comments and the inline <style> block.',- '5. Remove any @scope blocks for variants other than the accepted one (dead code).',- 'See reference/live.md "Required after accept" for the full checklist.',- ];+ result.todo = 'REQUIRED before next poll: carbonize cleanup in ' + relFile + '. See reference/live.md "Required after accept".';}console.log(JSON.stringify({ handled: true, file: relFile, ...result }));}diff --git a/.trae/skills/impeccable/scripts/live-poll.mjs b/.trae/skills/impeccable/scripts/live-poll.mjsindex 1fcc6ceb6..9dd87e3ea 100644--- a/.trae/skills/impeccable/scripts/live-poll.mjs+++ b/.trae/skills/impeccable/scripts/live-poll.mjs@@ -156,24 +156,11 @@ Options:}}- // Loud stderr banner so the agent sees the cleanup requirement even if- // it parses stdout JSON and ignores nested fields. carbonize: true means- // the accepted variant was stitched in with helper markers + inline CSS- // that must be cleaned up before the next poll — see reference/live.md- // "Required after accept".+ // Second signal path: stderr banner in case the agent parses stdout+ // JSON but skips nested fields. One line is enough — the full checklist+ // is in reference/live.md.if (event._acceptResult?.carbonize === true) {- process.stderr.write(- '\n' +- '========================================================================\n' +- ' REQUIRED: post-accept carbonize cleanup before the next poll.\n' +- ' 1. Move inline <style> rules into the project stylesheet.\n' +- ' 2. Rewrite @scope ([data-impeccable-variant]) to real classes.\n' +- ' 3. Drop the <div data-impeccable-variant> wrapper.\n' +- ' 4. Delete impeccable-carbonize-start/end marker comments.\n' +- ' 5. Drop @scope blocks for unaccepted variants.\n' +- ' Full checklist: reference/live.md, "Required after accept".\n' +- '========================================================================\n\n'- );+ process.stderr.write('\n⚠ Carbonize cleanup REQUIRED before next poll. See reference/live.md "Required after accept".\n\n');}// Print the event as JSON — the agent reads this from stdoutdiff --git a/source/skills/impeccable/scripts/live-accept.mjs b/source/skills/impeccable/scripts/live-accept.mjsindex 484b5cb5b..a44e954f1 100644--- a/source/skills/impeccable/scripts/live-accept.mjs+++ b/source/skills/impeccable/scripts/live-accept.mjs@@ -79,20 +79,11 @@ Output (JSON):console.log(JSON.stringify({ handled: true, file: relFile, carbonize: false, ...result }));} else {const result = handleAccept(id, variantNum, lines, targetFile);- // When carbonize is needed, emit an explicit todo in the payload so the- // agent can't miss it. The five steps are mirrored from reference/live.md- // "Required after accept" and are intentionally verbose: past runs skipped- // cleanup when the instruction was a single bullet.+ // Single-line attention-grabber when cleanup is required. The full+ // five-step checklist lives in reference/live.md (loaded once per+ // session); repeating it per-event would waste tokens.if (result.carbonize) {- result.todo = [- 'REQUIRED before next poll: post-accept carbonize cleanup.',- '1. Move the inline <style data-impeccable-css="' + id + '"> rules into the project stylesheet.',- '2. Rewrite @scope ([data-impeccable-variant="N"]) selectors to use the element\'s real classes.',- '3. Drop the <div data-impeccable-variant="N" style="display: contents"> wrapper around the accepted content.',- '4. Delete the <!-- impeccable-carbonize-start/end --> marker comments and the inline <style> block.',- '5. Remove any @scope blocks for variants other than the accepted one (dead code).',- 'See reference/live.md "Required after accept" for the full checklist.',- ];+ result.todo = 'REQUIRED before next poll: carbonize cleanup in ' + relFile + '. See reference/live.md "Required after accept".';}console.log(JSON.stringify({ handled: true, file: relFile, ...result }));}diff --git a/source/skills/impeccable/scripts/live-poll.mjs b/source/skills/impeccable/scripts/live-poll.mjsindex 1fcc6ceb6..9dd87e3ea 100644--- a/source/skills/impeccable/scripts/live-poll.mjs+++ b/source/skills/impeccable/scripts/live-poll.mjs@@ -156,24 +156,11 @@ Options:}}- // Loud stderr banner so the agent sees the cleanup requirement even if- // it parses stdout JSON and ignores nested fields. carbonize: true means- // the accepted variant was stitched in with helper markers + inline CSS- // that must be cleaned up before the next poll — see reference/live.md- // "Required after accept".+ // Second signal path: stderr banner in case the agent parses stdout+ // JSON but skips nested fields. One line is enough — the full checklist+ // is in reference/live.md.if (event._acceptResult?.carbonize === true) {- process.stderr.write(- '\n' +- '========================================================================\n' +- ' REQUIRED: post-accept carbonize cleanup before the next poll.\n' +- ' 1. Move inline <style> rules into the project stylesheet.\n' +- ' 2. Rewrite @scope ([data-impeccable-variant]) to real classes.\n' +- ' 3. Drop the <div data-impeccable-variant> wrapper.\n' +- ' 4. Delete impeccable-carbonize-start/end marker comments.\n' +- ' 5. Drop @scope blocks for unaccepted variants.\n' +- ' Full checklist: reference/live.md, "Required after accept".\n' +- '========================================================================\n\n'- );+ process.stderr.write('\n⚠ Carbonize cleanup REQUIRED before next poll. See reference/live.md "Required after accept".\n\n');}// Print the event as JSON — the agent reads this from stdout