Keep project memory and read honest usage
You keep a project goal, instructions and decisions in small memory files and read usage that comes only from recorded provider turns.
- SpecWithCode
- 1:06
- Any agent
- Narrated, with captions
Recorded on SpecWithCode 0.2.0, added 9 October 2026. The current release is SpecWithCode 1.0.191.
Before you start: SpecWithCode installed; A project open.
Steps
- Keep the project goal, instructions and durable facts together. Instructions guide future turns; they do not replace a provider’s own history.
- Give a lasting decision its own small Markdown file and save it. SpecWithCode checks the file revision before replacing it.
- Reload and reopen the file to confirm the decision persisted. Another project keeps its own memory.
- Read usage, which comes from recorded provider turns. Missing data stays visible, and a cost estimate is not a bill.
Transcript
Built from the caption file of the narration.
0:00 Goal, instructions and facts
Keep the project goal, instructions and durable facts together. Instructions guide future turns. They do not replace a provider's native history.
0:14 Project memory files
Memory belongs to this project. Open a file to review its contents. Give a lasting decision its own small Markdown file.
0:29 Save and confirm a decision
Save the decision. SpecWithCode checks the file revision before replacing it. Reload and reopen the file to confirm that the decision persisted.
0:44 One memory per project
A different project keeps a different memory collection.
0:51 Usage from recorded turns
Usage comes from recorded provider turns. Missing data remains visible. No provider turn ran in this walkthrough. An equivalent cost estimate is not a bill.
Learning path
Step 5 of 12 in Run SpecWithCode, one more guide planned.