Skip to content

Cherry-pick caf1b8482: feat: allow compaction model override via config#1294

Merged
alexey-pelykh merged 1 commit intomainfrom
cherry-pick/caf1b8482-compaction-model-override
Mar 14, 2026
Merged

Cherry-pick caf1b8482: feat: allow compaction model override via config#1294
alexey-pelykh merged 1 commit intomainfrom
cherry-pick/caf1b8482-compaction-model-override

Conversation

@alexey-pelykh
Copy link
Copy Markdown

Cherry-pick from upstream

Upstream commit: caf1b8482
Author: GitBuck
Tier: AUTO-PARTIAL (resolved: discard gutted)

Upstream adds compaction model override config (agents.defaults.compaction.model). Fork gutted the entire compaction runtime and config surface — CLI runtimes handle their own compaction internally.

What survived

  • scripts/test-parallel.mjs update (auto-merged cleanly)

What was discarded

  • Compaction model override (config, types, Zod schema, help, labels, docs, tests) — no home in fork
  • CHANGELOG.md, docs/concepts/compaction.md — deleted in fork
  • src/agents/pi-embedded-runner/compact.ts, attempt.test.ts — gutted
  • src/agents/models-config.merge.test.ts — deleted in fork

Depends on #1293

Closes #905 — commit 3/4

🦀 Cherry-picked with RemoteClaw HQ

Cherry-picked from openclaw/openclaw@caf1b8482.

Adds test-parallel.mjs update from upstream.

Compaction model override (agents.defaults.compaction.model) discarded:
fork gutted the compaction runtime and config surface entirely — CLI
runtimes handle their own compaction internally.

Also discarded: CHANGELOG.md (deleted in fork), docs/concepts/compaction.md
(deleted in fork), pi-embedded-runner files (gutted),
models-config.merge.test.ts (gutted).
@alexey-pelykh alexey-pelykh merged commit c454687 into main Mar 14, 2026
7 checks passed
@alexey-pelykh alexey-pelykh deleted the cherry-pick/caf1b8482-compaction-model-override branch March 14, 2026 10:20
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.

Cherry-pick: upstream config/types updates (4 commits)

2 participants