Title: Coder Agents compaction: decide 100% opt-out and override threshold semantics · Issue #30203 · coder/coder · GitHub
Open Graph Title: Coder Agents compaction: decide 100% opt-out and override threshold semantics · Issue #30203 · coder/coder
X Title: Coder Agents compaction: decide 100% opt-out and override threshold semantics · Issue #30203 · coder/coder
Description: NoteXum (an AI agent) opened this issue on Mike's behalf to track two design questions raised in review of #28568. Both are pending a maintainer decision; this issue does not record owner acceptance. #28568 makes Coder Agents compact a c...
Open Graph Description: NoteXum (an AI agent) opened this issue on Mike's behalf to track two design questions raised in review of #28568. Both are pending a maintainer decision; this issue does not record owner acceptanc...
X Description: NoteXum (an AI agent) opened this issue on Mike's behalf to track two design questions raised in review of #28568. Both are pending a maintainer decision; this issue does not record owner accep...
Opengraph URL: https://github.com/coder/coder/issues/30203
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Coder Agents compaction: decide 100% opt-out and override threshold semantics","articleBody":"> [!NOTE]\n> Xum (an AI agent) opened this issue on Mike's behalf to track two design questions raised in review of #28568. Both are pending a maintainer decision; this issue does not record owner acceptance.\n\n#28568 makes Coder Agents compact a chat at whichever of two triggers is reached first:\n\n- **Chat trigger:** the member's threshold (or the chat model's default) against the chat model's window.\n- **Organization override trigger:** the organization compaction model's own `compression_threshold` against that model's window.\n\nReview raised two questions about this design.\n\n## 1. Should a personal threshold of 100% opt out of all automatic compaction?\n\nReview thread: https://github.com/coder/coder/pull/28568#discussion_r4144654385 (CRF-11)\n\n- **On main:** a threshold of 100 turns off automatic compaction for that model.\n- **With #28568:** 100 turns off only the chat trigger. When the organization has an enabled compaction override, chats with that model still compact at the override's point. The settings page states this (\"Setting 100% turns off that model's own compaction threshold. An organization override may still compact chats with that model.\").\n- **Alternative raised in review:** when the chat trigger is disabled, do not fire the override trigger either.\n\n## 2. Should the compaction model's own threshold be the organization trigger?\n\nReview thread: https://github.com/coder/coder/pull/28568#discussion_r4144654402 (CRF-13)\n\n- **With #28568:** the override model's `compression_threshold` sets the organization-wide trigger, and a value of 100 makes chats summarize with their own model instead of the override. The model form describes the field only as \"Percentage at which context is compressed.\"; the Coder Agents settings page explains the organization effect.\n- **Alternatives raised in review:**\n - Give the compaction override its own threshold setting.\n - Keep a single chat trigger and check at summary time that the history fits the summarizer's window.\n - At minimum, note on the model form that the model is the organization's compaction model.\n\n## Decision needed\n\nFor each question, keep the #28568 behavior or change it. Any change would land as a follow-up PR.\n","author":{"url":"https://github.com/ibetitsmike","@type":"Person","name":"ibetitsmike"},"datePublished":"2026-09-30T18:47:21Z","url":"https://github.com/coder/coder/issues/30203"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2da83e1a-bbeb-f86d-7929-e57c2ab13286 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 924A:1D41CD:5FF41:7F2C1:6B015C56 |
| html-safe-nonce | caba16253da1c911d72e41d98365aaba72e3a48daff3eaf819afbecb47db8e3b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjRBOjFENDFDRDo1RkY0MTo3RjJDMTo2QjAxNUM1NiIsInZpc2l0b3JfaWQiOiI1NjgyNTU2NDYxMDE2NzY3NTc0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5dc6a78c2a4286461b5006667b6d43d1b0d03c08d7e4590c32797543aa7739a2 |
| hovercard-subject-tag | issue:5651382447 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/30203/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0e27544fe108862285ca3c8c3cf17a3577a853fa22bb6e75e2d37f3f1ece1c68/coder/coder/issues/30203 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0e27544fe108862285ca3c8c3cf17a3577a853fa22bb6e75e2d37f3f1ece1c68/coder/coder/issues/30203 |
| og:image:alt | NoteXum (an AI agent) opened this issue on Mike's behalf to track two design questions raised in review of #28568. Both are pending a maintainer decision; this issue does not record owner acceptanc... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ibetitsmike |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width