Skip to content

fix(web): tool permissions survive a redeploy, and the approval copy says what it means (CL-9613) - #1035

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-9613-grants-survive-redeploy
Sep 30, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
cl-9613-grants-survive-redeploy

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Saving a worker's instructions redeploys it as a new run, which reset its tool permissions to Ask.

  • Snapshot non-default tool grants before redeploy (localStorage, keyed by worker asset name).
  • Re-apply them create-then-revoke once the new run's principal exists; the permissions card polls until then.
  • Copy: approval card reads 'Always allow for this worker'; worker page notes permissions carry over.

Resolves CL-9613

@linear-code

linear-code Bot commented Sep 30, 2026

Copy link
Copy Markdown

CL-9613

@TheGreatAxios
TheGreatAxios enabled auto-merge (squash) September 30, 2026 14:50
@TheGreatAxios
TheGreatAxios merged commit d730dc0 into main Sep 30, 2026
3 checks passed
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