Handle transcript-read failures when estimating parent fork token counts,
short-circuit the fallback path when the parent fork guard is disabled, and
remove the dead skip-fork log fallback now that the guarded branch only runs
with numeric parent token counts.
Regeneration-Prompt: |
The rebased PR for the parent fork overflow guard picked up review feedback.
Keep the original fix intact, but tighten the implementation in three small
ways: do not pay transcript-read/token-estimation cost when
session.parentForkMaxTokens is disabled, do not let synchronous transcript
read failures bubble out of session initialization, and remove any dead
parentTokens fallback text in the skip-fork log branch once that branch is
already guarded by typeof parentTokens === "number".