Follow-up to #88.
Problem #
#88 added the "Start in" choice to the New automation form and preselects Dry run. Before #88, the primary "Create automation" button created a live automation. Now the same button creates a dry-run one, unless the user notices the radios and picks Live. #88 listed "the default mode a new automation starts in" as out of scope, so this change of default was never decided.
It matters more than a label: dry-run automations turn themselves off after 7 days (lib/runtime/dry-run-expiration.ts). A user who creates an automation the usual way, without reading the radios, gets one that never acts and then disables itself.
Evidence #
app/islands/AutomationForm.tsx:688:useState(restoredRef.current?.dryRun ?? true).lib/runtime/dry-run-expiration.ts: the 7-day auto-disable for dry-run automations.
Expected #
The default is a decision the owner makes, and the form makes it obvious. Either:
- the default goes back to Live, as before #88, or
- Dry run stays the default, and the primary button and its surroundings say so (for example "Create in dry run"), including that a dry run turns off after 7 days.
Acceptance criteria #
Out of scope #
Changing the dry-run expiry itself.
Queued: the loop will work on this version of the issue.
loop:queued cid=bafyreihbhmmejjlkseeyet5nwcm6rf3as2h6zoia6hg6wyrumflp4rmwwy