Skip to Main Content

Expunge is a database-cleanup agent that learns where records hide, rewrites its own harness, and has to prove its work to MongoDB. The problem: deleting one person from a real company database is harder than it looks. Their records hide in nested arrays, aliases, indirect references through accounts and reference cycles. They sit next to namesakes who must not be touched and next to records that must be kept, such as invoices. Agents asked to clean this up often report success while copies remain. Expunge treats that failure as the training signal, under three rules: - Completion is checked, not claimed. An independent grader compares the committed database state with a sealed manifest the agent can never read. It counts what was left behind and what was damaged. There is no LLM judge. - The harness evolves, not the model. The model stays fixed. What changes is its harness: context policy, workflow graph, guardrails and tool access. Each change is a typed, evidence-cited patch that a trusted compiler checks against a 61-code rejection catalog. - MongoDB holds the authority. A candidate harness is admitted only by fresh paired trials against its parent, and promoted only by an atomic compare-and-swap that consumes a bound human grant when authority expands. A version that cleans more but breaks protected or unrelated data is rejected. The loop: request, then clean (a fixed model through nine gateway-enforced domain tools, each write a fenced, exactly-once MongoDB transaction with a receipt), grade, trace to Raindrop, propose a typed patch, gate on fresh paired worlds, and promote, with the next job pinned to the new harness and rollback as a stored receipt. Status: the grader, harness compiler, evolution pipeline, MongoDB authority layer (three databases, ten least-privilege principals, fenced leases, exactly-once effects, CAS promotion and rollback) and the operator workbench are built and tested. The first fully live loop with a real model and a model-generated harness change is still in progress. All data is synthetic.

Team

nihalnihalanicharlie_gillet

More from The Harness Engineering & Model Wrangling #SFTechWeek Hackathon

MongoMation is an autonomous PLC engineer. You describe a machine in plain English, and Claude agents write IEC 61131-3 PLC code, compile and deploy it to a…

MongoMation project preview

LabRat is a self-improving harness for a physical lab agent, running on a real bench: two SO-101 arms, a 3018 CNC carrying a servo pipette I designed during…

LabRat project preview

Recursive Harness Scientist: an AI scientist that improves its own scientific method, and must replicate every gain on data it has never seen. Why it…

Recursive Harness Scientist project preview

Super Bid is a self-improving AI estimator that teaches itself to price bids the way a specific company would. It practices on the company’s real past bids…

SuperBid project preview

A robot that gets better at handling objects it’s never seen, without retraining. After every round, an AI coach reviews what broke and rewrites the robot’s…

WORLDSTATE gives physical spaces a memory. Any phone becomes an observer: open a link, point the camera, and WORLDSTATE tracks what's inside fridges, shelves…

WorldSTATE project preview