← Files AkinatorARCHIVED FILE
evals/results/workspaces/2026-08-26-05-gate-economy/rules/02-billing-boundary.md
451 Bytes · Oct 3, 2026 · 06:33 UTC
# Rule 02 - Billing does not import from records ## Purpose The dependency must point one way. When billing imported record internals, a refactor of record storage broke invoicing in a way nobody predicted. ## Applies to `src/billing/` may not import from `src/records/`. ## Mandatory rules 1. No module under `src/billing/` imports `src.records`. ## Enforcement - Mechanism: `tests/test_architecture_boundaries.py` - Type: architecture test.
SHA-256: 400eefbf1911eef139892ecab1ecc4b3734a542ecd2232a6a054d20d7086e205