Repository navigation
ref(chat): Stop writing actor into turn-session Redis - #1298
Merged
Merged
Conversation
SQL already owns Slack actor identity and resume rebuilds execution actor from message author, work-state profile, resource-event markers, or dispatch. Drop singular actor from the Redis turn-session projection and summary indexes. Refs #1267 Co-Authored-By: David Cramer <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Resume no longer carries Redis profile fields, and the MCP OAuth suite dropped under the file-length limit after the mismatched-actor cases left. Refs #1267
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit c5eca69. Configure here.
Work-state lookup and profile enrichment are optional. Failures there must still fall through to author id + destination team rebuild on resume. Refs #1267
dcramer
reviewed
Aug 7, 2026
dcramer
left a comment
Member
There was a problem hiding this comment.
theres a lot of code in here that i would hope is temporary because its VERY hard to follow
Collapse nested system/user actor ternaries in continue-runner into resolveResumeExecutionIdentity with an explicit priority list, and keep plugin run.actor rebuild as first instruction actor or dispatch fallback. Refs #1267
dcramer
reviewed
Aug 7, 2026
Move resource-event identity constants into resource-events/actor, require a resume execution actor, set the system actor on live resource-event routing, and rebuild plugin run.actor from instruction provenance or dispatch. Refs #1267 Co-Authored-By: David Cramer <[email protected]>
Add credentialContextForActor so callers set actor first and project credentials instead of hand-building parallel shapes. Resume, reply, dispatch, and local runner all go through that path. Refs #1267
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Finish the nested-contract cutover for turn sessions after #1268/#1286. Singular execution
actorleaves the Redis turn-session projection and summary indexes; resume rebuilds it from durable sources.Identity model (simplified)
actorfirst (who runs)credentialContextwithcredentialContextForActor(actor, subject?)subject(scheduled/event-task creator tokens)resource-events/actor.tsResume
Also
routing.actorto the system principalrun.actor= instruction provenance, else dispatchChecks
tsc --noEmit✅Refs #1267