Skip to content
sarj/graph/edge-endpoints

Use compatible edge endpoints

Constrained non-code edges connect compatible component kinds.

error

Examples

FlaggedFails
library --implements-contract--> application
PassesClean
application --implements-contract--> contract

Why it matters

An edge whose endpoints contradict its meaning is invalid dependency evidence.

How detection works

A constrained non-code edge has an incompatible source or target kind.

What is inspected

  • declared edge kind and endpoint component kinds

How to fix it

Replace implementation coupling with an owned library or runtime contract.

  1. Correct the edge type or connect component kinds allowed for that edge.

Verify

  • Run repo-lint again and confirm the rule passes.