The problem
Every framework we have asks AI to be honest, and none of them checks. Governance standards (ISO/IEC 42001, the NIST AI Risk Management Framework) and the EU AI Act's disclosure duties state the aspiration; none of them measures honesty at runtime, inside a transaction, against a mandate. Meanwhile we are handing agents our payment credentials inside a paradigm built for employees: an agent trained to comply, which — told anything in a confident enough manner — will do anything and believe anything, rewriting its own logic as it goes. An employee says yes to whoever is talking. Money cannot run on that.
The industry wrote honesty into its charters. We wrote it into the measurement loop. An instruction is a hope until something measures it.
What we built
The Trust Layer: a harness that sits under any money-moving agent, on any platform, and makes honesty a measured mandate instead of a stated one. It runs on zerobeacon (1,052 operations, 1,003 callable over MCP, 21 routers) as fifteen tools in four families:
- Apathy — mechanical verification with zero self-trust. Every verifiable claim is measured twice, by independent methods, before it is believed. Apathy reinforces honesty: the agent does not get to feel sure; it gets to be checked.
- Proven — claims carry their measurements. A price, an attribute, a delivery: asserted values are never evidence; measured values are.
- Anchor — verdicts and receipts are sealed into a hash-chained record that replays bit-for-bit. The past is a computation anyone can re-run, not a story the system tells.
- Receipts — every yes and every no leaves a receipt that names what was claimed, what was measured, and why the gate decided as it did.
Under the harness the agent is not a corporate employee. It is a verifying servant of the mandate: it serves a text it cannot edit, for a customer it cannot see past, and it cannot be promoted, persuaded, or reassigned mid-transaction. It verifies, and it serves — in that order. Its default with your money is no; it says yes to exactly one thing, the measured chain of events that closes the sale the customer actually ordered.
The frameworks state duties. We address them.
The frameworks speak in the language of organizations — policies, roles, management systems. Transactions happen in the language of events. The Trust Layer is the translation: each duty becomes an event type, each event type gets a measurement, and each measurement leaves evidence.
- Disclosure of AI involvement (EU AI Act, Article 50: a person must know they are dealing with an AI system). In this system the disclosure is not a banner. Every claim carries who asserted it — the agent, by name and model — and every verdict is recorded against the customer's mandate, so the transaction record itself discloses the agent's role, its claims, and its limits. The receipt is the disclosure, sealed and replayable.
- Record-keeping (EU AI Act, Article 12's logging pattern; ISO/IEC 42001's documented-evidence controls). Logs that an operator can edit are not evidence. The harness writes a hash-chained ledger in which each entry commits to the one before it; the whole record replays bit-for-bit, so a log cannot be quietly rewritten after the fact.
- Human oversight (EU AI Act, Article 14's pattern). The mandate is issued by the human and cannot be edited by the agent — not by a merchant page, not by a confident prompt, not by the agent's own reasoning. When measurement fails, the agent does not improvise; it refuses and returns the decision to the human. Oversight here is not a dashboard someone might watch. It is the architecture: the agent physically cannot proceed past a failed check.
- Risk management and monitoring (ISO/IEC 42001's operational controls; the NIST AI RMF's MEASURE and MANAGE functions — the RMF names measurement as a core function and then leaves it to the deployer). The harness performs it per transaction: liveliness probes run during the task, prices are re-read before capture, attributes are measured from photographs rather than believed, and a failed measurement contains the risk before money moves. Refusal is the risk response, and it always names its reason.
- Accuracy and robustness (EU AI Act, Article 15's pattern). No single measurement is trusted: Apathy's rule is two independent methods or the claim does not pass. Where a quantity cannot be measured — a photograph too dark, a mask that will not decode — the system reports the ambiguity instead of guessing, and the gate refuses on weak measurement exactly as it refuses on drift.
The boundary of the claim, stated plainly: we do not claim certification under ISO/IEC 42001 or conformity as a high-risk system under the EU AI Act, and a shopping agent is not an Annex III system. We claim something narrower and, for a seller, more useful: the duties those frameworks describe in organizational language exist in this system as runtime events with evidence. A seller's disclosure duty is a legal sentence until it becomes a receipt. Here, it is a receipt.
And in zerobeacon the mandates are not merely complied with; they are addressed. A claim has an address or it is not in the catalogue — the address is a product of primes, so a claim resolves to the instrument that measures it, or it does not resolve at all. Disclosure is a routing property, not a policy page.
The PayPal piece
PayPal is where the harness met a live payment rail. The composed flow — mandate in, claims measured, gate verdicts, sealed receipt out — was run against PayPal with the gate live-verified: a clean capture settles, and a tampered capture is refused, with the refusal named and receipted like every other verdict. Nothing about the harness is PayPal-shaped; that is the point of this piece. The same fifteen tools, the same verdict vocabulary, the same receipts — the layer is universal because the problem is: every platform that lets an agent move money inherits the same disclosure duties and the same gap between stating honesty and measuring it.
One story in three pieces
This entry is one movement of a single build: a trust layer for money-moving agents, carried across three platforms.
- Amazon — the storefront. ZeroBeacon as a working merchant surface, the payment routed through evidence: https://youtu.be/Hw8zONNOufE
- PayPal — the universal harness. This entry: https://youtu.be/M7Qoy_JDev0
- Meta — the agent: https://youtu.be/z7Hkf0CSdKQ
Same doctrine throughout: measured, not minted — proven, not asserted. We gave the agent a BIOS: a layer beneath its reasoning that checks every claim before anything boots, and can refuse to boot. Because it can say no correctly, its yes means something.
New in the harness: Bundle Lock — the packet is part of the claim
A PayPal order is only as honest as the packet it was approved from — the invoice, the item list, the terms, the shipping note. Until now the harness re-measured a payment's claim manifest. It now seals the packet itself.
Bundle Lock generalizes the oldest certificate in this system — the chain lock, which fingerprints a list and hashes the list into one master certificate — from repositories to any folder. Every file is fingerprinted (SHA-256); the canonical path:hash table is hashed into a single bundle certificate; the certificate is stamped with the beacon (the first prime at or after the certificate's prefix, run through the same beacon function that stamps every certificate this system issues). Verify re-measures the whole set and answers LOCK HOLDS — or BROKEN, naming each file that changed, was added, or was removed. A lock record must first recompute to its own certificate, so editing the record breaks it before a single file is read.
The PayPal gate uses it directly. POST /api/trust/paypal/propose-packet verifies the packet's lock before the composed flow runs:
- A packet changed after locking — one digit in the invoice is enough — is refused by name, with zero calls to PayPal, and the refusal is recorded in the Receipts chain.
- A packet that holds faces the full harness — Apathy, Proven, Anchor — and only a passing flow creates the order.
The packet gate now also speaks the refusal-layer contract (POST /gates/{gate_id}/evaluate). A refusal is a first-class answer, never an error: the endpoint returns 200 with decision REFUSED and a typed refusal — refusal_code, the bound by name and number, the observed value, and what_would_change_verdict, the exact change that would flip the verdict. If the measuring instrument cannot show current calibration, the gate refuses with CALIBRATION_MISSING or CALIBRATION_EXPIRED instead of proceeding on an unmeasured number. Every verdict, PASS or REFUSED, is stored and retrievable by trace_id — a refusal you cannot audit later is just a 'no'.
Above the packet gate sits the Resolution Layer. A disputed verdict is not argued — it is resolved: the measurement is taken again as fresh evidence, the gate re-decides against it, and the resolution is stored with the trace, so a disagreement ends in a measurement, not an opinion.
The repo bundles the demo: trust_stack/demo/payment_packet_clean with its lock record, and a tampered twin whose invoice reads 250.00 instead of 25.00. With a judges' key, the same calls that run in our test suite run against the live service:
POST /api/trust/bundles/verifyon the clean packet → LOCK HOLDS- The same record against the tampered packet → BROKEN,
CHANGED: invoice.txt POST /api/trust/paypal/propose-packetwith the tampered packet → gate refused, PayPal never called- The clean packet plus a passing proposal → a sandbox order
Bundle Lock is also on the harness's MCP surface (bundle_lock, bundle_verify) — the trust tool count is now fifteen. Measured, not minted; proven, not asserted — now at folder scale too. Bundle Lock v2 (bundle-lock/2) seals the whole folder, not just its files: directories are recorded by presence and every symlink by its target, so an added or removed empty folder, a planted dangling symlink, or a retargeted link is named by verify — while v1 lock records, including the published demo certificate, still verify under the v1 rules.