Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
anomalyco
/
opencode
Public
Notifications
You must be signed in to change notification settings
Fork
27.6k
Star
209k
Code
Issues
4.5k
Pull requests
1.5k
Actions
Projects
Security and quality
2
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
feat(compaction): add PTL retry, breaker policy, attachment restoration & budget accounting
- #20632
#20632
Closed
jwcrystal
wants to merge 8 commits into
anomalyco:dev
anomalyco/opencode:dev
from
jwcrystal:feat/compaction-hardening
jwcrystal/opencode:feat/compaction-hardening
Copy head branch name to clipboard
Conversation
Commits
8
(8)
Checks
Files changed
Closed
feat(compaction): add PTL retry, breaker policy, attachment restoration & budget accounting
#20632
jwcrystal
wants to merge 8 commits into
anomalyco:dev
anomalyco/opencode:dev
from
jwcrystal:feat/compaction-hardening
jwcrystal/opencode:feat/compaction-hardening
Copy head branch name to clipboard
Commits
Commits on Apr 2, 2026
feat: add breaker-aware auto-compaction policy service
Show description for 2b993e6
jwcrystal
committed
2b993e6
View commit details
Copy full SHA for 2b993e6
Browse repository at this point
feat: add PTL retry with isolated attempts for session compaction
Show description for d79c92d
jwcrystal
committed
d79c92d
View commit details
Copy full SHA for d79c92d
Browse repository at this point
feat: add compaction output caps and post-compact budget accounting
Show description for 4bda898
jwcrystal
committed
4bda898
View commit details
Copy full SHA for 4bda898
Browse repository at this point
feat: restore recent non-media tool attachments after compaction within budget
jwcrystal
committed
001aa6c
View commit details
Copy full SHA for 001aa6c
Browse repository at this point
refactor: deduplicate compaction prompt between system and user messages
Show description for 052b2f3
jwcrystal
committed
052b2f3
View commit details
Copy full SHA for 052b2f3
Browse repository at this point
test: add compaction integration tests (retry, breaker, attachments, budget)
Show description for fc17451
jwcrystal
committed
fc17451
View commit details
Copy full SHA for fc17451
Browse repository at this point
merge: resolve conflicts with origin/dev
Show description for ff775c7
jwcrystal
committed
ff775c7
View commit details
Copy full SHA for ff775c7
Browse repository at this point
fix: align compaction.txt with upstream prompt style
Show description for a9d36a1
jwcrystal
committed
a9d36a1
View commit details
Copy full SHA for a9d36a1
Browse repository at this point
You can’t perform that action at this time.