Skip to content

Implement Automation runtime activation and review flows - #505

Open
gloriazhang99 wants to merge 6 commits into
berabuddies:masterfrom
gloriazhang99:feat/automation-implementation
Open

Implement Automation runtime activation and review flows#505
gloriazhang99 wants to merge 6 commits into
berabuddies:masterfrom
gloriazhang99:feat/automation-implementation

Conversation

@gloriazhang99

@gloriazhang99 gloriazhang99 commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Description

This PR wires the Automation runtime end to end across the daemon, workflow runtime, and desktop UI.

  • Adds Automation runtime execution, activation, validation, repair, and lifecycle handling in puffer-cli.
  • Extends puffer-automation compiler/spec/store validation for runtime-ready automation contracts.
  • Builds the desktop Automation UI for activation, review, run state, settings, and pending outbound action handling.
  • Integrates Automation approval/review data with the upstream unified outbound action store.
  • Adds architecture/spec updates for the new Automation/runtime/outbound contracts.
  • Merges latest upstream/master and resolves the outbound action architecture conflict.

Follow-ups: a couple of outbound-merge changes still need handling, notably the approve→resume wiring for suspended runs isn't carried into the unified outbound path yet. The local runtime also doesn't run fully end to end yet.
Some screenshots of the current Automation UI are attached below.
Screenshot 2026-07-09 at 1 32 18 AM
Screenshot 2026-07-09 at 1 32 39 AM
Screenshot 2026-07-09 at 1 32 56 AM
Screenshot 2026-07-09 at 1 33 20 AM
Screenshot 2026-07-09 at 1 34 36 AM

Testing

  • cargo check --workspace --all-targets
  • cargo test -p puffer-automation
  • cargo test -p puffer-cli
  • npm run check (from apps/puffer-desktop)
  • npm run test:desktop (from apps/puffer-desktop)
  • Cloud e2e (read-only, ungated connector action) — passed against a real AgentEnv Cloud workspace; the gated approval/resume path is not yet covered on real runtime (see follow-up).

…mplementation

# Conflicts:
#	apps/puffer-desktop/src/lib/api/desktop.ts
#	apps/puffer-desktop/tests/support/fakeDaemon.ts
#	crates/puffer-cli/src/daemon.rs
#	crates/puffer-cli/src/daemon_workflows.rs
#	crates/puffer-cli/src/daemon_workflows/connector_action_execute.rs
#	specs/puffer-desktop/790.md
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