* fix(codex): index a new account home before bridging history into it
Codex indexes every rollout present when it first creates its state DB, and
the TUI gives up after 30s, so large histories broke a new account's launch.
Fixes#20669
* test(codex): keep the account migration test from starting the real Codex binary
Selecting an account starts the history bridge, which spawned codex app-server
on the fixture homes and raced the test's temp-dir cleanup.
* fix(codex): index a new account's most recent bridged history first
Indexing a large history takes minutes, and Codex's /resume hides unindexed
threads once a directory has any indexed one, so recent conversations stayed
missing until the heal reached them in directory-listing order.
* test(codex): cover the history bridge's quit, no-history and failed-link guards
Drop the stop check before creating the state DB: it ran in the same tick as
the check at bridge start, so it could never observe a quit.
* test(codex): make the account heal tests fail closed instead of reaching a real codex
Fake invocations now point at a nonexistent binary and a throwaway CODEX_HOME,
and cover per-home failure memory and a session that fails during quit.
---------
Co-authored-by: Brennan Benson <79079362+brennanb2025@users.noreply.github.com>