- Status: accepted 2026-12-03, by Alessandro Prandini, the way recommended
(§8): (b), with §6. Proposed the same day by the session that wrote it, at
his request (P-1764), and accepted with the brief of its first pull request
(P-1765). Built in two pull requests, in an order other than §8's
Consequences: §2 and §3 in the first, §6 in the second. Noted at the
first, 2026-12-03: §2's warning on
digline view's page, beside the promote button, is in neither pull request's brief and is not built; that it is owed or dropped is for a ruling. Noted at the second, 2026-12-03: the ruling came with its brief (P-1766), and the page is built there, with §6. Every way this record names is built, and §6 is built in the form that brief dictated, noted in §6 - Shipped: 1.5.0
- Date: 2026-12-03
- Opens: under the recommended way, no
SCHEMA_VERSIONand noOUTPUT_VERSION: a warning atpromote, one factcomparereads from the reference it already holds, an added key for each on--json, andpromote --excludewidened to a case the suite still declares. Under (a), a key on the reference and so a schema step (§2) - Amends, under the recommended way, by a dated note beside the place it amends, the text kept as written: ADR 0065 §1, its second limit, which falls for a subject case and stays for the three kinds that watch; and ADR 0002 §8, condition 13, which reads an excluded declared case as accounted for
- Leaves as written: ADR 0065 §1's first and third limits; ADR 0067 §6, the accepted contradiction and its key; fixed decision 3
- Assumes: ADR 0002 §8 (a
baseline is an approved reference, and its conditions); ADR 0065 §1 and §2
(
--exclude,excluded_at_promotion, condition 13); ADR 0067 §6 (--accept-contradiction, carried to no later run); ADR 0049 §3 (the cases that count); ADR 0059 §1 (a reviewed answer's verdict is the person's, and exits 1 with no reference); ADR 0034 §4 (a projected document names no case) - Touches, in
CLAUDE.md's fixed section: nothing, under any way. Decision 3 (no vacuous green) is the reason this record exists, and no way weakens it: each makes a failure that is silent today said - Number: 0072. Swept on 2026-12-03 across
origin/main(e5c554d5), every branch on the remote, every worktree of this repository and the open pull requests (two, Dependabot's). The highest number taken anywhere is 0071 - Owed: the three lines on digline.dev that every new record needs
Context¶
Two uses, both outside the project: a hand-written multi-turn agent in Python with a suite of its own, and a Java application with a judged suite. Both added cases a run then failed, and both met the two gaps below. The uses are as the brief reports them; the gaps were measured here.
1. A reference promoted from a run that fails some of its cases makes those
failures the norm. compare measures movement against the reference, and
a case that failed there and fails again has not moved.
Measured at e5c554d5, with a saved script: a suite of two cases, old-ok
and new-bad, one Contains check, a target that answers new-bad wrongly.
- (A) Run, promote, run again, compare.
promoteexited 0 and said only that the configuration matched.compareexited 0: "Nothing got worse compared with the reference. Every case could be judged." The failing case is in neither sentence. - (B) The reference holds
old-okalone;new-badis added, the suite run, compare. Exit 0, and the one word about the case is "The cases changed since the reference: 1 added (new-bad)". So a new case that fails is silent before it is promoted as well as after: no reference holds a verdict for it, andcomparereads movement only.
Nothing in the code disagrees with the measurement. compare classifies a
check by its score's delta against the reference's
(src/digline/core/compare.py, the branch on within(abs(delta),
now.tolerance)), and exit_code (src/digline/wire/contract.py) returns 1
for worse, a moved canary or a contradicted reviewed answer. A failing
status that did not move is none of them. And no condition of ADR 0002 §8
refuses a fail: 3 reads error, 5 a calibration band, 12 a reviewed
answer the judge contradicted.
There is today no reference "with the new cases, expected to pass", and no
word from promote when the reference it writes does not pass its own
checks, per case or per aggregate. The nearest thing, a reviewed answer
(ADR 0059 §1), is an expected verdict that exits 1 with no reference, and it
is not this: its answer is fixed, recorded, and the target is never called.
It tests the judge. The cases here are answered by the target, and the
expectation is about the system.
2. promote --exclude takes only a case the suite no longer declares.
ADR 0065 §1's second limit, on purpose: "Excluding a case that still gates
would get round conditions 3, 5 and 12 for a case the suite still asks
about." So a person who disagrees with the judge about a case, and wants it
measured but kept out of the reference, has two ways today, and neither is
that:
- move the case by hand into another file, out of the suite, and run that file as a suite of its own;
suspended, which takes the case out of the measurement (ADR 0049 §1): it is not run, and nothing is learnt about it until the suspension is lifted.
What the reference already holds. Every case it keeps carries its verdicts with their status, and every run-level verdict too, and statuses are what crosses a boundary (fixed decision 9). So which cases and aggregates the reference does not pass is in every reference ever written, and can be read without a new key.
Decision¶
1. What every way has to answer¶
For each way, this record says:
- what changes in ADR 0002 §8's conditions, and in ADR 0065's limits;
- its relation to ADR 0067 §6's
accepted_contradictions, and whether the two should be one mechanism; - the schema: new passengers on the reference, and the step;
- the projection;
- the MCP server, and
digline view; - compatibility, by
RELEASING.md's Choosing the version; - exit codes;
- the cost in pull requests.
Two parts are common to (a) and (b), and are set out once, in §2 and §3.
2. Common to (a) and (b): promote says what the reference does not pass¶
promote names, after it writes, every case whose verdict in the reference
is fail, by case and check, and every run-level verdict that is fail, by
name:
the reference does not pass 1 case and 0 run-level checks: new-bad (contains). From now on
comparereads them as the norm: a failure that stays a failure is not a movement
- A warning, and not a refusal. Decided here, the brief's question. A
reference is a measurement, and a judged suite below its threshold on its
first day is an honest one: AGENTS.md §2 asks for a promotion from the
middle of several runs, never the first green, so a reference is chosen
for being typical and not for being clean. A refusal lifted by
--allow-failingwould be typed on most first promotions, and a flag typed every time stops being read. What the person lacked was the sentence, not a wall. - Where it is said: standard error of
promote, beside the line that names the reference;promote --check, before the write, in its text and as an added key,failing, in its--json, the case ids and the run-level names; and ondigline view's page, beside the promote button, which askspromotion_refusalalready. - What it reads: the statuses the reference will hold, after the
exclusions, of the subject cases and the run-level checks. An excluded case
is not named, because it is not in the reference. A case in
erroris not named either: condition 3 refuses it. The three kinds that watch are not named: a reviewed answer's expected verdict is the person's and condition 12 reads it, an accepted contradiction is said by ADR 0067 §6's own sentence, and a canary and a calibration case have readings of their own. - ADR 0002 §8: nothing. A warning is not a condition, and the exit code
of
promotedoes not move. - Projection: nothing. A warning is said to the person who promotes, in their perimeter, and is never written to a document.
- MCP: there is no
promotetool, by design (digline-mcp'sserver.py, its module docstring), so nothing.
3. Common to (a) and (b): --exclude for a case the suite still declares¶
ADR 0065 §1's second limit falls for a subject case (Declared.subject),
and stays for the three kinds that watch (Declared.watching): a canary, a
calibration case and a reviewed answer.
- Why it stays for those three. Excluding a declared reviewed answer would get round ADR 0067 §6, which accepts a contradiction only where the judge could not hold its verdict, and refuses a stable one: an exclusion would take the stable one too, with no word about stability. A canary and a calibration case watch the model and the judge, and a reference without them reads a moved model or a lost scale against nothing. Each stays refused by name, with the sentence it has today.
- Why it may fall for a subject case. The case keeps being declared, run
and measured. It leaves the reference only, by name, with
--byand the time, and everycompareagainst that reference says so. That is the separate file of the brief without the file, andsuspendedwithout losing the measurement. - The third limit stays. A run with run-level verdicts is refused when anything is excluded, because the aggregate counted the excluded case. So the widening reaches only a suite without aggregates, and a judged suite with an accuracy figure is not helped until the aggregate is recomputed over the cases the reference keeps, which ADR 0065 left not decided. This record leaves it there, and says the cost beside the widening.
- What the reference records: the entry it records today,
{case_id, by, at}inexcluded_at_promotion. Decided here: no new field. Whether the suite still declared the case is not the reference's to say: a later run that carries the case is what shows that it is still measured, andcomparereads it there (below). The brief's "in disagreement, not promoted" is the person's reason, and digline records no reason for an exclusion today; a free text would be one more string for the projection gate, and a token with nothing behind it in the software house's world. compare. A case the run carries and the reference lists as excluded is said in the exclusion's sentence and not counted among the cases added: "1 case excluded at promotion, measured in this run and not in the reference: new-bad, by NAME, 2026-12-03". Without this, the sentence of ADR 0065 §2, "cases changed: 1 added", would repeat on every comparison about a case nobody added.- Condition 13,
CasesChangedError, reads the run's ids less the excluded ones against the declared ids, and so would refuse a declared case the promotion excludes as "a declared case the run never ran". It is amended to count a declared excluded case as accounted for. ADR 0002 §8 takes a dated note. - Condition 10 holds as written: a promotion that excludes every subject case writes a reference that judged nothing, and is refused.
- It carries to no later promotion, like ADR 0065's exclusion and ADR 0067 §6's acceptance. The next promotion of a run that carries the case promotes it unless the person excludes it again, and §2's warning names it if it still fails.
- Schema: nothing. The key exists since schema 24, and its entries do
not change shape. Projection: as today,
case_idandbytokens. MCP:compare's sentence, and the exclusion's key in--jsonand over MCP, already exist; the change is which cases the cases changed fact leaves out.
4. (a) An expectation per case in the reference, and the two parts above¶
promote --expect-pass CASE --by NAME, repeatable, or the same list in the
cases file. The reference records expected_pass, a list of
{case_id, by, at}, beside excluded_at_promotion. compare reads that
case against pass and not against the verdict the reference recorded, until
a later promotion of a run in which the case passes drops the entry.
- The spelling.
expectisCase.expect's word since ADR 0069, a value a check reads. A second meaning on the same word, in the same cases file, would be read as the first. The flag's name is the code's, and this record proposes--owed CASEif (a) is taken. Decided here: the flag only, and not the cases file. A list in the cases file carries nobyand no time, and would be the suite's declaration rather than a promotion's, so it would hold on every reference written after it without anyone naming it at any of them. - What
comparedoes with it, and here (a) has to choose, because the brief's sentence admits two readings: - (a1) exit 1 while the case fails, as a new cause beside a
contradicted reviewed answer, which already exits 1 with no reference. The
headline gains a field,
owed_failing, an added key. This is the reading that makes the gate speak. - (a2) a fact, exit unchanged. Then it says nothing §6's fact does not say, and adds a schema step for the lifecycle alone.
So (a) is (a1); (a2) is §6, without the key.
- Refused by name, before any condition, beside the exclusions: an
expectation with nobody's name, on a case the run does not carry, on a case
that passes in the run (there is nothing owed), on a case also excluded,
and on a watching kind (a reviewed answer's expectation is the person's
verdict already). ADR 0002 §8 gains a fifteenth entry for the refusal,
ExpectationRefusedError, and no condition on the run.
- It carries to later runs, until met. That is the opposite of ADR 0067
§6, whose acceptance holds for one run because "it would let one
acceptance stand for judgements nobody looked at". The argument does not
reach an expectation: an acceptance loosens the gate, and one that lasted
would hide later contradictions; an expectation tightens it, and one that
lasts can only make compare louder.
- ADR 0067 §6, and whether to unify. The three entries share a shape,
{case_id, by, at}, and not a mechanism: an exclusion takes a case out of
one reference, an acceptance passes over one run's contradiction, an
expectation holds a case to pass across runs. One key for the three,
{case_id, kind, by, at, …}, would rename two keys already shipped,
excluded_at_promotion in 1.3.0 and accepted_contradictions in 1.4.0:
an OUTPUT_VERSION bump, and a renaming migration step, which ADR 0055
rules and no step has yet exercised. Not proposed; the shared shape is
kept as a convention, so a reader who has learnt one entry has learnt the
three.
- Schema: SCHEMA_VERSION 26, one passenger, expected_pass on the
reference. The step writes nothing: absent is nothing owed, which is true
of every reference written before it. Projection: case_id and by
tokens, as an exclusion's; at is digline's. MCP and the report: the
fact and the new headline field, as added keys; no OUTPUT_VERSION.
digline view: the run list and the state page say the owed cases
beside the exclusions, as they say the acceptances.
- Exit codes: compare exits 1 where an owed case fails, 0 where it
passes and the rest is unchanged. A pipeline that gated green on such a
suite gates red until the case passes: that is the change, and its cost.
- Compatibility: a minor. promote_baseline gains an optional keyword,
as it gained excluding; an implementation of ResultStore outside
digline must accept it.
- Cost: three pull requests: §2 and §6; §3; the expectation, its schema
step, its refusal and its exit, with a test and a mutation for each.
5. (b) The warning and the widened exclusion, without the expectation¶
§2 and §3, and nothing else.
- ADR 0002 §8: condition 13's dated note (§3). No new condition.
- ADR 0065: the second limit narrowed to the watching kinds. ADR 0067 §6: untouched.
- Schema: nothing. Projection: nothing new. MCP: the sentence on
exclusions, which exists.
digline view: the warning beside the button. - Exit codes: none moves.
promoteexits 0 where it wrote, and a promotion--excluderefused today, on a declared subject case, is now written. - Compatibility: a minor, for the command line: a refusal lifted, a
warning, an added key on
promote --check --json. No Python signature moves. - Cost: two pull requests, §2 then §3.
What (b) does not do: after the promotion, nothing says the reference
holds failing cases. The person was told once, at promote; compare is as
silent as in measurement (A). §6 is the remedy.
6. Found while measuring: compare can read the failing cases from the reference¶
Decided here, beyond the brief, proposed as part of (b) and of (a).
The reference carries the status of every verdict it holds (Context). So
compare can say, on every comparison, which cases and run-level checks the
reference itself does not pass, and whether this run passes them now:
the reference does not pass 1 case: new-bad (contains), and this run does not either
- A fact, beside the exclusions, and it changes no exit code, as ADR 0065 §1 says an exclusion. It is about the reference, not a movement.
- Every front end: the text, the report,
compare --jsonand the MCP server'scompareas an added key,explain's reading against the reference,digline view's state page. - Projection: the case ids are tokens, and the statuses and names of checks travel as they do today.
- No key, no schema: it reads what every reference already holds, so it is true of references written by 1.0 as of the next one.
- Measurement (B): a case the reference does not hold and the run fails is not reached by this fact. It is reached by §2 at the promotion that first takes it in, and the cases changed sentence names it today; decided here, that sentence also says which of the added cases this run fails: "1 added (new-bad), which this run fails". Same fact, same front ends, no exit code.
This is (a2) without the key and without the lifecycle: what the gate does not do, the comparison at least says, every time.
Noted 2026-12-03, at the build, in the form P-1766 dictated; the text above
kept as written.
- The sentence is "The reference itself does not pass N cases and M
run-level checks: bad (agrees); …". It names the cases and counts the
run-level checks, which it does not name. The run-level checks reuse the
report's own paragraph, aggregates.failing_not_worse, under its table of
run-level checks, which names each and already says why one below its bar
in both runs is not a regression. Naming them in the sentence as well would
have said it twice in one report. --json full names them, as
reference_failing.run_level.
- It does not say whether this run passes them now, as the quotation
above proposed. Each case's movement is in the rows, and the sentence stays
a fact about the reference.
- The cases added that fail have a sentence of their own, "1 of the
cases added since the reference fails in this run: bad.", after the cases
changed sentence, rather than a clause inside it.
- Keys, added under OUTPUT_VERSION 6, on compare and on the MCP
server's compare: reference_failing_cases, reference_failing_checks
and added_failing, and under full reference_failing, in the shape of
promote --check's failing, and added_failing_cases.
- Every front end the second bullet names says it: explain's terminal
reading, both sentences, and never its --json, as with every sentence it
says about the cases; and digline view's state page, the first.
7. (c) Nothing: document suspension and the separate file¶
docs/guide.md and AGENTS.md say that a reference takes the failing cases as
the norm, that suspended stops measuring a case, and that a case kept out
of the reference while still measured lives in a second suite file.
- ADR 0002 §8, 0065, 0067, the schema, the projection, MCP: nothing.
- Exit codes: nothing.
- Compatibility: a patch, docs only.
- What it leaves: measurement (A) and (B) as they are, and a second suite
file with a tenant and a reference of its own, which
comparenever reads beside the first. - Cost: one pull request of text.
8. Recommended: (b), with §6¶
Because the failure in the brief is a silence, and (b) with §6 ends it where it is made and wherever it is read, without a red that does not mean "worse".
- (a1)'s exit 1 makes the gate red on every pull request until the owed
case passes. A red whose cause is known and accepted is the red people
learn to read past, and this project already ruled on one:
docsis not a required check because "a check that the documented process guarantees will be red cannot be a required check" (CLAUDE.md). A pipeline that gates on a suite with an owed case has the same shape. Whoever wants the red has it under (b), without (a): promote the case into the reference, as today, and fail the pipeline on §6's added key, which names it for as long as it fails. - (a) costs a schema step and a refusal for a reading §6 gives without
them. And (a) can be added on top of (b) later: its key sits beside
excluded_at_promotion, and nothing in (b) stands in its way. - (c) leaves measurement (A) as it is, and the separate file is the workaround the brief reports, not a remedy.
- The warning, not a refusal (§2), because a reference that does not pass is an honest first reference for a judged suite, and the person lacked the sentence, not a wall.
What it costs, said beside the recommendation:
- The widened
--excludedoes not reach a suite with aggregates (§3), and the Java application's judged suite may be one. Recomputing the aggregate over the kept cases is the open question that would reach it. - A case excluded at every promotion is a case no reference ever gates,
by a person's repeated choice. Each promotion says so, and so does every
compare. That is the separate file of today, said instead of hidden. - §6 adds a sentence to every comparison against a reference that does not pass, which on a young judged suite is most of them.
Consequences¶
- Accepted as recommended, two pull requests: §2 and §6 first, then §3 with ADR 0065's and ADR 0002's dated notes.
promotenames what the reference does not pass, andcomparesays it on every comparison; the exit codes do not move.--excludetakes a declared subject case, and the three watching kinds stay refused.
Not decided here¶
- Recomputing a run-level aggregate over the cases a reference keeps, which would let §3 reach a suite with aggregates (ADR 0065 §1, limit 3).
- Whether §6's fact, or the owed case of (a), should ever move an exit code. Not under the recommendation; a later record if a use asks for it.
- The wording of every sentence above, which is the code's, and their
translations in
digline/report/text.py.