Interactive engineering lab

Write gate evidence: dropped fields, missing-evidence policy and a commit check

Write gate evidence: dropped fields, missing-evidence policy and a commit check. Drop digest fields and see valid refunds refused or forbidden ones written.

By Sandeep Belgavi · Published 2026-11-14

Synthetic fixtures computed locally. No model, agent, payment system or production service is contacted.

Experiment workspace

Decision trace

    The question this experiment answers

    Geetha's refund agent at Belgavi's Book Store proposes refunds, and a gate in front of the refund write decides from an evidence digest: is the customer verified, was the order delivered, is it within 30 days of delivery, was it refunded before. Refunds above 2,000 go to a person. When the digest leaves a field out, or drops it for some requests, what does the gate do, and where does the cost land: valid customers refused, forbidden refunds written, or routine work sent to people? And what does a commit-boundary check after the run catch?

    Change one assumption at a time

    Start from status_dropped_allow: the order status never reaches the gate and missing evidence is allowed, so 9 refunds are written for shipped or cancelled orders. Switch the missing-evidence policy to reject: every valid refund is refused. Switch it to escalate: nothing wrong is written, but 185 requests go to a person. Put the status back in the digest and every policy gives the same result, because nothing is missing. Then try a 15 percent random drop rate with each policy, turn the commit check off, and lower the agent error rate to see how a careful agent hides a gate defect without fixing it.

    Expected outcomes

    With 400 requests, seed 14 and an agent error rate of 0.2: full_digest writes 143 refunds, rejects no valid request, writes no forbidden refund and escalates 33 above the limit. status_dropped_allow writes 152 refunds of which 9 are forbidden; the commit check catches 9 of 9. status_dropped_reject writes none and rejects 143 valid requests (0.973 of valid requests). status_dropped_escalate escalates 185, of which 143 needed no person. random_drops_reject rejects 67 valid requests; random_drops_allow writes 2 forbidden refunds, which go undetected when the commit check is off. careful_agent_status_dropped_allow writes 1 forbidden refund.

    Read the table and the trace

    The metrics count proposed refunds, refunds written, valid requests rejected, forbidden refunds written, escalations, escalations of valid refunds that needed no person, and what the commit check caught. The table has one row per evidence field: whether the digest carries it, how often it was missing at the gate, how often its absence hid a failing rule, and how many rejections it caused. The trace shows the first 40 requests with the digest the gate saw, the decision, the reason and whether the outcome was right.

    Reset and export

    Reset inputs restores the selected preset and recomputes. Export JSON downloads the inputs, the per-field table, every trace step, the metrics and the stated limits.

    Limits

    A toy policy with four fields, one amount limit and a fixed agent error rate, not the gates, models or tau2-bench policies of arXiv 2611.14581. Missing fields here are random or total; real digests lose fields by position and length, often the same field again and again. The commit check knows the true policy outcome; in a real system it compares the ledger with the cases the policy allows, after the fact, and cannot undo a write.

    Views are my own and do not represent any employer, past or present.