Skip to content

fix(automations): scope unattended approvals to each run - #278

Merged
astyfx merged 2 commits into
mainfrom
fix/automations-approval
Jul 30, 2026
Merged

fix(automations): scope unattended approvals to each run#278
astyfx merged 2 commits into
mainfrom
fix/automations-approval

Conversation

@astyfx

@astyfx astyfx commented Jul 30, 2026

Copy link
Copy Markdown
Member

Summary

  • map Auto routines to true provider permission bypass so scheduled Claude and Codex runs do not stall on approvals
  • carry a host-owned per-run authorization through Stave Local MCP and use it to auto-accept eligible Claude MCP elicitations and Lens CDP access
  • isolate concurrent manual Lens requests and revoke automation approvals immediately when a run ends or the host service disconnects

Validation

  • bun run typecheck
  • bun test tests/claude-sdk-runtime.test.ts tests/codex-app-server-runtime.test.ts tests/lens-cdp-approval.test.ts tests/routine-runtime.test.ts tests/routines.test.ts tests/stave-local-mcp-manifest.test.ts tests/provider-runtime-options.test.ts tests/ipc-schemas.test.ts
  • bun run build:desktop
  • git diff --check

@astyfx
astyfx enabled auto-merge (squash) July 30, 2026 01:51

@heath-s heath-s left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@astyfx
astyfx merged commit 1b52838 into main Jul 30, 2026
3 of 4 checks passed
@astyfx
astyfx deleted the fix/automations-approval branch July 30, 2026 01:57
@astyfx astyfx mentioned this pull request Jul 30, 2026
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.

2 participants