Authority is enforced, not documented
Rulings outrank doctrine; doctrine outranks narrative. The precedence chain is executed by the tools that answer questions, so an agent cannot quote a handover over a ruling by accident.
A Model Context Protocol (MCP) server for a 388,000-page platform where the expensive failure was never a bug — it was an agent acting confidently on a stale number, or re-opening a question the owner had already ruled on.
It runs in Python on Cloud Run under Google Cloud Platform (GCP), reads the estate over BigQuery and SQL, and exposes 26 tools to Anthropic Claude through tool calling. The fix was architectural, not procedural. The rules stopped being documentation an agent could skim and became a surface it had to transact against.
26
Source — junelife-ops MCP server on Cloud Run; measured 2026-08-08, live production count.1
Source — server write-scope: only the pre-fire receipt tool writes, and only to the declared receipts sink.388,329
Source — junelifeinsurance.com, live sitemap index, 2026-08-08.0
Source — keyless auth via workload identity federation; 0 plaintext service-account keys, marker-verified.Rulings outrank doctrine; doctrine outranks narrative. The precedence chain is executed by the tools that answer questions, so an agent cannot quote a handover over a ruling by accident.
Protocol tools run the checked-in markdown protocol rather than reimplementing it. The file stays the single source; the tool is only the executor. Drift between doc and behaviour becomes structurally impossible.
The pre-fire receipt binds a normalised snapshot of the estate. If anything moved between the snapshot and the go-ahead, verification refuses — the approval no longer describes reality, so it no longer counts.
No tool can file a ruling, edit the ledger, or fire a build. Exactly one writes, to one declared sink. The owner's authority is not a policy an agent is asked to respect — it is a capability the agent does not have.
Verbatim quotes are checked against stored raw bytes, not headers or prior summaries. Identity flows bytes → summary and never the reverse, which is how a paraphrase stops being able to impersonate a source.
Returned numbers are explicitly typed as pointers, never facts, and must be re-measured from disk before any irreversible action. Two states — unparsed and absent — are reported and never inferred from prose.
Entry 001 · Closed