Rulebearing Playground Coverage Schemas GitHub

ADR-0028: Backreferences are matched by instantiation on the linear-time engine

Context

ADR-0016 refused lookaround and backreferences, because the regex crate has neither, and said to revisit if an oracle configuration needed one. Loading the ten dependency-cruiser configurations of the test-bed manifest at their pinned commits found exactly one such pattern, in langfuse/langfuse (web/.dependency-cruiser.js, rule rfc07-no-component-internals, to.pathNot):

^$1/|(^|/)([A-Z][A-Za-z0-9]*)/(\2|index)\.(ts|tsx)$

It says "a component folder's own file, or its index". No configuration uses lookaround. langfuse is one of the three repositories the wave 1 exit criterion names for zero difference, so refusing the pattern would fail the wave.

Decision

Consequences

Alternatives considered