Module VII — deployment & integration
Module VII is the only module that mutates customer infrastructure — every other part of the product is read-first. It provisions, updates and retires agents and MCP servers as declarative, versioned, reversible operations, and declares the connectivity and referenced identity an agent uses to reach an enterprise resource. Because it acts, its security bar is the highest in the product, and live actuation is held behind a deny-closed seam until an operator explicitly provisions it.
Plan and govern, then (maybe) apply
Section titled “Plan and govern, then (maybe) apply”The lifecycle is plan → apply → verify → retire, reconciling a desired state
against the real one. The split that matters is declare ≠ mutate:
- Declaring desired state — create, update, rollback a definition (also via the
manage-as-code
olivares_deploymentresource) — is control-plane only and never touches infrastructure. planis a pure dry-run diff;verifychecks drift and refreshes the snapshot. Neither mutates.applyandretireare the only mutating operations. They are two-phase and deny-by-default: phase one computes the diff and requests a human approval bound to the plan hash without changing anything; phase two proceeds only if the approval isapprovedand the plan hash still matches — any other state (pending, expired, rejected, no gate, stale plan) is refused and recorded. Re-specifying changes the hash and invalidates the approval (anti-TOCTOU).
Mutating apply/retire is not live by default. The actuation seam (Executor)
is deny-closed: with no executor provisioned, apply/retire/plan/verify fail closed
with a 503 — the control plane can declare desired state but cannot reconcile to
real infrastructure. A real engine (Tofu/Terraform, GitOps, Kubernetes, Docker, Nomad,
Crossplane) plus a short-lived, per-operation, attested credential source wire in only
on operator configuration; absent that, the module never silently acts.
Entities and the declared contract
Section titled “Entities and the declared contract”The module declares four namespaced entities plus the core Deployment as the applied
snapshot:
| Entity | Role |
|---|---|
| definition | desired state — desired vs applied version, spec hash, link to the core Deployment |
| revision | append-only, immutable spec history — the reversible source for rollback |
| wiring | the permitted connectivity agent → resource it declares (the contract module III contrasts) |
| operation | append-only change-management ledger — version, plan hash, who approved, result |
The desired spec is typed and re-serialized from the struct (never an operator JSON
round-trip): unknown fields are rejected, an inline-credential guard runs, and a spec
carrying credential material in cleartext is refused at declaration. Credentials
travel by reference only (<scheme>:<locator>, allow-listed scheme) — a property of
the wire, never a stored secret.
What it produces on the bus (the PERMITTED side of module III)
Section titled “What it produces on the bus (the PERMITTED side of module III)”Module VII never writes the access map; module III is the sole writer of its edges. On a
committed apply, for each wiring the module publishes a policy-grant
edge.observed event (Source = policy) carrying only references
and the mode. Module III reconciles it into the PERMITTED side of its
permitted-vs-observed diff — so what this module declares is exactly what module III
contrasts against what it observes. Identity is bound per agent through governance: a
firm, unique non-human identity yields an attributed edge; a shared or absent identity
is reported as approximate — marked, never faked.
Related
Section titled “Related”- Modules catalog — the Govern/Observe vs Actuate split and the
503seam. - Module III — the access map — consumes the PERMITTED wiring this module declares.
- Event bus reference — the
edge.observedevent and its minimal-data payload. - Govern and approve — the HITL approval flow behind every mutation.
- Honesty & limits — what actuates today and what does not.
- Architecture overview — where module VII sits in the Management layer.