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
{{ message }}
Repository navigation
Turn any finished thread into an automation (one-click recurrence) #285
Inspired by ChatGPT's clock-icon task recurrence and Browserbase Director / Browser Use's history-to-script compilation.
On any finished thread: a 'repeat this' action that offers (a) run this prompt on a schedule (daily/weekly cron), or (b) distill what the agent did into a parameterized workflow bundle (#275) the user reviews before saving. Zero-ceremony on-ramp into the automations system; most automations start life as a successful one-off run.
Implemented on coder/turn-any-finished-thread-into-an-automat-505ae1 (two grok workers on a shared contract commit).
(a) Schedule this prompt… — thread header menu (hidden while a run is live) seeds the Automations create form from the thread's first user message + its project/provider/model; the user picks a preset and hits create. Reuses the existing automations system whole, no new backend.
(b) Distill into workflow… — new runs:distill handler (electron/distill.js) turns the transcript into a 2-4 phase workflow template draft via the local fm CLI, opened unsaved in the workflows editor for review; saving goes through the existing workflows.save.
Known limit: fm is not installed on this machine, so distill currently degrades to its deterministic fallback — a single repeat phase seeded from the first prompt. It never rejects, and the draft is fully editable before saving, but the real summarisation only kicks in where the macOS 27 fm CLI exists. A paid-provider distill path is the upgrade if that matters.
Not done: #275's shareable/parameterised bundle format — the distilled output is a plain workflow template, which is what exists today.
Verified: npm run typecheck clean, npm run test:renderer green, npm run test:electron 1031 pass / 3 suites failing (orch-server HTTP, orch-server provider injection, wireClient×webBridge) — all three also fail at the pre-merge baseline here, they need real sockets.
Activity
currentbits commentedon Aug 17, 2026
Implemented on
coder/turn-any-finished-thread-into-an-automat-505ae1(two grok workers on a shared contract commit).(a) Schedule this prompt… — thread header menu (hidden while a run is live) seeds the Automations create form from the thread's first user message + its project/provider/model; the user picks a preset and hits create. Reuses the existing automations system whole, no new backend.
(b) Distill into workflow… — new
runs:distillhandler (electron/distill.js) turns the transcript into a 2-4 phase workflow template draft via the localfmCLI, opened unsaved in the workflows editor for review; saving goes through the existingworkflows.save.Known limit:
fmis not installed on this machine, so distill currently degrades to its deterministic fallback — a singlerepeatphase seeded from the first prompt. It never rejects, and the draft is fully editable before saving, but the real summarisation only kicks in where the macOS 27fmCLI exists. A paid-provider distill path is the upgrade if that matters.Not done: #275's shareable/parameterised bundle format — the distilled output is a plain workflow template, which is what exists today.
Verified:
npm run typecheckclean,npm run test:renderergreen,npm run test:electron1031 pass / 3 suites failing (orch-server HTTP, orch-server provider injection, wireClient×webBridge) — all three also fail at the pre-merge baseline here, they need real sockets.Merge pull request #379 from currentbits/coder/turn-any-finished-thre…