Boss lesson · Unit 02
Longer than the context
Finish a 200-file job across many windows without losing your place
What you practise
- State kept in files, checkpoints, picking up after the context is reset, verifying before saying "done"
Try a question from this lesson
Pick one
An agent must update 200 files, but its window fills after about 30. When the window is cleared, it forgets its progress. What lets it go on from file 31?
Correct answer
A progress note saved in a file, read on restart
Why
Whatever must survive the window has to live outside it. A file the agent writes as it works and reads when it starts is memory that a reset cannot wipe. Step limits and sampling settings store nothing.
The ideas
Concept cards are short on purpose. In the app they appear between questions, after you have met the idea.
Concept
State lives in files
The window is like RAM: fast, small, and wiped on restart. Files are the disk. An agent on a long task writes down what the next session will need: the goal, what is done, what comes next, what it learned.
A fresh session reads that note first and carries on.
# progress.md
goal: move 200 files to api v2
done: 30 (listed in done.txt)
next: src/billing/
notes: tests in src/auth are flakyConcept
Checkpoints
A checkpoint is a state known to be good: the tests pass and the work is saved, for example as a commit. When a later step goes wrong, the agent can return to it and lose minutes, not hours.
Record progress after the work is done and checked, never before.
9 more exercises in the app
- 2× type the answer
- 1× order the lines
- 1× fill the blanks
- 1× true or false
- 4× multiple choice
Bitpath is an iOS app in development. Join the waitlist and you get one email when it is ready to try.