Sanctions screening
A screening desk that can prove which exact rule decided every payment—and refuses stale code.
Exact rule bytes, plan, trigger, approval, and host authorization stay linked by content address.
CI assertedAn examiner eventually asks which rule version screened a payment. A script on a box leaves only a changelog and no guarantee that the desk is not still running last quarter’s logic.
Every ledger row names the exact rule bytes that decided it. When a governed revision moves ahead of the operator’s host pin, the desk stops safely instead of executing stale or imported code.
The job, the gate, and the learning path.
The plan is content-addressed. Each run becomes a journal. The person is an explicit node—not an optimistic note in the system prompt.
Production history changes the next run—after review.
Repeated unreadable-counterparty failures produce a governed code revision. A person approves the full blob → tool → workflow → trigger chain, and the revised rule catches a match the old version could not see.
Assertions, not a happy-path demo.
The repository runs the keyless floor on every release. The exact fixtures and expected outcomes are committed beside the agent.
- 01
Unpinned code is refused before the first journal write.
- 02
Every decision names the exact code address that made it.
- 03
The revised plan will not run until the operator deliberately syncs the new host pin.
What you will learn by rebuilding it.
- Why code that is a grain can be governed while an arbitrary host file cannot.
- How declarations can travel with an agent without carrying their own authorization.
- How a code revision advances every content-addressed reference without silently leaving an old rule live.
no API key required$ git clone https://github.com/AreevAI/areev
$ cd areev/examples/agents/sanctions-screening
$ python/smoke.sh
$ python/improve.sh