Follows the cherry-picked 570633390 (Flandern1211): leftover Codex subagent
threads of a deleted parent are no rows, Codex's own threads only count in the
provider bar, a gateway session that spent nothing is no row. Rebased onto
main's Draft sessions group (zcodeDraft now also takes Codex's
~/Documents/Codex/<date>/<name>, temp folders and worktrees).
Run: go test ./internal/sessions, ./internal/usage and gui -tags nogui
'Session|Gateway|Manage' on WSL: ok; go vet linux nogui and windows: clean;
GUI sessions-codex-drafts (new), sessions-zcode-drafts, sessions-folder-list in
chromium and webkit: ok. Broken by hand: without keptSubagents
TestCodexSubagentWhoseParentIsGone is red.
Not tried: a live Codex Desktop; the full suite.