How it works (AI summary)
SPILLWAY guards two boundaries joined by removed-span evidence. At egress, Algorithm 1 builds a flat identity index I from typed identity fields (email, URI, UUID, hostname, IP, or routing roles) of unsteered, read-only tool returns prior to serialization, admitting side-effecting calls only when taint-novel target values appear in I without free-text repetition or satisfy deterministic delegation rules, while blocking unauthorized grants or destructive calls. At ingress, a deterministic sanitizer strips forged chat turns, benchmark injection templates, agent-addressing text, and payee-change claims, recording removed spans S. Refused non-grant calls whose targets fall outside Id(S) are passed to a fail-closed local two-view judge (gemma4:31b) that checks routing and payload alignment against the user task.