_Kerman
338da9f2e0
refactor(agent): fold agentInterruptReasonOf into loop-private slot invariants
...
The public classifier existed to defend an exported reader against
arbitrary signals, but its only production caller is the loop reading
its own machine-private turn signal, where cancel() is the sole aborter
and always writes one frozen canonical cause. Delete the export and its
15-line structural validation: settle() states the slot invariant with
one cast, the boolean call sites ask signal.aborted directly, and the
retry veto drops entirely because a requested window already implies a
live signal (cancel() retires the window before aborting).
The abort(reason) channel and first-wins semantics are unchanged; only
the reader's publicness is gone, and with it the paranoia it required.
2026-07-26 20:51:32 +08:00
..
2026-07-25 01:58:42 +08:00
2026-07-24 23:43:10 +08:00
2026-07-25 01:58:42 +08:00
2026-07-23 18:45:56 +08:00
2026-07-22 22:26:24 +08:00
2026-07-23 18:45:56 +08:00
2026-07-23 19:29:01 +08:00
2026-07-23 19:10:25 +08:00
2026-07-23 19:29:01 +08:00
2026-07-26 02:33:29 +08:00
2026-07-26 02:33:29 +08:00
2026-07-26 02:33:29 +08:00
2026-07-26 11:48:06 +08:00
2026-07-24 22:48:18 +08:00
2026-07-26 11:48:06 +08:00
2026-07-26 20:51:32 +08:00
2026-07-26 20:51:32 +08:00
2026-07-26 20:51:32 +08:00
2026-07-23 19:29:01 +08:00
2026-07-23 19:10:25 +08:00
2026-07-23 19:29:01 +08:00
2026-07-26 16:45:27 +08:00
2026-07-26 16:45:27 +08:00
2026-07-26 16:45:27 +08:00
2026-07-26 14:29:30 +08:00
2026-07-26 14:05:33 +08:00
2026-07-26 14:05:33 +08:00
2026-07-26 02:33:29 +08:00
2026-07-26 02:33:29 +08:00
2026-07-26 02:33:29 +08:00
2026-07-25 15:43:45 +08:00
2026-07-25 15:43:45 +08:00
2026-07-25 15:11:17 +08:00
2026-07-26 02:33:29 +08:00
2026-07-26 02:33:29 +08:00
2026-07-26 02:33:29 +08:00
2026-07-24 14:56:48 +08:00
2026-07-22 22:26:24 +08:00
2026-07-24 14:56:48 +08:00
2026-07-23 18:45:56 +08:00
2026-07-22 22:26:24 +08:00
2026-07-23 18:45:56 +08:00
2026-07-25 14:17:24 +08:00
2026-07-25 14:17:24 +08:00
2026-07-25 14:17:24 +08:00
2026-07-26 16:45:27 +08:00
2026-07-26 16:45:27 +08:00
2026-07-26 16:45:27 +08:00
2026-07-26 02:33:29 +08:00
2026-07-26 02:33:29 +08:00
2026-07-26 02:33:29 +08:00
2026-07-26 14:29:30 +08:00
2026-07-26 14:05:33 +08:00
2026-07-26 14:05:33 +08:00
2026-07-26 11:48:06 +08:00
2026-07-24 22:48:18 +08:00
2026-07-26 11:48:06 +08:00
2026-07-26 02:33:29 +08:00
2026-07-26 02:33:29 +08:00
2026-07-26 02:33:29 +08:00
2026-07-25 15:25:52 +08:00
2026-07-25 15:25:52 +08:00
2026-07-25 15:25:52 +08:00
2026-07-23 18:45:56 +08:00
2026-07-22 22:26:24 +08:00
2026-07-23 18:45:56 +08:00
2026-07-26 02:33:29 +08:00
2026-07-26 02:33:29 +08:00
2026-07-26 02:33:29 +08:00
2026-07-26 02:33:29 +08:00
2026-07-26 02:33:29 +08:00
2026-07-26 02:33:29 +08:00
2026-07-26 14:29:30 +08:00
2026-07-26 14:05:33 +08:00
2026-07-26 14:05:33 +08:00
2026-07-25 01:58:42 +08:00
2026-07-24 23:43:10 +08:00
2026-07-24 23:43:10 +08:00
2026-07-24 14:21:36 +08:00
2026-07-22 22:26:24 +08:00
2026-07-24 14:21:36 +08:00
2026-07-23 18:45:56 +08:00
2026-07-22 22:26:24 +08:00
2026-07-23 18:45:56 +08:00