# Separate non-production events so one inbox stays trustworthy

Staging and local errors mixed into the production inbox, separated so the production one can be trusted.

Category: Error reporting and triage
Source: https://letsship.ai/use-cases/separate-non-production-events
Published: 2026-08-25

## Goal

Route non-production error events away from the production inbox.

## Acceptance criteria

- Every event carries an environment tag
- Production filters to production only
- Local development does not report at all by default
- Each environment is verified with a seeded event

## What lands as proof

A seeded event from each environment, landing where it should and nowhere else.

## Prompt

Copy this to an agent to open the ticket:

```text
Create a Linear issue in my team and assign it to the SHIP agent.

Title: Split non-production errors out of the production inbox

Description: Route non-production error events away from the production inbox.

Acceptance criteria:
- Every event carries an environment tag
- Production filters to production only
- Local development does not report at all by default
- Each environment is verified with a seeded event

Before you create the issue, check whether this repository's error events carry an environment tag today and say so in the description.
```

## Questions

### What does the agent actually change?

The ticket is scoped to one outcome: route non-production error events away from the production inbox. Work that serves that outcome is in scope, and anything outside it is left for a separate ticket, so the pull request stays reviewable.

### How do I know the work is done?

The pull request carries the evidence, not only the diff. Here that means environment stamped on every event, each inbox verified separately, so a reviewer can confirm the result without reproducing the work locally.

### How much oversight does this need?

The run stops once the plan is written. Somebody reads the approach and approves it before any code exists, which is the cheapest moment to redirect the work.
