Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

Update task tracking docs, API audit notes, oracle follow handler

nirholasdc887cc9bdec
diff --git a/api/oracle/follow.js b/api/oracle/follow.js
index cb709b20d..405a4c8b7 100644
--- a/api/oracle/follow.js
+++ b/api/oracle/follow.js
@@ -20,7 +20,7 @@
* message to every follower subscribed to that agent above their min_score.
*/
-import { cors, json, method, readJson, wrap, error, rateLimited } from '../_lib/http.js';
+import { cors, json, readJson, wrap, error, rateLimited } from '../_lib/http.js';
import { limits, clientIp } from '../_lib/rate-limit.js';
import { sql } from '../_lib/db.js';
import { isUuid } from '../_lib/validate.js';
diff --git a/docs/API_AUDIT.md b/docs/API_AUDIT.md
index b6dbd0e95..3507745f2 100644
--- a/docs/API_AUDIT.md
+++ b/docs/API_AUDIT.md
@@ -136,6 +136,30 @@ auto-exempt. A cluster of mutating routes omit it:
---
+## Remediation status (2026-06-19)
+
+**Shipped in this pass** (verified: `node --check` + targeted `vitest`):
+
+- **P1** — `wrap()` now sanitizes every uncaught 5xx to a correlation `ref` (no `err.message` in the body); the keyed-`HELIUS_API_KEY` leak sites in `pump/[action].js` (×6), `coin/[mint]/cohorts.js`, and `tx/explain.js` now route through `respondError`/fixed messages. A broad lower-priority sweep sanitized ~47 more `>=500` `err.message` leaks across agents/, bazaar/, skills/, scene/, nft/, inference/, assets/, seed/.
+- **C1** — `DEMO_AVATARS` fixture + generator deleted; all 8 consumers serve real DB rows only; obsolete OG demo test removed.
+- **P2** — `requireCsrf` added to all 15 cookie-session mutations (bearer stays exempt). Handler-logic tests isolated via a `requireCsrf` mock; `security-csrf-gates` green.
+- **P3 / H11** — rate limits wired on `auth/wallets` (+ Redis-backed single-use link nonces), `auth/github`, `oauth/authorize`, the three money-moving admin actions, and the four `agents/payments` fund-prep/confirm handlers (which also gained the ownership gate).
+- **H3** — both paid intel endpoints now throw `503` on a live-data miss (verified the buyer is not charged: `handler()` runs before `settlePayment`).
+- **H4** — `settleRoyalties` claims rows atomically (`pending → settling`, new migration `20260619000000_royalty_settling_status.sql`) before the on-chain redeem; no double-pay.
+- **H5** — `agents/by-address` enumeration capped at `MAX_ENUM` with a `truncated` flag.
+- **H6 / H7** — `oracle/social` real limiter; `oracle/follow` POST/DELETE no longer dead (branch on `req.method`, `readJson` size cap restored).
+- **H8** — `vision.describeImage` now applies a synchronous SSRF guard (https + block private/loopback IP literals + localhost) covering every consumer, with no live-DNS dependency.
+- **H9** — `users/[username]` no longer leaks `referral_code`.
+- **H12 / M4** — `tx/explain` validates `sig` before forwarding; Solana plan-payment confirm claims the intent atomically (conditional UPDATE → 409 on race).
+- **M1 / M2** — retired Claude Haiku model ids replaced (`talk.js`, `brain/chat.js`).
+
+**Deferred — require a verified follow-up PR (do not ship blind on money paths):**
+
+- **H1 (agent spending-cap race)** — the race-free reserve-first ledger (`x402-spending-cap.js`) is wired only into `x402-user-payer.js`. Bringing the agent pay path (`x402-pay.js` + `agent-trade-guards.js`) onto it means reserving in the ledger before signing and rolling back on settle failure — a change to the live signing path that needs a funded test wallet to validate. **Remediation:** reserve-then-sign-then-finalize with rollback, keyed on `agent_id`, mirroring `x402-user-payer.js`.
+- **H2 (subscription active-before-pay)** — `creator_subscriptions` is granted an active period before payment, AND its `confirmPayment` activation function has **zero callers** (the in-app pay-confirm path is unwired). A one-line status flip would permanently lock out every subscriber. The duplicate-subscription race the audit also flagged is already prevented by the `unique(plan_id, subscriber_user_id)` constraint. **Remediation (3 parts):** (a) migration adding a pre-active status to the CHECK constraint; (b) wire `confirmPayment` into the tx-confirmation/cron path; (c) initialize new subs in the pre-active state. Until then the parallel `subscription_checkouts`/`verify.js` flow remains the correctly-gated path.
+
+**Pre-existing / concurrent-agent test failures (NOT from this pass — confirmed against clean HEAD):** `agent-monetization` (2, env), `ibm-attest` (2, Guardian env), `oauth-token` (2, env), and `widgets` (4) — the last is a real CSRF-placement bug introduced by a concurrent commit (`aaa038c1`): on `widgets/[id]` PATCH the CSRF check fires before the bearer-scope check, so a scoped-bearer request gets `csrf_missing` instead of `insufficient_scope`. Fix: gate that route's CSRF with the `if (session && …)` form so bearer callers reach the scope check.
+
## Fix plan (execution order)
1. **P1 boundary** — sanitize `wrap()` 5xx + the keyed-URL leak sites. _(security)_
diff --git a/tasks/agent-monetization/03-x402-manifest-update.md b/tasks/agent-monetization/03-x402-manifest-update.md
index a5b140682..cc664d485 100644
--- a/tasks/agent-monetization/03-x402-manifest-update.md
+++ b/tasks/agent-monetization/03-x402-manifest-update.md
@@ -60,3 +60,17 @@ curl /api/agents/:id/x402/answer-question/manifest
curl /api/agents/:id/x402/unpriced-skill/manifest
# Should return 404 { error: "skill_not_priced" }
```
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/agent-monetization/03-x402-manifest-update.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-floor-anchor/01-pure-anchor-math-and-tests.md b/tasks/irl-floor-anchor/01-pure-anchor-math-and-tests.md
index 8eb7ea2de..5e26cd439 100644
--- a/tasks/irl-floor-anchor/01-pure-anchor-math-and-tests.md
+++ b/tasks/irl-floor-anchor/01-pure-anchor-math-and-tests.md
@@ -93,3 +93,17 @@ path pure and tested; it does not change what the viewer does with the stored qu
`npm test -- irl-floor-anchor` passes. Then `npm run dev` → place a floor anchor
on a WebXR device (or the 07 harness) and confirm the saved pin's `lat/lng/heading`
match the pre-refactor values for the same tap.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-floor-anchor/01-pure-anchor-math-and-tests.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-floor-anchor/02-orientation-replay-and-tilt.md b/tasks/irl-floor-anchor/02-orientation-replay-and-tilt.md
index 55d2d576d..cf0dac11d 100644
--- a/tasks/irl-floor-anchor/02-orientation-replay-and-tilt.md
+++ b/tasks/irl-floor-anchor/02-orientation-replay-and-tilt.md
@@ -94,3 +94,17 @@ flag (future). Occlusion is task 03.
Place a floor anchor facing ~45° off a cardinal direction, reload `/irl` on a
second device near the spot, confirm the agent faces the same way — visibly tighter
than the old integer-rounded yaw.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-floor-anchor/02-orientation-replay-and-tilt.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-floor-anchor/03-realworld-occlusion-depth.md b/tasks/irl-floor-anchor/03-realworld-occlusion-depth.md
index 9ca5e15a8..fa44d843f 100644
--- a/tasks/irl-floor-anchor/03-realworld-occlusion-depth.md
+++ b/tasks/irl-floor-anchor/03-realworld-occlusion-depth.md
@@ -80,3 +80,17 @@ nice follow-up but hit-test already places fine; this task is occlusion only.
WebXR device: place the agent, walk a chair or your hand between phone and agent —
the agent is occluded. Toggle a non-depth UA (or simulate by removing the feature)
and confirm identical pre-occlusion behavior with a clean console.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-floor-anchor/03-realworld-occlusion-depth.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-floor-anchor/04-placement-ux-polish.md b/tasks/irl-floor-anchor/04-placement-ux-polish.md
index 7bbb7f8b7..da71e1c1a 100644
--- a/tasks/irl-floor-anchor/04-placement-ux-polish.md
+++ b/tasks/irl-floor-anchor/04-placement-ux-polish.md
@@ -83,3 +83,17 @@ WebXR device: sweep the phone across floor and away — watch searching↔locked
confirm the shadow grounds the avatar; tap and feel the haptic + see the pulse +
✓. Re-run with reduced-motion enabled in OS settings and confirm calm static
states. Check the hint over a white floor and a dark rug.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-floor-anchor/04-placement-ux-polish.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-floor-anchor/05-session-lifecycle-hardening.md b/tasks/irl-floor-anchor/05-session-lifecycle-hardening.md
index 698af70c2..aca79c015 100644
--- a/tasks/irl-floor-anchor/05-session-lifecycle-hardening.md
+++ b/tasks/irl-floor-anchor/05-session-lifecycle-hardening.md
@@ -100,3 +100,17 @@ WebXR device: enter AR, lock the phone, unlock → clean resume. Enter, get a ca
switch apps → clean exit + full restore. Cover a camera with your hand to force
tracking loss → recoverable hint. Tap immediately on entry before GPS locks, wait
for the fix → exactly one pin saved (check Network + `/api/irl/pins`).
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-floor-anchor/05-session-lifecycle-hardening.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-floor-anchor/06-ios-nonwebxr-parity.md b/tasks/irl-floor-anchor/06-ios-nonwebxr-parity.md
index bef5413b9..3f991b8da 100644
--- a/tasks/irl-floor-anchor/06-ios-nonwebxr-parity.md
+++ b/tasks/irl-floor-anchor/06-ios-nonwebxr-parity.md
@@ -99,3 +99,17 @@ on the iOS path beyond what the chosen backend provides natively.
Real iPhone (Safari): tap Place on floor → ARKit places the agent on a real plane.
Android (WebXR): unchanged full path. A device with neither: Pin path with the
honest fallback copy. Confirm no path throws and the button is never a dead end.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-floor-anchor/06-ios-nonwebxr-parity.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-floor-anchor/07-verification-harness-and-signoff.md b/tasks/irl-floor-anchor/07-verification-harness-and-signoff.md
index cb3abe48a..e88384b8c 100644
--- a/tasks/irl-floor-anchor/07-verification-harness-and-signoff.md
+++ b/tasks/irl-floor-anchor/07-verification-harness-and-signoff.md
@@ -88,3 +88,17 @@ verification surfaces a real bug, fix it (no error without a solution) and note
`npm test` runs the new suites in CI without a device. Then a final manual pass on
real hardware (Android WebXR + iPhone from task 06) confirming the harness's claims
match reality, captured in the sign-off note.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-floor-anchor/07-verification-harness-and-signoff.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-hardening/H1-privacy-invariant-test-suite.md b/tasks/irl-hardening/H1-privacy-invariant-test-suite.md
index f269f3db2..71c211d1f 100644
--- a/tasks/irl-hardening/H1-privacy-invariant-test-suite.md
+++ b/tasks/irl-hardening/H1-privacy-invariant-test-suite.md
@@ -98,3 +98,17 @@ The new invariants from H2/H3/H6 get their assertions added in those tasks.
`npm test` green. Then locally revert one guarantee in `pins.js`, re-run, watch
the specific assertion fail with a clear message, restore it, confirm green again.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-hardening/H1-privacy-invariant-test-suite.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-hardening/H2-device-token-transport.md b/tasks/irl-hardening/H2-device-token-transport.md
index c7d7bf940..9636a7c91 100644
--- a/tasks/irl-hardening/H2-device-token-transport.md
+++ b/tasks/irl-hardening/H2-device-token-transport.md
@@ -103,3 +103,17 @@ public read (**H3**). Follow-up: remove the deprecated query fallback next relea
`npm run dev`, place a pin anonymously, open `/dashboard/irl-placements`: the
Network tab shows the `x-irl-device` header on `/mine` and **no `deviceToken=` in
any URL**. Delete a pin — succeeds via body token. Confirm the device's pins load.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-hardening/H2-device-token-transport.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-hardening/H3-proof-of-presence-read.md b/tasks/irl-hardening/H3-proof-of-presence-read.md
index 7635bbdd9..b63b42aa0 100644
--- a/tasks/irl-hardening/H3-proof-of-presence-read.md
+++ b/tasks/irl-hardening/H3-proof-of-presence-read.md
@@ -105,3 +105,17 @@ device-token transport (**H2**, a prerequisite for the shared header pattern).
token, mints a token from your fix, then returns pins; spoofing a far-away lat/lng
with a local-cell token is rejected. With the secret unset, the read works
unchanged (dev bypass).
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-hardening/H3-proof-of-presence-read.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-hardening/H4-placement-consent-approximate.md b/tasks/irl-hardening/H4-placement-consent-approximate.md
index c0884e1b7..fee158075 100644
--- a/tasks/irl-hardening/H4-placement-consent-approximate.md
+++ b/tasks/irl-hardening/H4-placement-consent-approximate.md
@@ -103,3 +103,17 @@ read (**H3**). This task is the *placement-time* consent + fuzz only.
approximate (~100 m) drops the agent visibly offset; the Network tab POST body
carries the fuzzed coord + `placement: 'approximate'`; the owner card shows the
`≈ Approximate` badge.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-hardening/H4-placement-consent-approximate.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-hardening/H5-privacy-center-forget-me.md b/tasks/irl-hardening/H5-privacy-center-forget-me.md
index b5721d5cb..c42628460 100644
--- a/tasks/irl-hardening/H5-privacy-center-forget-me.md
+++ b/tasks/irl-hardening/H5-privacy-center-forget-me.md
@@ -103,3 +103,17 @@ cascading deletes on demand). Placement-time consent + fuzz is **H4**.
"Privacy & my data", confirm the summary matches, unpublish one (it vanishes from
nearby), then "Forget this device" and confirm a subsequent summary is empty and
the Network calls carry the `x-irl-device` header (no token in any URL).
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-hardening/H5-privacy-center-forget-me.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-hardening/H6-retention-data-minimization.md b/tasks/irl-hardening/H6-retention-data-minimization.md
index 289609d2e..787bdadc1 100644
--- a/tasks/irl-hardening/H6-retention-data-minimization.md
+++ b/tasks/irl-hardening/H6-retention-data-minimization.md
@@ -100,3 +100,17 @@ same cascade on demand). Changing pin expiry windows.
Invoke the reaper locally with the cron secret against a DB seeded with an
interaction whose pin was deleted and one older than the window; confirm both are
removed and the summary counts them; re-run and confirm zero further deletions.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-hardening/H6-retention-data-minimization.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-hardening/H7-anti-scrape-resilience.md b/tasks/irl-hardening/H7-anti-scrape-resilience.md
index 21aeb29d0..34b9cec47 100644
--- a/tasks/irl-hardening/H7-anti-scrape-resilience.md
+++ b/tasks/irl-hardening/H7-anti-scrape-resilience.md
@@ -95,3 +95,17 @@ reputation/banning (future). This task verifies, monitors, and documents.
Run the boundary tests green. Locally force the limiter degraded and confirm the
read rejects. Simulate a multi-cell sweep against a dev instance and confirm a
single deduped ops alert fires with counts only — no coordinates.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-hardening/H7-anti-scrape-resilience.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-hardening/H8-designed-states-a11y.md b/tasks/irl-hardening/H8-designed-states-a11y.md
index 73be0f34c..4c0d59fb7 100644
--- a/tasks/irl-hardening/H8-designed-states-a11y.md
+++ b/tasks/irl-hardening/H8-designed-states-a11y.md
@@ -98,3 +98,17 @@ The privacy *backend* (H3/H5) and consent *logic* (H4) — H8 designs and wires
and confirm a designed, recoverable state every time; tab through the entire
surface with no mouse; toggle reduced-motion; confirm the privacy indicator is
always visible and links to the privacy center.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-hardening/H8-designed-states-a11y.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-hardening/H9-launch-readiness-audit.md b/tasks/irl-hardening/H9-launch-readiness-audit.md
index 432da2fed..3c3a6d04d 100644
--- a/tasks/irl-hardening/H9-launch-readiness-audit.md
+++ b/tasks/irl-hardening/H9-launch-readiness-audit.md
@@ -95,3 +95,17 @@ returns specific defects to the owning task; it does not fix them here.
The deliverable *is* the verification: a complete `LAUNCH-SIGNOFF.md` whose every
checkbox is backed by evidence (log excerpt, Network screenshot path, device note),
ending in a defensible GO/NO-GO an engineer could stake their name on.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-hardening/H9-launch-readiness-audit.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-live/C1-dashboard-overview.md b/tasks/irl-live/C1-dashboard-overview.md
index a6e0bec95..37f6563fe 100644
--- a/tasks/irl-live/C1-dashboard-overview.md
+++ b/tasks/irl-live/C1-dashboard-overview.md
@@ -135,3 +135,17 @@ the interaction table itself (C4) — this card only *reads* and *links*.
`npm run dev` → `/dashboard/irl-placements` with ≥1 placed agent: confirm the
Network tab shows one `agent-summary` call + parallel `…/solana` calls, balance
chips resolve to real on-chain values, and every card link navigates.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-live/C1-dashboard-overview.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-location-control/L1-simulated-location-dev.md b/tasks/irl-location-control/L1-simulated-location-dev.md
index 16eeca46e..6652a5a8a 100644
--- a/tasks/irl-location-control/L1-simulated-location-dev.md
+++ b/tasks/irl-location-control/L1-simulated-location-dev.md
@@ -123,3 +123,17 @@ still reflects the real device, which is fine for placement testing).
1. Desktop: open `/irl?mockLoc=37.7749,-122.4194` → badge shows, no location prompt, place a pin → POST body carries `37.7749/-122.4194`.
2. Real iPhone over LAN: connect the phone to the same network, open `http://<your-lan-ip>:3000/irl?mockLoc=…` → the flow runs even though plain-http GPS is blocked; the pin lands at the fake spot, not your home.
3. `npm run build` → `grep -r "__irlMockLocation\|SIMULATED LOCATION" dist/` returns nothing.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-location-control/L1-simulated-location-dev.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-location-control/L2-map-placement-picker.md b/tasks/irl-location-control/L2-map-placement-picker.md
index 8e8b84b21..a3767be40 100644
--- a/tasks/irl-location-control/L2-map-placement-picker.md
+++ b/tasks/irl-location-control/L2-map-placement-picker.md
@@ -117,3 +117,17 @@ A custom tile server — OSM tiles via Leaflet default are fine.
`npm run dev` → `/irl`: place via "Pick a spot on a map," search a landmark, drag
the marker, Place here → Network tab shows the POST with the picked coords and
`anchor_source:'map'`; the agent renders; your real GPS never entered the request.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-location-control/L2-map-placement-picker.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-location-control/L3-location-privacy-center.md b/tasks/irl-location-control/L3-location-privacy-center.md
index 661553b44..ba2f37c4b 100644
--- a/tasks/irl-location-control/L3-location-privacy-center.md
+++ b/tasks/irl-location-control/L3-location-privacy-center.md
@@ -109,3 +109,17 @@ the toggle + default). The map placement picker (L2). My-pins internals (L5).
reload), confirm the disclosure copy reads honestly against `api/irl/pins.js`
behavior, follow the link into My-pins. Fresh profile (clear localStorage), grant
location → the one-time disclosure card appears once.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-location-control/L3-location-privacy-center.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-location-control/L4-proximity-read-hardening.md b/tasks/irl-location-control/L4-proximity-read-hardening.md
index 839f36d5d..9eaf8e86c 100644
--- a/tasks/irl-location-control/L4-proximity-read-hardening.md
+++ b/tasks/irl-location-control/L4-proximity-read-hardening.md
@@ -110,3 +110,17 @@ works).
nearby URL has full-precision coords; flip to Approximate (L3) and confirm the URL
coords are snapped to the grid while nearby agents still render. Grep the server
path to confirm no coordinate is logged.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-location-control/L4-proximity-read-hardening.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-location-control/L5-my-pins-management-upgrade.md b/tasks/irl-location-control/L5-my-pins-management-upgrade.md
index 27bc05664..f18807951 100644
--- a/tasks/irl-location-control/L5-my-pins-management-upgrade.md
+++ b/tasks/irl-location-control/L5-my-pins-management-upgrade.md
@@ -117,3 +117,17 @@ placement of *new* pins (L2).
pins: map plots them, rows show countdowns, "Remove all" → confirm → Network tab
shows one `DELETE …?all=1` returning the count, sheet shows the empty state, and a
reload confirms they're gone from the nearby feed.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-location-control/L5-my-pins-management-upgrade.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-privacy/01-ship-and-prove-lockdown.md b/tasks/irl-privacy/01-ship-and-prove-lockdown.md
index 834ea53bc..f56a872da 100644
--- a/tasks/irl-privacy/01-ship-and-prove-lockdown.md
+++ b/tasks/irl-privacy/01-ship-and-prove-lockdown.md
@@ -70,3 +70,17 @@ UX, copy, new tests in CI (that's 07). This is deploy + manual adversarial proof
The proof doc IS the verification. A reviewer should be able to re-run every
command in it and reproduce the same safe result.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-privacy/01-ship-and-prove-lockdown.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-privacy/02-discovery-onboarding-empty-state.md b/tasks/irl-privacy/02-discovery-onboarding-empty-state.md
index 01d5deb1d..f9d702faa 100644
--- a/tasks/irl-privacy/02-discovery-onboarding-empty-state.md
+++ b/tasks/irl-privacy/02-discovery-onboarding-empty-state.md
@@ -70,3 +70,17 @@ Permission-flow polish and error states (task 06), the arrival cue (task 03).
see the explainer once, see the designed empty state with no agents, then seed one
in range (`__irlSeedPins(1)` per [memory: irl-perf-e2]) and confirm the empty
prompt retires cleanly.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-privacy/02-discovery-onboarding-empty-state.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-privacy/03-proximity-arrival-cue.md b/tasks/irl-privacy/03-proximity-arrival-cue.md
index c5cb58694..944a8bfcd 100644
--- a/tasks/irl-privacy/03-proximity-arrival-cue.md
+++ b/tasks/irl-privacy/03-proximity-arrival-cue.md
@@ -74,3 +74,17 @@ debounced arrival signal). The empty-state explainer (task 02).
(`__irlSeedPins`): confirm the haptic/chime/banner fire once and the edge glow
points toward it; rotate to face it and confirm the glow fades. Toggle mute and
reduced-motion and re-confirm.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-privacy/03-proximity-arrival-cue.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-privacy/06-states-permissions-a11y.md b/tasks/irl-privacy/06-states-permissions-a11y.md
index 493946020..6a23123a0 100644
--- a/tasks/irl-privacy/06-states-permissions-a11y.md
+++ b/tasks/irl-privacy/06-states-permissions-a11y.md
@@ -75,3 +75,17 @@ task makes the *surrounding* states match that bar and adds the missing ones.
confirm each designed state + recovery; throttle the network / force a `429`
(temporarily lower the limiter) and confirm the rate-limited state; run an
accessibility audit (axe or Lighthouse) with zero serious violations.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-privacy/06-states-permissions-a11y.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-privacy/07-e2e-and-regression-tests.md b/tasks/irl-privacy/07-e2e-and-regression-tests.md
index b9a27d621..f66b3278f 100644
--- a/tasks/irl-privacy/07-e2e-and-regression-tests.md
+++ b/tasks/irl-privacy/07-e2e-and-regression-tests.md
@@ -69,3 +69,17 @@ vitest timeout.
`npx vitest run irl` and the new e2e spec both green; then temporarily reintroduce a
fake pin broadcast in a scratch branch and confirm the structural test goes red
(then discard the scratch change).
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-privacy/07-e2e-and-regression-tests.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-privacy/08-trust-surface-docs-changelog.md b/tasks/irl-privacy/08-trust-surface-docs-changelog.md
index 537fd9aeb..1969b5290 100644
--- a/tasks/irl-privacy/08-trust-surface-docs-changelog.md
+++ b/tasks/irl-privacy/08-trust-surface-docs-changelog.md
@@ -75,3 +75,17 @@ The first-run explainer component itself (task 02 builds it; this adds its linke
`npm run dev` → open the "How location works" page from /irl; `grep -ri` the repo for
the stale terms and confirm none remain in user-facing docs; `npm run build:pages`
green.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-privacy/08-trust-surface-docs-changelog.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-production/01-sensor-robustness.md b/tasks/irl-production/01-sensor-robustness.md
index 972b15b03..fcaee3fd9 100644
--- a/tasks/irl-production/01-sensor-robustness.md
+++ b/tasks/irl-production/01-sensor-robustness.md
@@ -62,3 +62,17 @@ Orientation/landscape handling (task 02), GPS lifecycle (task 03).
- [ ] Manual: on a real phone, spinning past north and waving the device through a
magnetic dead-zone never spins/freezes the avatar. Document what you tested.
- [ ] Changelog entry if the user-visible jitter/spin is something holders would notice.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-production/01-sensor-robustness.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-production/02-orientation-resize-fov.md b/tasks/irl-production/02-orientation-resize-fov.md
index 571c29dad..fa375f1a2 100644
--- a/tasks/irl-production/02-orientation-resize-fov.md
+++ b/tasks/irl-production/02-orientation-resize-fov.md
@@ -54,3 +54,17 @@ Sensor finite-guards (task 01); pure responsive CSS not coupled to the camera (t
- [ ] Any extracted angle math unit-tested.
- [ ] `npm test` green; esbuild clean.
- [ ] Changelog entry if behavior visibly improves for users.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-production/02-orientation-resize-fov.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-production/03-gps-lifecycle-lock-transitions.md b/tasks/irl-production/03-gps-lifecycle-lock-transitions.md
index 9384bfe5f..6d054b99c 100644
--- a/tasks/irl-production/03-gps-lifecycle-lock-transitions.md
+++ b/tasks/irl-production/03-gps-lifecycle-lock-transitions.md
@@ -49,3 +49,17 @@ Sensor finite-guards (task 01); the local gyro-lock camera math itself (already
- [ ] Local→GPS transition has no jarring avatar teleport.
- [ ] Pure helpers (e.g. accuracy bucketing, transition easing param) unit-tested.
- [ ] `npm test` green; esbuild clean; changelog entry for the visible reliability win.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-production/03-gps-lifecycle-lock-transitions.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-production/04-webxr-session-lifecycle.md b/tasks/irl-production/04-webxr-session-lifecycle.md
index 6fa67c679..23d2dac98 100644
--- a/tasks/irl-production/04-webxr-session-lifecycle.md
+++ b/tasks/irl-production/04-webxr-session-lifecycle.md
@@ -51,3 +51,17 @@ Pin persistence schema (shipped); gyro/GPS math (tasks 01–03).
- [ ] No dead taps after XR exit; overlay fully dismissed.
- [ ] iOS Safari never sees or touches XR code.
- [ ] esbuild clean; `npm test` green; changelog entry if user-visible.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-production/04-webxr-session-lifecycle.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-production/05-tap-raycast-accuracy.md b/tasks/irl-production/05-tap-raycast-accuracy.md
index a739d5cf7..092934b2e 100644
--- a/tasks/irl-production/05-tap-raycast-accuracy.md
+++ b/tasks/irl-production/05-tap-raycast-accuracy.md
@@ -45,3 +45,17 @@ The inspect card content/API (shipped); placement of objects (shipped).
- [ ] No accidental selection of off-screen/behind-camera agents.
- [ ] Any pure picking helper (screen-space distance, candidate ranking) unit-tested.
- [ ] esbuild clean; `npm test` green; changelog entry if the win is user-visible.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-production/05-tap-raycast-accuracy.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-production/06-memory-gpu-hygiene.md b/tasks/irl-production/06-memory-gpu-hygiene.md
index a70fb0771..df04059d5 100644
--- a/tasks/irl-production/06-memory-gpu-hygiene.md
+++ b/tasks/irl-production/06-memory-gpu-hygiene.md
@@ -59,3 +59,17 @@ The LOD band tuning itself (shipped); adding new visual effects.
- [ ] Backgrounding pauses/resumes cleanly with no leak.
- [ ] esbuild clean; `npm test` green; changelog entry if user-visible (e.g. "AR runs
stably in long sessions").
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-production/06-memory-gpu-hygiene.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-production/07-accessibility-pass.md b/tasks/irl-production/07-accessibility-pass.md
index bf95a37a9..ee9acd030 100644
--- a/tasks/irl-production/07-accessibility-pass.md
+++ b/tasks/irl-production/07-accessibility-pass.md
@@ -60,3 +60,17 @@ Empty/error state content (task 08); copy rewrites (task 09); responsive layout
- [ ] VoiceOver/TalkBack spot check on the main controls (document what you tested).
- [ ] esbuild clean; `npm test` green; changelog entry ("IRL is fully keyboard- and
screen-reader-accessible").
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-production/07-accessibility-pass.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-production/08-designed-states.md b/tasks/irl-production/08-designed-states.md
index 71f68ef63..30fdca1c6 100644
--- a/tasks/irl-production/08-designed-states.md
+++ b/tasks/irl-production/08-designed-states.md
@@ -58,3 +58,17 @@ Permission/onboarding flow (mostly shipped — see task 09 for copy); a11y (task
- [ ] No green "0 nearby" flash on load.
- [ ] esbuild clean; `npm test` green; changelog entry ("IRL surfaces now show clear
loading, empty, and error states").
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-production/08-designed-states.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-production/09-onboarding-copy.md b/tasks/irl-production/09-onboarding-copy.md
index 2fe48f76e..9301c68d8 100644
--- a/tasks/irl-production/09-onboarding-copy.md
+++ b/tasks/irl-production/09-onboarding-copy.md
@@ -49,3 +49,17 @@ The permission *flow* mechanics (shipped); a11y rings (task 07); state shells (t
- [ ] Caption keyboard opens reliably on iOS (manual).
- [ ] No abstract/jargony/alarming/sci-fi copy remains; tone matches platform voice.
- [ ] esbuild clean; `npm test` green; changelog entry ("Clearer IRL onboarding and copy").
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-production/09-onboarding-copy.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-production/10-mobile-responsive-polish.md b/tasks/irl-production/10-mobile-responsive-polish.md
index 729b0e566..0274c126a 100644
--- a/tasks/irl-production/10-mobile-responsive-polish.md
+++ b/tasks/irl-production/10-mobile-responsive-polish.md
@@ -50,3 +50,17 @@ Camera-coupled FOV/orientation math (task 02); a11y focus/contrast (task 07).
- [ ] No control under a safe-area; no input-zoom on iOS; no label overflow at 320px.
- [ ] All tap targets ≥ 44px.
- [ ] esbuild clean; `npm test` green; changelog entry if visibly improved.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-production/10-mobile-responsive-polish.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-production/11-api-error-boundaries.md b/tasks/irl-production/11-api-error-boundaries.md
index 55466db95..f40913c88 100644
--- a/tasks/irl-production/11-api-error-boundaries.md
+++ b/tasks/irl-production/11-api-error-boundaries.md
@@ -50,3 +50,17 @@ production API returns a clean status and a useful body on every path.
by new/extended `tests/api/irl-*.test.js`.
- [ ] No stack trace or internal detail in any client response (coordinate with task 13).
- [ ] `npm test` green.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-production/11-api-error-boundaries.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-production/12-resilience-fail-open.md b/tasks/irl-production/12-resilience-fail-open.md
index c010f7a41..f082945e0 100644
--- a/tasks/irl-production/12-resilience-fail-open.md
+++ b/tasks/irl-production/12-resilience-fail-open.md
@@ -49,3 +49,17 @@ concurrency, never block every request on a dead upstream.
no per-request multi-second stall) — covered by unit tests on the pure parts.
- [ ] Breaker + backoff verified by test; dedupe pruning verified by test.
- [ ] `npm test` green.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-production/12-resilience-fail-open.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-production/13-security-validation.md b/tasks/irl-production/13-security-validation.md
index a15949534..54f5ffce0 100644
--- a/tasks/irl-production/13-security-validation.md
+++ b/tasks/irl-production/13-security-validation.md
@@ -53,3 +53,17 @@ location-privacy lockdown (no widening of nearby reads).
`tests/api/irl-*.test.js`.
- [ ] Per-pin report cap covered by a test.
- [ ] `npm test` green.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-production/13-security-validation.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-production/14-observability.md b/tasks/irl-production/14-observability.md
index f63f7c737..615c83166 100644
--- a/tasks/irl-production/14-observability.md
+++ b/tasks/irl-production/14-observability.md
@@ -48,3 +48,17 @@ and moderation actions.
- [ ] Pin auto-hide fires a structured log + ops alert.
- [ ] Poller + reaper emit periodic health/telemetry lines.
- [ ] Any pure helper (e.g. log-sampling) unit-tested; `npm test` green.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-production/14-observability.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-production/15-deploy-verify-and-qa.md b/tasks/irl-production/15-deploy-verify-and-qa.md
index 923e7aeb5..37345e0a3 100644
--- a/tasks/irl-production/15-deploy-verify-and-qa.md
+++ b/tasks/irl-production/15-deploy-verify-and-qa.md
@@ -55,3 +55,17 @@ NOT done. This task verifies the deployed reality and the real-device experience
- [ ] Live console clean of real errors/warnings.
- [ ] A short launch-readiness report: what shipped, what's verified, residual risks.
- [ ] Consolidated changelog reviewed and live.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-production/15-deploy-verify-and-qa.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-room-anchor/R1-place-around-me.md b/tasks/irl-room-anchor/R1-place-around-me.md
index f9509c847..223c8878c 100644
--- a/tasks/irl-room-anchor/R1-place-around-me.md
+++ b/tasks/irl-room-anchor/R1-place-around-me.md
@@ -151,3 +151,17 @@ let activeRoom = null; // { id, originLat, originLng, originYawDeg, createdAt, c
- `npm run typecheck` clean, `npm test` green, `vite build` clean.
- Changelog entry appended to `data/changelog.json` (tag `feature`) once the mode
is user-visible. On-device acceptance handed to R5.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-room-anchor/R1-place-around-me.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-room-anchor/R2-room-alignment-and-calibrate.md b/tasks/irl-room-anchor/R2-room-alignment-and-calibrate.md
index e5271d0e2..8c094b55b 100644
--- a/tasks/irl-room-anchor/R2-room-alignment-and-calibrate.md
+++ b/tasks/irl-room-anchor/R2-room-alignment-and-calibrate.md
@@ -105,3 +105,17 @@ PATCH /api/irl/pins
- No owner identifiers leak. `typecheck` clean, `npm test` green, `vite build`
clean, no console noise. Changelog entry (tag `improvement`). On-device
cross-user alignment handed to R5.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-room-anchor/R2-room-alignment-and-calibrate.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-room-anchor/R3-webxr-floor-refine.md b/tasks/irl-room-anchor/R3-webxr-floor-refine.md
index 520834e63..7e24b2bf1 100644
--- a/tasks/irl-room-anchor/R3-webxr-floor-refine.md
+++ b/tasks/irl-room-anchor/R3-webxr-floor-refine.md
@@ -78,3 +78,17 @@ available precision per device, graceful everywhere else.
corrupting the shared origin.
- `typecheck` clean, `npm test` green, `vite build` clean. Changelog entry (tag
`feature`). On-device WebXR + iOS-fallback matrix handed to R5.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-room-anchor/R3-webxr-floor-refine.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-room-anchor/R4-production-hardening-and-cleanup.md b/tasks/irl-room-anchor/R4-production-hardening-and-cleanup.md
index eab625903..3606ca52d 100644
--- a/tasks/irl-room-anchor/R4-production-hardening-and-cleanup.md
+++ b/tasks/irl-room-anchor/R4-production-hardening-and-cleanup.md
@@ -103,3 +103,17 @@ spinners where a skeleton fits.
motion safe. A 30-agent room holds frame budget.
- Abuse/ownership/privacy limits verified client + server. Deploy verified live
(columns + projection serving in prod). Changelog shipped. Full DoD met.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-room-anchor/R4-production-hardening-and-cleanup.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/irl-room-anchor/R5-on-device-qa.md b/tasks/irl-room-anchor/R5-on-device-qa.md
index 0d098f16a..8d2adc21d 100644
--- a/tasks/irl-room-anchor/R5-on-device-qa.md
+++ b/tasks/irl-room-anchor/R5-on-device-qa.md
@@ -84,3 +84,17 @@ Stand in a room. Facing one wall ("the cup is dead ahead"):
network calls. Any defects fixed in the owning task and re-verified.
- Only then is Epic R shipped — delete `tasks/irl-room-anchor/*` per
`tasks/CLEANUP-PLAN.md`.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/irl-room-anchor/R5-on-device-qa.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/monetization-feature/25-end-to-end-testing-plan.md b/tasks/monetization-feature/25-end-to-end-testing-plan.md
index 0c0b61e7e..26fba59b5 100644
--- a/tasks/monetization-feature/25-end-to-end-testing-plan.md
+++ b/tasks/monetization-feature/25-end-to-end-testing-plan.md
@@ -109,3 +109,17 @@ Based on the features we've designed in the previous 24 prompts, write a detaile
* A success toast/message should appear.
* The "Available Balance" should immediately update to $0.00.
* The "Withdrawal History" table should show a new entry with the status "pending".
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/monetization-feature/25-end-to-end-testing-plan.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/site-overhaul/A-health/A07-orphan-page-sweep.md b/tasks/site-overhaul/A-health/A07-orphan-page-sweep.md
index 750a1e4fa..524c0a0de 100644
--- a/tasks/site-overhaul/A-health/A07-orphan-page-sweep.md
+++ b/tasks/site-overhaul/A-health/A07-orphan-page-sweep.md
@@ -29,3 +29,17 @@ duplicate dashboard trees). Dead pages rot, drift from the design system, and co
## Verify
- A script/grep confirms no `vercel.json` route targets a non-existent file and no shipped `pages/*.html` is unreachable. Spot-check former orphan URLs return a real page or a clean redirect.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/site-overhaul/A-health/A07-orphan-page-sweep.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.
diff --git a/tasks/walk/50-walk-qa-launch-checklist.md b/tasks/walk/50-walk-qa-launch-checklist.md
index 218027ac2..10783192e 100644
--- a/tasks/walk/50-walk-qa-launch-checklist.md
+++ b/tasks/walk/50-walk-qa-launch-checklist.md
@@ -83,3 +83,17 @@ Every checkbox above is checked off with real evidence. A completionist run of e
## Rules
Complete 100%. No stubs. No fake data. This is the QA gate before public launch. Do not mark this task done until every checkbox is genuinely passing in production.
+
+<!-- AUTO:self-delete-on-complete -->
+
+---
+
+## ✅ On completion — delete this file
+
+This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:
+
+```bash
+git rm "tasks/walk/50-walk-qa-launch-checklist.md"
+```
+
+Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.