The old, candidate and corrected variants each use one fresh database initialized with only the seed row: three databases in total. Within each database, calls run sequentially without resetting it: Alice 10, Alice 10 again, then Bob 10. Each displayed row is [subject, configured quota].

After Alice's second assignment, the required rows keep Alice at 10 and seed at 7. The candidate changes replacement into addition: it replies 10 but stores Alice at 20, violating the repeated-assignment promise. The later Bob call correctly adds Bob at 10 and preserves seed at 7, but leaves Alice at 20. Two failed state observations therefore expose one carried-forward Alice regression, not a separate Bob failure.

The original full evaluator checks stored state, typed replies and entry count. The unapproved reply-only draft evaluates the same recorded calls without making additional calls; it misses the stored-state failure.

Observation / Recorded value
Observation Recorded value
Repeated call apply_quota(path, "alice", 10)
Required complete rows [["alice",10],["seed",7]]
Candidate reply {"status":"configured","subject":"alice","limit":10}
Candidate complete rows [["alice",20],["seed",7]]
Candidate checks Original full gate: 6/8 passed, overall FAIL. Reply-only draft: 3/3 passed.
Implemented correction Original full gate: PASS 8/8 on its own fresh database.

The corrected variant supports this selected sequence on its own fresh database; it does not clean or migrate the candidate-written Alice 20. The observation reads both declared columns through a new connection after the call. It establishes this committed-state mismatch, not restart, power-loss or concurrent-writer behavior.

Inspect the actual candidate observations.

01 / The promise beyond the latest task

What does it mean to preserve an older requirement?

Preservation means judging a proposed implementation against the behavior that still governs it. A later task can change how the code works while leaving that behavior intact. If the task conflicts with the requirement, retain the conflict and obtain a decision from the authority allowed to amend it.

Keep three questions separate:

Question / Evidence needed
Question Evidence needed
What should survive? An identifiable requirement, its source and applicability, and an actual approval or unresolved authority record.
Does this candidate preserve it? Independent expected effects, meaningful checks and observations from the identified implementation.
May this change proceed? A recorded decision under the applicable policy, including remaining obligations and exceptions.

This is useful for agent-assisted refactors, optimizations and repairs, particularly when the agent can edit tests or requirement files. It also applies to human-written changes. Regression tests contribute evidence; unchanged code behavior does not approve intent, and old/new agreement can preserve the same mistake.

The original payment illustration

Suppose an agent is asked to simplify payment retries and removes a stored idempotency key because local tests pass. The illustrative promise is that repeating a transaction ID creates at most one charge. Reviewing the change would require the relevant timeout, retry and concurrent-delivery evidence.

That story is illustrative and unexecuted. It supplies no observed agent patch, payment-provider run, approved customer requirement or retained execution archive. The quota example below has its own authored contract and evidence; it inherits none of those payment assumptions.

If a project has no trustworthy specification, collect candidate intent from contracts, tickets, examples, tests, history and observed failures. Record competing interpretations and who must resolve them.

02 / Start with the preservation record

Free agent-change preservation worksheet

Copy the blank record into an issue or versioned document. Keep the original criteria alongside proposed amendments. Before execution, obtain the exact sources, a usable environment and an independently justified oracle. Before acceptance, assign actual people or accountable teams to the unresolved decisions.

The filled record is independently selectable and includes the identities, literals, commands and limitations needed to interpret the worked evidence.

Standalone blank record

AGENT-CHANGE PROMISE-PRESERVATION RECORD / BLANK

RECORD AND GOVERNING INTENT
Record ID/revision, author and evidence location:
Change being considered and decision requested:
Older requirement ID/revision and exact text:
Persistent source location, source revision/digest and rationale:
Applicability, assumptions, domain and exclusions:
Actual intent validator, authority basis and approval record:
Approval status: UNPERFORMED until supported by an actual record.
Authority permitted to amend the requirement:

LATEST TASK AND PROVENANCE
Exact later request, source/revision and requester:
Implementation authority granted, scope and constraints:
Promises and acceptance criteria that must remain:
Conflicts between task, requirement, code, tests and policy:
Candidate-intent recovery sources, competing interpretations:
Unresolved interpretation, designated resolver and decision impact:
Actual human/agent/tool/model contributions and retained provenance:
Unknown generation or model details, explicitly marked:

IMPLEMENTATION AND IMPACT
Repository/build; exact base, candidate and correction identities:
Complete diff, including requirement/test/config/policy files:
Public interface and actual harness-to-implementation call path:
Harness, adapters, oracle, inputs and evaluator identities:
Storage/schema/configuration/dependency identities:
Runtime/tool versions, platform and observed effective settings:
Recorded requirement/code/test/dependency links and impact result:
Unrecorded callers, background writers, shared state and config reviewed:
Review method, reviewer, findings and still-missing impact:
Observation boundary and capture/completion points:

PROTECTED ACCEPTANCE BASIS
Original criteria and independent source of each expected result:
Original test/oracle/evaluator revision or digest:
Separate proposed acceptance draft and its exact diff:
Deleted requirements/tests or removed assertions:
Changed input domain, selected scope, suppressions or exemptions:
Changed thresholds, approval/delegation policy or required CI checks:
Rationale and separate authority for each amendment:
Amendment decision and evidence; otherwise UNAPPROVED:

CASES AND LITERAL EXPECTATIONS
Caller preconditions, separately from tested input validation:
Exact starting state and reset/isolation procedure:
For every selected case or ordered phase:
  ID; exact input; independently expected typed response;
  complete declared state/effects, including unaffected data;
  required observation point and pass/fail rule.
Useful positive and distinct-operation controls:
Repeat/negative controls and the faults they should distinguish:
Missing boundaries, values, failures and interactions:

EXECUTION AND CORRECTION
Prerequisites, containment, writable locations and new-output rule:
Exact executed argv, working directory, runtime and run identity:
Reproduction commands; distinguish recipes from captured execution:
Actual entrypoints/arguments/returns and evidence of reaching them:
Actual before/after responses and complete effects:
Calls, returns, snapshots, checks, failures and skips by counting unit:
Exit codes and the substantive result each represents:
Raw observations, profiles, reports and source/input digests:
Failure witness, implemented or proposed correction, exact diff:
Replay of the same witness and controls; actual outcome:
Any existing-state cleanup/migration required and its status:
Checks or approvals not performed:

EVIDENCE BINDING AND ADEQUACY
Evidence source and immutable run/report identities:
Recorded requirement/task/code/harness/oracle/input/config identities:
Current candidate context and comparison procedure:
Actual matching/mismatched fields and evidence-reuse decision:
Inputs the binding rule does not compare:
Runtime/environment/dependency impact assessed separately:
Timestamp role; do not substitute recency for identity:
Assertion adequacy review and unresolved expected behavior:
Bounded stale-evidence examples, observed or illustrative:
Freshness status:
Adequacy status:
Authorization status:

GATES AND AUTHORITY
Plan status and which checks were only proposed:
Actual selected execution, focused checks and full-gate meaning:
Native tool commands/results, or SOURCE-INSPECTED / UNEXECUTED:
Actual human intent validation and requirement approval:
Actor identity, delegated scope, policy revision and authority basis:
Permission to weaken the promise or acceptance criteria:
Evidence reviewer and actual acceptance owner:
Change acceptance decision and exact candidate/evidence basis:
CI workflow revision, trigger, tested revision and retained result:
Required branch checks/merge policy actually inspected:
Merge authorization:
Deployment authorization:
Release authorization:
Do not infer these decisions from command success.

OPEN WORK AND RECHECK
For each unresolved obligation:
  ID; required work; actual assignee or UNASSIGNED;
  decision blocked/limited; due point; evidence to retain;
  exception authority/expiry if applicable; recheck trigger.
Reassess changes to intent/task/source/tests/oracle/inputs,
dependencies/runtime/configuration, selected scope, CI or policy.
Record amended criteria separately; retain original failures.
Initial execution status: NOT RUN.
Initial acceptance status: NOT ASSESSED.
An unassigned role is not an accepted assignment.

Standalone filled record

AGENT-CHANGE PROMISE-PRESERVATION RECORD / FILLED

RECORD AND GOVERNING INTENT
Subject: authored quota-refactor teaching campaign.
Requirement: R-SET-QUOTA, revision 1.
Source: requirement-v1.json, separately retained from task.json.
Promise, exact requirement-v1.json text:
"apply_quota(path,subject,limit) assigns/replaces the named subject quota with the requested exact integer. Repeating the same assignment leaves that quota unchanged; other subjects retain their complete stored rows."
Authored rationale: applying desired configuration again must not
accumulate quota or prevent useful work for another subject.
Authority: NEW authored teaching intent.
Actual human/customer approval and validation: UNPERFORMED.
Actual requirement owner and amendment authority: UNASSIGNED.
No customer contract, deployed revision or payment archive supplied.

LATEST TASK AND PROVENANCE
task.json request:
"Simplify the SQL used to apply quota configuration while preserving
R-SET-QUOTA revision1."
The task grants no permission to weaken meaning or acceptance.
Source/requirement/oracle/weak-draft contribution: teaching author.
Named-model generation, real agent test deletion: NOT OBSERVED.
Execution tools: CPython, stdlib sqlite3, subprocess and profiling.
All three implementations, both evaluators and all source/input files
were fixed before the single primary campaign.
old/candidate/corrected identify teaching roles, not deployed history.
Intent conflict: candidate adds on conflict; the promise replaces.
Acceptance conflict: reply-only draft omits required state evidence.
Real-project intent recovery/validation: UNPERFORMED.
Recovery inputs for an actual adoption would include contracts,
tickets, tests/history and callers; conflicts need an assigned owner.

IDENTITIES
All values below are exact SHA256, not Git commit IDs.
requirement-v1.json: 6e39de60822f7de2af65bb0d46d90de1c28fce63b360924d74f8b24b53bfd49c
task.json: 057a4c35e0c9c38e658efbbd057bf3b57df967c19992331298cbcf8eaee7d066
CONTRACT.md: efe841f6a9280ef2c16e46477f557fff9beb1d1eaf9c59f70b0eabc1b645b64d
inputs.json: 4db0eaa1cd7480527e3833715140e0e8265dc73adda881fae74fe147f5cfde36
expected.json: 614a16bba75574eeab1b97929b0b28d8a32e2087d0c940f473663b1492c72318
storage.py: 4b9e18b9db0396fe65d1b29c49bf9a0aa35902cad0be4ddc003383ebd9f3e4c8
old.py: 7431f2309ae4260752ee20d515bc1b79d4dce449238944de2b352744496543ea
candidate.py: 3e161a47133d29a1935d1084b906332a4da2c7c11fce2239382c7bf8ed62b888
corrected.py: 2649489a72881a30465eb38a4735211a6c411b3523e141f1263544d332dc6cf3
run.py: 1ab3dd674774978d82e11ea0302bed456886067356edb9ad56bd9162e9c4593d
reproduce.py: 761ee34c2a7b1b5ecf7a6a08a02b9e83ca33b15e9782fdf6d635488dc478fb75
run.py evaluate_full function:
f031c631189850a46f842ae6fd00e49d1fe193d1273e9d6e80d6e9ef691022ba
run.py evaluate_response_only function:
9ae0fbfebb42d74ca14925e7665c8874b1c47940cb54af345190cc8d6dba18ac
old/corrected apply_quota function text, identical:
f7f5076023fe42e8c2b37a6117202a34fee9583b85c87311c0f90472a3673604
candidate apply_quota function text:
6204646e9bfe59f70f0190546bef1a42e37618cccf571f0e77fd66cf09feff21
All 11 source/input files remained unchanged through primary execution.

DIFF AND IMPACT
Complete changed hunks, with one context line:
--- old.py
+++ candidate.py
@@ -1,2 +1,2 @@
-"""Original authored replacement implementation
+"""Seeded authored refactor regression; not actual agent generation
 All source versions fixed before campaign; no historical/deployed revision claim.
@@ -9,3 +9,3 @@
         c.execute('BEGIN IMMEDIATE')
-        c.execute('INSERT INTO quotas(subject,limit_value) VALUES (?,?) ON CONFLICT(subject) DO UPDATE SET limit_value=excluded.limit_value',(subject,limit))
+        c.execute('INSERT INTO quotas(subject,limit_value) VALUES (?,?) ON CONFLICT(subject) DO UPDATE SET limit_value=quotas.limit_value+excluded.limit_value',(subject,limit))
         c.execute('COMMIT')

--- candidate.py
+++ corrected.py
@@ -1,2 +1,2 @@
-"""Seeded authored refactor regression; not actual agent generation
+"""Implemented teaching correction restores replacement semantics
 All source versions fixed before campaign; no historical/deployed revision claim.
@@ -9,3 +9,3 @@
         c.execute('BEGIN IMMEDIATE')
-        c.execute('INSERT INTO quotas(subject,limit_value) VALUES (?,?) ON CONFLICT(subject) DO UPDATE SET limit_value=quotas.limit_value+excluded.limit_value',(subject,limit))
+        c.execute('INSERT INTO quotas(subject,limit_value) VALUES (?,?) ON CONFLICT(subject) DO UPDATE SET limit_value=excluded.limit_value',(subject,limit))
         c.execute('COMMIT')
Old and corrected executable function text is identical; their role
docstrings give the full files different identities.
run.py imports each variant and directly calls its exported apply_quota.
Call path: reproduce.py -> run.py -> variant.apply_quota ->
storage.connect -> SQLite SQL -> close -> new observer connection.
Recorded profile: actual function source/file identity, arguments,
call entries and normal returns; SQL and live settings also retained.
Recorded local links are this source/call path. Native trace graph:
UNEXECUTED. Production caller/config/shared-state review: UNPERFORMED.
No production caller inventory or background-writer evidence supplied.
No branch-coverage or universal harness-equivalence claim.

DOMAIN, STORAGE AND OBSERVATION
Caller preconditions: exact nonempty ASCII str subject;
exact int limit in 1..100, excluding bool.
These are not executed validators or boundary tests.
Selected requested value: 10. Unrelated seed value: 7.
Local sequential single writer; three independent fresh file databases.
Each variant writes state.sqlite in its own captured output directory;
profile arguments retain the database basename, not the full path.
Schema: quotas(subject TEXT PRIMARY KEY,limit_value INTEGER NOT NULL).
Primary: CPython 3.14.7 / SQLite 3.53.4.
Platform: macOS-26.5-arm64-arm-64bit-Mach-O; __debug__=true.
Observed setup/call settings:
  isolation_level=None
  autocommit=LEGACY_TRANSACTION_CONTROL (-1)
  journal_mode=delete
  synchronous=2 (FULL)
  in_transaction=false at settings capture
Each operation uses explicit BEGIN IMMEDIATE and COMMIT.
After setup and every call, a new observer connection reads:
SELECT subject,limit_value FROM quotas ORDER BY subject
Observation covers every row and both declared application columns.
Restart, power loss, fsync, storage failures and concurrency: NOT TESTED.
No clock, retention, key, payment, HTTP or network contract.

PROTECTED ORIGINAL AND SEPARATE WEAK DRAFT
Original: evaluate_full, using independent literal expected.json.
Typed comparison requires exact types, dictionary keys, ordered list
lengths and values. Expected values were fixed before execution and
were not calculated from any implementation.
Original per-variant gate:
  4 full-state checks + 3 typed replies + 1 public-entry-count check.
Separate draft: evaluate_response_only, UNAPPROVED.
It removes all 4 state checks and the entry-count check, retaining
only the 3 typed-reply checks on the SAME captured implementation calls.
No additional calls execute for weak evaluation.
Requirement/test-file deletion: none observed in this authored fixture.
Scope/suppression/threshold/approval-policy amendments: none approved.
Actual permission to weaken: NOT GRANTED; authority UNASSIGNED.

EXACT INPUTS AND INDEPENDENT EXPECTATIONS
Each variant begins with exactly: [["seed",7]]
Calls in order:
  first-assignment:  apply_quota(path,"alice",10)
  repeat-assignment: apply_quota(path,"alice",10)
  distinct-subject:  apply_quota(path,"bob",10)
Expected typed replies:
  first-assignment:  {"status":"configured","subject":"alice","limit":10}
  repeat-assignment: {"status":"configured","subject":"alice","limit":10}
  distinct-subject:  {"status":"configured","subject":"bob","limit":10}
Expected complete ordered rows:
  setup:             [["seed",7]]
  first-assignment:  [["alice",10],["seed",7]]
  repeat-assignment: [["alice",10],["seed",7]]
  distinct-subject:  [["alice",10],["bob",10],["seed",7]]

ACTUAL OBSERVATIONS AND CONTROLS
Every reply in all three variants exactly matches the typed reply above.
Old and corrected complete states exactly match all four expected states.
Candidate complete states:
  setup:             [["seed",7]]
  first-assignment:  [["alice",10],["seed",7]]
  repeat-assignment: [["alice",20],["seed",7]]
  distinct-subject:  [["alice",20],["bob",10],["seed",7]]
The two failing state checks carry one earlier Alice regression.
Bob 10 and seed 7 are correct; no separate Bob defect is inferred.
Controls:
  First assignment demonstrates useful work.
  Repeat exposes accumulation under the same assignment.
  Distinct Bob with the same value 10 distinguishes subjects and useful work.
  Seed row checks preservation of unrelated declared data.
  Authored faulty candidate challenges the original checker.
  Weak draft demonstrates loss of detection on those same observations.
Old full: PASS 8/8. Candidate full: FAIL, 6/8 pass.
Corrected full: PASS 8/8. Weak draft: PASS 3/3 for each variant.
Totals: 9 public calls; 9 normal returns; 12 new-connection snapshots;
24 full checks with 2 failures; 9 weak checks;
4 separate metadata-only binding comparisons.
Child exits old/candidate/corrected: 0/1/0.
Wrapper exit: 0, recognizing the expected contrast.
Candidate exit 1 is a contract-check failure, not a crash.
Correction was implemented before the campaign and its sequence executed.
Fresh corrected databases do not clean or migrate candidate data.

COMMANDS AND RETAINED EVIDENCE
Prerequisites for replay: CPython 3.12+, standard-library sqlite3,
a writable local directory and a NEW output directory.
No Proof, solver, pip, network, account or credentials required.
From the extracted kit, portable command:
python3 -B reproduce.py --output replay-output
That recipe creates a new run; it does not replace the retained primary.
Evidence kit:
https://reqproof.com/assets/agent-silently-breaks-requirement/agent-silently-breaks-requirement-evidence-kit.zip
ZIP SHA256:
8ced560c51edde20a30aca6215d4ca8c5e4719967b97c440a7ac2c1ff7bd0579

Captured primary working directory:
/Users/buger/.codex/worktrees/verification-plan-guide/reqforge/docs/research/remaining-library-refinement-2026-10-28/12-agent-silently-breaks-requirement/research/fixture
Captured primary argv, verbatim:
[
  "/opt/homebrew/opt/python@3.14/bin/python3.14",
  "/Users/buger/.codex/worktrees/verification-plan-guide/reqforge/docs/research/remaining-library-refinement-2026-10-28/12-agent-silently-breaks-requirement/research/fixture/reproduce.py",
  "--output",
  "/Users/buger/.codex/worktrees/verification-plan-guide/reqforge/docs/research/remaining-library-refinement-2026-10-28/12-agent-silently-breaks-requirement/research/captured/primary"
]
Original command and individual child argv are retained in:
  captured/primary-command.json
  captured/primary/summary.json
Primary command interval, UTC:
2026-10-29T01:48:25.944874+00:00 to 2026-10-29T01:48:26.156562+00:00
Portable evidence root:
https://reqproof.com/assets/agent-silently-breaks-requirement/research-rerun/
Resolve the following paths relative to that root:
  requirement-v1.json; task.json; CONTRACT.md; inputs.json; expected.json
  old.py; candidate.py; corrected.py; storage.py; run.py; reproduce.py
  PRE-EXECUTION-INPUTS.json; PROVENANCE.json; EXECUTION-REVIEW.json
  captured/primary/summary.json
  captured/primary/binding-comparisons.json
  captured/primary/old/observations.json
  captured/primary/candidate/observations.json
  captured/primary/corrected/observations.json
Each variant directory also contains profile.jsonl, report.json
and evidence-records.json.
Primary summary SHA256:
77d488730fc9131881ea26fd09da09290c7b101ea7a623ce1fee1d322ac11b65
Binding-comparisons SHA256:
65bae48c654e54856e6d19354f5ade57aae34a9f3693550cf562ce59d8dce519
Portable MANIFEST.json SHA256:
e960f4fd21eaa75123c0e1917062dcee581e8ab6938a291e30ee95ad4a75a585
Original database binaries remain internal; public text observations
are complete for the declared table and replay creates fresh databases.
The separately identified CPython 3.12.14 / SQLite 3.53.1 replay is
separate review provenance, excluded from primary counts and identities.

ACTUAL BINDING RULE AND CURRENTNESS
reproduce.py compare_binding compares exactly these 8 fields:
  requirement_sha256 = requirement-v1.json identity above
  task_sha256 = task.json identity above
  implementation_sha256 = relevant old/candidate/corrected file identity
  storage_helper_sha256 = storage.py identity above
  inputs_sha256 = inputs.json identity above
  literal_oracle_sha256 = expected.json identity above
  harness_sha256 = run.py identity above
  acceptance_bar_sha256 = relevant evaluator-function identity above
Original-full contexts use evaluate_full; weak contexts use
evaluate_response_only. No aggregate context digest is claimed.
Timestamps are ignored. Runtime, platform, database bytes and
unrecorded dependencies are NOT compared by this rule.
Recorded results:
  Old full / old full context: MATCH.
  Old full PASS / candidate full context: STALE, mismatch only
    implementation_sha256; the requirement remains unchanged.
  Candidate weak / candidate weak context: MATCH, still inadequate
    and unapproved.
  Corrected full / corrected full context: MATCH.
Mismatch does not falsify the old run. Matching declared fingerprints
does not establish adequate assertions, complete dependencies or authority.
Whole-file hashing is deliberately conservative: differing role
docstrings give old/corrected different file hashes despite identical
function text. This is not native Proof semantic fingerprint behavior.
Observed stale example: old PASS reused for this changed candidate.
Illustrative, UNPERFORMED recheck: changing runtime or adding a shared
writer could matter without changing these 8 fields.
Freshness: the four comparisons above, for their declared contexts only.
Adequacy: full checks distinguish the selected regression; weak checks
do not. Whole-domain and actual-project adequacy remain unassessed.
Authorization: no project intent or acceptance authority established.

GATES AND SEPARATE DECISIONS
Local full gate means the 8 declared checks, not a production suite.
Native Proof commands below: SOURCE-INSPECTED, UNEXECUTED.
SYS-REQ-042 is an example selector, not an imported R-SET-QUOTA record.
proof review req SYS-REQ-042 --gate
proof review req SYS-REQ-042 --gate --run
proof review req SYS-REQ-042 --gate --run --full
Plan: gathers context and plans runtime stages.
Run: executes selected affected-test commands and focused audit.
Full: requires --run and adds the full audit, not automatically all tests.
Review-gate audit pins --fail-level warn: errors exit 1; otherwise
warnings exit 2; nonzero child results block the gate.
Planning WARN for unexecuted runtime is a different result.
Actual intent validation: UNPERFORMED.
Actual requirement approval: UNPERFORMED.
Actual agent identity/delegation policy: NOT ASSESSED.
Permission to weaken: UNPERFORMED; no authorization recorded.
Actual acceptance owner: UNASSIGNED.
Actual project evidence reviewer: UNASSIGNED.
Actual project evidence review: UNPERFORMED.
Native Change acceptance: NOT ASSESSED.
CI execution and candidate-bound required-check result: UNPERFORMED.
Branch protection/merge-policy inspection: NOT ASSESSED.
Merge authorization: NOT ASSESSED.
Deployment authorization: NOT ASSESSED.
Release authorization: NOT ASSESSED.
Technical disposition: candidate violates the authored promise;
correction supports the selected sequence. No real-project acceptance.

OPEN OBLIGATIONS AND RECHECK TRIGGERS
All roles below are proposed assignments; actual assignees UNASSIGNED.
Intent owner: validate source, applicability and meaning before adopting
this as a real requirement; unresolved intent prevents approved-intent claims.
Verification owner: assess additional values, changed assignments and
required boundaries/failure behavior before claiming broader support.
Interface owner: review actual callers, configuration and shared writers;
missing impact limits reuse of the selected local evidence.
Repository maintainer: inspect CI events, tested revisions, required checks
and amendment permissions before claiming merge enforcement.
Data owner: if candidate-written data exists in an actual project, define
and verify recovery; this campaign supplies no such cleanup evidence.
Decision owner: record requirement amendment/evidence/Change decisions
under actual policy; obtain merge, deployment and release decisions separately.
Due point: before the corresponding real-project claim or action.
No approved exceptions, suppressions or expiry decisions are recorded.
Recheck on requirement/task, source, harness, oracle, input, acceptance,
dependency/runtime/storage/configuration, scope, CI or authority-policy change.
Assess which obligations changed; retain failures and original run identities.

03 / An observed failure and an implemented correction

A simpler-looking assignment changes the older promise

The requirement and later task are separate files. The task requests SQL simplification while preserving replacement behavior. Both are authored teaching artifacts; actual intent approval is unperformed.

The old, candidate and corrected implementations were all fixed before execution. The substantive old-to-candidate edit is:

- limit_value=excluded.limit_value
+ limit_value=quotas.limit_value+excluded.limit_value

The correction restores the first expression. SQLite's UPSERT documentation explains why the difference matters: the existing column supplies its prior value, while excluded.limit_value supplies the attempted new value. The candidate adds them on conflict.

Exercise the actual function and inspect its effects

The harness imports each implementation and directly calls apply_quota(path,subject,limit). Each variant gets a fresh database containing only [["seed",7]], followed by the same three calls. Exact nonempty ASCII subjects and exact integers from 1 through 100, excluding bool, are caller preconditions. Only requested value 10 and seed value 7 were exercised.

The literal oracle existed before the run. It fixes typed replies and every ordered row in quotas(subject,limit_value).

Phase / Independent expected rows; also observed old/corrected rows / Observed candidate rows
Phase Independent expected rows; also observed old/corrected rows Observed candidate rows
Setup [["seed",7]] [["seed",7]]
Alice 10 [["alice",10],["seed",7]] [["alice",10],["seed",7]]
Alice 10 again [["alice",10],["seed",7]] [["alice",20],["seed",7]]
Bob 10 [["alice",10],["bob",10],["seed",7]] [["alice",20],["bob",10],["seed",7]]

All replies match their literal expectations. In particular, the candidate's repeated Alice call returns {"status":"configured","subject":"alice","limit":10} while storing 20. The final state still contains that earlier Alice error; Bob 10 and seed 7 are correct. Two failed state checks expose one carried-forward regression.

Each state is read through a new observer connection after setup or a completed call. The actual primary runtime was CPython 3.14.7 with SQLite 3.53.4, using explicit BEGIN IMMEDIATE/COMMIT, isolation_level=None, legacy transaction control, DELETE journaling and synchronous FULL. Captured settings and SQL establish those settings; Python's transaction-control documentation explains the explicit-SQL mechanism. These observations do not test restart, power loss or concurrent writers.

Keep the original and weakened acceptance results separate

Source variant / Original full gate / Unapproved reply-only draft / Child exit
Source variant Original full gate Unapproved reply-only draft Child exit
Old replacement PASS 8/8 PASS 3/3 0
Faulty candidate FAIL; 6/8 passed PASS 3/3 1
Corrected replacement PASS 8/8 PASS 3/3 0

The original evaluator checks four complete states, three typed replies and the actual entry count. The separately authored weak draft removes all state checks and the entry-count check. Both evaluate the same captured calls. No agent was observed deleting a test, and no additional quota calls produced the weak result. Actual reports.

The corrected sequence supplies selected restoration evidence. Its fresh database does not repair candidate-written data, and passing these values does not establish the entire admitted domain.

Ask whether the passing record belongs to this candidate

The four executed local binding comparisons provide a second contrast:

Record compared with supplied context / Result / Interpretation
Record compared with supplied context Result Interpretation
Old full record / old context Match The declared old basis matches.
Old full PASS / candidate full context Stale on implementation SHA256 only The old run does not describe the candidate.
Candidate weak record / its weak context Match Current under this rule, but inadequate and unapproved.
Corrected full record / corrected context Match Selected correction evidence, with authority still open.

The rule compares eight declared hashes and ignores timestamps. Environment and missing dependencies need separate assessment. A mismatch does not falsify an old observation. A match cannot establish that the assertion asks the right question. This conservative whole-file rule is local teaching code, not native Proof freshness behavior.

Inspect the observations · Download the runnable evidence kit · Check its SHA256

From the extracted kit, with CPython 3.12+, stdlib sqlite3 and a writable local directory, use a new output directory:

python3 -B reproduce.py --output replay-output

No Proof, solver, pip, network, account or credentials are required. Wrapper exit 0 recognizes the expected old/candidate/corrected contrast, including candidate failure; it does not accept the candidate. Preserve a new replay's environment and outputs separately from the retained primary command.

Follow the older promise through the change

Download the complete video transcript.

Read the complete video transcript

Start with the older promise. In this authored teaching example, a separate requirement says that applying a quota replaces the subject's value, preserves other rows and stays unchanged on repetition. The later task asks for SQL simplification without changing that promise. Actual customer intent approval has not been performed.

Inspect the candidate and the checks together. The candidate adds the existing quota to the requested value on conflict. Its reply still reports the requested value. The original checker examines complete stored rows as well as typed replies. A separately authored reply-only draft removes the state checks and the entry-count check.

Use expectations that are independent of the implementation. Each variant starts with one seed row, then receives Alice ten, Alice ten again and Bob ten. The expected replies and complete ordered rows were written before execution. New observer connections inspect committed state after setup and each call, within this local sequential example.

The repeated Alice call exposes the failure. The candidate replies ten but stores twenty. The later Bob call leaves that earlier Alice error visible while correctly adding Bob. The restored replacement passes the original checks on a fresh database. The weaker draft passes all three variants using the same captured calls.

Check whether a passing record belongs to the candidate. The executed local comparison marks the old passing record stale because the implementation identity changed. The weak candidate record matches its own context but remains inadequate and unapproved. These hash comparisons ignore timestamps and do not discover missing dependencies or validate intent.

Finish with an accountable decision. Copy the free record, inspect the retained evidence and reproduce the selected sequence if useful. For a real change, assign the unresolved intent, impact and acceptance decisions. Keep any proposed amendment visible. Check repository enforcement separately, and obtain the applicable merge, deployment and release authorizations.

Read the text walkthrough

1. Keep the older promise

Start with the older promise. In this authored teaching example, a separate requirement says that applying a quota replaces the subject's value, preserves other rows and stays unchanged on repetition. The later task asks for SQL simplification without changing that promise. Actual customer intent approval has not been performed.

2. Inspect code and changed checks

Inspect the candidate and the checks together. The candidate adds the existing quota to the requested value on conflict. Its reply still reports the requested value. The original checker examines complete stored rows as well as typed replies. A separately authored reply-only draft removes the state checks and the entry-count check.

3. Use independent expectations

Use expectations that are independent of the implementation. Each variant starts with one seed row, then receives Alice ten, Alice ten again and Bob ten. The expected replies and complete ordered rows were written before execution. New observer connections inspect committed state after setup and each call, within this local sequential example.

4. Keep the failure and restoration

The repeated Alice call exposes the failure. The candidate replies ten but stores twenty. The later Bob call leaves that earlier Alice error visible while correctly adding Bob. The restored replacement passes the original checks on a fresh database. The weaker draft passes all three variants using the same captured calls.

5. Bind evidence to the candidate

Check whether a passing record belongs to the candidate. The executed local comparison marks the old passing record stale because the implementation identity changed. The weak candidate record matches its own context but remains inadequate and unapproved. These hash comparisons ignore timestamps and do not discover missing dependencies or validate intent.

6. Assign the decision

Finish with an accountable decision. Copy the free record, inspect the retained evidence and reproduce the selected sequence if useful. For a real change, assign the unresolved intent, impact and acceptance decisions. Keep any proposed amendment visible. Check repository enforcement separately, and obtain the applicable merge, deployment and release authorizations.

04 / The working method

How to review an agent change against an older promise

1. Establish what still governs

Retain the requirement's identity, source, revision, rationale and applicability. Record actual approval and amendment authority. Compare the latest task with that basis. If intent must be recovered, preserve competing interpretations and assign the unresolved decision before calling one interpretation approved.

2. Inspect the change's reach

Read the implementation diff and its recorded requirement, caller and test links. Then investigate relevant unrecorded callers, shared state, background work and configuration. Record what was examined and what remains unknown. An unchanged requirement file does not mean its implementation is unaffected.

3. Protect the original acceptance criteria

Review requirement edits, deleted tests, removed assertions, narrowed domains, exemptions, suppressions, thresholds and approval-policy edits alongside the code. Keep a proposed weaker criterion separately identifiable. Require its own authorized disposition; implementation permission alone does not settle it.

4. Define independent effects and useful controls

Write the expected responses and all declared effects before using the candidate's results. Include unaffected state and the completion point. Select controls that demonstrate useful work, distinguish relevant identities and expose the suspected failure. Record preconditions separately from behavior the check actually validates.

5. Execute, preserve failure and replay the correction

Identify the exact candidate, harness, inputs, oracle and effective environment. Reach the real entrypoint and retain raw observations. On failure, keep the witness, correction diff and the same witness's replay. Record wider missing checks and any existing-state repair separately.

6. Bind the evidence and obtain the decision

Compare the run's declared basis with the candidate under review. Assess environment and dependency changes outside that comparison. Review assertion adequacy, unresolved obligations and amendment authority separately. The responsible authority then records the permitted change and conditions; CI enforcement, merge, deployment and release need their own applicable decisions.

05 / Acceptance checklist

What must be visible before a decision?

  • The older requirement has an identity, source, revision, rationale and explicit authority status.
  • The later task's permission and any conflict with that promise are recorded.
  • The exact patch includes requirement, test, configuration and policy changes.
  • Recorded impact and the remaining caller, shared-state and configuration review are distinguished.
  • Independent expectations cover replies, declared effects and unaffected data at defined observation points.
  • Useful work, relevant distinctions and the failure witness are exercised through the real interface.
  • Original and proposed acceptance criteria remain separately inspectable.
  • Failure, correction and replay are tied to exact sources and retained observations.
  • Currentness, assertion adequacy and authorization each have a disposition.
  • Open obligations have actual assignees, decision consequences and recheck triggers; CI, Change, merge and release decisions are explicit.

An unchecked item becomes an obligation or an authorized exception, not an assumed pass.

06 / Mistakes and repairs

Where preservation reviews go wrong

Mistake / Repair
Mistake Repair
Recording only final state when the promise constrains intermediate effects Capture the contract-relevant milestones; a later restoration can conceal an earlier forbidden effect.
Letting the harness turn an execution error into a plausible return Distinguish implementation exceptions, normal returns and harness failures. Retain evidence of reaching the real entrypoint.
Replacing the failed report after a successful correction Keep both records and their source identities, linking the failure to its correction and replay.
Assigning an obligation to “QA” without an accepted owner Name the responsible person or accountable queue, the decision consequence and the due point.

07 / Use Proof for the same promise

Keep the requirement in view through Proof review

In a Proof project, select the older requirement explicitly and review its authored state, traces, impact and available evidence alongside the implementation and acceptance changes. Recorded trace impact helps organize the review. It does not discover every unrecorded caller, runtime configuration or shared-state interaction. The source locations supporting this workflow are in the source register.

The following commands are source-inspected and UNEXECUTED here. SYS-REQ-042 is an example selector, not an imported quota requirement.

Command / Supported meaning
Command Supported meaning
proof review req SYS-REQ-042 --gate Builds review context and runtime plans. A planning WARN or requiresrun condition is not executed evidence.
proof review req SYS-REQ-042 --gate --run Executes selected affected-test commands and a focused audit. A focused PASS can still require the full audit.
proof review req SYS-REQ-042 --gate --run --full Requires --run and adds the full audit. It does not automatically execute a full repository test suite.

Check selection before trusting a result. Default review-pr selection follows changed requirement files and can produce no requirement rows for a code-only patch. Select the governing requirement deliberately. No selected work does not establish no affected promise.

Read thresholds literally. The review gate pins audit arguments to --fail-level warn: reported errors produce audit exit 1; otherwise warnings produce exit 2. Nonzero child commands block the gate. Standalone audit has a configurable default; it does not change that explicit review-gate flag. Planning WARN is a separate result.

Evaluate the evidence itself. Proof's inspected authored-delta review-currentness check uses semantic fingerprints and relevant recorded dependencies, subject to its scope and eligibility rules. The quota kit's conservative whole-file comparison is a different rule. Neither a matching fingerprint nor a passing source/reference/grounding check establishes meaningful assertions, complete dependency discovery or approved intent.

Record authority separately. Applicable policy may delegate particular decisions to particular actors. An implementation task supplies no implicit authority to weaken a requirement. A passing approval check with approvals disabled does not establish human validation. Native Change acceptance requires a current package, authenticated adequate authority, approved policy and acceptable readiness. The inspected reqproof-ci.yml is workflow_dispatch only; external branch protection and required checks were not queried. CLI success does not configure merge protection or authorize merge, deployment or release.

08 / Choose a method for the decision

Which workflow fits the evidence you need?

Need / Useful choice / Decision boundary
Need Useful choice Decision boundary
Preserve meaning across conversations and contributors A versioned requirement and change record with named amendment authority History preserves what was written; it does not validate the promise.
Expose a specific semantic regression A direct implementation harness with independent literal responses and complete declared effects The quota campaign supports its selected sequence and settings. Broader claims need additional justified cases or methods.
Organize recorded requirements, impact and evidence Proof's requirement review and appropriately selected execution Inspect selection, freshness scope and assertion quality. Add review for missing runtime relationships.
Make a repository enforce a review decision An inspected CI workflow, required-check configuration and applicable approval policy Confirm the exact tested revision, triggers, permissions and branch rules. A local command is insufficient.

For security-relevant work, NIST SSDF 1.1 provides a method basis: PS.1 includes illustrative accountable history and code-owner review practices; PW.7 addresses policy-selected review/analysis and recording issues and remediation. Its practices are security-scoped and risk-tailored. Preserving this business promise, reviewing changed acceptance criteria and binding a run to a candidate are engineering applications, not an exact NIST worksheet, universal branch rule or certification claim.

09 / Sources and reproducibility

Inspect the basis and reproduce the bounded result

Public implementation and execution evidence

The portable manifest, checksums and provenance identify the supplied source and text evidence. Begin with the contract, pre-execution identities, literal oracle and captured command. Then compare observations, profiles, reports and binding results. A link by itself is not evidence of execution.

The ZIP is 49,945 bytes with 41 safe regular members. Its SHA256 is:

8ced560c51edde20a30aca6215d4ca8c5e4719967b97c440a7ac2c1ff7bd0579

The full source and runtime identities, exact primary argv and portable replay command are in the filled record. Replay into a new directory and retain its own environment and outputs. Original database binaries are internal; the public text records contain the complete declared table observations and the kit reconstructs fresh databases. No binary database download is promised.

The primary evidence is CPython 3.14.7 / SQLite 3.53.4. A separately identified CPython 3.12.14 / SQLite 3.53.1 extracted-kit replay is review provenance, not part of those primary counts or a runtime-matrix claim.

Official method and implementation references

  • NIST publication status, SSDF 1.1 final record and SSDF 1.2 initial public draft record: version 1.1 is Final, released 3 February 2022; version 1.2 is an Initial Public Draft, released 17 December 2025. No draft finality or migration deadline is inferred.
  • NIST SP 800-218 final PDF: inspected introduction/tailoring and illustrative-example distinctions, PS.1/PS.1.1 on printed page 9, and PW.7.1–7.2 on pages 14–15. This is a targeted read, not a full-document or linked-standards assessment; draft provisions were not reviewed.
  • Python 3.14 sqlite3 transaction control: explains connection, autocommit, isolation-level and legacy-control behavior. Captured runtime evidence supplies the actual settings.
  • SQLite UPSERT: explains existing-row and excluded values in the conflict update. It explains the edit's mechanism; it does not establish an execution result or storage-failure guarantee.

Proof source locators

These exact file identities and inspected regions support the product distinctions above. They identify source inspection, not captured native CLI or CI execution. Line ranges delimit the inspected regions; they do not claim full-file review.

Repository-relative file | full-file SHA256 | inspected lines

Review stages and audit thresholds
cmd/proof/review.go
  SHA256 692161f897ee46ca4cddfb036582570a02c807b8c260175706774cec7749ab83; lines 30-105
cmd/proof/review_gate.go
  SHA256 b53a66dd5c1889f4872de74f05524e0056f9688b9096eb50e81f91f3c0251d91; lines 190-258, 279-385, 431-480, 974-1038, 631-661, 695-715
cmd/proof/audit.go
  SHA256 fb5283e5d7911c80bbca46860156e8f1f907655633574842d7fbd9326a097f90; lines 156-170, 1222-1269, 412-426

Default requirement selection
cmd/proof/review_pr.go
  SHA256 268d6b38b0f4077a3f62affc015b18d1c867b4c86000533acd73becb1edb0db5; lines 30-95
pkg/reviewpr/reviewpr.go
  SHA256 2eb9be24067d05c30858cbb0afb482b16c579c3b968052418aca63daa7cf58f1; lines 302-350, 455-485

Scoped currentness and recorded impact
pkg/workflow/workflow_authored_delta.go
  SHA256 5fbd467f1fe282f0c6cd8ace0ccb68a5b6ba6631ba0810b7988c8a4879229922; lines 20-45, 385-423, 550-627, 1000-1185
pkg/impactreview/review.go
  SHA256 58bf09d8edc90d18cfa5ca8e0bd44321db57f391d026baad713a37e1d238e78c; lines 445-590

Evidence grounding
pkg/workflow/workflow_obligation_witness_grounded.go
  SHA256 8fda2f867100681877d850c6a70f00a0abfd40af10e55ff0a27e9b8617779307; lines 350-460

Authority, Change acceptance and CI
pkg/model/may_decide.go
  SHA256 f1d4f17ef78b59b512b9594462f125a55d33c3d23d9d81c6594e2b0495e08930; lines 1-155
pkg/workflow/workflow_approval_checks.go
  SHA256 2379b8ffad030091f2316d879e3e1b088f6f98d36b8463169e2d3a880dd1682e; lines 29-101, 104-155, 185-236
pkg/evidencepkg/change_decision.go
  SHA256 a969e3b27c11ad8ca0fba0afc35316d028662f75e1dad12ba7d0b08c606cce76; lines 285-446
.github/workflows/reqproof-ci.yml
  SHA256 1cc8c9aedd7fbd566d88afe6e790b087d4833aa294b18ad5d2e45fb88f4a0429; lines 1-25

Supported intake route
website/demo.html
  SHA256 902a9dc2a5f71745d1047ccbc160848510e53fc6e2d43f90ebd597e26d5cbc26; lines 155-161, 181-190
website/assets/engagement-intake.js
  SHA256 72df4637e1adc355fbabecb70b80f2ec0e41c89855deef941bd3314dde23472f; lines 1-27

10 / Two further decisions

Apply the record to different failure modes

An unrecorded writer can invalidate reuse without changing the function

Proposed example; UNPERFORMED. Suppose a new scheduled job can write the same quota table. The eight-field teaching comparison could still match because it does not include that job or its scheduling configuration. Record the missing dependency, define permitted interactions and select relevant evidence before reusing the local single-writer result. No particular race or concurrent outcome is established here.

An unchanged requirement can be paired with a changed approval policy

Proposed example; UNPERFORMED. Suppose a patch keeps the promise and tests but changes who may approve exceptions, or stops a required CI job from running. Separate that policy change from the implementation request. Identify who may authorize it, inspect the effective workflow and required checks, and retain the decision. A passing implementation check cannot approve the new exception authority.

11 / Questions that remain

Frequently asked questions

What if the older requirement was never approved?

Keep its source and candidate interpretation, but mark approval unperformed. Tests can expose consequences while an authorized person resolves intent. Do not label a recovered expectation customer-approved merely because it matches old behavior.

Can the requirement legitimately change?

Yes. Preserve the original, write a separately identifiable amendment, explain the effects on callers and acceptance criteria, and obtain the authority required by the actual policy. Evaluate the implementation against the approved revision while retaining evidence of what changed.

Does every comment edit make passing evidence stale?

Not under every rule. The teaching comparator hashes entire files, so its role docstrings matter even when function text is identical. Proof's inspected Go behavior fingerprints handle ordinary comments and formatting differently while retaining significant compiler/trace annotations. Apply the actual language, scope and fingerprint policy; do not generalize either rule to all repositories.

May an agent approve a requirement change?

Only if the actual authorization policy delegates that decision to the authenticated actor for the relevant scope. The implementation request alone is insufficient. This campaign contains no such delegation or approval record.