--- id: multi-user/deprovisionosaccount-is-written-but-has-never title: "`deprovisionOsAccount` is written but has never run against a real account" theme: multi-user status: open created: 2026-08-12 date_source: stated order: 2 --- **`deprovisionOsAccount` is written but has never run against a real account.** Landed 2026-08-12 in `os-user-deprovision.ts` and wired into `deleteUserHandler`, which now refuses to delete the row when the Linux teardown fails — so a failure is retryable instead of forgotten. Only the pure guards (`guardDeletable`, `guardMemberTree`, `parseSubUidEntry`) have tests; the reap loop, the `chown -R` sever and `userdel` have been exercised by nobody. `docs/deprovision-os-account.md` → "What is still unproven" has the five-step validation, and it has to happen on the production host with a throwaway account that has **a shell left open** and **a container writing as a non-root user** — those are the two cases the quiet path passes vacuously.