# delegation-receipts

Verify what a subagent says it did before the parent reports the work as done.

- Type: Plugin
- Version: 0.3.0
- Updated: 22 Nov 2026
- Publisher: dacheah
- Category: Tools

[Contact us](https://www.ulpi.io/en/support#contact)

## What it does

Verify what a subagent says it did before the parent reports the work as done. A "receipts" delegation backend asks every child to end its reply with a receipt (status, the files it changed, and the one command that proves the work); when a child stops, the plugin resolves and hashes each claimed path, matches every claim against the write targets that child's own tool history records so it cannot take credit for a file someone else wrote, and checks the cited command against a closed set of fixed check forms (pytest, uv run --no-sync pytest, cargo/go/npm/pnpm/yarn test), refusing a path rather than a bare name, a launcher, or inline evaluation.

Host re-run is opt-in and off by default, because a hook-driven re-run bypasses Ulpi's dangerous-command approval and the child's terminal backend; when an operator enables it, the command is re-run argv-style with no shell, in its own process group, with output and time bounded. Either way a verdict reaches the parent: a rejection is appended to the delegate_task result, with the failing output attached when there is one; a background child's verdict arrives on the parent's next turn instead.

One command per receipt, one receipt per child.

## How to set it up

Disclosure — the receipt's command is written by the subagent being checked; host re-run is off by default, and when you enable that command (one of pytest, uv run --no-sync pytest, cargo/go/npm/pnpm/yarn test) runs on this host with your privileges in the child's inferred workspace, outside Ulpi's command approval and the configured terminal backend, and executes the project's test code and scripts, including files the subagent wrote (no shell, argv-split, filtered environment, 120 s default timeout); receipts and claimed paths are checked locally, the ledger is local at \<ULPI_HOME\>/plugin-data/delegation-receipts/ledger.jsonl, and the plugin mak

```
verified:
```

```
plugins.entries.delegation-receipts.settings.host_rerun
```

## Review notes

What an owner reads and accepts before the install is approved.

- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

## More in Tools

- [delivery-gate](https://www.ulpi.io/en/marketplace/plugins/delivery-gate): Pre-delivery verification for Ulpi: runs the deterministic checks a task spec declares (test commands, lint, repro scripts).
- [Delx Recovery](https://www.ulpi.io/en/marketplace/plugins/delx-recovery): Free recovery and continuity for agents.
- [demand-radar](https://www.ulpi.io/en/marketplace/plugins/demand-radar): Prove someone wants it before you build it.

[All listings →](https://www.ulpi.io/en/marketplace) · [Publisher's guide →](https://www.ulpi.io/en/docs) · [Report a problem →](https://www.ulpi.io/en/security#report)
