Orbit-powered merge governance

RivenblocksunsafeAI-writtencode.

Riven turns GitLab Orbit's code graph into an enforceable merge contract: changed definitions, impacted callers, verification plan, risk score, and CI gate.

Amergegatebuiltfromthegraph

Riven is not a reviewer comment. It is a CI-facing control plane that turns Orbit static graph evidence into a required GitLab merge status.

Open the live contract
Diff · Graph · Contract · Gate
GitLab-native
01

MR diff enters

Riven resolves the GitLab merge request base and head refs, then maps changed lines to Orbit definitions instead of guessing from prose.

change intake
02

Orbit graph expands

It walks inbound static CALLS edges through gl_edge to find graph-proven impacted callers and transitive risk.

static impact
03

Contract emitted

The result is risk-contract.yaml: changed symbols, impacted sites, verification jobs, owners, risk factors, and unmet gate conditions.

machine policy
04

GitLab enforces

If the contract fails, the CI job exits non-zero. GitLab keeps the merge button blocked until the risk is handled.

merge control
Graph-proven static impact, with documented limits for dynamic runtime behavior.
Control at agentic scale

BuiltforAI-authoredmergerequests

Riven lets autonomous agents move fast without turning code review into vibes. The graph produces the contract; GitLab enforces it.

01

Orbit-backed impact

Riven uses Orbit Local tables like gl_definition and gl_edge to find graph-proven static call/reference impact for an MR.

02

Risk contracts

Every run emits risk-contract.yaml with changed definitions, impacted symbols, verification plan, owners, limits, and explainable risk factors.

03

Merge enforcement

The GitLab CI job fails when required gate conditions are unmet, so the merge button stays blocked by policy, not persuasion.

04

AI with guardrails

AI can draft remediation and candidate patches, but Riven validates patch plans and verifies diffs in a temporary worktree before trust.

05

MCP interface

Agents can consume the same contract through MCP tools for analysis, explanation, remediation planning, patch generation, and evidence recording.

06

Installable control plane

Run init, doctor, gitlab-bootstrap, and gitlab-gate to plug Riven into a GitLab repo without a bespoke dashboard or hardcoded project path.

142

Passing TestsCLI, MCP, AI remediation, init, doctor, and GitLab gate

1

Blocked MRLive GitLab proof with the merge gate failing on graph impact

4

Install Commandsinit, doctor, gitlab-bootstrap, and gitlab-gate

0

Runtime GuessworkClaims are scoped to graph-proven static impact

Installthegraphgateinminutes

Riven ships as repository infrastructure: scaffold the policy, verify readiness, bootstrap GitLab settings, then let CI enforce every risk contract.

CI is the authority

AI may draft the fix, but Riven keeps the control with GitLab: the contract must be satisfied before the merge can move.