Context forecasting and handoffs

Skein forecasts whether the next piece of work fits in the agent's remaining context, keeps a reserve for a proper handover, and starts a fresh session from a handoff document when it will not.

Every coding agent works inside a fixed-size context window: its working memory for the session. Long jobs fill it. When it fills, the agent either stops or starts forgetting the beginning of the job, and the summary it writes of itself when nearly full is written in a hurry.

Skein forecasts the burn instead of discovering it. Before each stretch of work it estimates whether the next piece fits in the room that remains and holds back a reserve for writing a proper handover. When the forecast says no, or the plan reaches a natural break, it writes a handoff document, and the work continues in a fresh session that starts from it.

Every step of a run is also checkpointed. A crashed laptop, a killed terminal or a restarted dashboard does not lose the run: it resumes from the last checkpoint rather than from the beginning.

concept · for Skein any · last verified 2026-11-28 · Markdown