fabro/crates
Bryan Helmkamp 6bafc012c3 Add structured compaction with file tracking
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>
2026-02-27 22:46:29 -05:00
..
agent Add structured compaction with file tracking 2026-02-27 22:46:29 -05:00
attractor Add structured compaction with file tracking 2026-02-27 22:46:29 -05:00
git-storage Add git-storage crate for storing data in git object database 2026-02-24 23:17:44 -05:00
llm Add gpt-5.3-codex model and make it the default codex alias 2026-02-27 21:40:01 -05:00
util Consolidate redact and terminal crates into util 2026-02-27 18:44:19 -05:00