sarj/graph/cross-product-import Avoid cross-product code dependencies
Product code does not depend on another product's implementation.
error
Examples
beta library --source-import--> alpha librarybeta application --runtime-call--> alpha APIWhy it matters
Cross-product implementation coupling hides ownership and release dependencies.
How detection works
A code dependency crosses two distinct declared product IDs.
What is inspected
- product ownership and declared code dependencies
How to fix it
Replace implementation coupling with an owned library or runtime contract.
- Use a shared contract or a runtime-call edge across products.
Verify
- Run repo-lint again and confirm the rule passes.