Brennan Benson
e66e8d9488
fix(agent-session): give every latched recovery state an exit, and free the profiles already stuck in one
...
A session could reach `recovering` / `manual-recovery` with no way back out, so the
chat behind it never opened again. Three separate latches, all of them permanent:
- A lease with no owner AND no reserved spawn token was treated as an unproven
reservation. Nothing was ever minted that a child could carry, so it is already
free — but every released record re-latched to `recovering` on the next boot.
`adjudicateAgentSessionRestart` now answers `free` for that shape and the owner
probe answers `reservation-unused`, neither of which moves the fence.
- `claimStatus: 'conflicted'` had no clearing path anywhere in the product. The v1
to v2 record upgrade stamps every migrated row conflicted + manual-recovery, and
restart adjudication refused to consult the probe at all. It now evicts when
present-time evidence proves the process the conflict NAMES has exited; with no
proof, and with no named process, the conflict still stands.
- Recovery resolution skipped every TUI record because a TUI owner has its own
recovery transport. That transport needs a process to talk to, so a TUI
reservation that crashed before `commitProcessIdentity` had no exit at all.
Records, journals, and provider handle chains are untouched throughout: an exit is
a re-adjudication of ownership, never a deletion. Where evidence stays unavailable
the refusal now names the process Orca could not prove gone and what to do about
it, instead of echoing a store code.
Also wires `listOrphanSpawnTokens`, which had no production caller: restart restore
now stops children carrying a token no lease claims BEFORE recovery grants a new
owner, so a child that went down with its record cannot end up as a second live
writer on one provider session. The scan reads `/proc/<pid>/environ` and answers
null - "cannot enumerate", never "none" - on macOS and Windows.
2026-08-19 14:10:58 -07:00
..
2026-08-18 14:19:20 -07:00
2026-08-18 13:17:42 -07:00
2026-08-16 13:51:04 -07:00
2026-08-18 19:19:49 -07:00
2026-08-16 23:34:18 -07:00
2026-08-16 23:34:18 -07:00
2026-08-16 23:34:18 -07:00
2026-08-18 21:38:22 -07:00
2026-08-18 21:38:22 -07:00
2026-08-09 16:45:27 -07:00
2026-08-09 16:45:27 -07:00
2026-08-19 14:10:58 -07:00
2026-08-18 21:38:22 -07:00
2026-08-13 11:22:13 -07:00
2026-08-12 18:38:23 -07:00
2026-08-19 14:10:58 -07:00
2026-08-09 13:35:19 -07:00
2026-08-19 14:10:58 -07:00
2026-08-19 14:10:58 -07:00
2026-08-11 04:24:54 -07:00
2026-08-11 04:24:54 -07:00
2026-08-10 05:23:00 -07:00
2026-08-18 19:19:49 -07:00
2026-08-12 18:39:16 -07:00
2026-08-12 18:39:16 -07:00
2026-08-11 04:24:54 -07:00
2026-08-12 13:58:48 -07:00
2026-08-12 13:58:48 -07:00
2026-08-17 14:44:54 -07:00
2026-08-14 19:31:41 -07:00
2026-08-19 14:10:58 -07:00
2026-08-19 14:10:58 -07:00
2026-08-12 18:38:23 -07:00
2026-08-17 13:58:20 -07:00
2026-08-19 14:10:58 -07:00
2026-08-19 14:10:58 -07:00
2026-08-19 14:10:58 -07:00
2026-08-19 14:10:58 -07:00
2026-08-17 13:58:20 -07:00
2026-08-17 13:58:20 -07:00
2026-08-07 14:18:20 -07:00
2026-08-17 14:44:54 -07:00
2026-08-17 13:58:24 -07:00
2026-06-29 13:16:14 -07:00
2026-06-19 12:34:53 -07:00
2026-08-17 00:11:19 -07:00
2026-08-13 22:23:52 -07:00
2026-08-13 22:23:52 -07:00
2026-08-13 22:23:52 -07:00
2026-08-17 00:11:19 -07:00
2026-08-17 00:11:19 -07:00
2026-08-17 18:26:52 -07:00
2026-08-13 22:48:24 -07:00
2026-08-17 18:26:52 -07:00
2026-08-17 18:26:52 -07:00
2026-08-11 18:19:43 -07:00
2026-07-23 18:35:31 -07:00
2026-08-18 13:17:42 -07:00
2026-08-11 18:19:43 -07:00
2026-08-13 22:48:24 -07:00
2026-08-13 22:48:24 -07:00
2026-08-15 18:25:37 -07:00
2026-08-13 22:48:24 -07:00
2026-08-03 23:25:21 -07:00
2026-08-14 22:18:36 -07:00
2026-08-14 22:18:36 -07:00
2026-06-18 22:50:11 -07:00
2026-08-13 22:48:24 -07:00
2026-08-07 23:02:29 -07:00
2026-08-13 22:48:24 -07:00
2026-08-13 22:48:24 -07:00
2026-08-13 22:48:24 -07:00
2026-08-13 20:44:16 -07:00
2026-08-13 22:48:24 -07:00
2026-08-13 22:48:24 -07:00
2026-08-18 15:10:36 -07:00
2026-07-27 17:18:05 -07:00
2026-07-27 17:18:05 -07:00
2026-06-28 23:35:16 -07:00
2026-08-17 10:29:18 -07:00
2026-08-17 10:29:18 -07:00
2026-08-15 21:41:01 -07:00
2026-08-15 18:25:37 -07:00
2026-08-09 18:22:23 -07:00
2026-08-18 15:17:33 -07:00
2026-08-10 14:32:08 -07:00
2026-08-10 14:32:08 -07:00
2026-07-10 12:56:17 -07:00
2026-07-10 12:56:17 -07:00
2026-07-21 20:51:28 -07:00
2026-08-13 22:48:24 -07:00
2026-07-21 20:51:28 -07:00
2026-08-13 22:48:24 -07:00
2026-08-15 18:25:37 -07:00
2026-08-13 22:48:24 -07:00
2026-08-03 13:06:11 -07:00
2026-08-14 01:13:22 -07:00
2026-08-16 13:45:54 -07:00
2026-08-13 22:48:24 -07:00
2026-08-15 17:59:29 -07:00
2026-08-17 12:44:39 -07:00
2026-08-13 22:48:24 -07:00
2026-08-13 22:48:24 -07:00
2026-08-15 00:54:20 -07:00
2026-08-15 00:54:20 -07:00
2026-08-15 00:54:20 -07:00
2026-08-15 00:54:20 -07:00
2026-08-18 13:32:48 -07:00
2026-08-13 22:48:24 -07:00
2026-08-15 00:54:20 -07:00
2026-08-15 00:54:20 -07:00
2026-08-15 00:54:20 -07:00
2026-08-15 00:54:20 -07:00
2026-08-15 00:54:20 -07:00
2026-08-15 00:54:20 -07:00
2026-08-15 00:54:20 -07:00
2026-08-13 22:48:24 -07:00
2026-08-18 13:32:48 -07:00
2026-08-13 22:48:24 -07:00
2026-08-14 00:24:57 -07:00
2026-08-13 22:48:24 -07:00
2026-08-14 00:24:57 -07:00
2026-08-13 22:48:24 -07:00
2026-08-16 20:47:02 -07:00
2026-08-13 22:48:24 -07:00
2026-08-13 11:43:48 -07:00
2026-08-09 23:37:33 -07:00
2026-08-17 00:11:19 -07:00
2026-08-17 00:55:04 -07:00
2026-08-10 01:37:59 -07:00
2026-08-14 16:03:16 -07:00
2026-08-13 19:34:52 -07:00
2026-07-10 21:10:29 -07:00
2026-08-17 00:11:19 -07:00
2026-07-21 15:18:45 -07:00
2026-07-18 23:01:29 -07:00
2026-08-13 22:48:24 -07:00
2026-08-13 22:48:24 -07:00
2026-08-17 00:11:19 -07:00
2026-08-18 15:17:33 -07:00
2026-08-18 19:19:49 -07:00
2026-08-17 01:50:17 -07:00
2026-07-29 11:31:35 -07:00
2026-08-14 18:36:51 -07:00
2026-08-14 18:36:51 -07:00
2026-08-14 18:36:51 -07:00
2026-08-14 18:36:51 -07:00
2026-08-14 18:36:51 -07:00
2026-08-14 18:36:51 -07:00
2026-08-13 22:48:24 -07:00
2026-08-03 23:25:44 -07:00
2026-08-03 23:25:44 -07:00
2026-08-07 20:37:47 -07:00
2026-08-17 00:11:19 -07:00
2026-08-18 00:35:16 -07:00
2026-07-05 23:21:35 -07:00
2026-08-02 19:16:58 -07:00
2026-07-28 12:33:17 -07:00
2026-07-22 18:25:05 -07:00
2026-08-12 16:22:06 -07:00
2026-07-27 16:40:59 -07:00
2026-07-27 16:40:59 -07:00
2026-08-15 19:36:03 -07:00
2026-08-05 01:26:38 -07:00
2026-08-05 01:26:38 -07:00
2026-08-15 18:25:37 -07:00
2026-08-13 22:48:24 -07:00
2026-07-21 15:18:45 -07:00
2026-07-21 15:18:45 -07:00
2026-07-22 18:52:37 -07:00
2026-08-13 22:48:24 -07:00
2026-07-29 17:03:15 -07:00
2026-08-13 22:48:24 -07:00
2026-08-13 18:21:48 -07:00
2026-08-13 01:01:33 -07:00
2026-08-08 12:42:38 -07:00
2026-08-13 22:48:24 -07:00
2026-08-17 15:57:07 -07:00
2026-08-17 15:57:07 -07:00
2026-07-17 18:07:24 -07:00
2026-08-13 22:48:24 -07:00
2026-08-17 15:57:07 -07:00
2026-08-14 01:21:00 -07:00
2026-08-14 01:21:00 -07:00
2026-07-27 17:32:55 -07:00
2026-07-27 17:32:55 -07:00
2026-06-29 22:38:29 -07:00
2026-07-23 18:35:31 -07:00
2026-07-23 18:35:31 -07:00
2026-07-23 18:35:31 -07:00
2026-06-29 22:38:29 -07:00
2026-08-13 22:48:24 -07:00
2026-07-15 15:23:35 -07:00
2026-07-15 15:23:35 -07:00
2026-08-15 00:54:20 -07:00
2026-08-15 00:54:20 -07:00
2026-08-15 00:54:20 -07:00
2026-08-15 00:54:20 -07:00
2026-08-15 00:54:20 -07:00
2026-08-15 00:54:20 -07:00
2026-08-15 00:54:20 -07:00
2026-08-15 00:54:20 -07:00
2026-08-15 00:54:20 -07:00
2026-08-15 00:54:20 -07:00
2026-08-15 00:54:20 -07:00
2026-08-15 00:54:20 -07:00
2026-07-28 16:05:05 -07:00
2026-07-28 16:05:05 -07:00
2026-08-15 00:54:20 -07:00
2026-08-15 00:54:20 -07:00
2026-08-15 00:54:20 -07:00
2026-08-15 00:54:20 -07:00
2026-08-15 00:54:20 -07:00
2026-08-15 00:54:20 -07:00
2026-08-16 22:53:16 -07:00
2026-06-29 22:38:29 -07:00
2026-07-02 18:17:47 -07:00
2026-08-09 23:37:33 -07:00
2026-08-13 22:48:24 -07:00
2026-08-02 19:16:58 -07:00
2026-08-17 13:58:20 -07:00
2026-08-11 03:01:11 -07:00
2026-08-19 14:10:58 -07:00
2026-08-19 14:10:58 -07:00
2026-08-11 06:45:21 -07:00
2026-08-11 06:45:21 -07:00
2026-08-11 04:24:54 -07:00
2026-08-11 04:24:54 -07:00
2026-08-12 18:41:13 -07:00
2026-08-12 18:41:13 -07:00
2026-08-13 19:34:52 -07:00
2026-08-13 19:34:52 -07:00
2026-08-03 02:18:05 -07:00
2026-08-03 02:18:05 -07:00
2026-08-18 14:19:20 -07:00
2026-08-16 22:13:03 -07:00
2026-08-04 17:50:52 -07:00
2026-08-13 22:48:24 -07:00
2026-07-15 19:14:22 -07:00
2026-07-10 17:27:47 -07:00
2026-08-13 22:48:24 -07:00
2026-07-22 22:58:09 -07:00
2026-07-22 22:58:09 -07:00
2026-07-22 22:58:09 -07:00
2026-08-13 22:48:24 -07:00
2026-08-09 23:37:33 -07:00
2026-08-14 22:18:36 -07:00
2026-08-13 22:48:24 -07:00
2026-08-14 18:36:51 -07:00
2026-07-05 23:08:37 -07:00
2026-08-07 01:25:18 -07:00
2026-07-20 20:50:25 -07:00
2026-07-23 18:35:31 -07:00
2026-08-17 00:11:19 -07:00
2026-08-07 20:37:47 -07:00
2026-08-07 20:37:47 -07:00
2026-07-30 00:23:24 -07:00
2026-08-13 22:48:24 -07:00
2026-07-13 20:10:50 -07:00
2026-08-11 18:19:43 -07:00
2026-07-15 01:40:41 -07:00
2026-07-15 01:40:41 -07:00
2026-08-13 22:48:24 -07:00
2026-08-13 22:48:24 -07:00
2026-08-08 12:42:38 -07:00
2026-08-14 01:15:30 -07:00
2026-08-17 00:11:19 -07:00
2026-08-17 00:11:19 -07:00
2026-08-17 00:11:19 -07:00