Remediating Inside the Enclave: Governed Fixing With Signed Edge Runner Capsules
Why automated fixing in accredited, customer-controlled environments needs signed, reviewable changes, local evidence, and a named human approver. A design direction, not generally available.
Why remediation is the hardest part of the loop to govern
Think of reliability work as a closed loop: understand, test, reproduce, remediate, verify. The first three steps observe. Remediation acts. That asymmetry is the whole problem. An understanding step that drifts produces a bad map; a remediation step that drifts produces a bad change in production-adjacent infrastructure. The blast radius is not symmetric, so the governance cannot be either.
This matters more now because change volume has changed character. Industry research suggests a large and growing share of code is AI-assisted, and that AI coding tasks often introduce security flaws. You are not remediating a slow trickle of human-authored defects anymore. You are remediating a high-volume stream of machine-generated change, much of it carrying risk. The temptation is to let an agent close the loop on its own to keep up. For an accredited system, that is reckless. Unsupervised autonomous fixing is exactly the thing an authorizing official cannot defend.
The principle that resolves this is not "slow down." It is agents propose, humans authorize. In the design we are pursuing, an agent plans and assembles the fix, a named human authorizes it, and the boundary stays intact throughout. Governance here is not paperwork bolted onto autonomy. It *is* the engineering.
The remediation capsule: a fix you can review before it runs
In this design, the unit that makes governed remediation auditable is the signed capsule. A remediation capsule would be an immutable, versioned, approved package that contains a *specific proposed change* and the exact validation that proves it. It is not an agent improvising a patch at runtime and discarding the reasoning afterward.
That distinction is the difference between a fix that survives an audit and one that does not. Most "AI fixed it" stories fail review for a structural reason: the thing that ran was synthesized on the fly, so there is no stable artifact to inspect, no signature to verify, and no way to prove the change did only what was approved. A capsule inverts the order of operations. The fix is assembled, the validation is bound to it, and the whole package is reviewed and signed *before* it is ever admitted into the boundary.
For a compliance officer, the capsule answers the three questions an assessor actually asks:
- What changed? The capsule manifest is the scope. Nothing outside the manifest executes.
- Who authorized it? The cryptographic signature is the attestation, tied to an identity and a role.
- Can you prove it did nothing else? The version is the chain of custody, and the bound validation is the evidence.
A capsule would turn a remediation from an event you have to trust into an artifact you can defend.
How the fix crosses the boundary without weakening it
A signed remediation still has to enter the enclave, and the moment it does is the moment most architectures quietly open a hole. The design that avoids this splits the work across planes with deliberately different trust requirements, the same split we are pursuing for validation in on-premises deployments.
Planning and generation, the model-heavy work, would happen outside on your terms: mapping the change in the System Graph, assembling the candidate fix, binding its validation. Governance, signing, and approval sit in the control plane. Execution happens entirely inside the boundary on a customer-deployed runner. The System Graph is live today; the customer-deployed runner and in-network remediation are not generally available.
The architectural point is that the plane needing the most capable models would touch the least sensitive data, and the plane touching production-adjacent systems would run no models and make no outbound calls at runtime. An enclave gateway would verify the capsule's signature, enforce your policy, and trigger execution without opening inbound access. There is no listening port for an external orchestrator to reach into. The boundary stays one-directional: signed work goes in through a verifying gateway, and the runner does not reach back out to fetch a model or phone home.
The runner would apply the approved change locally, run the bound validation locally, and capture evidence locally. Source, fixtures, and runtime telemetry stay in the segment while the fix happens.
Evidence stays yours, including local-only
Remediation in a regulated environment lives or dies on evidence, and the default assumption in most tooling, full log export to a central SaaS, is precisely what an accredited program cannot accept. The design inverts the default: you decide how evidence leaves the execution plane, if it leaves at all.
- Local-only for the most sensitive systems, where the complete remediation record (before-state, change, validation, and verified rollback) stays in the segment.
- Sanitized egress with field masking, so a summary can flow to your GRC tooling without raw payloads.
- Metadata-only routing for dashboards and reliability reporting, correlation IDs without raw export.
- Per-environment retention aligned to your accreditation, with no mandatory full-log export.
The runner would produce a complete, redactable evidence bundle inside the boundary. What you publish outward is a policy decision you make, not a vendor default you inherit. That is the line between evidence that satisfies an assessor and telemetry that creates a brand-new data-residency finding. In the hosted product today, Zof's Evidence records what was checked for each change; local-only evidence on a customer network is part of what we scope for on-premises deployments.
Keep the human queue focused on real risk
Governed remediation only scales if the human authorization step does not become the bottleneck. If every proposed fix lands in front of an authorizing official with equal weight, approvers drown and start rubber-stamping, and rubber-stamped governance is governance theater.
This is where change-awareness earns its place. Because the System Graph models what actually depends on what, remediation could be prioritized by what a flaw can actually reach rather than by raw finding count. Applied to the approval queue, an unreachable flaw would not consume an authorizing signature, while a reachable one on a critical path would route straight to a named approver with the evidence already attached. Governance is where tier rules, separation-of-duties requirements, and the audit trail belong: as first-class configuration, not as a process running in someone's inbox.
Two failure modes to design against specifically. First, autonomy creep: the gradual expansion of what an agent may fix without a signature. Defend against it by deriving authority from policy, never letting an agent widen its own scope. Second, evidence gaps on low-risk fixes: the changes nobody watches are where audit gaps hide, so an auto-validated remediation needs the *same* evidence bundle as a heavily reviewed one. The absence of a human in a given path raises the bar on the trail; it does not lower it.
What to do Monday morning
A conservative path that respects the boundary and builds the audit posture before it grants any authority:
- Validate before you remediate. Run the loop in observe-only mode on one accredited workflow first: map it, test it, and record what was checked. Prove the evidence trail satisfies your assessors before any automated fix is authorized.
- Keep the first fixes human-made. Let people write and ship early fixes through your normal change process, with the evidence attached. Earn automation later, deliberately.
- Wire authorization to existing change control. Reuse your separation-of-duties and named-approver chains rather than inventing a parallel process an auditor has never seen.
- Tier by reachability. Send only findings that sit on a reachable, critical path to a human signature; let the rest stay in the queue with full evidence, unauthorized.
The bottom line
Related guides
Related product
Continue Reading
An anatomy of change-aware verification: how coordinated agents plan, run, observe and report on verification of each change, using the System Graph and the tests you already have.
Autonomous remediation is the next frontier beyond test generation. Why governed fixing, not unsupervised autonomy, is the only version enterprises will adopt in 2026.
Safe autonomous fixing means every change ships with a pre-validated undo path. A platform engineer's guide to rollback-first remediation patterns and the autonomy they unlock.