mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-09 22:33:37 +00:00
After compaction, the agent previously lost awareness of which files it touched. This adds a FileTracker that records file operations from tool calls (read_file, write_file, edit_file, apply_patch) and injects a ## File Operations section into the structured compaction prompt so file context survives across compaction cycles. - FileTracker: BTreeMap-based tracker with record_from_tool_calls() - Structured compaction prompt with Goal/Progress/Key Decisions/ Failed Approaches/Open Issues/Next Steps sections - tracked_file_count field on CompactionCompleted event - File tracker accumulates monotonically (never reset) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| bun-env.d.ts | ||
| bun.lock | ||
| bunfig.toml | ||
| CLAUDE.md | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||