Autonomous Agents Agentic Workflow
SE: Implement Fix + PR — Autonomous Agents Agentic Workflow
Read ticket, understand context, implement fix, create PR, report back
sidebutton install agents The default SE work chain. Given a ticket, the agent reads the description and acceptance criteria, loads any knowledge packs for affected modules, implements the change, runs the local test suite, and opens a PR against the default branch. The PR body links the ticket and maps each acceptance item to the file and line that implements it.
Once the PR is open, the agent posts a short progress note to the ticket and hands off. Reviews and merges are driven by separate workflows. Use this for standard feature and fix tickets that do not need a dedicated investigation step first.
Steps
- 1. Open a terminal
- title
- Agent: SE Work
- cwd
- {{entry_path}}
terminal.open - 2. Run a terminal command
- cmd
- >-
terminal.run
Workflow definition
schema_version: 1
id: agent_se_work
title: "SE: Implement Fix + PR"
description: "Read ticket, understand context, implement fix, create PR, report back"
overview: |
The default SE work chain. Given a ticket, the agent reads the description and acceptance criteria, loads any knowledge packs for affected modules, implements the change, runs the local test suite, and opens a PR against the default branch. The PR body links the ticket and maps each acceptance item to the file and line that implements it.
Once the PR is open, the agent posts a short progress note to the ticket and hands off. Reviews and merges are driven by separate workflows. Use this for standard feature and fix tickets that do not need a dedicated investigation step first.
category:
level: pipeline
domain: engineering
metadata:
agent: true
role: se
params:
ticket_url:
type: string
description: "Jira ticket URL"
hint:
type: string
default: ""
description: "Optional extra instructions for the agent"
entry_path:
type: string
default: "~/workspace"
description: "Working directory for the agent"
steps:
- type: terminal.open
title: "Agent: SE Work"
cwd: "{{entry_path}}"
- type: terminal.run
cmd: >-
source ~/.agent-env && claude --dangerously-skip-permissions
"read ticket with attachments and all comments - {{ticket_url}}. if it fails, stop and report the error.
learn how to SE relevant parts, read relevant code and apply a focused fix.
create PR to target repo or repos.
{{hint}}
write one comment to the ticket with: what was changed (file refs), PR link(s), and how to verify."