Incidents
Turn repeated production agent failures into evidence-backed incidents, then resolve them with humans and coding agents.
Incidents are the front door to production reliability in neatlogs. Instead of scrolling through thousands of raw traces or noisy alerts, your team works from evidence-backed incidents that bundle the problem brief, affected runs, investigation history, connected detections, and next actions in one place.
Review and resolve incidents
Use board views, tabs, stacked detail sections, compact rail comments, and the sweep card.
Hand off a fix
Send full incident context to Cursor, Claude Code, Codex, Linear, or Jira.
Verify a fix
Test the change with Experiments before release, then confirm recovery in production.
Reference for coding agents
MCP triage_* tools, neatlogs CLI commands, auth scopes, and human approval boundaries.
How Incidents work
- Detect and group. Production traces, detections, alerts, and teammate flags surface a supported problem on the Incidents board.
- Read from evidence outward. Open the incident to inspect the Overview (What's happening, Example, Root cause, Suggested fix, and the Impact chart), Evidence, Investigations, and Activity tabs alongside the compact side rail.
- Hand off the fix. Use Copy context or Fix in to pass the full incident context into your coding agent (or push a tracking ticket to Linear or Jira).
- Prove before shipping, then close. Compare the candidate fix against your baseline with Experiments (beta), ship it, watch production traces recover, and close the incident.

Humans vs. coding agents: who owns what
Incidents are designed so humans make product and release decisions while coding agents handle evidence inspection and code fixes via MCP and CLI.
| Task | Human in neatlogs UI | Coding agent via MCP / CLI | Gap & handoff owner |
|---|---|---|---|
| Discover & prioritize | Reviews the Review band and All / New / Changed tabs; filters by workflow/status; sets priority and assigns an owner. | Lists incidents (triage_list) and reads full reports (triage_get, triage_get_investigation, triage_list_steps). | Human decides which incident deserves engineering work. |
| Inspect underlying traces | Opens cited traces and spans from the stacked evidence section. | Calls search_traces and get_trace_context (MCP) or neatlogs traces get (CLI) to inspect exact inputs, tool calls, and errors. | Agent pulls raw span evidence; Human validates expected business behavior when specs are ambiguous. |
| Implement a fix | Selects Copy context, Fix in (local IDE or Cursor Cloud Agent), or Push to Linear/Jira. | Reads the incident brief, reproduces the failing trace locally, implements the code or prompt change, and opens a PR. | Human reviews and merges the PR (and approves GitHub PR write permissions). |
| Pre-release check | Sets the decision rule and signs into neatlogs-cli for Experiments. | Runs an A/B comparison on the failing cases and controls using Experiments (beta). | Human reads the verdict (B wins vs Keep A) and decides to ship. |
| Update status & close | Closes the incident from the header once post-deploy production traces confirm recovery. | Can publish external incidents (neatlogs incidents publish) or update draft/status fields (triage_update_status, triage_accept, triage_dismiss) when permitted. | Human owns final incident closure after production verification. |
Next step
- Working in the dashboard? Open Review and resolve incidents.
- Driving from Claude Code, Codex, or Cursor? Open Reference for coding agents.
