- Replace detached Effect.runFork with Effect.forkChild to keep the
stream fiber in the managed Effect runtime instead of creating a
completely independent root-level fiber.
- Store the fiber reference in ClaudeSessionContext and interrupt it
in stopSessionInternal before queue/query teardown, eliminating the
race window where the fiber could offer events to a shut-down queue.
- Remove the no-op asCanonicalTurnId identity function and inline
the TurnId value at all call sites.
Co-authored-by: Julius Marminge <[email protected]>