{ "$comment": "GENERATED by `cargo test -p cotton-core --lib language::emit` from crates/cotton-core/src/language/, which is where a term is retired — a term is NEVER retired here. Regenerate with COTTON_UPDATE_RETIRED_TERMS=1; the same test fails on drift. `pattern` is the JavaScript regex SOURCE and `flags` is what to apply to it: `i` and deliberately not `u`, because the declared patterns match the ASCII word class and fold case within ASCII only.", "flags": "i", "terms": [ { "slug": "door", "pattern": "\\bdoors?\\b", "instead": "say \"the server\"" }, { "slug": "shelf", "pattern": "\\bshel(f|ves)\\b", "instead": "say \"project\"" }, { "slug": "the-memory-room", "pattern": "\\bmemory room\\b", "instead": "say \"memory\"" }, { "slug": "room", "pattern": "\\bthe rooms?\\b|\\b(People|Notes|Todos) room\\b", "instead": "say \"tool\", or name it" }, { "slug": "your-file", "pattern": "\\byour file\\b|\\blife file\\b|\\bCotton file\\b", "instead": "say \"your database\"" }, { "slug": "pack", "pattern": "\\bthe packs?\\b", "instead": "say \"the briefing\"" }, { "slug": "box", "pattern": "\\bthe box(es)?\\b", "instead": "say \"the host\"" }, { "slug": "mark", "pattern": "\\bthe marks?\\b", "instead": "say \"the logo\"" }, { "slug": "seat", "pattern": "\\bseats?\\b", "instead": "say \"participant\"" }, { "slug": "nudge", "pattern": "\\bnudges?\\b", "instead": "say \"trigger\"" }, { "slug": "law", "pattern": "\\blaws?\\b", "instead": "say \"decision\" or \"rule\"" }, { "slug": "canon", "pattern": "\\bcanons?\\b", "instead": "say what it is plainly" }, { "slug": "life-record", "pattern": "\\blife records?\\b", "instead": "say \"records\", or \"your data\"" }, { "slug": "model-on-device", "pattern": "\\bAI runs on your\\b", "instead": "never say where the model runs — say what the database does, and that any assistant can use it" }, { "slug": "row-level-security", "pattern": "\\brow[- ]level security\\b|\\ban account can only\\b|\\beveryone else shares one\\b|\\bper-account security\\b", "instead": "say what is true — one database file per person, on the Mac that holds it, opened only for the devices it has admitted" } ], "strict": [ { "slug": "door", "pattern": "\\bdoors?\\b", "instead": "say \"the server\"" }, { "slug": "shelf", "pattern": "\\bshel(f|ves)\\b", "instead": "say \"project\"" }, { "slug": "the-memory-room", "pattern": "\\bmemory room\\b", "instead": "say \"memory\"" }, { "slug": "room", "pattern": "\\bthe rooms?\\b|\\b(People|Notes|Todos) room\\b", "instead": "say \"tool\", or name it" }, { "slug": "your-file", "pattern": "\\byour file\\b|\\blife file\\b|\\bCotton file\\b", "instead": "say \"your database\"" }, { "slug": "pack", "pattern": "\\bthe packs?\\b", "instead": "say \"the briefing\"" }, { "slug": "box", "pattern": "\\bthe box(es)?\\b", "instead": "say \"the host\"" }, { "slug": "mark", "pattern": "\\bthe marks?\\b", "instead": "say \"the logo\"" }, { "slug": "seat", "pattern": "\\bseats?\\b", "instead": "say \"participant\"" }, { "slug": "nudge", "pattern": "\\bnudges?\\b", "instead": "say \"trigger\"" }, { "slug": "law", "pattern": "\\blaws?\\b", "instead": "say \"decision\" or \"rule\"" }, { "slug": "canon", "pattern": "\\bcanons?\\b", "instead": "say what it is plainly" }, { "slug": "life-record", "pattern": "\\blife records?\\b", "instead": "say \"records\", or \"your data\"" }, { "slug": "model-on-device", "pattern": "\\bAI runs on your\\b", "instead": "never say where the model runs — say what the database does, and that any assistant can use it" }, { "slug": "row-level-security", "pattern": "\\brow[- ]level security\\b|\\ban account can only\\b|\\beveryone else shares one\\b|\\bper-account security\\b", "instead": "say what is true — one database file per person, on the Mac that holds it, opened only for the devices it has admitted" }, { "slug": "room-bare", "pattern": "\\brooms?\\b", "instead": "say \"memory\", \"project\", or name the tool" } ] }