Skip to content

Fix stale pending steer projection#804

Draft
brsbl wants to merge 1 commit into
mainfrom
bb/investigate-persistent-steering-message-thr_i9a8dnxiw9
Draft

Fix stale pending steer projection#804
brsbl wants to merge 1 commit into
mainfrom
bb/investigate-persistent-steering-message-thr_i9a8dnxiw9

Conversation

@brsbl

@brsbl brsbl commented Jul 19, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • stop projecting unaccepted steers after their target turn completes
  • treat pending steers as latest-page tail state so historical pages cannot resurrect stale requests
  • add unit, CLI-rendering, and database-backed pagination regressions

Root cause

The timeline treated any unaccepted steer as pending whenever the overall thread remained active. It did not distinguish thread activity from the lifecycle of the steer’s expected target turn. After durable request-settlement state was removed, a completed target with later unrelated active work could leave the old steer visible indefinitely.

Validation

  • pnpm exec turbo run test --filter=@bb/thread-view --force — 343 tests passed
  • pnpm exec turbo run test --filter=@bb/server --force -- test/services/threads/timeline-parented-pagination.test.ts — 3 tests passed
  • pnpm exec turbo run typecheck --filter=@bb/thread-view --force
  • pnpm exec turbo run typecheck --filter=@bb/server --force
  • staged review loop completed with no remaining P0/P1 findings

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