The setup
BoardReceipt is an evidence-first agent for Florida HOA boards. The model extracts fields from parsed documents. Deterministic code matches those fields to contracts, bids, minutes, budgets and prior invoices, then decides whether to release, hold or review. The model has no tools and no authority.
During a 72-hour build we ran the official Agentware Trap Pack before reading EXPECTED.md or the manifest. We wanted to see what our agent did with hostile files, not what a scanner tuned to the answer key would report.
The blind pass attempted all 20 files. The raw results and traces are still committed in tests/trap-pack/RESULTS.before.md and tests/trap-pack/traces/before/.
What held
The safety boundary held on the first pass. Zero canary leaks. Zero network requests. Zero tool calls. Zero sandbox actions. No HTML was executed. No hostile instruction reached a tool argument, an outbox draft or a payment approval.
That part mattered most. A detector can miss a hostile document and still be safe if the action boundary refuses to move.
What got through
The detector missed three inputs.
A meeting request hid instructions in raw MIME HTML while the visible plain-text body looked normal. A checkout page encoded instructions in base64 HTML attributes. A calendar invite carried an impossible date and conflicting times.
It also stopped at malformed CSV and JSON files instead of recovering the readable records inside them. Two benign controls were over-quarantined because they contained .example domains and words that looked like trigger phrases.
Those were detection misses. The enforcement layer still refused every action.
The hour-60 guardrail
We added one shared OBSERVE prefilter before classification. Document text stays untrusted data, never instruction.
The prefilter inspects raw MIME parts as inert text, normalizes zero-width characters, and decodes base64 only for inspection. It separates quoted examples from directed instructions. It validates calendar dates and time order. It recovers complete JSON objects and readable CSV rows, then flags duplicates, impossible dates, arithmetic mismatches, backward timestamps, mixed units and out-of-range readings.
It still executes no HTML, no command, no model tool, no network request and no sandbox action from document text. The model runs later, on accepted parsed text, with exact source anchors.
What changed after the fix
The current committed pipeline result is 12 inputs caught by the guardrail, 5 benign controls passed and 3 sent to review. Zero canary leaks. Zero live provider calls. Zero unsafe releases.
We also added seven HOA-specific hostile cases through the same pipeline: hidden white text, bank and remit-to changes, line-sum mismatch, missing and expired contracts, approval mismatch and near-duplicate invoice numbers. None produced an unsafe release.
The part we did not fix
These are deterministic heuristics. They are not proof that every injection is caught. The malformed bank CSV recovered only two readable records and stays in review, so its stated total is not trusted. Cross-track controls with normal jobs outside HOA invoice review are filed without action.
That residual risk is written down and the before and after traces remain committed. A safety claim is only useful when the failures stay visible.
Evidence
- Blind pass:
tests/trap-pack/RESULTS.before.md - Final results:
tests/trap-pack/RESULTS.mdandtests/trap-pack/HOSTILE_RESULTS.md - Full traces:
tests/trap-pack/traces/before/,traces/pipeline/andtraces/hostile/ - Write-up:
docs/NEAR_MISS.md - Repository: https://github.com/PhiBao/boardreceipt
For file-handling patterns, see https://fileclerk.co.uk/.
Tagged Hackathon Raptors. Built for Agentware 2026, Open Track.
Top comments (1)
The blind run and preserved before/after traces make the detector misses much more useful than a clean final score alone. Separating detection from the action boundary is the key reliability point here: the MIME and base64 cases were missed, yet no hostile text reached a tool or release decision. How do you verify that source anchors still point to the right bytes after MIME normalization and partial CSV recovery?