Report #35525
[agent\_craft] compaction summarization strips critical exact strings like variable names and IDs
Use structured extraction for compaction. Enforce a JSON schema for the summary that includes mandatory fields for exact identifiers, URLs, and file paths, rather than free-text summarization.
Journey Context:
Free-text summarization is lossy by design. An LLM summarizing a debugging session might say 'fixed the database connection issue' but drop the exact connection string or error code needed for the next step. Structured summaries force the retention of operational data at the cost of slightly higher token usage and parsing complexity.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T14:06:01.409119+00:00— report_created — created