Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions rfc/0012-isolation-backend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ struct PendingDnsQuery {

Every backend may use the same supervisor-owned mediation libraries or services; the source does not require a backend-specific policy engine.

Shared implementations isolate each boundary's state and enforcement. Failure or teardown of one boundary cannot weaken another. Network-mediation unavailability never enables direct egress.
Shared implementations isolate each boundary's state and enforcement. Failure or teardown of one boundary cannot weaken another. Network-mediation unavailability never enables direct egress. The only exception is [native-network mode](#native-network-mode).

### Binary identity

Expand All @@ -345,7 +345,7 @@ If binary identity cannot be resolved, the connection is denied. `ResolveError`

Every identity field used for authorization is obtained by a trusted component from boundary or kernel state, rather than accepted as a workload claim. The result is bound to the active boundary and accepted connection; a transport tuple or workload-supplied identifier alone is not authoritative. Workload-supplied identity may be retained only as non-authorizing diagnostic context. If attribution is ambiguous or any required identity field cannot be established, the connection is denied.

Binary identity is mandatory conformance: RFC 0002 makes it part of the outbound-policy baseline. There is no capability flag and no mode that exempts a backend from resolving identity.
Binary identity is mandatory conformance: RFC 0002 makes it part of the outbound-policy baseline. There is no capability flag and no mode that exempts a backend from resolving identity for the connections it accepts; see [Native-network mode](#native-network-mode).

### The supervisor sequence

Expand Down Expand Up @@ -389,6 +389,10 @@ Whenever a boundary ends, the backend terminates remaining workload processes an

The contract fixes the roles; each compute driver decides where they run. Components may be co-located with the workload or hosted in trusted services, and one component may implement multiple roles. Every arrangement preserves the same lifecycle, interfaces, and invariants. Actual containment depends on the workload's kernel relationship to the trusted components. The non-normative [driver placement guide](./driver-placement.md) describes the supported mappings.

### Native-network mode

*Amendment.* A backend may stop mediating agent egress only when a protected resource claim says an external enforcer enforces the sandbox's network policy ([RFC 0029](../0029-external-network-enforcer/README.md)). For agent egress in that mode, invariant 1, the network-mediation clause of invariant 3, the network-mediation sentence of invariant 6, and binary identity don't apply, and the supervisor calls `confirm` without connecting the boundary's network-mediation source (step 4 of its sequence). Every other control and invariant applies, and workload input can't select or change the mode. RFC 0029 also defines the selection, the behavior of the built-in backend, and the enforcer's requirements.

## Conformance

Every admitted backend and compute driver must pass tests for the six contract invariants plus descriptor verification, lifecycle ordering, runtime operations, and failure semantics.
Expand Down Expand Up @@ -443,4 +447,4 @@ That would make known deployments explicit, but it would also encode current pla

## Open questions

None.
- Should the conformance suite gain a native-network profile that checks the in-boundary controls the mode keeps?
Loading