Cohere

a coherence layer for Elixir / Phoenix

The ladder

Coherence isn't binary, and you can't build it all at once. The ladder represents what a project can provide. mix cohere prints where yours stands.

Each level is useful and none requires the previous. Phoenix 1.8 ships every new project at level 1. Cohere is levels 2–5, adopted incrementally: start with the map, add cards to the contexts that matter, and let the rest arrive when it earns its place.

Dependencies

Cohere has zero runtime dependencies, so every capability is probed in the host app rather than required of it. The more you have installed, the more cohere derives; with nothing beyond Elixir you still get a working, if sparse, map.

What a level buys you

The rungs are ordered by the strength of the guarantee. L1 is prose someone wrote once. L2 can't lie but knows nothing about intent. L3 is where the gate appears: authored intent that the build verifies is still current. L4 moves enforcement into the compiler and verification into the runtime. L5 is the payoff: context assembled and delivered for exactly the task at hand.