Repository navigation
Description
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/sharedas 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/templatesreturns 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.mdgains 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
propr-dev commentedon Nov 11, 2026
🤖 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:
claudeclaude-opus-5-53443/claude-opus-5-5-ship-an-automation-templa-20261111-2201-h3q3443-epic-automations-no-t7oissue-3443-20261111-2201-claude-opus-5-5-h3q🔍 Track Task Execution