Skip to content

Scope errors

What counts as out of scope, why it is an error, and the only way to fix it.

Applies to EngineCloud
View as Markdown
On this page
  1. The only fix
  2. Waivers

A scope error is a difference between what the contract says and what the code does. It is an error, not a warning, because every one of them is a surprise for someone: a client who gets what nobody agreed, or one who does not get what was promised.

KindWhat happenedExample
UnmappedThe code does something no case describesa «gift card» use case appears in the code; the map has no gift cards
UnbuiltAn approved case in a delivered milestone has no codeorder-ready-notice is in milestone 2, which is marked delivered
DriftThe code and the case disagreethe case says it writes order; the code also writes customer_points, or ends in an outcome the case does not declare
Broken promiseThe landing promises something with no cases«Pay online» on the landing, no payment cases

The check reports other errors too, about the map itself: a case nothing can start, a place that does not exist, a loop with no stop. Those are mistakes in the map, not differences between map and code; the full list is in The check.

The only fix

Change the map first, on purpose: a proposal that adds the gift cards, or removes the promise, or updates the case’s data. When it is approved, the code is in scope again. The check never asks you to change code to match a map nobody approved.

Waivers

Some differences are fine for a while: an internal admin script, a case kept for one more release. A waiver says so, in the map, with a reason and an end date, and it is reviewed like any change:

cases/map.yaml (waivers)
waivers:
  - kind: unmapped
    target: rebuild-search-index
    reason: Internal maintenance job, not a user flow
    until: 2027-03-01
  1. The only fix
  2. Waivers

    Search pages, sections and terms