Status: reference profile implemented for one credential-isolated Browser sandbox adapter.
BROWSER_ENFORCED_V0_2 closes the gap between a Hosted approval and the browser write that actually reaches a target system. It is deliberately action-scoped. It does not claim that an entire agent, browser, account, or network is universally controlled.
sequenceDiagram
participant H as Hosted Control Plane
participant R as Onegent Runtime
participant A as Controlled Browser Adapter
participant T as Sandbox Target
participant P as Independent Probe
H->>R: Signed one-time ExecutionGrant
R->>H: Signed RuntimeClaim
H-->>R: Atomic claim acknowledgement
R->>A: Bound action + approved parameter digest
A->>T: Credential-isolated SUBMIT
T-->>A: Target response
R->>H: Mark grant consumed
P->>T: Separate read-only outcome observation
T-->>P: Observed target state
R->>T: Read dedicated target audit events
R->>H: Signed session, event chain, outcome, reconciliation
H->>H: Central enforcement classification
H-->>H: Signed Action Assurance Receipt
The Hosted control plane signs a short-lived ExecutionGrant bound to the tenant, action digest, mandate, policy decision, approvals, agent build, runtime identity, adapter/version, target origins, operation, resource, final parameters, and outcome predicate. The runtime proves possession of its registered Ed25519 key before the store atomically redeems the grant.
An action is ENFORCED only when every central check passes:
CONSUMED.The caller cannot set enforcementLevel or assuranceProfile. classifyBrowserEnforcement() derives both from verified server and runtime records.
Runtime identities have an explicit trust lifecycle. Owners can suspend, revoke, or mark a key compromised with an effectiveAt timestamp. Evidence created before a later routine suspension or revocation remains historically verifiable; a compromise effective before an execution invalidates that execution’s runtime-trust check.
The reference adapter uses a target-scoped sandbox write credential held only in the adapter closure. The agent receives no secret, cookie, token, or raw credential argument. Evidence stores only an opaque SHA-256 reference. A separate read credential is held by the outcome probe.
This is not a general secret vault. Production adapters must provide a customer-owned credential provider, bounded target scope, rotation, and target-side audit source. The reference profile does not permit AGENT_PROVIDED_SECRET, prompt secrets, tool-argument secrets, or unknown isolation.
execution_grant_replay.RECONCILIATION_INCOMPLETE or BYPASS_DETECTED.npm run browser-enforcement:e2e
The deterministic local target performs no real purchase, payment, email, or production write. The test covers the happy path plus replay, parameter mutation, revocation, signature/binding tamper, bypass detection, and secret scanning.
Action Assurance Receipt v0.1 remains backward compatible. Older receipts and integrations continue to verify as SELF_REPORTED or OBSERVED_ONLY. New optional Browser v0.2 fields are required only when a receipt claims BROWSER_ENFORCED_V0_2.