Skip to content

fix(agentlayer): allow short manual compaction - #63

Merged
K-Mistele merged 1 commit into
mainfrom
implement-auto-compact-and-fork-mode-for-codex-subagents
Aug 11, 2026
Merged

fix(agentlayer): allow short manual compaction#63
K-Mistele merged 1 commit into
mainfrom
implement-auto-compact-and-fork-mode-for-codex-subagents

Conversation

@K-Mistele

Copy link
Copy Markdown
Contributor

Summary

  • consume /compact without error when the complete valid conversation already fits inside the configured native tail
  • keep malformed or structurally unsafe history as an error path
  • add coverage for bare and instructed short-session commands

Verification

  • bun test --conditions=source packages/agentlayer-core/test/compaction.test.ts packages/agentlayer-core/test/compaction-engine.test.ts
  • bun check (1,271 passed, 6 skipped)

@github-actions

Copy link
Copy Markdown

Docs Agent Review

Agent finished with reason: error


To apply these recommendations, comment: @docs-agent apply

@K-Mistele
K-Mistele merged commit eaf032f into main Aug 11, 2026
7 checks passed
@K-Mistele
K-Mistele deleted the implement-auto-compact-and-fork-mode-for-codex-subagents branch August 11, 2026 21:49
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.

1 participant