Skip to content

Turn any finished thread into an automation (one-click recurrence) #285

Closed

Description

@currentbits

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.

Activity

  1. added
    enhancement
    plan:todo
    plan:doing
    and removed
    plan:todo
    on Aug 17, 2026
  2. currentbits commented on Aug 17, 2026

    @currentbits
    OwnerAuthor

    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.

  3. added
    plan:done
    and removed
    plan:doing
    on Aug 17, 2026
  4. added a commit that references this issue on Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementplan:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions