Mendloop Docs Request access

Core concepts

Issues, root causes and proof levels, approvals and fix runs, in the words the app uses.

Issues#

An issue is one problem, however many times it happens. Mendloop groups incoming events into issues by fingerprint, then by normalized message, then by meaning (semantic dedupe with a small embedding model that runs on the server). Repeats of the same error add to the issue's counts instead of making a new one.

Every issue has:

  • a severity from P0 (most urgent) to P4, with a one-line reason built from the factors that pushed it up, such as users affected, a regression or production;
  • an owner, the person or team who should fix it, found from CODEOWNERS, .mendloop/owners.yaml, your owner rules, git blame or the default team;
  • a status. A fixed issue is resolved at the current release. If the same error shows up in a newer release, the issue regresses and reopens. You can also ignore an issue, or merge two issues into one.

Severity and owners are covered in Triage and approvals.

Root cause and proof levels#

A root cause analysis (RCA) is Mendloop's investigation of one issue. It collects the evidence (the stack, breadcrumbs, the release commit, recent commits and the code at that commit), runs investigators in parallel, merges what they found into one root cause with a causal chain, and writes a fix plan. Every claim must cite evidence; a claim whose citation doesn't check out is dropped.

Instead of asking you to trust a confidence number, each claim and each root cause carries a proof level that names what kind of evidence backs it:

Level What it means
Hypothesis One signal, not corroborated. Also the level for any root cause whose exact line couldn't be verified.
Strong Two or more independent citations agree, for example a cited commit and a matching past fix, or a line that really exists at the cited commit. Nothing was executed.
Proven Planned A test reproduces the error: it fails before the change and passes after it.

The reasons are shown as text next to the badge, so you can check them yourself. Today a root cause can reach Strong at most: Proven needs an execution result, and RCA doesn't run tests yet. The model's own confidence is still shown on the report, labelled "for reference".

Read the whole flow in Root-cause analysis.

Approvals#

An approval request asks the right people to accept a fix plan before anything is written. It shows the root cause, the plan, the files it touches and anything the safety checks flagged. People decide in the web app's Approvals inbox, from Slack buttons or by email:

  • Approve: the fix goes ahead.
  • Request changes: the plan is rewritten with your comment and you are asked again (up to five times).
  • Reassign: someone else decides.
  • Not a bug: no fix, optionally ignoring the issue.

Policies decide who must approve and how many people: two different people when a plan touches risky paths, for example. Every decision is in the audit log with the plan version and the channel it came from.

Fix runs#

A fix run is one attempt to turn an approved plan into a pull request. Mendloop writes the change with a regression test, verifies it, corrects itself up to three times if a check fails, runs the safety gate and opens the pull request. A fix usually takes 3 to 6 minutes. Nothing is pushed unless the checks pass and the approval is on record. See Fixes and verification.

Workflows#

A workflow says what happens when something happens: an issue is created, spikes or regresses, or CI fails. The main one, Crash to PR, runs triage, the investigation, the owner's approval, a ticket, the fix and pull request, and waits for the merge. Workflows are YAML, versioned, and testable in test mode. See Workflows.

Live and test mode#

Every workspace has two separate data planes. Live is production. Test is a sandbox with its own data, where writes go to test targets or are simulated. See Test and live mode.