Control Deck

Gates decide whether work advances.

A gate is a check that converts agent intent into a reviewable state: pass, fail, blocked, escalated, or skipped by policy.

Common gates

Build and test

Project-specific verification, often exposed as AXF capabilities so agents do not guess commands.

Policy

Module boundaries, forbidden edges, scope limits, and other Lex policy checks.

Authority

LexThority decisions for effects such as pushing, deploying, exporting, deleting, or mutating shared systems.

Human review

Escalation when risk, missing context, or organizational policy requires an operator decision.

Runner boundary

LexRunner should run and collect gates. It should not own every gate's meaning. Capability checks, policy checks, authority decisions, and human approvals remain separate surfaces.