You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Tokens Studio platform currently has no undo, rollback, or restore functionality — only a read-only version history of releases (version history docs). Designers have already made mistakes that were permanently applied, and since plugin changes push to Studio in real time, errors propagate immediately.
Until the platform ships undo, we need our own safety net outside the platform.
What
Set up a scheduled job that pulls all token sources from Tokens Studio into a git repository, so we get diffs, history, and recovery independent of the platform:
studio tokens pull on a schedule (e.g. GitHub Actions cron), committing changes with a timestamped message
Authentication via service account token or OIDC (--ci), see service account tokens — prefer OIDC, otherwise store the token in the CI provider's secret store
Decide target: dedicated backup repo vs. a directory in this monorepo (note: .studio.json config model and safety rubric are documented in documentation/agent-instructions/TOKENS_STUDIO.md, added in chore: add tokens studio agent and cli setup #5151)
Recovery path documented: how to restore token state in Studio from a given backup commit
Why
The Tokens Studio platform currently has no undo, rollback, or restore functionality — only a read-only version history of releases (version history docs). Designers have already made mistakes that were permanently applied, and since plugin changes push to Studio in real time, errors propagate immediately.
Until the platform ships undo, we need our own safety net outside the platform.
What
Set up a scheduled job that pulls all token sources from Tokens Studio into a git repository, so we get diffs, history, and recovery independent of the platform:
studio tokens pullon a schedule (e.g. GitHub Actions cron), committing changes with a timestamped message--ci), see service account tokens — prefer OIDC, otherwise store the token in the CI provider's secret store.studio.jsonconfig model and safety rubric are documented indocumentation/agent-instructions/TOKENS_STUDIO.md, added in chore: add tokens studio agent and cli setup #5151)Notes
packages/eds-tokens(PR chore: add tokens studio agent and cli setup #5151)studio tokens watchcould make this event-driven later; a simple cron is enough as a first safety net