LRLoops RadarSubmit loop

Engineering loops

The production error sweep

A scheduled production-log workflow that traces actionable errors to root causes, verifies fixes, opens a pull request, and stops cleanly when no action is needed.

Source recipe

Copyable Markdown

# The production error sweep

## Purpose

A scheduled production-log workflow that traces actionable errors to root causes, verifies fixes, opens a pull request, and stops cleanly when no action is needed.

## Prompt

```text
Review our production logs for errors. If you find an actionable issue, trace it to its root cause, fix it, verify the fix, and open a pull request. If no actionable errors are present, stop without making changes.
```

## When To Use

Use this as a scheduled reliability pass when an agent can read production telemetry, trace failures into the repository, run the relevant tests, and prepare a reviewable fix.

## Workflow

- Review the agreed production log window and group repeated symptoms into likely incidents.
- Separate actionable product errors from expected noise, transient upstream failures, and already-known issues.
- Trace each actionable error to a root cause, implement the smallest appropriate fix, and verify it with focused checks.
- Open a pull request for each verified fix. If the logs are clean, stop without making changes.

## Verifier

Actionable production errors are fixed and verified.

Finish with a pull request, or stop when no actionable errors are present.

## Notes

The loop converts passive log review into a closed reliability workflow. It requires a root cause, verified change, and review artifact instead of stopping at a list of errors.

Treat logs as sensitive production data. Do not copy credentials, tokens, personal information, or private payloads into prompts, pull requests, or chat messages.

## Source

- Source: Forward Future Loop Library
- Author: Matthew Berman
- Published: 2026-06-12
- Modified: 2026-06-18
- URL: https://signals.forwardfuture.ai/loop-library/loops/production-error-sweep/