---
id: w2/m4/t007
title: Test coverage — meaningful tests for delete + create-verification findings
worker: worker2
status: done
estimate: 30m
depends_on: [w2/m4/t005]
---

## Objective

Standing closing task. Add meaningful tests for what shipped: delete of unknown ids (404), unauthorized delete (403, swept by `TestAuthzGuardsEveryVerb`), store-mode delete surviving a projector resync, store-less CR deletion, three-adapter delegation, plus regression tests for anything t001's create verification fixed. Assert real behavior and failure modes — no trivial, tautological, or snapshot-everything tests.

## Acceptance criteria

- [ ] Every acceptance criterion in t001–t003 has a test that fails if the behavior regresses.
- [ ] `go test ./...` green in `lego/backend`.
