CAIN-42 MCPGate

CAIN-42 · E53 · global control plane

Fleets, tenants, delegation and revocation that reaches execution.

Not a fleet dashboard. A control plane that resolves the tenant server-side, enforces stricter-wins policy, attenuates delegated authority, records every administrative action in a hash chain, and proves revocation by refusing a protected side effect after the revocation.

10,000
agents registered in 0.123 s (inventory)
230.6/s
authorize + execute, in-process
567 ms
org-wide revocation over 10k rows
0
cross-tenant reads or writes in tests
0
self-approvals accepted

What is enforced

ControlBehaviour
Tenant isolationorg resolved from the authenticated actor; every query scoped; no caller-supplied tenant is trusted
Policy hierarchyorg → fleet → agent; allow intersect, deny/mandatory_deny union, max amount min; versions must increase
Delegationsubset actions, amount/expiry non-expanding, depth ≤ 3, no cycles, revocation and expiry checked
Approvaldistinct approvers, no self-approval, digest-bound, expiring
Lifecycle12 states with an explicit transition table; illegal transitions refused
Revocationagent/fleet/org scope; capability epoch advanced at the boundary; unacknowledged is reported, not hidden
Bulkpreview, whole-batch scope validation, 1,000 limit, idempotent, audited

Revocation is proven, not displayed

authorize file.write  -> capability issued
revoke org            -> enforcement hook advances the revocation epoch
execute               -> DENY CAPABILITY_REVOKED
oracle                -> protected file unchanged

The test asserts the file does not exist after the denied execution. A status field changing is not the proof; the refused side effect is.

Measured (local, one process, SQLite)

TestResult
inventory 1,000 / 5,000 / 10,0000.009 / 0.060 / 0.123 s
first page at 10k23.9 ms
authorization + execution230.6 decisions/s (1,000 in 4.336 s)
bulk suspend 1,000120.8 ms
org revocation, 10k rows567 ms

Do not read this as 10,000 concurrent agents. It is registered inventory in one process with no HTTP, no concurrency and no multi-region overhead. The report says so.

Honest gaps

Try it

pip install cryptography httpx pytest
python3 -m pytest tests/test_evolution53_controlplane.py -q
python3 scripts/controlplane/bench.py

← open core · E51 governance · E52 evidence · claims