Mendloop Docs Request access

Triage and approvals

How Mendloop scores an issue, finds its owner, decides who hears about it and waits for a person to approve a fix.

Everything on this page is set per organization in Settings → Policies and safety, separately for live and test mode. Every change is in the audit log with who made it.

Severity#

Each issue gets a score from 0 to 100 and a severity from P0 to P4. Ten signals count, each scaled from 0 to 1 and multiplied by your organization's weight for it (0 to 10):

Signal What it measures
Users Distinct users affected (log scale: 100 users is about half, 10,000 is full)
Rate Events in the last hour against the issue's usual rate (16× is full); new issues use the raw rate
Critical paths The crashing code matches one of your critical paths (checkout, payments, auth by default)
Kind Crash 1, ANR 0.9, error 0.6, warning 0.3
Customer value Planned Comes with the CRM link
Tickets Linked tickets
Regression It came back after a fix
Platform share Its share of the platform's errors in 24 hours
Environment Production 1, staging 0.4, development 0.1
Release New in the latest release 1, still in it 0.6, only in older ones 0.2

A signal with no data (no environment or release recorded, for example) is left out rather than counted as 0, so missing data never lowers a score. Thresholds map the score to P0–P4.

Every score explains itself: each factor shows a detail ("1,840 users affected", "new in web@1.8.2") and the points it added, and the issue gets a one-line reason from the three biggest. Move a weight slider to see the effect, and save when it looks right. A severity set by hand always wins.

Owners#

Mendloop walks your owner order and stops at the first source that names someone:

  1. CODEOWNERS (.github/CODEOWNERS, CODEOWNERS, docs/CODEOWNERS or .gitlab/CODEOWNERS; GitHub and GitLab syntax; the last match wins).
  2. .mendloop/owners.yaml in the repository (the first match wins).
  3. Path rules in your policy: match on path, project, platform or title.
  4. Git blame on the failing line.
  5. The author of the pull request that introduced it.
  6. The default team.
.mendloop/owners.yamlYAML
owners:
  - path: "app/checkout/**"
    team: mobile-core        # a team slug
  - path: "web/src/cart/**"
    user: mei@acme.dev       # an email or a GitHub login

Sources 1, 2, 4 and 5 read the repository, so they need a GitHub connection. Without one they're skipped, and the issue says why ("no code host connected").

People across tools#

A member's Slack, Jira and GitHub accounts are linked by email. Mendloop compares hashed emails, never plain ones. Slack and Jira link automatically when they connect. Admins can fix any link in Settings → Teams and identities; a link made by hand is never replaced by email matching.

Routing and quiet hours#

Routing picks what happens per severity: page, channel, ticket or none. By default P0 and P1 page, P2 goes to the team channel, and P3 and P4 become a ticket.

During quiet hours (a start, an end and a time zone), everything waits for the end of the quiet period except the severities you let through. By default that's P0: P0 always pages.

Approvals#

No fix is branched or opened as a pull request until the right people approve its plan.

  • Who: the code owners, the owning team or a role. Owners with no member fall back to the Admins.
  • How many: your minimum number of approvals, raised to two different people when the plan touches your risky paths or its risk reaches your risk threshold. The safety gate can also require a second approver.
  • Timers: a reminder after some hours, escalation to the team lead after more, and expiry after some days.
  • Decisions: Approve, Request changes (a new plan version is written and you're asked again), Reassign, or Not a bug (optionally ignoring the issue). Each is audited with the plan version and the channel: web, Slack or email.

The approvals inbox#

Approvals in the top bar has three tabs:

Tab Shows
Waiting for you Requests you may decide and haven't approved yet
Waiting for others Requests other people need to decide, including ones you approved that need a second approver
Decided The history, with each approved fix's pull request and its state

Filter by severity, project, or text in the issue title or plan summary.

Tip:

Approve from Slack without opening the app: see Slack.

Policy settings in the API#

The same settings are a policy document you can read and write through the API with a signed-in session (policy endpoints don't accept secret keys), and you can preview severity weights on one issue without saving them. See the API reference.