Repository navigation
feat(den): add saved Code Mode scripts for cloud automations - #3656
Merged
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
reachjalil
force-pushed
the
codex/dynamic-artifacts-codemode
branch
from
August 10, 2026 13:36
be1f3a3 to
9954698
Compare
reachjalil
force-pushed
the
codex/dynamic-artifacts-codemode
branch
from
August 10, 2026 14:55
9954698 to
03e6441
Compare
reachjalil
force-pushed
the
codex/dynamic-artifacts-codemode
branch
from
August 10, 2026 15:29
efa7099 to
7215ac6
Compare
Contributor
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (11b2327482dd67a087e1b6adb551b6d60d63257f). 1 advisory desktop↔den sync note(s) were posted as review comments; they do not affect clearance. Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
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.
Why
#3645 established versioned Code Mode scripts and their restricted runtime, but Den still lacked a durable save/run contract for turning a successful ad-hoc execution into reusable work. Automations also only dispatched model-backed instructions to desktop runners.
This PR lands the Den contract and storage first. Keeping every desktop and Den-web consumer out of this diff gives the additive API time to deploy before a published client can use it, which follows the repository's protected migration workflow.
What changed
agent+desktoppreserves current behavior;saved_script+cloudpins the plugin, config object, immutable version, and JSON input.Protected rollout and compatibility
This is deliberately the server-first PR:
apps/appor Den-web consumer changes in the final diff;CreateAutomationclient type remains the legacy agent definition, while Den uses a separately named canonical definition accepted by the additive schema;agent+desktop, and revisions without an action still read as agent revisions.After this PR is merged and Den is deployed, the follow-up can safely add Save, Library, Run now, and Automate controls without shipping a desktop-ahead dependency.
Migration
0059_minor_queen_noir.sqlfollows currentdevand adds Cloud targets, encrypted action/result columns, exact Code Mode version references, and receipt linkage.Security boundaries
execute_capabilitybehavior is unchanged.Verification
git diff --checkpassed.Follow-up after Den deployment