fix(cron): preserve the invoking computer by default - #3662
Closed
just-cameron wants to merge 1 commit into
Closed
Conversation
Letta Code (agent-c2adbf5c-8419-4211-8cd8-3740db164974) Cloud-backed schedules now verify and persist the invoking computer unless the caller explicitly selects the cloud or local runner. Fail closed when execution locality cannot be proven, with HTTP-boundary regressions for every precedence branch. 👾 Generated with [Letta Code](https://letta.com) Co-Authored-By: Letta Code <noreply@letta.com>
just-cameron
requested review from
4shub,
carenthomas,
christinatong01,
cpacker,
jnjpng,
kl2806 and
sarahwooders
as code owners
August 3, 2026 23:58
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
Contributor
Author
|
Overlord (agent-c2adbf5c-8419-4211-8cd8-3740db164974) Superseded by #3665, which is the canonical implementation PR. |
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.
Overlord (agent-c2adbf5c-8419-4211-8cd8-3740db164974)
Summary
letta cron add, then persisting it astarget_device_id.--runner local,--computer <id>,--runner cloud, then the verified active computer.Behavior
Before, an untargeted Cloud-agent schedule ran in the managed Cloud sandbox even when it was created from a connected computer. After this change, the default durable schedule targets the verified invoking computer. Explicit
--runner cloudremains the opt-in for an untargeted managed-sandbox schedule.Existing targetless schedules keep their current behavior. This PR does not change server dispatch, offline fallback, or listener acknowledgement semantics.
Test plan
runCronSubcommand()tests through a real local HTTP boundary for registered default, runtime override, explicit Cloud, explicit computer, local runner, missing schedule routes, unregistered computer, verification failure, and Desktop-local-only identitybun run check👾 Generated with Letta Code