Skip to content

Set session stopReason from typed ForcedStopReason only - #657

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-7006-stop-reason-from-report
Aug 24, 2026
Merged

Set session stopReason from typed ForcedStopReason only#657
TheGreatAxios merged 1 commit into
mainfrom
cl-7006-stop-reason-from-report

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

  • Threads structured ForcedStopReason from runSubAgent through SessionStore.complete instead of fabricating reasons from report prose.
  • Removes stopReasonFromReport as a second source of truth.

Verification

  • bun run typecheck, bun run build, and bun run test pass
  • Session-store and fleet-report tests cover typed stopReason only

Fixes CL-7006

stopReasonFromReport was a second source of truth that fabricated
reasons from report prose. Thread the structured value from runSubAgent
through SessionStore.complete instead.
@linear-code

linear-code Bot commented Aug 24, 2026

Copy link
Copy Markdown

CL-7006

@TheGreatAxios
TheGreatAxios merged commit 146ef6a into main Aug 24, 2026
5 checks passed
TheGreatAxios added a commit that referenced this pull request Aug 27, 2026
stopReasonFromReport was a second source of truth that fabricated
reasons from report prose. Thread the structured value from runSubAgent
through SessionStore.complete instead.
TheGreatAxios added a commit that referenced this pull request Aug 27, 2026
stopReasonFromReport was a second source of truth that fabricated
reasons from report prose. Thread the structured value from runSubAgent
through SessionStore.complete instead.
@TheGreatAxios
TheGreatAxios deleted the cl-7006-stop-reason-from-report branch August 28, 2026 00:09
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