Skip to content

fix: reset compress-pending manual mode after compression - #596

Merged
Tarquinen merged 3 commits into
Opencode-DCP:devfrom
LHMQ878:fix/590-manual-mode-compress-pending
Aug 16, 2026
Merged

fix: reset compress-pending manual mode after compression#596
Tarquinen merged 3 commits into
Opencode-DCP:devfrom
LHMQ878:fix/590-manual-mode-compress-pending

Conversation

@LHMQ878

@LHMQ878 LHMQ878 commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Reset temporary compress-pending state after /dcp-compress.
  • Restore the persisted session setting or configured manual-mode default instead of always enabling or disabling manual mode.
  • Cover automatic, persisted manual, and configured manual modes.

Fixes #590

Verification

  • npm run format:check
  • npm run typecheck
  • npm test (95 tests)
  • npm run build
  • npm audit --audit-level=high

After /dcp-compress, finalizeSession must not treat compress-pending as
active manual mode, which permanently blocked automatic compression.
@LHMQ878
LHMQ878 force-pushed the fix/590-manual-mode-compress-pending branch from b9c8366 to 9f9a185 Compare August 8, 2026 09:18
@Tarquinen
Tarquinen changed the base branch from master to dev August 16, 2026 03:28
@Tarquinen
Tarquinen merged commit 1d1f5c5 into Opencode-DCP:dev Aug 16, 2026
1 check passed
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.

[Bug]: finalizeSession() converts "compress-pending" to "active" via truthy check, permanently blocking auto compression

2 participants