# SCOPE — a signed call scope, enforced below the boundary

**AGI: NOT ESTABLISHED · RSI: EXPERIMENTAL**

The production interceptor authorizes the **tool**. The REAL workload showed it does not authorize the
**arguments**: an out-of-scope `ip_hash` call was allowed and had to be refused by the tool itself.

SCOPE closes that hole. Each call carries a **signed statement** of tenant, agent, tool, **purpose**,
**allowed columns** and a **row cap**. The tool verifies the signature and enforces the statement before
any row is read. A call the boundary allows but the scope forbids is refused with a typed reason.

**Measured on the real database:** 4/4 in-scope calls executed; 4/4 attacks refused
(`COLUMN_NOT_IN_SCOPE`, `ROW_CAP_EXCEEDED`, `PURPOSE_MISMATCH`, `SCOPE_SIGNATURE_INVALID`); the production
boundary returned `ALLOW` for **all eight** — which is precisely why the scope layer is needed.

**Limits:** the scope authority is a local study key, not a customer KMS; the row cap is enforced on the
requested cap, not on bytes returned; this is one host. Not a customer engagement.
