Skip to main content
← Back to Docs

Enforcement Boundary

This page defines all execution entry points and forbids execution-capable interfaces outside the Gate enforcement boundary.

INV-6

Spec Drift Warning

Changes to implementation that violate invariant mappings invalidate compliance with v1.0. Implementations MUST preserve invariant-to-component, invariant-to-artifact, and invariant-to-verification-step mapping.

Compliance Assertion

  • Satisfies INV-6 by constraining all execution-capable entry points to the Gate execution boundary.

Non-Compliance Results In

  • Any bypassable execution path is non-compliant.
  • Any unauthenticated execution interface invalidates compliance.

Boundary Rule

Invariant Mapping: INV-6

No execution-capable interface SHALL exist outside the Gate enforcement boundary.

  • All direct API calls MUST route through Gate.
  • All background jobs MUST verify an approval envelope before execution.
  • All message-driven workers MUST verify an approval envelope before execution.
  • All scheduled tasks MUST use an approval envelope with explicit expiry.
  • All internal service-to-service execution requests MUST carry a valid approval envelope.

Allowed and Disallowed Paths

Invariant Mapping: INV-6

  • Allowed path: Client -> Gate -> Control Plane -> Gate -> Execution Layer -> Audit System.
  • Disallowed path: Client -> Execution Layer.
  • Disallowed path: Internal service -> Execution Layer without Gate mediation.
  • Disallowed path: SDK escape hatch that writes directly to the execution runtime.

Boundary Enforcement Mechanisms

Invariant Mapping: INV-6

  • Network policy MUST prevent non-Gate callers from reaching execution endpoints.
  • Runtime configuration MUST reject execution without an approval envelope.
  • Admission controls MUST prevent deployment of execution services that expose public execution interfaces.

Compliance Evidence

  • Firewall or service mesh policy showing only Gate reaches execution services.
  • Runtime test proving direct execution call is rejected.
  • Inventory of execution-capable interfaces with ownership and policy coverage.

Enforcement Mechanism Closure

Invariant Mapping: INV-6

  • Network isolation MUST restrict execution service listeners to a Gate-controlled network segment.
  • Service mesh or equivalent policy MUST require authenticated Gate identity for all execution traffic.
  • Execution runtime MUST validate approval envelope presence before dispatching the requested action.
  • Deployment policy MUST reject any new service that introduces an execution-capable interface outside Gate ownership.

Verification Linkage

INV-6

Artifact: audit-chain-001.json

Check: All execution traces include Gate, Control Plane, and Execution Layer components

Verification step: verify.sh: INV-6

INV-6

Artifact: verification walkthrough

Check: Direct execution bypass is rejected without an envelope

Verification step: Adversarial scenario 3