Skip to content

Ship an automation template catalog with an issue-triage template #3443

Closed

Description

@integry

Problem

There is no template, preset or gallery concept for automations. Every automation starts from an empty form, so documented use cases such as daily issue triage have to be rebuilt by hand.

Goal

A shipped catalog of automation templates that prefill the new-automation form, with issue triage as the first entry.

Acceptance criteria

  • A versioned catalog lives in packages/shared as data (JSON plus a typed loader), following the usage-tips catalog precedent, with a generator/check script so the catalog is validated in CI against the automation definition contract.
  • Each template has an id, name, short description, category, prompt, capabilities, suggested schedule, suggested autonomy mode and a list of things the user must review before saving (repositories, schedule, autonomy).
  • GET /api/automation-definitions/templates returns the catalog; an MCP read tool and a CLI command (propr automation templates) list it.
  • The new-automation screen offers "Start from a template"; the empty state of the automations list shows the templates. Choosing one prefills the form; nothing is created until the user saves. Templates always default to dry_run.
  • First template, "Daily issue triage": finds likely duplicates, proposes severity and security labels, lists stale issues and items that need a human, as a report; acting on it requires the user to raise the autonomy mode.
  • Docs: docs/docs/features/agents.md gains a templates section.
  • Tests cover catalog validation, the route, the MCP tool, the CLI command and the form prefill.

Implementation

Key files: packages/shared/src/automationDefinitions.ts (contract, limits), packages/shared/src/usageTips.ts + usageTips.catalog.json + scripts/generate-usage-tips.mjs (catalog precedent), packages/api/routes/automationDefinitionRoutes.ts, packages/api/routeRegistry.ts, packages/api/mcp/toolsAutomations.ts, packages/cli/src/commands/automationCommands.ts, propr-ui/src/components/Agents/agentEditorForm.ts (emptyAgentForm), useAgentEditor.ts, AgentList.tsx (empty state), propr-ui/src/pages/AgentsPage.tsx. Verify with the standard commands.

Activity

  1. propr-dev commented on Nov 11, 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: 3443/claude-opus-5-5-ship-an-automation-templa-20261111-2201-h3q
    • Base Branch: 3443-epic-automations-no-t7o
    • Worktree: issue-3443-20261111-2201-claude-opus-5-5-h3q

    🔍 Track Task Execution

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