Skip to content

fix(session): defer stub notice until after the completeness gate - #1247

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

TheGreatAxios merged 1 commit into
mainfrom
cl-9497-completeness-gate-stub-notice

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

  • Completeness-gate discard of a stub fold does not emit the operator notice or run onFolded prune
  • A stub fold that actually replaces turns still notices and prunes, without success telemetry

Verification

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

Related to CL-9497

The completeness gate can still return the original turns after an
inner stub fold. Firing the operator notice and onFolded prune on
the inner result described a fold that never landed.
@linear-code

linear-code Bot commented Sep 30, 2026

Copy link
Copy Markdown

CL-9497

@TheGreatAxios
TheGreatAxios merged commit f80ae24 into main Sep 30, 2026
13 checks passed
@TheGreatAxios
TheGreatAxios deleted the cl-9497-completeness-gate-stub-notice branch September 30, 2026 00:30
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