The graph
Two node types. Five edges. One of them derived.
Decisions rest on assumptions. Assumptions hold, get questioned, or break. Conflicts are computed from scope overlap and opposed direction, never entered by hand, and recomputed on every write.
loading the graph
The schema
Small on purpose. Everything the resolver, the pipeline, and the compiler do is defined in terms of these, and nothing in the model exists that a human cannot point at.
| Edge | Direction | Declared or derived | Why it exists |
|---|---|---|---|
| governs | Decision to Scope | declared | Four-level scope algebra, most-specific-wins. Load-bearing. |
| rests_on | Decision to Assumption | declared or extracted | Makes cascade invalidation possible. Many decisions, one assumption. |
| supersedes | Decision to Decision | declared | Temporal replacement. Both records survive; the history stays intact. |
| excepts | Decision to Scope | declared, with an expiry | Scoped carve-outs are the most common real pattern. Without this edge every legitimate exception reads as a contradiction and the feed becomes noise. |
| conflicts_with | Decision to Decision | derived only | There is no field in the schema for typing one in. A conflict a human can enter is a conflict a human has already resolved. |
Statement types decide enforcement
This single field is the precision control. Automated violation detection reaches 91.1% accuracy overall, but 42 percent of its errors land on infrastructure and 26 percent on principle-driven intent. Mentat never auto-enforces either.
| Type | Auto-enforced | Behaviour |
|---|---|---|
| code_inferable | yes | Eligible for hard flags and for blocking. |
| structural | yes | Dependency direction and layering. Good accuracy. |
| infrastructure | no | Context only. 42 percent of model errors live here. |
| intent_oriented | no | Context only. Never reported as a violation. |
| process | no | Human-routed. Not checkable from code at all. |