---
title: "Auto-compaction and run progress logs"
date: "2026-02-24"
---

## Auto-compaction

Long-running agent sessions used to fail when they hit the context window limit. Now, sessions automatically summarize earlier conversation history when approaching the limit, so long workflows keep running without manual intervention.

The compaction preserves the most relevant context — recent tool calls, file changes, and key decisions — while condensing older turns into a structured summary.

## Progress logs

Every run now writes `progress.ndjson` and `live.json` to the logs directory, giving you a structured record of every LLM call, tool execution, and routing decision. Use these for post-run analysis, debugging, or building custom dashboards.

```bash
# Watch events stream in real time
tail -f ~/.fabro/logs/<run-id>/progress.ndjson
```

## More

<Accordion title="CLI">
- Run `fabro model sync` to download the latest model metadata from OpenRouter
</Accordion>

<Accordion title="Improvements">
- Each run now tracks cumulative input/output tokens and estimated cost, displayed at completion
</Accordion>
