Skip to content

fix(session): defer stub fallback notice until the fold commits - #1244

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-9497-defer-compaction-stub-notice
Sep 30, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
cl-9497-defer-compaction-stub-notice

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

  • The statistics-only stub notice fires only after a fold actually replaces turns
  • Stub folds still run onFolded cache-prefix prune; success telemetry and the TUI flash stay off
  • Exec writes the same operator-visible stub notice to stderr

Verification

  • bun run typecheck, bun run build, and bun run test pass
  • bun run check is green (7854 pass, 0 fail)

Related to CL-9497

A failed summary used to tell the operator a statistics-only stub was
in use before verify ran. Verify abort keeps prior context, so that
notice was a lie. The wrapper now fires the notice and cache-prefix
prune only after turns actually fold, skips success telemetry on a
stub, and exec writes the same notice to stderr.
@linear-code

linear-code Bot commented Sep 30, 2026

Copy link
Copy Markdown

CL-9497

@TheGreatAxios
TheGreatAxios merged commit 4c5fb28 into main Sep 30, 2026
13 checks passed
@TheGreatAxios
TheGreatAxios deleted the cl-9497-defer-compaction-stub-notice branch September 30, 2026 00:10
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