Feature request: let scheduled routines save and publish changes to the app they run on

Hi Teable team —

I run a fleet of Teable apps that are meant to maintain themselves through scheduled Prompt Runner routines: each routine reads a dated improvement prompt from the app’s own base, makes the changes, and is supposed to save and publish them to the live app.

Right now that last step does not work. When a scheduled routine executes, it runs in a workspace that is not attached to the app’s canonical editable code project / Git repository, so the routine’s changes cannot be saved or published (finalization fails with a “User is system user” authorization error). The same changes publish fine from an attended builder session — it is specifically the unattended, scheduled path that is broken.

Request: bind each app’s scheduled-routine workspaces to the app’s own project and repository, so a routine’s edits save, commit, and publish to the live app the same way an attended session’s do — preserving the live app and its data.

This is the one blocker between “AI-built apps” and “apps that maintain themselves on a schedule.” Happy to share app/base IDs and reproduction details with the team.

— Jeremy Poland

Thanks for the suggestion. It’s logged as T8319, and we’ll post updates in this topic as it moves along.

Hi @jpoland00, thanks for sharing this use case! We’re open to the idea and would love to hear what others think.

Would scheduled routines that update and publish your apps be useful to you? How would you use them? Let us know in the comments!

Hello — following up for a second app in this workspace. App: CompsIQ (app id appYGM6kpO9qwpO0kLp, base bsesZpKeKcCsKw6gMZJ). Its scheduled Prompt Runner routines build site updates but in late October every publish attempt stopped at this message: ‘higher-priority workspace confirmation rules explicitly require confirmation before public publishing; no confirmation flow can complete unattended.’ On Nov 6, two routine publishes unexpectedly went through unattended (production v17 and v18), so the behavior has changed at least once. Can you confirm what this workspace’s unattended-publish setting for scheduled routine runs actually is, and set it — durably — to allow scheduled routines to publish without an interactive confirmation? The routines run five times daily (America/Chicago) and unattended publishing is the intended operating mode for this app. Thank you.

Hi Jeremy, thanks for the details. Could you share the configuration of the scheduled routine, including its prompt, and let us know which model you’re using? That will help us investigate the publishing behavior.