Skip to content
digline
ADR 0074 — Reviewed answers after a setup changed

ADR 0074 — Reviewed answers after a setup changed

  • Status: accepted 2026-12-03, by Alessandro Prandini, the way recommended (§6): (a), with every item marked decided here. Proposed the same day by the session that wrote it, at his request (P-1767), and accepted with the brief of its pull request (P-1769). Built in one pull request, as §3's Cost plans; what the code had to decide that §3 does not is noted in §3
  • Shipped: 1.5.0
  • Date: 2026-12-03
  • Opens: under the recommended way, one option on digline record import, --carry, and one key in a case's metadata in the cases file, carried_from. No SCHEMA_VERSION, no OUTPUT_VERSION, no RECORDING_VERSION and no config_hash moves. Under (b), a mark on the import's listing and a next step in where; under (c), nothing
  • Amends: nothing, under any way. ADR 0059's rule, only an answer the setup in force gave is imported, holds as written: every way here imports the setup in force's answers and no other (§2). ADR 0067 §1 (a) gains a second way to write an answer awaiting a verdict, beside --choose ID, which it does not amend
  • Assumes: ADR 0059 §1 (the reviewed answer, the import, the setup in force, --by NAME); ADR 0067 §1 (a), (b) and (e) (an answer awaiting a verdict, judged by the judge before the person, the blind review, the held-out set); ADR 0058 §8 (a recording's setup and its digest); ADR 0066 §2 (the review page)
  • Touches, in CLAUDE.md's fixed section: nothing. Decision 9 holds: an answer and its input stay in the cases file, which is payload
  • Number: 0074, beside ADR 0073 in the same pull request (ADR 0073, Number)
  • Owed: the three lines on digline.dev that every new record needs

Context

One friction, from a Java application with a judged suite. The application's prompt changed, so its setup did, and the answers its suite held as reviewed were answers the earlier setup gave. The import admits only answers the setup in force gave (ADR 0059), so to review the new setup's answers to the same questions, the person wrote the reviewed answers again by hand, in the cases file's format. The account is the brief's; nothing of the use was measured here.

The brief adds that the import "now warns", as "the 24". What was found is the line digline record status and the import's head print, "N recordings under an earlier setup …: an answer recorded only there cannot be imported; in force: …" (setups_said, src/digline/host/importing.py), which arrived on 2026-11-12 with 6eb15eb3 (P-1671). Which item "the 24" names was not found, in this repository or in the working notes.

What was measured, at 00864f3f.

  1. A reviewed answer records the setup it came from. The import writes metadata.setup_digest, the setup in force that gave the answer, and the case's id is the pair of the question's identity, capture_id(vars), and the answer's digest (_reviewed and _metadata, importing.py).
  2. The question is matched across setups already. where's state new_setup counts the answers the setup in force gave to questions that also have an answer under an earlier setup, by capture_id (_answers_from_a_new_setup, src/digline/host/where.py), and its next step is to compare the setups, then run.
  3. An answer can already arrive awaiting a verdict. record import --choose ID, once per answer, writes it with no good, to be judged by the judge first and by the person blind (ADR 0067 §1 (a), (b)). ID is the one the listing prints. --held-out puts every answer of that invocation in the held-out set.
  4. Nothing invalidates the reviewed answers already in the suite. A reviewed answer's output is fixed, and the target is never called for it: it is a question about the judge, and it stays true after the prompt changed. What changed is that it no longer says anything about what the system answers now, which is why ADR 0059 refuses to import an earlier setup's answer.

So what the person did by hand was, in digline's words: find the questions whose reviewed answers came from the earlier setup, find the setup in force's answer to each, and write it awaiting a verdict, keeping the held-out set as it was. Every piece exists; nothing joins them.

Decision

1. What every way has to answer

  1. What is carried, and what never is.
  2. Where the new answer comes from, and what happens where there is none.
  3. The held-out set.
  4. ADR 0059 and ADR 0067.
  5. Schema, wire, projection, MCP.
  6. Compatibility, and the cost in pull requests.

2. What no way carries

A verdict. A yes or a no is about an answer, and the new answer is another. Under every way, the new answer arrives awaiting a verdict, is judged by the judge before the person says anything, and is reviewed blind, as ADR 0067 §1 has it. Nothing an earlier review said reaches the judge, the page or the count of agreement.

An earlier setup's answer. ADR 0059's rule holds: what is imported is the answer the setup in force gave. What is carried is the question, and the person's decision that it deserves a review.

3. (a) record import --carry

digline record import --carry takes every reviewed answer in the cases file whose metadata.setup_digest is not the setup in force of its form, and, for each, the setup in force's answer to the same question, matched by capture_id as where matches it:

  • Where there is one, it is written awaiting a verdict, as --choose writes it, with metadata.carried_from, the id of the reviewed answer it was carried from. Decided here: the earlier reviewed answer stays in the file, unchanged. It is still a true question about the judge (Context, point 4), and the person removes it if they mean to. That is the earlier answer kept as a reference the brief asks for: in the file, by its id, never beside the new answer on the review page.
  • The held-out set is carried. Decided here: an answer carried from a held-out reviewed answer is written held-out, one carried from a held-in one held-in. Membership of the set is not a verdict; it is the person's decision about which questions the rubric is never tuned on (ADR 0067 §1 (e)), and it would otherwise shrink, silently, with every setup change. By hand, with --choose and --held-out per invocation, keeping it means two invocations and a list split correctly.
  • Where there is none, nothing is written for that question, and the import names it: "refund-tone: no answer under the setup in force 3f9a…: record it, then carry again". The application has to answer the question under the new setup first; digline calls no target to make it.
  • Where several answers of the setup in force answer that question, decided here, the newest is carried, as the import's steps are read from the newest recording (ADR 0059), and the line names how many there were.
  • Nothing to carry, no reviewed answer under an earlier setup, is refused by name, exit 64, with nothing written.
  • It takes no --by: nothing is judged, and an answer awaiting a verdict carries no mark until its verdict brings one (ADR 0067 §1 (a)).

Noted at the pull request, 2026-12-03: built with what §3 leaves to the code, each a reading of it. A question is already in force, and carried by nobody, where the file holds a reviewed answer to it under the setup in force, awaiting a verdict or not, so a second --carry writes nothing for it; a second --carry that finds only questions with no new answer names them again, exits 0 and writes nothing, since the refusal is for a file with no reviewed answer under an earlier setup at all. Where several earlier reviewed answers ask one question, the new one is held out if any of them was, and the line names the newest of them. The form carries as the membership does: an answer carried from one reviewed about the whole answer is written about the whole answer. A reviewed answer that records no setup_digest, written by hand, is carried by nobody and counted apart. The import says, on standard error, how many questions were carried, how many have no answer under the setup in force and how many were already reviewed under it, as the brief asked. No --json: the import's --json lists and writes nothing, and is refused beside --carry as beside --choose, so no key is added; and the MCP server does not import, as above. - Blindness. Decided here: the review page shows the new answer alone. Showing the earlier answer beside it, with or without the earlier verdict, would put in front of the person what they said about a neighbouring answer, which is the anchoring the blind review exists to remove. explain and the listing may name carried_from; the page does not. - ADR 0059: nothing. ADR 0067 §1 (a): a dated note, a second way to write an answer awaiting a verdict. - Schema: nothing in a run. carried_from is a key of a case's metadata in the cases file, which no run document copies. Wire: nothing new; the import's own --json, if it says what it wrote, says it as the import says --choose. Projection: nothing crosses; the cases file is payload. MCP: the server does not import. - Compatibility: a minor: an option, and a metadata key a cases file written before it does not carry. - Cost: one pull request: the option, the match, the held-out carry, the line for each question with no new answer, and a test with a mutation for each, the mixed case first (one question carried, one with no answer).

4. (b) A listing of the orphaned reviews, and the command to redo them

The import's listing marks each answer of the setup in force whose question has a reviewed answer under an earlier setup, "reviewed under a1b2… as refund-tone-…", and where's new_setup next step prints the --choose command for them, split by held-out and held-in.

  • What it leaves: the person runs the commands, two where the set is split. Nothing links the new answer to the old in the file.
  • ADR 0059, 0067: nothing. Schema: nothing. Wire: a field on the listing's --json and on where's, added keys under OUTPUT_VERSION 6.
  • Cost: one pull request.

5. (c) Nothing: document the way by hand

The guide says it: after a setup change, record import lists the setup in force's answers; choose the ones whose questions were reviewed, with --choose, and with --held-out for those that were held out.

  • Everything: nothing changes.
  • What it leaves: finding which questions were reviewed, by reading the cases file against the listing, and keeping the held-out set by hand.
  • Cost: one pull request of text.

Because what the person did by hand is a join digline already knows how to make, and the part a person gets wrong is the held-out set. (a) carries the question and the set, and nothing else; every verdict is new and blind, so the agreement read after it is as honest as one read on answers chosen today. (b) costs as much and leaves the join to the person, in two commands that must be split right; (c) leaves all of it.

What it costs, said beside the recommendation:

  • The earlier reviewed answers stay, so a suite carried twice holds three answers per question until the person removes the old ones. Removing them automatically would drop a true question about the judge without anybody deciding to.
  • A question whose answer was not recorded under the new setup is not carried. The import names it, and the person has to make the application answer it.
  • Carrying chooses every reviewed question at once. A person who wants some of them uses --choose, as today.

Consequences

  • Accepted as recommended, one pull request; ADR 0067 §1 (a) takes a note.
  • A cases file may carry carried_from in a case's metadata.

Not decided here

  • Removing, or marking, the earlier reviewed answers once their questions are carried.
  • A conversation, which the import does not take in this release (its own refusal), and so cannot carry.