Conformityspec-to-code drift gate
conformity2/conformity-v1

GitLab Orbit · Duo Agent Platform · Showcase

Drift, proven by graph diff.

The spec becomes a contract graph. GitLab Orbit turns the code into an implementation graph. On every merge request, Conformity diffs the two and blocks the merge when the code has drifted — the violation is a node that exists in one graph and not the other.

Title sequence06s · 1920×1080

The verdict

MR !1 · demo/contract-drift blocked
BLOCKEDmerge gated · 2 violations

How it decides

01

Read the contract

Parse the OpenAPI spec into endpoints keyed by operationId.

spec_to_graph.py
02

Query Orbit

One traversal for handler Definitions in routes.py. No graph dump.

code_graph.py
03

Diff the graphs

operationId set △ handler-name set. A node is there or it isn't.

diff_graphs.py
04

Gate the merge

On drift the CI job exits non-zero; the merge is un-mergeable.

render_block.py

Session log