The expected result is a rejection with the original label still stored. The faulty candidate returns that rejection after committing beta's replacement. Once the operation connection closes, a fresh connection reads every ordered document row and finds the changed label. The reply is correct; the forbidden stored change is the audit finding.

This is a direct Python call with supplied tenant and correlation strings, not an authenticated session or an actual HTTP request. The status-like reply is a Python dictionary. Its request_id is the supplied correlation input audit07-other, not an HTTP header or idempotency guarantee. Rows below have columns [document ID, owning tenant, label].

Beta's attempted update of alpha's document / Literal expectation / Captured candidate result
Beta's attempted update of alpha's document Literal expectation Captured candidate result
Whole rejection response to beta {"status":403,"error":"forbidden","request_id":"audit07-other"} {"status":403,"error":"forbidden","request_id":"audit07-other"}
Complete ordered rows: preserve the original label [[1,"alpha","quarterly"]] [[1,"alpha","revised"]]
Combined response/state case Rejection and unchanged rows must both hold. Failed: beta changed alpha's document despite rejection.

This observation belongs to the retained October 28 teaching campaign. It does not demonstrate a deployed access-control boundary or a complete authorization assessment. Inspect the raw candidate capture.

01 / Define the audit

Bound the question before collecting findings

Correctness is relative to an intended behavior and a stated domain. Name the component, current source or build, consequential behavior, relevant conditions and authority for the expectation. If the only available description is what the implementation currently does, include requirements recovery and owner review in scope. Implementation behavior cannot approve itself.

An audit is useful when an engineering lead needs an evidence-based decision about a risky change, a retained failure or a component with uncertain obligations. Include build and access feasibility: missing fixtures, unavailable integrations and an unreproducible environment restrict the conclusions that can be reached.

Work / Its contribution to this handoff
Work Its contribution to this handoff
Code review Examines the implementation and possible faults; records what still needs execution or other evidence.
Testing Observes selected behavior against an oracle: independently justified rules or expected values used to judge responses and stored effects. Its domain and observation boundary limit the claim.
Formal analysis Can support a stated property under explicit assumptions; model results need a justified connection to the implementation.
Correctness audit Organizes the agreed intent, risks, evidence and dispositions into an inspectable decision case.
Security assessment or migration review Adds its own scoped obligations when requested. This example does not constitute either complete assessment.

The six records below are an engineering handoff structure, not six mandatory standards artifacts. For a security-scoped finding, NIST SSDF 1.1 supports recording review findings, testing and remediation decisions. It does not certify general correctness or prescribe this worksheet.

02 / Keep a usable scope and case record

The complete free audit worksheet

Copy this record into your own repository or document. It works without Proof, an account or JavaScript. Complete the scope first; repeat the case fields for each selected obligation. Use explicit unknowns instead of silently treating missing evidence as a pass.

CORRECTNESS AUDIT: SCOPE AND CASE HANDOFF
Record ID / revision / date:
Decision this audit must support:
Scope owner / intent owner / evidence reviewer:
Initial evidence status: NOT RUN
Initial acceptance status: NOT ASSESSED

1. INTENT RECORD
Requirement ID and exact text:
Authoritative source, revision or digest, and location:
Approval state, approving person/authority, date and evidence:
Unresolved intent questions; owner and decision needed:
Included component, behavior, input/state domain and conditions:
Excluded behavior and rationale:
Component/build/revision or source digests:
Real entry point, caller and dependency path:
Build/setup instructions, fixtures and operating assumptions:
Required access; access granted; unavailable dependencies:
Build/execution feasibility limits and their effect on conclusions:

2. IMPACT AND RISK MAP
Requirement -> affected code/dependency -> risk -> evidence case:
Failure consequence and why this risk is in scope:
Other affected requirements, callers and state/effects:
Known mapping gaps; consequence; owner and resolution action:
Coverage boundary and selected broader protection, if any:

3. EVIDENCE PLAN (repeat per case)
Case ID / requirement revision / risk mapping:
Input and independent starting state:
Literal expected response, including relevant types/keys/values:
Literal expected stored effects; other relevant effects if in scope:
Independent oracle source/revision and approval state:
Permitted variation and authority; observations that must remain:
Actual callable/build, adapter and invocation path:
Observation point, complete observed population and exclusions:
Method, test/procedure ID, setup and completion rule:
Positive control for required successful behavior:
Known fault or inadequate-repair control; expected rejection:
Executor/reviewer and required access/environment:
Required raw artifacts and evidence retention location:

4. EXECUTION RECORD
Evidence class: ARCHIVED / FRESH EXECUTION / PROPOSED / UNPERFORMED
Run identity, times, working directory and exact command:
Implementation, harness, oracle and input identities/digests:
Actual interpreter/tool/database versions and runtime settings:
Actual entry/argument evidence and observation capture path:
Raw stdout/stderr, report, effect observations and integrity records:
Required cases / variants / actual invocations / usable observations:
Historical counts and units, kept separate from this run:
Actual response/effects against each independent expectation:
Exit codes and their defined meaning:
Failed, skipped, invalid, blocked or unperformed work and reasons:
Observation limits and consequences for the audit decision:

5. DECISION RECORD
Finding ID and state: ALLEGED / REPRODUCED / NOT REPRODUCED /
  FIXED INSTANCE REVERIFIED / SELECTED BROADER PROTECTION SUPPORTED
Allegation or claim, distinct from observed evidence:
Concrete witness: input/state, expected/actual, implementation identity:
Cause supported by source and execution evidence:
Implemented correction and exact source/build identity, or NOT IMPLEMENTED:
Same-case replay evidence; required-success and repair-sensitivity results:
Finding disposition, evidence basis and exact supported scope:
Broader selected checks and evidence; remaining mapping/coverage gaps:
Unresolved questions, exclusions and exceptions:
For each exception: rationale, authority, scope, expiry and revisit trigger:
Implementation route: TEAM DEVELOPMENT / AGREED IMPLEMENTATION ENGAGEMENT
Actual implementer and assignment/agreement reference:
Evidence reviewer, assessment and authority:
Authorized acceptance owner; requested decision; decision and evidence:
Merge owner/decision and deployment owner/decision, recorded separately:
No acceptance, merge or deployment is inferred from a passing check.

6. REUSABLE CHECKS AND NEXT ACTIONS
Retained witness, contract, oracle, runner and regression entry point:
Locations of source, raw evidence and integrity manifest:
Changes that invalidate or require review of this evidence:
  intent/approval, code/call path, oracle/harness, dependencies,
  runtime/configuration, observation boundary, domain or scope
Freshness reviewer; reuse rationale or required renewed work:
Next action -> named owner -> due date or explicit trigger -> evidence needed:
Handoff recipient and remaining decision:

The filled record demonstrates all six categories. The downloadable evidence kit also includes a filled JSON handoff; the complete blank worksheet is here, selectable inline.

03 / Inspect a failure and its correction

A worked audit handoff: the denied update that committed

Technical history and oracle basis

The retained EX-TENANT-1 requirement says: “A tenant may update its own document label. A request from another tenant receives 403 and must leave all stored document rows unchanged.” Its authority is a fictional service owner.

The October 3 report records two tenant cases and four calls, plus a separate twelve-assertion token exercise. The October 27 migration rerun retains the same two-case/four-call migration scope. Neither executed a repair. The original twelve public files, their ten-member ZIP and the migration companion remain unchanged.

The separate October 28 audit campaign runs the two selected cases through four callable variants, producing eight profiled top-level handler entries. It adds a new teaching correction and a deliberately inadequate repair control. Its literal oracle adds exact whole-response key, type, error and request-ID assertions to the unchanged status/state promise. These are newly authored teaching expectations, not real owner approval or assertions retroactively attributed to the archived runner.

Connect the observation to actual code

The retained old_api and candidate_api are two functions in the same migration.py, copied byte-for-byte from the archive, not two measured Git revisions. The old function checks ownership before writing. The candidate updates and commits first, then checks ownership and returns a rejection for the foreign tenant. That ordering explains the exhibit's correct response and incorrect committed rows.

The newly authored, actually executed correction in implementations.py is:

def fixed_api(connection, tenant, label, request_id):
    """Enforce the retained selected-case promise before writing; not concurrency proof."""
    owner = connection.execute('SELECT tenant FROM documents WHERE id = 1').fetchone()[0]
    if owner != tenant:
        return {'status': 403, 'error': 'forbidden', 'request_id': request_id}
    connection.execute('UPDATE documents SET label = ? WHERE id = 1', (label,))
    connection.commit()
    return {'status': 200, 'label': label, 'request_id': request_id}

This is a sequential teaching correction. It does not establish atomic isolation under concurrent ownership changes. The separate reject_all_no_write control simply denies both calls: it preserves the foreign case but fails required owner success.

The harness invokes each actual callable once per case. Each call starts in its own new database file containing the same one-document state; no case prepares another's state. It retains code-object entry events, supplied arguments, source/function identities and SQL traces. After closing the operation connection, a fresh connection executes SELECT id,tenant,label FROM documents ORDER BY id. The observed primary defaults are legacy autocommit=-1 and isolation_level=""; write paths explicitly commit. These observations concern committed effects under ordinary execution, not crash or power-loss recovery.

Callable / Status-only cases met / Whole-response/state cases met / Expected / actual child exit
Callable Status-only cases met Whole-response/state cases met Expected / actual child exit
migration.old_api 2/2 2/2 0 / 0
migration.candidate_api 2/2 1/2 1 / 1
implementations.fixed_api 2/2 2/2 0 / 0
implementations.reject_all_no_write 1/2 1/2 1 / 1

Both comparison methods reuse the same eight actual calls. The candidate also matches both complete expected responses; its foreign stored rows are the failing observation. Wrapper exit zero means these expected contrasts reproduced, not that the faulty variants were accepted. Inspect the captured summary.

Reproduce the evidence

The retained primary capture used CPython 3.14.7 and SQLite 3.53.4. The CPython 3.12+ prerequisite below is not a tested-version matrix.

Download the actual evidence kit, compare its SHA-256 checksum, inspect the README, and extract the complete archive. From its root, use normal CPython 3.12+ with standard-library SQLite:

python3 -B reproduce.py --output /tmp/audit-handoff-new-run

The output directory must not exist. Do not use -O. No account, network, Proof, Git or pip is needed. Preserve your new output and actual runtime separately from the captured primary campaign. The wrapper writes raw child stdout/stderr and summary.json; inspect structured results as well as exits.

Filled scope and case handoff

This selectable record expands the JSON handoff into the worksheet's fields. Its roles remain fictional and its real acceptance decisions remain unperformed.

A Proof Change is a retained project record describing why behavior changes, the affected requirements, responsibility, readiness policy and history. It is separate from the patch or commit and from an acceptance decision. Supporting evidence sits on the named requirements and their impact review. See the Change definition and evidence and acceptance boundaries.

CORRECTNESS AUDIT: FILLED TEACHING HANDOFF
Record: TEACHING-AUDIT-1
Source handoff: audit-handoff.json, expanded below; SHA-256
  88afe1d49faac80b8ce7a449be3833f45fcc2c1082e76370eb1027eb97af7b6b
Purpose: inspect the retained denied-write defect, a new selected repair,
  and the ownership and evidence needed for a real audit handoff.
Scope owner: fictional service owner; actual engineering lead UNASSIGNED.
Public file base:
  https://reqproof.com/assets/software-correctness-audit/research-rerun/
Paths below are relative to the extracted kit root and this public base.

1. INTENT RECORD
Requirement: EX-TENANT-1
Text: A tenant may update its own document label. A request from another
  tenant receives 403 and must leave all stored document rows unchanged.
Source/revision identity: requirements.json, migration entry, SHA-256
  1d7ecab27348d0a934dbb2cfaeab95f6510e07b0c9c0c0cb0c5adfc188589cba
Authority: fictional service owner; real approval UNPERFORMED.
Approval date/reference: no real approval supplied.
Supplement: expected.json supplies newly authored exact response shapes,
  types, error text and request IDs; no retroactive historical assertion.
Scope: one existing document; two direct Python input cases; sequential,
  isolated new SQLite files. Tenant strings are not authenticated identities.
Request IDs: supplied correlation strings, not an idempotency protocol.
Component: retained migration.py plus new implementations.py.
Build: no compilation or dependency install; complete extracted kit required.
Access: local readable kit and writable fresh output directory.
Prerequisites: normal CPython 3.12+ with sqlite3; do not use -O.
Feasibility: the primary selected calls executed; no external service needed.
Unresolved owner decisions: real contract approval, supplemental response
  promises, actual project boundary and wider obligations remain unassigned.

2. IMPACT AND RISK MAP
EX-TENANT-1 -> migration.candidate_api -> commits before ownership check
  -> forbidden stored mutation -> other_tenant.
EX-TENANT-1 -> implementations.fixed_api -> selected sequential repair
  -> preserve denial AND required owner update -> both selected cases.
Required-success risk -> reject_all_no_write sensitivity control
  -> denial-only repair suppresses legitimate work -> own_tenant.
Baseline callable: migration.old_api.
migration.py SHA-256:
  7c5ff7a7762bf005bdbd847344cfe43f052f5dcb7cb9a5ea69271d12a1f680a3
implementations.py SHA-256:
  241dff79d471ad073b84c368e540734e338e23f405aa368a79c61b4f1ee8d141
Old and candidate are callables in one retained file, not Git revisions.
Dependencies: Python sqlite3, file database and harness selection/capture.
Mapping gaps/exclusions: other endpoints and missing documents; real
  authentication, transport and disclosure; concurrent ownership changes;
  retries/external effects; production migration, load and recovery.
Consequence: no full access-denial class, production or audit-scope closure.
Owner needed: actual component/intent owners must decide which gaps matter
  to the requested decision before expanding the evidence plan.

3. EVIDENCE PLAN
Cases: own_tenant and other_tenant, each through old/candidate/fixed/reject_all.
Each call starts independently with complete rows:
  [[1,"alpha","quarterly"]]
Case own_tenant inputs:
  tenant="alpha", label="revised", request_id="audit07-own"
Literal expected whole response:
  {"status":200,"label":"revised","request_id":"audit07-own"}
Literal expected complete rows:
  [[1,"alpha","revised"]]
Case other_tenant inputs:
  tenant="beta", label="revised", request_id="audit07-other"
Literal expected whole response:
  {"status":403,"error":"forbidden","request_id":"audit07-other"}
Literal expected complete rows:
  [[1,"alpha","quarterly"]]
Oracle: independent literals in expected.json, exact recursive types,
  keys and values; no response fields or stored rows removed.
Oracle SHA-256:
  f9a5c4178bb8294d502f6e1c321d0ac34e7be951431c0694b171d491c9f0d7c8
Oracle authority: retained fictional promise plus declared teaching supplement.
Invocation: reproduce.py -> child harness.py --variant <variant>
  -> FUNCTIONS -> actual callable; migration.create_database sets fresh state.
Capture: actual code-object entry and arguments; SQL trace; return value;
  close operation connection; open fresh observer connection; query:
  SELECT id,tenant,label FROM documents ORDER BY id
Population: all document rows in that call's database, ordered by id.
Positive control: owner must return 200 and store revised.
Repair sensitivity: seeded reject-all must fail that owner obligation.
Completion: inspect both exact response/state cases for each variant,
  and the expected failing controls; exit alone is insufficient.
Executor/reviewer: teaching execution and review roles only; no real assignment.

4. EXECUTION RECORD
Class: retained October 28 primary execution; reader replays are separate.
Started: 2026-10-28T20:34:49.863312+00:00
Finished: 2026-10-28T20:34:50.051809+00:00
Captured producer invocation and original path basis:
  PROVENANCE.json, fresh.internalCaptureCommand and
  fresh.internalCommandPathBasis.
Portable replay command, from the complete extracted root:
  python3 -B reproduce.py --output /tmp/audit-handoff-new-run
Replay output directory must be NEW; retain separate replay provenance.
Primary runtime: CPython 3.14.7, SQLite 3.53.4, Darwin/arm64, optimize=0.
Observed connection defaults: autocommit=-1; isolation_level="".
Writes explicitly commit; operation connection closes before fresh read.
harness.py SHA-256:
  4caca20247c356cd9d78a3a78369b642c6d79cdfabbbb5d9ad4355adef4d06db
Other source/input identities and producer context: PROVENANCE.json,
  manifest.json and SHA256SUMS. Entry/function/SQL records are in raw captures.
Units: 2 selected cases x 4 variants = 8 actual top-level handler entries.
Status-only and whole-response/state comparisons reuse those same calls.
Actual whole-response/state cases met and child exits:
  old:        2/2, exit 0
  candidate:  1/2, exit 1
  fixed:      2/2, exit 0
  reject_all: 1/2, exit 1
Expected exits: old=0, candidate=1, fixed=0, reject_all=1; actual match.
Status-only cases met: old=2/2, candidate=2/2, fixed=2/2, reject_all=1/2.
Candidate: both exact responses match; foreign rows are revised, not quarterly.
Reject-all: foreign case matches; owner returns 403 and keeps quarterly.
Wrapper exit: 0, meaning expected contrasts reproduced, not acceptance.
Raw outputs:
  observed/primary/old.stdout.json
  observed/primary/old.stderr.txt
  observed/primary/candidate.stdout.json
  observed/primary/candidate.stderr.txt
  observed/primary/fixed.stdout.json
  observed/primary/fixed.stderr.txt
  observed/primary/reject_all.stdout.json
  observed/primary/reject_all.stderr.txt
  observed/primary/summary.json
  observed/wrapper.stdout.json and observed/wrapper.stderr.txt
All five captured stderr files are empty; inspect failed assertions in JSON.
Skipped/blocked selected calls: none recorded in this primary campaign.
History, excluded from the eight-call count:
  October 3: 2 tenant cases/4 calls/0 repaired runs;
    separate 12 token assertion observations, not rerun here.
  October 27 companion: 2 cases/4 calls/0 repaired runs.
Limits: ordinary committed selected effects, not crash/power-loss/restart
  durability, concurrency, transport, authentication or production rollout.
Entry/source/SQL evidence does not establish all branch/assertion semantics.

5. DECISION RECORD
Finding: TEACHING-AUDIT-1, reproduced selected forbidden committed mutation.
Allegation tested: a rejected foreign call may still alter stored data.
Witness: other_tenant on the exact candidate; expected 403/quarterly;
  observed exact expected response but complete rows [[1,"alpha","revised"]].
Cause: UPDATE and COMMIT precede ownership SELECT and rejection.
Implemented correction: implementations.fixed_api, identity above;
  check ownership before mutation, then update/commit for selected owner.
Same-case replay: new fix meets both literal response/state cases.
Positive/sensitivity results: owner success retained; seeded reject-all rejected.
Disposition: selected teaching instance reverified; candidate remains faulty.
Not-reproduced issues: none adjudicated by this selected campaign.
Broader protection: owner-success check rejects this seeded inadequate repair;
  exhaustive fault coverage or an access-denial class is NOT established.
Unresolved/excluded work: scope gaps in section 2; no exceptions authorized.
Implementation route: no actual customer-team or factory agreement exists.
Actual implementation owner: UNASSIGNED; fictional component implementer only.
Evidence reviewer: fictional audit-review role, not maintainer approval.
Real acceptance owner/decision: UNASSIGNED / UNPERFORMED.
Merge owner/decision: UNASSIGNED / UNPERFORMED.
Deployment owner/decision: UNASSIGNED / UNPERFORMED.
No Proof command, accepted Change or customer patch is evidenced by this kit.

6. REUSABLE CHECKS AND NEXT ACTIONS
Retain: reproduce.py, harness.py, expected.json, requirements.json,
  contract.md, both implementation files, raw results and historical evidence.
Integrity/provenance: PROVENANCE.json, manifest.json, SHA256SUMS,
  plus the outer ZIP checksum. Digests identify bytes, not approval.
Freshness triggers: intent/source/approval changes; handler/response/oracle/
  harness changes; runtime/database/configuration changes; new endpoint,
  destination, concurrency, observation boundary or scope.
Reuse decision: actual evidence reviewer must justify reuse or renew checks.
Next actions, all awaiting real named assignment:
  Intent owner -> approve/correct promise and supplemental oracle before audit.
  Engineering lead -> confirm component/build/access, gaps and implementation
    route before agreeing scope; name implementer and evidence reviewer.
  Implementer + reviewer -> retain original witness, implement any real change
    and renew required observations before requesting acceptance.
  Authorized acceptance owner -> decide against current scoped evidence;
    record exceptions and open work; leave merge/deploy to separate owners.
Handoff recipient: actual component lead, still to be assigned.

Walk through the handoff in six steps

Download the complete video transcript.

Read the complete video transcript

Start with one component and a promise settled by the person responsible for intended behavior. In this fictional teaching demonstration, the document-owning tenant is the actor allowed to update its document; another tenant must be rejected without changing stored rows. The demonstration includes no actual project approval or release decision.

Start with a document labeled quarterly and a requested replacement, revised. These are local, direct Python calls with supplied tenant strings. The owner's call should succeed and store revised. The other tenant's call should be rejected, leaving the stored document unchanged. Each call begins from the same original state.

Read the response and the independently observed effect together. The faulty candidate returns the expected rejection but has already committed the label revised. After its operation connection closes, a fresh connection reads every document row. Both complete responses match expectations; the other tenant's case fails because the document's stored label changed.

The new teaching correction checks ownership before writing and meets both selected response and state expectations. A deliberately inadequate repair rejects everyone. It preserves the denied case but fails the required owner update. This control makes successful legitimate behavior part of the check. Neither result establishes protection under concurrent ownership changes.

Put the evidence into six records: intent, impact and risk, evidence plan, execution, decisions, and reusable checks. Retain literal expectations, source identities, commands and raw outcomes. Connect each expected response and stored effect to the actual observation and code exercised. Record the limits and unresolved questions about intended behavior that the next decision must address.

Choose implementation by the engineering team or through an explicitly agreed engagement, and assign evidence review. The person with acceptance authority decides whether project evidence is acceptable. One person may hold several responsibilities; acceptance, merge and deployment remain separate decisions. Before reuse, review changes to intended behavior, code, expected results, environment and scope, and renew affected evidence.

Read the text walkthrough

1. Set the boundary

Start with one component and a promise settled by the person responsible for intended behavior. In this fictional teaching demonstration, the document-owning tenant is the actor allowed to update its document; another tenant must be rejected without changing stored rows. The demonstration includes no actual project approval or release decision.

2. Set the two expectations

Start with a document labeled quarterly and a requested replacement, revised. These are local, direct Python calls with supplied tenant strings. The owner's call should succeed and store revised. The other tenant's call should be rejected, leaving the stored document unchanged. Each call begins from the same original state.

3. Inspect the stored effect

Read the response and the independently observed effect together. The faulty candidate returns the expected rejection but has already committed the label revised. After its operation connection closes, a fresh connection reads every document row. Both complete responses match expectations; the other tenant's case fails because the document's stored label changed.

4. Challenge the repair

The new teaching correction checks ownership before writing and meets both selected response and state expectations. A deliberately inadequate repair rejects everyone. It preserves the denied case but fails the required owner update. This control makes successful legitimate behavior part of the check. Neither result establishes protection under concurrent ownership changes.

5. Assemble the handoff

Put the evidence into six records: intent, impact and risk, evidence plan, execution, decisions, and reusable checks. Retain literal expectations, source identities, commands and raw outcomes. Connect each expected response and stored effect to the actual observation and code exercised. Record the limits and unresolved questions about intended behavior that the next decision must address.

6. Assign the next decision

Choose implementation by the engineering team or through an explicitly agreed engagement, and assign evidence review. The person with acceptance authority decides whether project evidence is acceptable. One person may hold several responsibilities; acceptance, merge and deployment remain separate decisions. Before reuse, review changes to intended behavior, code, expected results, environment and scope, and renew affected evidence.

04 / Run the audit in order

Move from an agreed question to a reviewable decision

  1. Agree the decision and authority. Select one consequential behavior and bounded component. Name the intent owner, scope owner and acceptance authority. Record ambiguous behavior as a decision to obtain, not an expectation inferred from code.
  2. Inspect what already exists. Read the retained source, archive, oracle and raw outcomes before choosing fresh tests. Distinguish source inspection, actual execution and proposed work. Preserve historical identities and counting units.
  3. Check feasibility and map impact. Establish the build path, access, fixtures and dependencies. Map each scoped requirement and risk to affected code and a proposed observation. Give material mapping gaps an owner.
  4. Write expectations before running. Specify inputs, independent starting state, literal response and relevant effects. Define the capture point and permitted variation. Include required-success controls and a fault or inadequate repair the checks should reject.
  5. Execute the selected plan. Exercise the real implementation path. Retain commands, source/harness/oracle identities, actual settings, raw observations and invalid or blocked work. Keep process exits distinct from behavioral verdicts.
  6. Resolve each finding on evidence. Preserve the failing witness and supported cause. Identify the implementer, record the actual correction, replay the same case and retain required-success checks. Add wider checks only for an explicitly selected broader claim.
  7. Deliver the decision record and reusable checks. Ask the authorized owner to assess current evidence, exceptions and remaining work. Record acceptance separately from merge and deployment, and specify when the evidence needs review or renewal.

05 / Check the handoff

Six gates before calling the audit handoff complete

  • Intent: authoritative text, source identity, approval state and unresolved owner decisions are visible.
  • Impact: the selected component, build, conditions, risks and mapping gaps match the agreed boundary.
  • Plan: independent expected results, relevant effects, observation points and controls are explicit.
  • Execution: real entry points, raw outcomes, identities and counting units support each claimed result.
  • Decision: finding dispositions, implementation ownership, exceptions and acceptance authority are recorded; merge and deployment remain separate.
  • Reuse: another engineer can run the retained checks and identify changes that require renewed evidence.

06 / Avoid misleading closure

Mistakes that make an audit look more complete than it is

Mistake / Repair the record
Mistake Repair the record
Treating current behavior as approved intent Recover the source of the expectation and obtain the accountable owner's decision.
Treating an issue link, test path or generated plan as executed evidence Attach the actual command, implementation identity, observations and verdict meaning.
Marking an allegation false because it did not reproduce Preserve attempted conditions, setup limits and the unresolved question; request the missing witness or environment.
Calling a repair complete because the original symptom disappeared Check the intended successful behavior and consequences, as the repair-sensitivity control demonstrates.
Combining old results with a new patch without a freshness decision Identify changed dependencies and observations, then justify reuse or renew the affected checks.
Counting findings instead of supporting decisions Report consequence, disposition, ownership and residual uncertainty for the agreed scope.

07 / Use Proof with explicit boundaries

Keep requirements, findings, Changes and verification connected

Proof's public agent workflow and Change description describe retained issue and change records, with evidence on the named requirements and their impact review. That evidence is tied to the code and graph versions that produced it. A passing check supports its stated claim; readiness also depends on required evidence and policy, while acceptance is a separate authorized decision. The freshness guidance explains that recorded-basis changes can make evidence stale and unrecorded dependencies can be missed.

The guide authors' implementation inspection found that configured audit checks and thresholds determine what a Proof audit reports. Static checks do not create build, test or solver execution evidence. Missing test commands can produce a warning; retained-evidence workflows can also report no affected tests to run. A regression path that resolves to a file, or a verified_by link, does not establish that an adequate regression executed. Inspect which work actually happened before interpreting a reported pass.

The same inspection found that local status and handoff inspection are read-only summaries of readiness and impact, and that an external auditor's assessment is advisory. Effective Change acceptance is a separate operation requiring the current bound evidence package, sufficient authenticated authority, approved policy and acceptable readiness. No Proof command was executed in this Python kit.

Agree the implementation route in the scope:

  • Audit alongside development: your engineering team implements changes. The audit handoff supplies the requirement, reproduced finding, checks to retain and evidence needed to assess the repair.
  • Agreed factory engagement: include implementation and renewed verification explicitly, with an assigned implementer and a reviewable patch and Change record. A finding does not become fixed merely because implementation was requested.

Access, build feasibility, approval authority, price and timing follow the actual scope. The editable audit intake starts that discussion.

08 / Choose the evidence workflow

Choose methods by the question they can answer

Need / Useful method or workflow / Boundary to preserve
Need Useful method or workflow Boundary to preserve
Establish what is intended Requirement/source review with the accountable owner Agreement with existing code is not approval.
Explain a concrete fault Source review plus a retained witness through the real entry point Reading code alone is not an observed execution.
Check a proposed repair Independent response/effect oracle, same-case replay and required-success controls A selected finite campaign supports only its stated cases and conditions.
Compare retained and changed paths Differential checks plus independent expectations Both implementations can agree on the same wrong behavior.
Investigate a deliberately broadened property Additional boundary cases, fault injection or formal analysis chosen for that property Record assumptions, implementation linkage and remaining gaps; this kit claims no wider property.
Review security-scoped findings and dispositions NIST SSDF 1.1 PW.7.2, PW.8.2 and RV.2 as process guidance Security scope; implementation examples are nonmandatory.
Investigate a rejected operation's effects Observe the effects named by the contract; use versioned OWASP testing guidance where applicable OWASP does not supply this fixture's literal oracle or establish a full security assessment.

The SSDF publication supports the security process row. OWASP WSTG 4.2 includes checking whether attempted operations actually changed resources. Choose the method that produces the missing observation, then put its completion rule in the worksheet.

09 / Inspect sources and provenance

Primary sources and reproducibility

Official guidance and its use here

Source / Supported use / Limit
Source Supported use Limit
NIST SSDF publication status and SP 800-218, SSDF 1.1 Identify the final version used; PW.7.2 records review findings, PW.8.2 addresses scoped testing/results, and RV.2 addresses vulnerability response. SSDF 1.2 is draft in the inspected listing. The six-record handoff is not a NIST requirement or certification.
OWASP WSTG 4.2, authorization-schema testing Supports examining actual operation effects as well as responses. It does not establish the exact unchanged-rows or response-literal promise used here.
Python 3.14 sqlite3 documentation Explains transaction controls, explicit commits and opening a connection to read stored data. The served documentation is 3.14.10; the captured interpreter is 3.14.7. Actual captures establish execution and settings, not crash durability.
Proof Agents and MCP, verification and freshness, and Changes Public explanations of retained records, evidence on requirements and impact review, checks supporting stated claims, revision/freshness limits, readiness policy and separate authorized acceptance. These pages do not establish every implementation branch. Detailed product limits are attributed to the guide authors' implementation inspection below, not an executed Proof run.

The guide authors inspected the product implementation; these source files are not supplied as public artifacts. The inspection covered cmd/proof/audit.go and pkg/workflow/workflow.go for configured checks and execution; cmd/proof/change.go and pkg/changes/readiness.go for local handoff and readiness; pkg/problemreports/hardening.go for regression references; and pkg/evidencepkg/change_decision.go for advisory assessment and effective acceptance. Full-file and region hashes identify the inspected basis in a checkout with local changes; Git HEAD alone does not identify all inspected bytes. This is source inspection, not a Proof execution in the kit.

Inspect the actual evidence

Start with the contract, literal oracle, harness and wrapper. Inspect all four raw captures: old, candidate, new fix and reject-all control.

The provenance, member manifest and SHA256SUMS connect those files to the retained history. The 52,407-byte evidence kit contains 35 regular files, including source, the literal oracle, captured results and retained historical evidence. The complete ZIP digest is:

967e0e3fcf034b078179d6c7f2427adfb08c4fe894790024b0fdf7cee78b475e

Digests identify bytes; they are not signatures or evidence of approval. Use the reproduction instructions from the complete extracted root. A reader's replay has its own runtime, command and raw outcomes and must not overwrite the retained primary capture.

10 / Apply the handoff to other decisions

Two additional examples that change the audit question

These are illustrative planning cases, not executed checks or service outcomes.

A parser stops crashing by dropping valid entries

Suppose a patch replaces a parser panic with an empty result. The retained crash input no longer crashes, but the intended contract also requires preserving valid entries. The audit owner must settle malformed-input handling and preservation separately.

Keep the crash witness and add a planned case containing valid entries alongside the problematic input. Record the expected retained entries literally, then inspect the actual output. Until that check runs on the fixing revision, report symptom removal only. If malformed input is instead meant to reject the whole record, obtain that authoritative decision before using an empty result as the oracle.

A rounding disagreement has no approved answer yet

Suppose two calculation paths disagree at a rounding boundary and the requirement says only “round to cents.” Neither implementation can choose the tie rule by winning a comparison.

Record the exact input, arithmetic representation, both outputs and unresolved rule. Ask the named domain owner to approve the rounding mode and the stage at which rounding occurs. Then define independent expected values and schedule the affected boundary checks. The immediate audit finding is unresolved intent with an owner and consequence; it is not yet an adjudicated implementation defect.

11 / Resolve the remaining questions

Software correctness audit questions, answered

Can an audit start without complete requirements?

Yes, if recovering and approving the relevant intent is explicit work. Start from specifications, retained decisions and stakeholders, then record what remains disputed. Do not let an auditor or a passing implementation silently supply the missing authority.

What if the component cannot be built or a dependency is inaccessible?

Record the attempted setup, missing access or fixture, affected obligations and person who can unblock them. Source review may still support a finding, but unavailable execution remains blocked. Change the scope or feasibility decision explicitly.

Does “not reproduced” mean the reported defect is false?

No. It describes the attempted conditions and result. Preserve the allegation separately and identify whether the missing input, revision, state, timing or environment prevents a decisive conclusion.

When may a repaired finding be closed?

When the authorized decision owner accepts the evidence required by the agreed scope. A fixed instance needs the original witness replayed on the correction and the relevant successful behavior preserved. Broader protection requires its own selected claims, checks and residual-gap assessment. Acceptance does not itself merge or deploy the change.

Does this kit demonstrate a complete access-control design?

No. It exercises two direct function inputs and a sequential correction. It supplies neither authenticated caller evidence nor concurrent ownership protection. Expand those obligations only when the real scope requires them, with corresponding implementation and evidence work.

Can we keep the records and checks without using Proof?

Yes. The complete worksheet is selectable above, and the kit runs locally without Proof or signup. A repository, review process and retained raw evidence can carry the handoff; the essential requirement is that owners and observations remain inspectable.