Rulebearing Playground Coverage Schemas GitHub

ADR-0027: The configuration sandbox offers pure path and url modules

Context

ADR-0006 limits what a JavaScript configuration may require or import to JSON files, other configuration modules under the repository, and the bundled dependency-cruiser presets. Wave 1 measured that rule against the ten dependency-cruiser configurations the test-bed manifest names, fetched at their pinned commits:

Configuration Needs beyond ADR-0006
eight of the ten nothing
sverweij/dependency-cruiser .dependency-cruiser.mjs node:url (fileURLToPath), new URL(..., import.meta.url) to name its own configs/recommended-strict.cjs
invertase/react-native-firebase .dependency-cruiser.cjs fs (readdirSync, statSync, existsSync, and writeFileSync of a generated tsconfig)

The first needs only string functions over paths: no file is opened and nothing leaves the process. The second genuinely reads and writes the filesystem.

Decision

Consequences

Alternatives considered