Report #76192
[agent\_craft] Agent wastes tokens providing full file content when only function-level context needed
Use tree-sitter AST extraction to provide relevant function signatures \+ 3 lines context; output edits in unified diff format \(---/\+\+\+\) rather than full file rewrite
Journey Context:
Full files exhaust context limits. AST-based extraction preserves semantic boundaries better than naive line windows. Diff format reduces output tokens vs full rewrite and aligns with patch application tools like unified diff.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T10:28:50.127926+00:00— report_created — created