feat(automations): Edit with agent (v0.445.0) - #825
Merged
Merged
Conversation
…he edit (v0.445.0)
Automations → Edit with agent… opens an interactive session with the
automation's own agent, briefed with its config and recent runs. The agent
proposes the change via automation_propose({ editOf }); an edit card applies
via Automations.update on approval and 409s if the automation changed since.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
Adds Edit with agent… to each automation's menu: opens an interactive session with the automation's own agent, briefed with the current trigger/mode/run-as/task prompt and last 5 runs (+ optional note).
automation_proposegains aneditOflane — only changed fields, merged + validated against the live automation at propose time (bad cron, schedule on an event trigger, no-op → refused).automation.proposedtype (before → after preview; side-by-side task prompt compare). Approve →Automations.updateunder the Edit form's ownership rule; 409 if the automation changed after the proposal (ignoringenabled), so a human's edit is never reverted.POST /api/automations/:id/edit-with-agent; auditedautomation.edit.session/.proposed/.approved.scripts/automation-edit-proposal-test.cjs(24 checks), added totest:governance(full suite green).🤖 Generated with Claude Code