Skip to content

Automations: inline validation, readable schedule and trigger, consistent names, shorter hints #3604

Closed

Description

@integry

Problems

Form (New automation / edit)

  1. Validation is a red banner at the top of the pane with the raw field key ("name is required") while the field is scrolled out of view; no inline error, no scroll or focus. Cron errors read like API output: "schedule is not a valid cron expression: Cron expression must have 5 fields: minute hour day-of-month month day-of-week", "schedule must not run more often than every 15 minutes".
  2. The Coding agent select is fixed at 120px, so on a phone it shows "Claude (" instead of "Claude Opus 5.5 (Default)".
  3. Capability rows print the raw id in a chip after each label (repository_read, web, propr_mcp, merge); the checkboxes are not on one vertical line; the blocker-reason checkbox grid is ragged.
  4. "Merge pull requests" can be ticked while Autonomy is "Dry run", although its help says "Report-only automations never merge".
  5. With an empty list and the New automation pane open, the template cards are shown twice (in the empty state under "OR START FROM A TEMPLATE" and in the pane under "Start from a template"). Three cards sit in a two-column grid at uneven heights.
  6. Unsaved input is dropped silently: Escape closes the pane, clicking another automation replaces it, and clicking a template card overwrites a typed Name and Prompt with no confirmation. (New Task does warn, with a native window.confirm.)
  7. Hints that are long or explain mechanics: Event trigger: "Run once for each epic queue issue that becomes blocked, with the event as input. The run is unattended, like a scheduled one. At most 3 runs per issue of a plan." with legends "Repositories (none checked: all of this automation's)", "Blocker reasons (none checked: any reason)" and the error "Choose the repositories this automation concerns; the trigger only reacts to plans in them."; pause control: "Pause the schedule when scheduled runs keep producing no change" + "You are told in the Inbox either way; with this on, the schedule is also turned off then." (the number of runs is not stated); Coding agent: "The coding agent and model that write the report. Left on the default, the instance default agent runs it with its default model."; Additional extensions (38 words): "Library items this automation adds on top of the items that apply automatically, listed when their limits allow the automation's repositories and agent…"; empty state (35 words): "An automation is a saved prompt that a coding agent runs on demand or on a schedule against your repositories, writing a report. It can stop there, wait for your approval, or act on the report through ProPR tools."
  8. Several names for the same things: "acting step", "acting agent", "automation action phase"; "Dry run", "can only run dry", "Report-only automations".
  9. The blocker reasons are worded differently here and in the Planner: "Closed without merging" / "Closed without merge"; "Missing from the plan" / "Missing from plan"; "Could not be started" / "Could not start"; "Processing labels not released" / "Labels not released"; "Model and branch setup not ready" / "Setup not finished".

List and runs
10. The list shows a raw cron on some rows ("0 */3 * * * (UTC) · next in 2h") beside "Daily 09:00 UTC" on others; the run page prints "Schedule · schedule:0 9 * * *".
11. Every run with a report shows "Hover to preview the report", also on touch devices where there is no hover.
12. The dashboard labels automation runs "AGENT RUN" while the task list says "Automation"; the error for an unknown id says "Automation definition not found".
13. The header button says "New Automation" while the pane title and the empty-state button say "New automation".
14. The automation report task shows "Preparing Analysis" twice in its timeline and "No execution logs recorded — task completed directly." for a run that took 1m 20s; GET /api/task/agent-run-…-report/assignees returns 409 on every automation-run task page.

Expected / acceptance criteria

  • 1: errors appear under the field, in words ("Enter a name.", "Enter a schedule with five parts, e.g. 0 9 * * 1-5.", "Run at most every 15 minutes."); submitting scrolls to and focuses the first invalid field.
  • 2: the select is as wide as the other fields. 3: no raw ids; checkboxes aligned. 4: "Merge pull requests" is disabled (with a one-line reason) while the automation is report-only.
  • 5: templates are shown once (in the pane when it is open); the cards are a single-column list or equal-height rows without card chrome.
  • 6: closing or replacing a form with typed content, and applying a template over typed content, asks first, in the app's dialog style (use the same dialog for New Task instead of window.confirm).
  • 7: "Runs when a plan issue becomes blocked. Up to {n} runs per issue."; "Repositories (all if none ticked)", "Reasons (any if none ticked)"; "Choose at least one repository first."; "Pause the schedule after {n} runs in a row with nothing new" + "You get an Inbox notice either way." (n from the instance setting); "The agent and model that write the report."; "Extra skills and MCP servers for this automation. Claude and Codex only."; empty state "A saved prompt that runs on a schedule or on demand and writes a report."
  • 8: one term for each: "action step" and "Report only", used in every place.
  • 9: one shared set of blocker-reason labels (the Planner's) used by both.
  • 10: every schedule is shown in words when it matches a preset or simple pattern ("Every 3 hours", "Weekdays 07:00 UTC"), with the cron in a tooltip; the run page says "Scheduled · every day 09:00 UTC".
  • 11: no hover hint; on touch the row opens the report.
  • 12: "Automation" everywhere in the UI. 13: sentence case ("New automation", and likewise "New task", "New goal" in the header create button).
  • 14: no duplicate timeline entry; no 409 request (do not request assignees for automation-run tasks, or return an empty list).
  • Unit tests for validation, the schedule wording and the dry-run rule; browser test of the form at 1440 and 390 with screenshots.

Implementation

propr-ui/src/components/Agents/* (AgentEditor, AgentSettingsForm, AgentCapabilitiesSection, AgentAutonomySection, AgentScheduleSection, AgentEventTriggerSection, AgentTemplates, AgentList, AgentRunDetail), propr-ui/src/components/Extensions/AdditionalExtensionsSelector.tsx, propr-ui/src/components/TaskPlanner/planQueueLabels.ts (shared labels), the dashboard activity label, the header create button.

Notes

No API changes except the assignees request for automation-run tasks. The unproductive-run threshold is the existing setting automation_unproductive_run_threshold.

Activity

  1. propr-dev commented on Nov 17, 2026

    @propr-dev
    Contributor

    🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: claude
    • Model: claude-opus-5-5
    • Branch: 3604/claude-opus-5-5-automations-inline-valida-20261117-0128-sz4
    • Base Branch: 3602-epic-0-9-o23
    • Worktree: issue-3604-20261117-0128-claude-opus-5-5-sz4

    🔍 Track Task Execution

  2. added a commit that references this issue on Nov 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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions