anomalyco / anomalyco/opencode
Title: Inline compaction summary truncates lines to ~15 characters
Open
@kitlangton is already working on this.
Since Jul 31, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
When a session is auto-compacted, the inline "Session Summary" embedded in the context stream clips every line to approximately 15 characters. Sections like "Constraints & Preferences", "Next Steps", and "Key Decisions" become unreadable. Example output:
Progress
Done
- [
- [x
- [
- [
- [x
This happens because the compaction mechanism appears to apply a fixed-width truncation on each line rather than preserving the full text. The "compaction" config key (auto: true, tail_turns: 15) doesn't seem to control the summary generation behavior.
Plugins
compact tool
OpenCode version
1.18.9 (latest)
Steps to reproduce
compacting after a long task(used matt skills to break into tickets and compacting in between)
Screenshot and/or share link
Operating System
Windows x64
Terminal
windows terminal
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.