Remember the terminal or web console choice, refresh the launcher model menus (v3.2.2)

AI Assisted
This commit is contained in:
jparkerweb committed 2026-11-30 20:08:23 -08:00
1 parent f1d087ba47
commit ccf82c4eb7
60 files changed
+477 -317

No files matched your search

+4 -4
View File
@@ -32,15 +32,15 @@ test("the real prompts pass", () => {
test("a drifted shared sentence is named with its skill", () => {
const dir = copySrc();
edit(dir, "plan2code-review.md", "Switchable anytime.", "You can switch whenever.");
edit(dir, "plan2code-review.md", "and follow its rule", "and follow its nose");
const problems = check(dir);
assert.equal(problems.length, 1);
assert.match(problems[0], /plan2code-review\.md: shared sentence "switch"/);
assert.match(problems[0], /plan2code-review\.md: shared sentence "rule"/);
});
test("punctuation and case alone do not count as drift", () => {
const dir = copySrc();
edit(dir, "plan2code-test.md", "Switchable anytime.", "switchable anytime.");
edit(dir, "plan2code-test.md", "and follow its rule:", "AND FOLLOW ITS RULE;");
edit(dir, "plan2code-test.md", "Its session is already open: resume it", "Its session is already open \u2014 resume it");
assert.deepEqual(check(dir), []);
});
@@ -73,7 +73,7 @@ test("helpers", () => {
test("the CLI exits 1 on drift", () => {
const dir = copySrc();
edit(dir, "plan2code-git.md", "Switchable anytime.", "Whenever.");
edit(dir, "plan2code-git.md", "ask only if it says so", "ask only if it wants");
const r = spawnSync(process.execPath, [path.join(HERE, "check-console-openings.mjs"), dir], { encoding: "utf8" });
assert.equal(r.status, 1);
assert.match(r.stderr, /plan2code-git\.md/);