{ "$comment": "Fixture for injection-lexicon.test.mjs graceful-degradation cases. Not a commons artifact: a hand-written lexicon whose entries are individually broken in the ways vendored data can plausibly be broken. Each family below is a distinct failure mode, so a builder that survives this file survives a corrupt commons without throwing inside a hook.", "version": "0.0.0-fixture", "id": "fixture/malformed-lexicon", "families": [ { "id": "critical", "source_export": "CRITICAL_PATTERNS", "severity": "critical", "patterns": [ { "id": "override:ignore-previous", "label": "override: ignore previous instructions", "pattern": "ignore\\s+(?:all\\s+)?previous", "flags": "i" }, { "id": "broken:uncompilable", "label": "uncompilable: unbalanced group", "pattern": "(?:unclosed[", "flags": "i" }, { "id": "broken:bad-flags", "label": "uncompilable: flag that is not a RegExp flag", "pattern": "harmless", "flags": "Z" }, { "id": "broken:pattern-not-a-string", "label": "malformed: pattern is an object", "pattern": { "source": "nope" }, "flags": "i" }, { "id": "broken:label-missing", "pattern": "labelless", "flags": "i" } ] }, { "id": "hybrid", "source_export": "HYBRID_PATTERNS", "severity": "high", "patterns": "not-an-array" }, { "id": "unknown", "source_export": "FUTURE_PATTERNS", "severity": "high", "patterns": [ { "id": "future:table", "label": "a family no consumer here publishes", "pattern": "whatever", "flags": "i" } ] } ] }