Capsule Inspector owns the contract. This page owns the shortest local proof.
From the repository root:
scripts/capsule-inspector-act-check.shThe wrapper runs the Inspector server tests, Runtime scope tests, and the Home
alignment check. Set ELASTOS_NODE_BIN to choose a Node.js binary if node is
not on PATH.
The scope tests prove that NoGrant fails closed, System can view all, and
pure SelfOnly can view only self. Current product routing keeps
/api/provider/inspect/self System-only. Do not treat the pure SelfOnly test as proof
of ordinary-capsule access.
With Home running:
- Unlock Home with a passkey.
- Open System and expand Technical Details, then Inspection.
- Select
exit-providerand thestatusoperation. - Select Preview. Confirm that the operation and required permission appear, then request approval.
- Open Inbox and approve the request.
- Repeat with a new request and deny it.
Approval requires a new passkey check and removes the completed request from Inbox. Denial removes the request without a passkey prompt. Refreshing Inbox must not restore either request to the pending list.
The automatic proof fails if System can call dispatch_approved or revoke,
if preview mutates state, if hidden Runtime or Carrier fields reach Inbox, or
if approval accepts a changed request or stale authority plan. It also verifies
that approval dispatches once and denial does not dispatch.
git diff --check
(cd elastos && cargo fmt --all -- --check)