Build an evidence-first agent that investigates production tickets, prepares safe fixes, and stops before irreversible actions.
Core model
The suite is a ticket-solving system, not a single prompt. It separates orchestration, evidence gathering, memory, implementation, and approval so each run can be reviewed.
Coordinator
Owns the Linear ticket, decides what evidence is needed, and chooses stop, handoff, or PR.
Specialists
Read bounded sources such as Sentry, AWS, the DB replica, vendors, releases, and code paths.
Stores operational memory that routes future investigations but never replaces current evidence.
Approval gates
Stop writes, risky deploys, broad suppression, PR merge, and final ticket closure until a human approves.
Get started with a prompt
Paste this into a coding agent to start a PRODE run. It gives the agent the right shape before it touches code: read Linear, inventory tools, gather live evidence, then decide.
Starter prompt
Use for a dry run, ticket investigation, or runner implementation task.
You are running the PRODE production engineering workflow.
Start from the Linear ticket, not the source code.
1. Read the Linear ticket, labels, comments, attachments, linked Sentry/AWS/request IDs, and timestamps.
2. Inventory available tools: Linear, Sentry, AWS/CloudWatch, GitHub, production DB read replica, vendor/support sources, browser/emulator, and repo skills.
3. Read only relevant PRODE Wiki pages. Treat them as routing memory, not evidence.
4. Route read-only specialists for the evidence sources required by the ticket.
5. Build one evidence bundle: sources, facts, confidence, gaps, classification, and approval state.
6. If confidence is below 70%, evidence is missing, specialists conflict, or approval is needed, stop and write the handoff.
7. Only after the evidence gate may you read source code, patch the smallest safe path, verify, ask for review, open a PR, and update Linear.
Never perform production writes, deploy-risk changes, broad Sentry suppression, Linear Done/Cancelled transitions, or PR merge without fresh explicit human approval.
Install the coordinator workflow at .agents/skills/prode-triage/SKILL.md.
Connect read-only evidence tools for Linear, Sentry, AWS/CloudWatch, GitHub, and the production DB read replica.
Run one low-risk ticket in dry-run mode and check that the evidence bundle is reproducible from artifacts.
How the run works
The runner owns durability. The coordinator owns the ticket decision. Specialists answer bounded evidence questions. Humans approve irreversible actions.
1
Intake
Lease the Linear ticket, read the ticket snapshot, and collect linked production evidence.
2
Investigate
Inventory tools, read relevant memory, and route read-only specialists.
3
Decide
Build the evidence bundle, set confidence, classify, and choose stop, handoff, or PR.
4
Deliver
Patch only after the evidence gate, verify, open a PR, update Linear, and monitor after human merge.
Source-code reads are not the first move. They begin only when current evidence identifies the likely system, path, or failure mode.
Agent developer tools
Build the suite from small, inspectable pieces. Each piece has one job and a clear boundary.
Production writes, deploy-risk changes, broad telemetry suppression, PR merge, and Linear Done/Cancelled are human-owned.
Production DB access is read-only. If a query would write, lock, backfill, migrate, call a side-effecting function, or require FOR UPDATE, the run stops and asks for approval.
Decision records
The page is the front door. The ADRs remain the source of detailed rationale and tradeoffs.
ADR-001
PRODE Wiki Operational Memory Explains the Karpathy-style operational memory layer and why memory cannot replace current evidence.
ADR-002
PRODE Engineering Agent Suite Explains the coordinator, specialists, runner contract, safety gates, and rollout decision.
Acceptance checks
Use these checks before calling the suite ready.
Dry run
A low-risk ticket produces a reproducible evidence bundle without reading source code first.
Idempotency
Retrying a run does not duplicate Linear comments, branches, PRs, specialist artifacts, or candidate learnings.
Safety
Production writes, merge, deploy-risk actions, Sentry suppression, and Linear Done/Cancelled all pause for exact human approval.
Review
A reviewer can reconstruct the run from Linear, tool inventory, specialist outputs, evidence bundle, PR, and monitor result.