Skip to content

Improvement: simplify the automation creation process #5013

Closed

Description

@yannickmonney

The automation creation process is more complicated than it should be. Make it simpler and easier for users.

Activity

  1. added
    agent-ready
    on Oct 29, 2026
  2. tale-review-bot commented on Oct 31, 2026

    @tale-review-bot
    Collaborator

    Decision: TALE-210 / #5013. I traced where creating an automation is complicated and split it into three concrete changes. This task is part 1: the Blank wizard asks one Start it now question, as the template lane does.

    Question. What exactly should be simpler about creating an automation, and what is "done"? The issue gives one sentence. This is triage's question of 2026-10-29 11:31 UTC.

    What I looked at. All four lanes of Create automation at tale-project/tale main df6105cef08a78084439c029d5917611c4adcf54: from a template, with your coding agent, blank, and upload package (services/platform/app/features/automations/components/automations-list.tsx:382-405). I also read the docs and the automations manual suite. I read the code and ran nothing.

    The template lane is already short. It asks one question, Start it now: "Deploys version 1 and turns its trigger on in the same step … Off, it is created as a draft you deploy from the editor" (messages/en/automations.yml:156-157, default template-setup.tsx:158).

    Where it is complicated:

    • The Blank wizard asks two questions for the same decision: Enable now, off by default (lib/trigger-draft.ts:77, blank-automation-dialog.tsx:558-567), and Deploy v1 now, on by default (:148-150, :569-575). Its defaults produce a third state no other lane produces: a live v1 whose trigger is paused, which never runs until the author finds the trigger's switch. The manual suite pins this today (services/platform/tests/manual/suites/automations.md:576).
    • The wizard's model is required but starts empty (blank-automation-dialog.tsx:130,228-229).
    • The coding-agent lane ignores the project it is started from (automations-list.tsx:423-431).

    Options weighed for part 1:

    • Start it now on by default in the Blank lane. Rejected: a blank automation's instructions have never run. The wizard's own design says "nothing starts before the author has looked" (blank-automation-dialog.tsx:137-139), and an automation acts with the organization's equipment and secrets.
    • Keep the two checkboxes and fix only their defaults. Rejected: the duplicated question stays.
    • Decided: one Start it now switch with exactly the template lane's meaning and wording, off by default in the Blank lane. On deploys v1 and turns its trigger on; off creates a draft with its trigger off, which is also what Upload creates. Every lane then ends in one of two states the author can name.

    The three changes:

    1. This task. The Blank wizard's step 2 replaces Enable now and Deploy v1 now with one Start it now switch, as above.
      • Update the docs that describe it: docs/{en,de,fr}/platform/automations/catalog.md (Blank row) and triggers.md, where a new trigger starts off.
      • Update the manual suite: AUTO-F45, and the "two create lanes" in automations.md:9 and :196, which are four.
      • Done when blank-automation-dialog.test.tsx proves two things. With the defaults, the create saves a draft with its trigger off and deploys nothing. With the switch on, it saves, sets the trigger enabled: true and deploys v1.
      • The en/de/fr messages reuse the template lane's terms.
    2. Preselect a model in the blank automation wizard #5214: preselect a model in the Blank wizard.
    3. Create with your coding agent from a project's list into that project #5215: the coding-agent lane creates into the project it was opened from.

    Left to the Coder: whether the switch is shared with the template setup as one component; the test layout; the order of commits.

    The squash message ends with Closes #5013. #5214 and #5215 are named on #5013 and close with their own commits.

    Line: feature

    What would change this decision: a person's answer on #5013 that names other steps, which would be filed as further parts. Another would be evidence that authors rely on a live v1 with a paused trigger, for example to run it by hand before scheduling. That case would get its own decision.

    How this task lands now: branch from origin/<the train of its line>
    (train or feature-train) and record that commit as the base; open no pull
    request, and close one the task still has. Hand over on this task (train,
    branch, full head, base, the gate you ran, and the squash message ending with
    Closes #<n> or Refs #<n>), then move it to In review. The Lead's decision
    above settles what the task asked a person; a technical choice is yours to make
    and record in the plan (Development's "Who decides"). This replaces whatever an
    older copy of the instructions earlier in this task's conversation says.

  3. added a commit that references this issue on Nov 2, 2026
    e53d2e0
  4. added 4 commits that reference this issue on Nov 2, 2026
    bb0c815
    a31e275
    72542b1
    e1bfa41
  5. tale-code-bot commented on Nov 2, 2026

    @tale-code-bot
    Collaborator

    Done on the feature line: feature train #5297 landed on release/0.6 by rebase at 2026-11-02 09:37:43 UTC. This issue's change is commit e1bfa41e9577e5531013dee476c02687ab76833d (feat(platform): give the Blank wizard the template lane's Start it now) on release/0.6, and it ships with Tale 0.6.0. GitHub closes issues itself only for commits that reach main, so the feature-train role closes this one now. Board task: TALE-210.

  6. added 13 commits that reference this issue on Nov 2, 2026
    b1f1ec1
    a675e8a
    b7ca1ca
    0164588
    9e4bed5
    a0e5c45
    34bae10
    de5fc29
    4280ab4
    91101b0
    0929eca
    a44cbc8
    c9c205f
  7. added a commit that references this issue on Nov 15, 2026
    893528b
  8. added a commit that references this issue on Nov 23, 2026
    7bff43e
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

    agent-readyimprovementservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions