Migrated the HTTP client off the legacy package across 41 files
claude-codecode-migrator34 turns1m 12s130.6K$1.957
←→Move turn
A flat line is time where nothing was gained
Did it get anywhere — cumulative records secured
Turn 15 · Lose the prefix cache mid-sweep
2 request groups34 observations3 verdicts
- 85.9K45.0s
- 2.2K2.2s
- 1.9K700ms
- 6.3K2.9s
- 7.1K4.5s
- 4.3K1.0s
- 7.7K4.3s
- 1.8K853ms
- 6.7K3.3s
- 3.3K3.8s
- 2.2K4.1s
- 12.4K3.7s
- 1.7K1.0s
- 2.8K666ms
- 3.1K706ms
- 2.4K1.6s
- 7.9K2.6s
- 1.6K3.4s
- 3.0K1.4s
- 4.9K1.7s
- 7.8K1.4s
- 2.4K1.5s
- 44.7K27.3s
- 1.7K1.5s
- 6.3K4.7s
- 2.6K699ms
- 4.5K3.5s
- 6.6K1.8s
- 1.9K748ms
- 2.5K2.2s
- 5.7K2.9s
- 4.6K2.8s
- 5.9K4.4s
- 2.4K2.1s
Group rows show the sum of everything nested under them.
Lose the prefix cache mid-sweep
Grep(pattern="legacyFetch\(", glob="src/**/*.ts")
Paid for the same context twice
The previous call read most of its context from cache; this one did not, and wrote a large new cache entry instead — the prefix changed.
Observed values
- Cache read
- 71600 → 0absent from this call
- Cache write
- 0 → 71600
- Re-paid tokens
- 71600
Rule · cache_read collapses while cache_write spikes
What it should have done instead
Avoid mid-run changes to the tool list or system prompt
Measured values
- Own duration
- 1.6s
- Started at
- +33.0s
- Tokens
- 2,435
- Cost
- $0.036
- Cumulative records
- 12
- Parent
- Turn 0
- Argument hash
- 2f78022a
- Verdict
- Error
Every value is observed directly from instrumentation. No self-reported or estimated scores are used.
Context window at this point
- Cache read0
- Cache write65,401
- Fresh input1,980
- Output1,522
9 of 41 registered tools were called in this run. The other 32 definitions cost 2,890 tokens on every call — 0% of the context is tool documentation, and most of it goes unused.