Skip to content

feat(rlm): max_compactions harness config#2111

Draft
samsja wants to merge 1 commit into
mainfrom
feat/rlm-max-compactions
Draft

feat(rlm): max_compactions harness config#2111
samsja wants to merge 1 commit into
mainfrom
feat/rlm-max-compactions

Conversation

@samsja

@samsja samsja commented Jul 23, 2026

Copy link
Copy Markdown
Member

Plumbs a max_compactions field on RLMHarnessConfig through to the RLM_MAX_COMPACTIONS env var (companion to PrimeIntellect-ai/rlm-harness#117): once a branch has compacted that many times, auto-compaction disables and the context grows to the model's natural limit. None keeps unlimited compaction. Validated positive.

🤖 Generated with Claude Code

Note

Add max_compactions config field to RLMHarnessConfig

Adds an optional max_compactions integer field to RLMHarnessConfig. When set, the value is passed to the rlm subprocess as the RLM_MAX_COMPACTIONS environment variable. The validate_limits validator rejects non-positive values.

Macroscope summarized 3c7a312.

Companion to PrimeIntellect-ai/rlm-harness#117. None = unlimited
(current behavior); requires an rlm version with the env var support.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants