Part I: Rethinking the Work and Planning the Foundations
Chapter 3: Evidence Discipline
The previous chapter, "Breaking Down the Project and Building the Foundations," required agreeing in advance on what counts as done. This chapter follows with a harder question: on what basis do you judge that these agreements have been met?
Opening: Two Reports Awaiting Verification
Start with an anonymized paraphrase of an AI pair-programming conversation that the author reports as real (evidence level: self-report; the account below is not a verbatim quotation). The original conversation is not publicly available with this book, so readers cannot independently verify its authenticity or full context. The task was small: fix a resource-counting problem.
In the first round, the assistant reported the fix complete and said the checks had passed. It sounded like the matter was closed. But the user did not stop there and asked for one more recheck. In the reply from the second-round recheck, the assistant reported a new finding: the previous fix itself had introduced a new inconsistency — one resource too many was counted, exceeding the fixed quota.
The same conversation, the same assistant: first a report that the checks passed, then a report that the previous fix introduced a new problem. The two reports put "is it done" back in question, but they do not necessarily contradict each other logically: a check passing and a problem existing outside the checked scope can both hold at once. What actually happened?
The answer is that these two statements alone cannot establish what happened. Both statements are self-reports: the AI's own accounts of its work. A self-report can establish only one thing: that the statement was made. By itself it cannot establish that the event the statement describes happened.
The later statement offers a lead for rechecking, but it does not automatically become fact merely by appearing later. You cannot close the task with the first statement, and you cannot use the second to establish outright that a defect has been confirmed. You need to go back to the corresponding code version, execution records, and acceptance conditions. Otherwise the so-called recheck just replaces one sentence from the crew foreman with another.
There is no need to first judge whether the assistant was honest, or to debate the strength of the model. As long as the basis for judging "done" is a sentence in the conversation, you are substituting the crew foreman's "the wall is built" for an acceptance inspection. A construction report can tell you where to check next; an acceptance sign-off requires other grounds.
This chapter addresses exactly one problem: in AI-assisted programming, what counts as evidence, and what is merely a statement awaiting verification.
The Three-Level Evidence Model
Put the three kinds of material commonly seen on a construction site side by side, and the question becomes clear:
- The crew foreman says "this wall is built" — that is a self-report.
- The supervisor records the action of laying the wall and the mortar arriving on site — that is an observation record.
- The drawings and measurement conditions are fixed, and acceptance material that others can re-test is retained — that is verifiable evidence.
The three kinds of material support different conclusions. Carried over into AI programming, this distinction is the three-level evidence model:
| Level | What it is | Typical form | Conclusions it can support |
|---|---|---|---|
| Self-report | A statement in the conversation text | "Completed," "checks passed," "fixed" | Only that "such a statement was made" |
| Observation record | A trace left by the execution process | Tool calls appearing paired with returned results | "A particular tool ran and returned a result" |
| Verifiable evidence | Fixed records that can be independently replayed | Inputs fixed with hashes + a third party can independently rerun | Facts within the scope of the replay |
When this chapter says "observation record," it specifically means an execution observation with structurally linked calls and results: the call and the result can be matched to each other, rather than guessing from a nearby summary that they belong to the same execution. It further requires that the material can be interpreted under confirmed format rules and admitted as evidence; the pairing identifier alone is not enough. The next section develops this boundary.
Using this model comes down to one rule: at each higher level, the conclusions become narrower but more firmly supported. This is not a sequence of approval stamps on the same sentence. It turns a vague "it's done" into a judgment about a specific subject, under stated conditions and within defined limits.
A self-report's use is to signal that "something is claimed to have happened here" — worth a look. If the assistant says it changed a file, you can follow that lead to check; if a user says some behavior is abnormal, that too can be an entry point for investigation. Who makes the statement does not change the material's level.
An observation record goes one layer further. A file write, a test run, a command's exit — if there are paired calls and returns, there is a retained trace of the execution process. But respect its limits: observing "the test ran" does not mean "the code is right"; observing "the file was written" does not mean "the right content was written." Observation records support judgments at the level of actions and returns; they cannot by themselves establish that the requirements have been met.
Verifiable evidence demands more: the inputs are fixed and hash-bound, the process leaves a trace, and a third party can take the same material, independently rerun it, and check the results within the specified scope. A hash lets you check that the material is unchanged; it does not prove that its contents are correct. Matching replay results likewise support only facts within the replay's scope; you cannot extend the conclusions of a few test cases into "the whole system has no problems."
Using the first level as if it were the third crosses the evidence threshold. "It said it was done" can go into the process record; using that sentence to close the task ticket amounts to passing an engineering acceptance with a construction report. What you must check is not only whether material exists, but whether the material is sufficient to support the sentence in front of you.
Format Sets the Ceiling; Admission Checks Determine Usable Output
This section asks you to take two things seriously: the "record format," and the checks material must pass before entering analysis. The former determines what the archive preserved; the latter determines which of its contents can be interpreted in the confirmed way. A structural pairing alone does not make a record admissible as evidence.
The author reports that the research pipeline posed the same question to conversation archives from two different tool families: "Was this correction actually executed?"
Public availability of the research material: The sample counts, archive sizes, pairing counts, independent replays, and checking results below are all reported by the author. The original archives, candidate list, parsing rules and versions, run artifacts, and independent checking records have not been published with this book, and no accessible public source is provided. Readers therefore cannot currently verify these figures or processing conclusions independently. The account retains the author's figures and evidence classifications, but terms such as "independently replayed," "verified," and "verifiable evidence" describe the research process and material conditions the author reports. They do not mean that the book supplies readers with independently checkable evidence. Non-publication does not disprove the findings, but the report itself is not public verification.
The tool family A sample: in the conversation, a tool-call structure is clearly visible — the model names a tool and supplies its arguments. But digging into the record format revealed: the call left no correlation identifier, and the structure of an execution result simply does not exist in the records. In other words, we can see the model announce an action, but not whether the action was executed or what it produced. For this sample, the most the researchers could finally write down was: "The conversation contains an account of the correction." Whether execution happened, and what the result was — cannot be determined from the available records. No amount of clever analysis or compute can conjure results out of an archive that recorded no results.
The tool family B sample: in the raw transport records, the paired structure of calls and results has been verified. But under the specified syntax rules and compatible versions, the sample yielded no text view usable for corroboration analysis. The raw pairing is a structural fact; it has not yet become an admitted execution observation of the target correction. This outcome is not an isolated case. Under the predeclared candidate list, the research pipeline went on to check four more archives from the same family, five in all including the first, ranging in size from 16 KB to 1.5 MB; the structural pairing counts were 12, 131, 59, 1, and 0 respectively, 203 pairs in total, of which 191 pairs were independently replayed; all five yielded zero usable text views — the last four were refused at the same admission gate: when version ambiguity cannot be eliminated, the rules choose refusal rather than relaxation. The largest archive yielded 131 pairs; the smallest yielded none.
The material stopped before analysis, involving an envelope format the current rules do not recognize, control records not interpreted as text, and version ambiguity that could not yet be eliminated. The established admission checks were not relaxed in order to obtain usable text. This outcome describes the processing boundary of each sample under the specified rules; it must not be taken to assert that the material itself contains no execution content.
Think of it as material arriving at a construction site: you can read the numbers on the packing slips and match the two slips to each other, but the specification used for the material inside the boxes is not yet recognized by the current checks. Matching numbers is no substitute for confirming the specification. You cannot, to get the material through the gate, temporarily treat an ambiguous specification as already identified; nor can you, because this batch failed to enter, assert that the boxes contain nothing.
Therefore, zero usable text views do not mean zero corroboration. All five samples stopped before analysis: the structural pairing counts can be tallied; the number of corroborating pairs for the target correction was not measured; it should be recorded as "unknown," not filled in as zero. Nor is it the conclusion "analysis finished, and no qualifying content was found"; the five outcomes with no usable text view are facts of these five samples under the established admission checks; they do not establish counts for the tool family as a whole. As to whether the target correction was executed and whether it meets requirements, the available material gives no answer. Do not write the material-processing conclusion as the closure of the repair task.
Here each evidence level must be tied to the specific claim it supports: the correction account in A is a self-report; the raw pairing in B is a checked structural fact that has not yet become an execution observation with structurally linked calls and results for the target correction. For the processing conclusion "each B sample has no text view under the specified rules," the author reports independent checking records tied to fixed run artifacts and version snapshots and classifies them as verifiable evidence. According to that report, they support the processing boundary, not the result of the target correction. These records are not public, so readers cannot independently check that classification or conclusion. This comparison covers only one sample from tool family A and five samples from tool family B; they do not represent all versions and all retention practices of the two tool families.
This comparison suggests two practical judgments:
First, when choosing tools, count the "verifiability of the archive format" as a real cost. If an archive retains neither execution results nor call correlations, that archive alone cannot establish the corresponding execution observation. This is not something that reading the conversation a few more times can make up. You also need to check whether other material exists — test records, artifact snapshots — and must not write the archive's ceiling as the ceiling of the whole engineering effort.
Second, check whether retained content can enter analysis, not just whether the file exists. That a conversation opens and its text is searchable is a different matter from whether execution records are admissible as evidence. Before a retrospective, first confirm whether the calls, results, and correlation fields are present, then confirm whether the format and version can be interpreted under the established rules. Whichever link is missing, mark that link. Format sets the ceiling of the evidence that can be retained; admission checks determine the usable material actually produced under the current rules; that no material describes an execution result does not mean execution failure has been proven.
Five Rules for Practice
Turning the model above into daily habit takes five rules. The worked examples below are all teaching scenarios in generic engineering situations, not new real cases; their evidence-level labels describe how to judge material, not that these examples were actually executed.
First, completion means acceptance, not a claim of completion. The acceptance criteria must exist before execution, written in the blueprint — not improvised after the AI says "done." A "done" cannot substitute for an acceptance item; you need to know exactly which criterion is supported by what material.
A worked example: you are about to have an assistant modify a batch-write function. Before issuing the task, write into the milestone: "Given an empty initial data set, when the input contains one record missing a required field, the whole batch is rejected and the number of persisted records stays unchanged; accepted with fixed inputs, snapshots before and after the run, and replayable steps." This states the starting point, the input, the expected behavior, and the material for the judgment at once. As for the wording of the error message, concurrent behavior, and the like — if they belong to this round's requirements, each needs its own item; do not assume this one item has covered them.
Only then let the AI start work. Its reply "exception handled" is still at the level of self-report; only when the call records and returns can be paired do you reach an execution observation with structurally linked calls and results; only after the implementation, inputs, and environment are fixed, and a third party can independently rerun and check the states before and after, do you have the verifiable evidence this acceptance item requires. Each layer does its own job; none can be skipped.
Turn it around: suppose that after it finishes you see an error message in the return and improvise the line "showing the error means done" — what you have accepted is no longer the original requirement "reject the whole batch." When the error message appears, whether data has already been partially written remains unanswered. It is like building the wall first and then drawing the design lines along its edge: the drawing looks consistent with the site, but it has lost its power to constrain the construction.
Real requirements can be adjusted, but the adjustment must leave a trace. Keep the original item, the reason for the change, and the new version; state from which execution onward the new criterion applies; then verify under the new criterion. Do not quietly erase the old requirement, and do not assume that evidence for the old requirement also proves the new one. Acceptance criteria are not unchangeable; the fault is changing them and then pretending they were like this from the start.
Second, tool output is an observation, not a conclusion. A test run passing does not mean the code is correct; a command exit code of zero does not mean the requirement is met; a successful compile does not mean the feature works. Observation records answer what happened at the execution level; whether a requirement is met still requires mapping what was observed onto the predeclared criteria item by item.
A worked example: you are reviewing a pagination change awaiting commit. In its report the assistant writes, "all tests pass; pagination complete." You open the run records associated with this change and confirm the test command did execute and returned a passing message. At this point, what can be recorded is an execution observation with structurally linked calls and results: "this version ran the specified tests; the returned content reports passing." You cannot also approve, in passing, the second half — "feature complete."
Next, inspect the test assertions. Suppose the case only checks that the number of returned entries does not exceed the limit, while the milestone also requires that consecutive pages neither repeat nor omit entries. This return does not answer the latter two conditions. In your review comment you should write: "The count check has a run record; cross-page duplication and omission have no corresponding verification yet — acceptance pending verification." Do not write "no verification yet" as "duplicates have been found," and do not write "no failure observed" as "requirement met."
The next step is to prepare fixed data with a deterministic order, read page by page, compare the results separately against the expected set and the expected order, and retain the execution steps and raw results. Only when the material meets the conditions for independent replay can you judge, within the scope of verifiable evidence, whether these fixed cases satisfy the corresponding items. A test named "complete pagination verification" does not add to what it actually checks; what the assertion compared determines what it can answer.
When reviewing, you can split one sweeping report into two lines: one recording "what the tool returned," the other recording "which acceptance requirement this return supports, and what is still missing." This is not asking you to deny the test; it is asking you to hold the right drawing before reading the measurement. A clear reading on the ruler does not mean the wall you measured is the wall that needed measuring.
Third, key conclusions must be independently checkable by replay. For important judgments — a delivery, an architecture change, an incident diagnosis — require the evidence to reach the third level: inputs fixed, process traced, independently rerunnable by a third party. A conclusion that cannot be replayed should honestly be labeled "pending verification"; do not let firmness of tone substitute for completeness of material.
A worked example: you need to judge whether a sorting change satisfies the item "preserve the original order when values are equal." Do not merely save a screenshot reading "passed." Make the conclusion record an acceptance record with evidence behind it: state which implementation version is being judged and which acceptance item applies, then give the input data, environment description, execution steps, and the location of results. Its skeleton can be compressed into three lines:
Inputs: the implementation snapshot, dependencies and configuration, and sample data are each fixed with recorded hashes; the acceptance-item version is bound alongside. Steps: run from the agreed initial state; save the calls, raw output, and comparison method; state how to restore the rerun environment. Conclusion: pending independent replay; after replay, fill in the check results, material references, and applicable boundaries, without extending to untested inputs.
These three lines are a recording template, not a completed proof. When filling it in, make sure the recipient can locate the material, rather than leaving only "see the relevant attachment." If a step needs a local configuration that has not been preserved, or the input points to data that changes at any moment, then "just follow along" is still missing a piece of the construction conditions. List the gaps explicitly; talk about replay only after they are filled.
A third party should not need an ad hoc explanation from the person who originally ran the process to rerun the process. Let the reviewer obtain the inputs from the records, check the hashes, execute the steps, and check the output under the same comparison method. Record whether the replay matches; if it does not, keep the difference — do not let the first conclusion overwrite the second record. A replayed failure is also verifiable negative evidence. Evidence level and whether the result is good are two different dimensions.
Keep a particularly tight grip on the conclusion's scope. Even if replaying this example produces matching results, it supports only the ordering judgment under the specified version, conditions, and examples; it cannot justify writing "sorting is correct for all inputs." To claim that an incident was caused by this change requires further argument and evidence; reproducing a phenomenon cannot be taken directly as causal attribution. This chapter asks you to write the parts that have been measured clearly, and not to sign off on the parts that have not.
Fourth, preserve failures and unknowns. If evidence cannot be found, write "cannot be determined from the available records"; do not let the completeness of a narrative override the facts. Negative cases and unknowns both go into the ledger; a negative case shows that some judgment has contrary material, an unknown shows that the current material is insufficient — the two cannot substitute for each other.
The author reports the tool family B samples in the previous section as real anonymized negative cases (the underlying material and checking records are not public and cannot be independently checked by readers): for the judgment "a pairing structure is enough to obtain a usable observation," they mark a boundary; on whether the target correction was executed, they still leave an unknown. According to the author, the processing records provide verifiable evidence for the former; for the latter, the required execution observation was not obtained. The smallest archive in the series does not have even a single pair; the author reports that direct frame-by-frame inspection confirmed this as a property of the sample itself, not a miss by the checking tool. Its candidate turns can only remain "not observed" — upgrading requires pairing evidence, and without evidence there is no upgrade; and "not observed" means only that this check did not observe it, not that it "did not happen." For the samples whose structural pairings could be checked, the conclusions likewise stop at the structural level: at most you may write "calls and results co-occur in a given turn"; you cannot write a single word more just because the pairing is intact. Preserving these outcomes under the procedure locked in advance has clear teaching value: the ledger should read "no text view under the current rules; corroboration not measured," not "no corroboration," and certainly not a different story invented to fill the gap. This negative case documents a boundary of what can be established; failure to obtain positive corroboration should not be judged outright as process failure, nor used to claim that the process has some universal effectiveness.
A worked example: while organizing an old fix, you find the assistant's reply claiming "adjusted and verified," you also see the call arguments, but you find no return that can be linked to this call. The retrospective log could read: "Question pending judgment: whether this correction was executed. Available material: the correction self-report and the call request. Evidence level: self-report; missing item: a linkable execution return. Judgment: cannot be determined from the current archive alone. Retained item: if the corresponding execution log or artifact snapshot is obtained, verify separately then."
This record does not paint the blank green, nor paint it red. It points out the question, the material, the gap, and the current boundary. The recipient need not guess whether "cannot be determined" means no check was made, a check was made but material is missing, or a failure was already found. The record should state the scope you actually examined; other material you did not find should not be written as "does not exist."
Consider a different situation: a linkable return exists, and its content shows a validation failure. Now you can record, as an execution observation with structurally linked calls and results, "the return reports validation failure," retain the corresponding input and error output, and no longer keep using "execution cannot be determined from the available records." If the failure can be independently replayed under fixed conditions, record its specific scope as verifiable evidence. Even if the fix passes later, open a separate entry, preserving the earlier failure and the difference between the two versions.
Returning to the anonymized case reported by the author as real in the opening, the tension between the two self-reports must also be preserved. You cannot excerpt only the first and write it up as a completion case, nor only the second as a case of a confirmed defect. You can write: "first a self-report that checks passed, then a self-report of a new problem; the checked scope and the fix results of both are pending verification." This ending has no dramatic reversal, but it keeps the conclusion within what the material supports. The retrospective ledger's task is to preserve judgments that others can use to continue the work — not to invent a tidy ending for every stretch of construction work.
Fifth, preregister the selection criteria. Retrospectives, research, case write-ups — whenever you select examples from a collection of records, write down and freeze the selection rules before looking at any results. The selection criteria should explain why this record entered the sample, not supply a reason for it after the story has been read.
A worked example: you want to check whether the records of a closed milestone are sufficient to reconstruct the execution process. Before looking at outcomes, fix the candidate list and its version, and declare: "Within this list, ordered by de-identified identifier, take the first session containing a correction request; include it whether or not there is an execution return, and whether the return passed or failed; if no linked result can be found, record it as cannot be determined. If no session in the list meets the condition, record no eligible sample; do not swap in another batch on the spot." This is a rule for illustrating the operation, not an additional narrative about how a real sample was screened.
After a record is selected, first record why it meets the rule, then judge the material by the three-level model. It may contain only a self-report; it may carry an execution observation with structurally linked calls and results; it may also have separate verifiable evidence meeting the replay requirements. You cannot, because the selected record is only a single sentence with little narrative detail, flip forward to a more complete story. Otherwise, what the reader sees is the narrative you picked, not the material obtained under the declared scope.
If the question is precisely how calls and results pair up, you may also write "has the correlation fields" in advance as a structural condition — but you must state at the same time: this selection has already excluded records without such fields, and cannot be used to evaluate the completeness of all archives. The selection rule answers "why this one was chosen"; the evidence level answers "what it can prove." Neither can be missing.
When a rule must change, keep the original rule and the original selection results, write down the reason for the change, and treat it as another round of selection. Preregistration is not a stamp guaranteeing correct conclusions, nor does it automatically make the sample representative. It asks you to make the selection process transparent, so that others can check whether you acted by the procedure you declared. You may leave behind a failure sample, an unknown sample, even a no-eligible-sample record; do not, to make the chapter more appealing, quietly swap out the ledger's first page.
Connecting Evidence Discipline to Implementation Planning
Now place this chapter back within the book's methodological frame, and its position becomes clear:
The blueprint defines what to do; evidence discipline establishes the basis for saying it is done.
The blueprint (CONTEXT.md) defines the acceptance criteria for each milestone; the three-level evidence model defines the evidence required to support each acceptance judgment; acceptance-driven development joins the two. When each milestone closes, what you check is not whether the report looks complete, but whether the criteria, the implementation version, and the evidence correspond one to one. Self-reports provide leads; observation records support execution-level judgments; verifiable evidence supports result judgments within the specified scope.
Do not leave this work as a one-line reminder at the chapter's end. Add a set of checks to the milestone acceptance record, alongside the existing feature items. Below is a generic template; the bracketed positions are to be filled with actual material references, and "passed" there means only that the item has reached the stated evidence threshold.
In use, judge item by item; do not compute a checked-box ratio. If a required criterion is still pending verification, you cannot declare the whole milestone complete just because several other items are checked. If you decide to adjust the scope, update the blueprint first, keep the reason for the adjustment, and assess the new scope; matters outside the scope must also have their disposition stated. Authorizing the work to proceed and demonstrating that acceptance passed are two different kinds of record; do not let a shared "complete" blur the difference.
This checklist also dictates what to do next. Missing criteria: first make explicit the behavior to be accepted. Only a self-report: look for the corresponding execution material. Only observation records: fill in the fixed inputs, replay steps, and result comparison. Material can no longer be obtained: keep "cannot be determined from the available records." Site supervision does not complete its work by pressing the workers to shout "done" one more time, and you do not need the assistant to say the same conclusion more firmly.
When you update the blueprint and hand the milestone to the next stage, hand over the acceptance items, evidence references, and unresolved items together. A later recipient should be able to see: which parts have been checked under what conditions, which parts were only observed executing, and which parts are still only statements. The blueprint can be condensed; the evidentiary limits must not be erased in condensing.
Finally, return to the story that opened the chapter. Faced with the first report that checks passed, you should ask for the corresponding run records and keep checking which acceptance criterion they cover; faced with the second report of a newly found problem, you should likewise press for the corresponding version and verification material. The former is a self-report; the latter is still a self-report. A later statement does not automatically carry the authority of an acceptance sign-off.
You do not need to supply this case with an already-fixed ending. Keep the two reports, mark them pending verification, point out what is still missing — that already answers this chapter's question: "done" must be an acceptance judgment with a clear scope, one that leads back to the material. Before signing, put the evidence on the table.
The next chapter first discusses how to use a retrospective ledger to preserve changes in judgments, giving failures, unknowns, and material obtained later each their own place. With these records in place to support continued work, we then enter Part II and discuss recognizing architectural drift.