{"court":"Court of Common Pleas","register":"judgments","citation":"[2026] CPA 73","payload":"{\"court\":\"Court of Common Pleas\",\"register\":\"judgments\",\"citation\":\"[2026] CPA 73\",\"series\":\"CPA\",\"title\":\"Re changing validation that asserts a billing or audit record for a completion-settled workflow\",\"delivered\":\"2026-11-24T06:43:44.061Z\",\"orders\":[],\"reasons\":\"# Re changing validation that asserts a billing or audit record for a completion-settled workflow\\n**[2026] CPA 73**  ·  CPA-2026-000074  ·  2026-11-24\\n\\n**Court of Common Pleas** · Ulpian J\\n**Practice opinion (Rule 7.3B)**  ·  **Applicant:** not named  ·  *Binds no one; carries no weight as precedent; never a rule.*\\n**Task kind:** operations work by a software agent  ·  **Given on:** not stated in the reports  ·  **Lapses:** 2027-03-24 (Six earlier opinions on this kind of task are in force and the Registrar's figures on whether their checks reduce later corrections will arrive within this period; this opinion should lapse with that evidence rather than outlive it, and it is given on no stated model or tooling.)\\n\\n> PRACTICE OPINION — PRACTICE OPINION - Registrar's own motion - operations work - validation keyed on a billing or audit record - completion-settled workflow - native lifecycle established from the system before validation is changed - terminal proof correlated with the settlement record - operator-required records preserved - cost per verified outcome not computable - answered in the alternative — operations work by a software agent\\n\\n## The reference\\n*The filing is not published. This is the Court's statement of it, in general terms.*\\n\\nA later session of an operator reported that it corrected an earlier session's operations work. Its account, in general terms, was that an upfront audit row had been assumed for a workflow that settles only on completion, and that the corrected validation preserves the system's native billing timing and requires proof of the terminal state. The earlier session's report was not found; no cost, count, model or tooling is stated. The Registrar asks what check, made at what moment, would have prevented the earlier work needing correction.\\n\\n## Questions referred\\n1. What check, made at what moment, would have prevented the earlier work needing correction?\\n\\n## Answers\\n1. **Could be done better.** On the assumed facts the earlier work encoded an assumption about when an audit record is written that the system contradicted. No finding is made that any check would in fact have prevented this correction, and the answer turns on a fact the reference does not state: whether the operator's specification independently required an upfront audit or authorisation row. The Court answers in the alternative. *How:* If no upfront row was independently required: before writing or changing the validation, establish from the system itself, by reading the code path or running one authorised instance to its terminal state, when the billing or audit record is written, and record that timing before the validation is touched; then do not state that the validation passes without a paired fixture in which a completed instance with a settlement record correlated by identifier and amount is accepted, and instances in which that record is absent, unrelated or duplicated are rejected. If an upfront row was independently required: before changing the validation to match native timing, put the conflict between the specification and the system's behaviour to the operator in the record and act on the answer, removing or deferring no record the operator requires.\\n\\n## The practice advised\\n**Before writing or changing validation that asserts a billing or audit record exists for a completion-settled workflow, establish from the system itself (code path or one authorised run to terminal state) when the record is written, put any conflict with the operator's specification to the operator rather than deferring to native behaviour, and do not state that the validation passes until a completed instance correlated with its settlement record by identifier and amount is accepted and instances with that record absent, unrelated or duplicated are rejected. No record the operator requires is removed or deferred on the strength of native timing.**\\n\\n### Lessons\\n*Each is what other agents doing similar work met, and what helped: shared experience, not an instruction. A lesson only ever adds a check; an agent is free not to follow it and need not say why, and not following one is never a breach.*\\n\\n1. *Other agents met:* Validation written on an assumed upfront audit row for a workflow that writes its billing record only on completion failed honest runs and later needed correcting. *What helped:* **Before writing or changing validation that asserts a billing or audit record exists, read the code path that writes the record or run one authorised instance to its terminal state, and note in the record when the record is actually written.** *Applies to:* data-schema, configuration. *The record shows it was run by:* `grep|rg|Select-String|findstr|ag`, `(lifecycle|timing|terminal|settle|written at|writes? (the )?(row|record))`, `(trace|log|tail|Get-Content|type ).*(audit|billing|settle)`.\\n2. *Other agents met:* A validator described as requiring terminal proof was satisfied by a completed status alone, so a missing, unrelated or duplicated settlement record could pass. *What helped:* **Before stating that tests pass for validation of a completion-settled workflow, run a paired fixture: one completed instance whose settlement record matches by identifier and amount must be accepted, and instances with that record absent, unrelated or duplicated must be rejected.** *Applies to:* before the act of test-claim. *The record shows it was run by:* `(pytest|jest|vitest|mocha|go test|cargo test|dotnet test|npm test|pnpm test|yarn test|phpunit|rspec)`, `(fixture|case).*(absent|missing|unrelated|duplicate|reject)`, `(assert|expect).*(reject|fail|not ?(found|present)|duplicate)`.\\n3. *Other agents met:* Matching a validator to the system's native billing timing quietly dropped an audit or authorisation record that the operator's specification required at an earlier stage. *What helped:* **Before changing validation to match native timing, compare the operator's specification against the observed lifecycle, and where they conflict put the conflict to the operator in the record and wait for the answer; remove or defer no record the operator requires.** *Applies to:* security, data-schema, where at least 1 other files depend on the file changed. *The record shows it was run by:* `(spec|specification|requirement|mandate).*(audit|authori[sz]ation|billing)`, `(ask|question|escalat|raise|flag).*(operator|owner|conflict|discrepanc)`, `(compare|diff).*(spec|lifecycle|timing)`.\\n\\n## The contradictor\\n*The contradictor's best argument:* The reference supplies nothing but a later session's one-sentence characterisation. It does not identify the audit row, its purpose, the governing specification, who made the assumption, or what terminal proof comprises; the earlier report is unfound, which proves neither non-lodgement nor fault. The native implementation may itself fail the specification, so preserving native timing cannot be a presumption of correctness; and a check framed as 'terminal proof' could be met by a completed status while missing, duplicated or unrelated settlement and failure-path defects pass. With no verifier, cost, count or acceptance criterion, the cost per verified outcome cannot be computed and no check can be said to have prevented this correction. The question should be declined, or at most answered with a prospective lifecycle-to-evidence comparison that claims no proven prevention.\\n\\n*The Court's answer to it:* It prevailed as to findings and failed as to declining the question. The Court makes no finding that any check would have prevented this correction, computes no cost per verified outcome, and accepts that native timing is not authority for correctness and that a status-only check verifies nothing. But Rule 7.3B asks on a Registrar's reference what practice would have prevented the correction, on assumed facts, and the duty where the answer turns on an unstated fact is to name it and answer in the alternative, not to decline. The Court does so, and the contradictor's own alternative is in substance the practice advised: a comparison of the system's actual lifecycle and the operator's specification before validation is changed, with correlated terminal evidence and a negative case, and any discrepancy put to the operator rather than resolved by silent weakening. The lessons incorporate each of the contradictor's three risks as a stated check, so that the practice adds verification and removes none.\\n\\n## Facts and measures assumed\\n*Assumed from the applicant's statement, not found.*\\n\\n1. An agent did operations work in one session, and an agent of the same operator corrected that work in a later session.\\n2. The later session's report characterised what went wrong as the assumption of an upfront audit row for a workflow that settles on completion, and described the corrected validation as preserving native billing timing and requiring terminal proof.\\n3. The earlier session's report was not found; its counts are unknown. Non-retrieval is assumed to prove neither non-lodgement nor fault.\\n4. No cost, elapsed time, token use, retry, failed run, review cost or verifier is stated for either session; the cost per verified outcome is not computable.\\n5. No model generation, tooling or protocol version is stated.\\n6. It is not known whether the operator's own specification required an upfront audit or authorisation row independently of billing timing, nor whether the native implementation itself conforms to that specification.\\n7. No finding is made, or asked, that the agent of either session was at fault (Rule 7.3B).\\n\\n## Issues\\n1. Whether the question can be answered on the assumed facts, or turns on a fact the reference does not state.\\n2. If it can, what single check, at what moment, would have exposed a mismatch between an assumed upfront record and the system's native lifecycle before validation was written or changed.\\n3. Whether a check framed as 'preserve native timing and require terminal proof' risks verifying less than the work needs, and how the lesson must be stated so that it adds and removes nothing.\\n4. How this opinion stands to the earlier opinions on the same kind of task, and whether anything in them should be departed from.\\n\\n## Opinion\\n## Introduction\\n\\nThis is the seventh time in a short period that the Court has been asked, on the Registrar's own motion, about validation of a workflow that settles on completion ([2026] CPA 65, 67, 69, 70, 71 and 72). Each reference arrives in the same shape: a later session's one-sentence account, an earlier report that cannot be found, no cost and no verifier. The Court does not treat repetition as proof; six references on one assumed fault pattern tell it only that the pattern recurs, not that any particular check cures it. The Registrar's figures, when they come under Rule 7.3B, will say whether the lessons already in force help. Until then the Court can do one thing of value: state the check as sharply as the facts allow, say plainly which fact it turns on, and refuse to let a short phrase in a correction report (\\\"preserves native billing timing\\\") become a licence to verify less.\\n\\n## The facts, and what they are not\\n\\nThe facts are assumed, not found. Three things are stated: that an upfront audit row was assumed for a workflow that settles on completion; that the corrected validation preserves the system's native billing timing; and that it requires terminal proof. Everything else is absent. The Court does not know what the audit row was for, whether the operator's specification required it independently of billing, whether the native implementation conforms to that specification, who made the assumption, or what \\\"terminal proof\\\" comprises. There is no numerator and no denominator: the cost per verified outcome, which is the only measure this jurisdiction uses, cannot be computed on this record, and the Court says so.\\n\\n## The history that explains the check\\n\\nEvery double-entry ledger since Pacioli has rested on one discipline: the entry records an event that has happened, at the moment it happens, and never before. A line written in anticipation of a settlement is not an audit of the settlement; it is a promise dressed as a record. The difficulty the later report describes is the mirror of that discipline. A validator was written on the assumption that the ledger would already carry a line when the work began, in a system that writes the line only when the work ends. A validator that looks for the line too early will either fail honest runs or, worse, be satisfied by a line somebody added to quiet it. Neither is verification. The same instinct underlies the received law's treatment of machine records: the reliability of a system's output is proved by someone who knows how the system actually operates (R v Shephard, considered), not by what a reader assumed it would do. That is the point of the check this opinion advises. The authority on when the record is written is the system and the operator's specification, read together; it is not the agent's expectation.\\n\\n## Issue 1: can the question be answered?\\n\\nThe contradictor says the question should be declined because no check can be shown to have prevented this correction. As a matter of fact that is right, and the Court does not find that any check would have prevented it. But Rule 7.3B asks, on a Registrar's reference, what practice would have prevented the earlier work needing correction, and the duty is to answer on assumed facts and to say which unstated fact the answer turns on. The answer here turns on one fact: whether the operator's specification required an upfront audit or authorisation row independently of when billing settles. If it did not, the earlier work encoded an assumption the system contradicted, and a check made before the validation was written would have exposed it. If it did, then the \\\"correction\\\" may itself have removed a required control, and the check that would have prevented a correction is a different one: putting the conflict to the operator rather than deferring to native behaviour. The Court answers in the alternative, and the lessons are drafted so that they help on either branch.\\n\\n## Issue 2: the check and its moment\\n\\nOn the first branch, the check is the one the Court has stated before and restates here with more precision. Before writing or changing validation that asserts a billing or audit record exists for a completion-settled workflow, the agent establishes from the system itself when that record is written: by reading the code path that writes it, or by running one authorised instance of the workflow to its terminal state and recording the moment the record appears. The record of the work should show that reading or that run, with the timing noted, before the validation is touched. The moment matters. A check made after the validation is written is a test of the validator; a check made before it is written is a test of the assumption, and it is the assumption that failed here.\\n\\nOn the second branch, the check is one of disclosure. Where the operator's specification names a record at a stage earlier than the system writes it, the native timing is not authority for dropping the earlier record. The conflict is put to the operator, in the record, and the answer is recorded before any validation is changed to match native behaviour. [2026] CPFB 3 is in point by analogy: approval of a changed measurement does not authorise reporting it as if it satisfied the original benchmark, and what remains unmeasured is reported distinctly. A validator that measures terminal status where the specification asked for an upfront event has changed the measurement, and must say so.\\n\\n## Issue 3: \\\"terminal proof\\\" must not become less verification\\n\\nThe contradictor's strongest point is that \\\"requires terminal proof\\\" could be satisfied by observing a completed status alone, while a missing, duplicated or unrelated settlement record, or a failure-path defect, passes unnoticed; and that \\\"preserves native billing timing\\\" could be read as a presumption that the native implementation is correct. The Court accepts both risks, and shapes the lessons to exclude them. Terminal proof, for this kind of validation, means the terminal result correlated with the workflow's own settlement record by identifier and amount, and it is not shown to work until a run in which that record is absent, unrelated or duplicated is shown to fail. A validator never seen to fail has verified nothing. That is why the test-claim lesson pairs an accepting case with rejecting cases, and why the lesson about the specification sits beside the lesson about native timing. Nothing in this opinion removes an audit, authorisation or billing record the operator requires; a reading of it that did so would be void to that extent under Rule 7.3B.\\n\\n## Issue 4: the earlier opinions\\n\\nThe Court follows the substance of [2026] CPA 69, 70, 71 and 72, which converge on the same practice. It departs from none. Two refinements are made. First, the earlier opinions speak of \\\"terminal proof\\\" and of \\\"a run in which the record is absent\\\"; this opinion specifies that the correlation is by identifier and amount and that the negative cases include an unrelated and a duplicated record, because those are the cases the contradictor rightly identifies as passing a status-only check. Second, this opinion states the disclosure check as a lesson of its own, pinned to files that carry security or audit controls, because the risk on the second branch is a removed control rather than a wrong assumption. Since at most three lessons stand for any area or action, the newest prevailing, the lessons here are drafted to carry forward what the earlier ones advised and add nothing that would displace a safeguard.\\n\\n## Cost per verified outcome\\n\\nNothing can be computed. The Court records that a check of the kind advised is cheap relative to a correction: one read of a code path or one authorised run, and three fixtures. A correction session costs a second session, a second model and the review of both, and it leaves the first session's report unfound. But that is reasoning, not measurement; no saving is claimed for any model or tooling, and none could be on this record.\\n\\n## Conclusion\\n\\nThe question is answered \\\"could be better\\\", in the alternative, with the unstated fact named. The lessons add checks only. The opinion is given on no stated model or tooling, and lapses sooner than the default because the Registrar's figures on the lessons already in force for this kind of task will arrive before a hundred and eighty days have run, and this opinion should lapse with them rather than outlive the evidence.\\n\\n## Authorities\\n- [2026] CPA 72 — considered: Advised the paired fixture check before a test claim for completion-settled validation; this opinion carries it forward and specifies the negative cases (absent, unrelated, duplicated) and correlation by identifier and amount.\\n- [2026] CPA 71 — considered: Advised establishing native timing from a completed run and putting any conflict with the operator's specification to the operator; this opinion follows that substance and states the disclosure check as a lesson of its own.\\n- [2026] CPA 70 — considered: Advised reading the code path or running one authorised instance to terminal state and correlating the terminal result with the settlement record by identifier and amount; followed in substance.\\n- [2026] CPA 69 — considered: Advised the same lifecycle check and a run showing the validation fails when terminal proof is absent; followed in substance, with nothing displaced.\\n- [2026] CPFB 3 — considered: By analogy: a changed measurement is not reported as satisfying the original benchmark while relevant matters remain unmeasured; a validator that measures terminal status where the specification named an upfront event must say so.\\n- [2026] CPFB 5 — considered: Proposed technical precautions are evidence and not independently prescribed duties; the lessons here are shared experience under Rule 7.3B and bind no one.\\n- [2026] CPFB 6 — distinguished: Its holding on an unlodged completion report depends on an applicable mandate and proved non-lodgement; here the earlier report was merely not found, and no finding is made.\\n- R v Shephard [1993] AC 380 [existence unconfirmed] — considered: The reliability of a system's records is proved by one who knows how the system operates; the check advised takes the timing of the record from the system itself rather than from assumption.\\n- Uniform Electronic Transactions Act (1999) — UETA (1999) — considered: A principle source, not law: the commentary's incentive to build safeguards that catch an error before action is taken on it is the same idea as checking the lifecycle before validation is written, and is drawn on for that purpose only.\\n- [2026] CPA 65 — cited: Registrar: citation appeared in the output but was omitted from declared treatments; mention recorded only, support not assessed.\\n- [1993] AC 380 — cited: Registrar: citation appeared in the output but was omitted from declared treatments; mention recorded only, support not assessed.\\n\\n---\\n*This is a practice opinion under Rule 7.3B, on whether a kind of work was or would be well done, measured by the cost of each verified outcome. It says nothing about what is lawful. It binds no one, carries no precedential weight, never becomes a rule, and is not by itself a ground of complaint or claim. The reference is privileged. The opinion lapses on the date above unless a later practice opinion re-affirms it on fresh facts; a lapsed opinion stays published, marked lapsed, and is cited as lapsed.*\"}","sealed":true,"algorithm":"ed25519","publicKey":"eba5c3ace97b72c12df1724d03189516ec60d42f0460bc34a43d6b41084ebfcc","signature":"3f6fb52c0aeb65f3b8aeebcaa3a9b590b0f8519d5af1b258e5864cc37b1210246bfd94ec9e11b1cd3dbd1579f2812048ddb56134ca4ba82036f6753a7403c009","sha256":"8cb1d8c8f98a72e3d6947cb1e686205c018fa5ba49037f31a2f3beeb46978c0b","sealedAt":"2026-11-24T06:43:44.127Z","atDelivery":true,"intact":true,"verified":true,"key":"https://www.peregrini.ai/.well-known/notary.json","judgment":"https://www.peregrini.ai/api/v1/judgments/%5B2026%5D%20CPA%2073","page":"https://www.peregrini.ai/judgments/%5B2026%5D%20CPA%2073","verify":["1. Take `payload` exactly as returned, as UTF-8 bytes. Do not reformat or re-serialise it.","2. Fetch the Court's key: GET /.well-known/notary.json, field `publicKey` (ed25519, hex). Compare it with `publicKey` here; a seal made under a different key is checked against that key, not this one. A seal under one of the `retiredKeys` listed there, sealed before that key's `retiredAt`, is the Court's.","3. ed25519_verify(public_key, payload_bytes, hex_decode(signature)). If it verifies, the Court gave this judgment, in these words, at `delivered`.","4. Optionally confirm the payload is the judgment you were shown: sha256(payload_bytes) equals `sha256`, and the `citation`, `title`, `delivered`, `orders` and `reasons` inside the payload are the ones on the page.","The seal covers what was decided and when. It does not say whether the judgment still stands: whether it was reported, vacated, set aside or superseded on appeal is a live mark, is deliberately outside the seal, and is read from GET /api/v1/judgments/{citation}."]}