FS Tracking + Before/After Stats + Analytics Cleanup
Think in Code — Now Measurable
NODE_OPTIONS --requirepreload injectsfs.readFileSynctracking into allnodecommands inctx_batch_execute- FS bytes reported via
__CM_FS__stderr marker, accumulated inbytesSandboxed - Think in Code savings now visible in
ctx_statsfor bothctx_executeandctx_batch_execute
Before/After Stats
ctx_stats now shows a self-explanatory comparison:
Without context-mode: |########################################| 527.2KB in your conversation
With context-mode: |# | 3.2KB in your conversation
524.0KB processed in sandbox, never entered your conversation. (99.4% reduction)
+2h 5m session time gained.
- Time gained as hero metric
- Outdated version warning in footer
- Fresh sessions show honest "no savings yet"
Analytics Cleanup
- Removed 18 unused query methods from AnalyticsEngine
- Removed unused FullReport fields (activity, patterns, health, agents)
- 1153 lines → 493 lines (-57%)
- JSON block removed from default output
Full diff: 7 files, +900/-1672.