@ai-matrx/records 0.30.0 → 0.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2163,10 +2163,24 @@ var PLACEHOLDER_PATTERNS = [
2163
2163
  instead: "Write the sentence this business would really send."
2164
2164
  },
2165
2165
  {
2166
+ // TWO Zs, NOT THREE (widened 2026-09-21, lane ZZ-SWEEP-2). `ZZ W4-AGG Red`,
2167
+ // `ZZ HQ`, `zz_a_deal` are the same junk as `ZZZ …` and were the larger
2168
+ // half of it: 791 of them across 88 campaign-suite files when this widened.
2169
+ //
2170
+ // BUT A LEADING `zz` ON A DATABASE TRIGGER IS NOT A NAME, IT IS AN ORDERING
2171
+ // DEVICE. PostgreSQL fires triggers in alphabetical order of their name and
2172
+ // gives no other way to say "last", so this platform spells "last" with
2173
+ // z's: 591 live triggers across 79 distinct names — `zz0_table_owner`,
2174
+ // `zz_memo_clear_i`, `zzz_history_capture_s_u`, `zzzz_unique_rule_holds` —
2175
+ // where each extra z buys another rung. A suite that asserts which triggers
2176
+ // fire on `custom.record` MUST quote those names exactly. Reddening on them
2177
+ // would be this file's own "catch the junk, never the vocabulary" rule
2178
+ // broken, so a line that is talking about triggers is exempt.
2166
2179
  id: "zzz-prefix",
2167
- test: /\bzzz+[\s_-]/gi,
2168
- why: "A 'ZZZ \u2026' name exists to sort test rows to the bottom and to be deleted; it makes every screen look broken.",
2169
- instead: "Give it the use case's own name and find it for cleanup by the organization's cleanup tag."
2180
+ test: /\bzz+[\s_-]/gi,
2181
+ unlessLineMatches: /\btriggers?\b|\btgname\b|\btgrelid\b|\btgenabled\b|\bpg_trigger\b/i,
2182
+ why: "A 'ZZ \u2026' / 'ZZZ \u2026' name exists to sort test rows to the bottom and to be deleted; it makes every screen look broken.",
2183
+ instead: "Give it the use case's own name and find it for cleanup by the organization's cleanup tag. (On a TRIGGER the prefix is a firing-order device, not a name \u2014 say 'trigger' on the line and it is exempt.)"
2170
2184
  },
2171
2185
  {
2172
2186
  id: "test-table",