Skip to content

Rules for an AI coding agent to filter out generic AI-generated UI designs, text, and code.

fix(cli): make the fence reinstall check compare a boolean

miqdadbadjuberbcac286cd589
diff --git a/cli/scripts/smoke-worker.mjs b/cli/scripts/smoke-worker.mjs
index 05c37b3..f070d84 100644
--- a/cli/scripts/smoke-worker.mjs
+++ b/cli/scripts/smoke-worker.mjs
@@ -184,7 +184,7 @@ for (const fence of ['```', '~~~']) {
check(`J ${fence} real block added outside the example`, (read().match(/antislop:start/g) || []).length, 2)
const first = read()
updatePointers({ targets, skills })
- check(`J ${fence} example stays intact on reinstall`, read(), first)
+ check(`J ${fence} example stays intact on reinstall`, read() === first, true)
}
// A stray end marker below the block is ours too, and must not survive.