Carry a turn's prompt only from an offset that still marks its start
Commit

The turn-start offset into prompt.txt was trusted whenever it fell inside the file. If a condensation cleared the file mid-turn and later prompts refilled it past that length, the offset landed mid-prompt and a fragment was carried. The offset is now used only on a boundary (start, end, or a separator); otherwise the whole file is this turn's.
Co-Authored-By: Claude Opus 5.5 (1M context) noreply@anthropic.com Entire-Checkpoint: 01M3QK4JTNQEABRMG4PD9Z6V0P
Checkpoints
Checkpoint 1