| Recorded exhibit | Observation |
|---|---|
| Declared recovery criterion | One row per (source_revision, item_id) after the selected interruption and restart. |
| Interrupted baseline |
item-A is committed; the current-source checkpoint is absent; no response returns. |
| Baseline restart | Three target rows for two IDs: item-A, item-A, item-B; next_index=2. |
| Fresh corrected replay | Two target rows: item-A, item-B; next_index=2. |
| Decision still open | Actual product intent approval and its owner remain unresolved. |
The failure is against the newly authored teaching requirement R-RESTART. The correction uses a fresh schema; it does not clean up the duplicated baseline database. Inspect the baseline recovery report.
01 / Define the completeness claim
What does it mean for a requirements set to be complete?
A useful review asks whether the requirements adequately describe the needed behavior within an agreed boundary, and whether the declared records, allocations and evidence support that claim. Each layer asks a different question.
| Layer | Population to identify | What to examine | What a clean result leaves open |
|---|---|---|---|
| Structural records | Eligible requirement records at a named revision. | Required fields, descriptions, references and declared formalization. | A well-formed record may still be wrong, vague or unapproved. |
| Parent and child decomposition | Parent promises and their allocated child requirements. | Whether children collectively preserve each relevant part of the parent, including interactions. | Having a child does not establish full semantic coverage. |
| Declared obligation allocation | The explicitly required obligation slots. | A suitable owner or implementing requirement for every applicable slot; visible exclusions and deferrals. | An important obligation may never have entered the checklist. |
| Required evidence | The declared requirement, method and evidence cells. | Current, usable observations and assertions that address the promised behavior. | A link or populated cell may point to inadequate evidence. |
| Omitted intent | Stakeholders, interfaces, operating modes and source material used to challenge the inventory. | Missing decisions, assumptions and behavior, particularly at failures and transitions. | Reviewed sources do not provide a known denominator of every possible omission. |
For any reported ratio, retain the qualifying numerator, exact eligible denominator, inventory revision and criterion. “Every declared requirement has a test” is a statement about that list and that relationship. Adding a requirement changes the question the ratio answers; a larger denominator is not inherently stronger evidence.
NASA's software requirements provisions distinguish capture and approval, analysis using higher-level and safety-related inputs, relevant assumptions, managed changes and validation in the customer environment. They provide useful reference points for this review, subject to NASA's applicability and classification rules. The denominator argument here is engineering reasoning, not a NASA completeness metric. NPR 7150.2D, §§4.1.1–4.1.7.
Use this review when a feature's records look finished but its behavioral boundary remains uncertain. Checking one requirement's wording, deriving one test oracle, and deciding whether a change may be released are related tasks with separate criteria.
02 / Start with the complete record
Free requirements completeness worksheet
Copy this standalone record into an issue, repository document or review system. Repeat the mapping and evidence entries as needed. Use UNKNOWN for unsettled intent, UNREVIEWED for unchecked sources and UNASSIGNED for missing ownership. “Not applicable” needs a reason and the authority for that exclusion.
REQUIREMENTS COMPLETENESS REVIEW
BASIS AND AUTHORITY
Review ID/revision:
System, feature and decision this review supports:
Requirements inventory location, exact revision/digest and IDs:
Authoritative intent sources and their revisions:
Stakeholders, intended users, operators and accountable representatives:
Operational boundary: interfaces, consumers, modes, dependencies, stores:
Input/domain assumptions and externally supplied guarantees:
Included failure/recovery states and consequences:
Excluded behavior, rationale, enforcing control and owning record:
Actual intent authority and approval record/scope/status, or UNKNOWN:
Review author, executor and evidence reviewer, or UNASSIGNED:
Authority for requirement changes, evidence acceptance and release:
LAYER LEDGER: COMPLETE EACH ROW; NEVER INFER THE POPULATION FROM A PASS
For each layer record:
inventory/location/version; eligible IDs or selection rule;
counting unit; exact denominator; qualifying numerator;
criterion and evidence references; exclusions/deferrals/exemptions;
missing/failed/blocked/stale work; semantic limits; reviewer/status.
Structural records:
Parent/child decomposition:
Declared obligation allocation:
Required evidence:
Omitted-intent/source review:
Catalog/reference integrity, if used:
If a population is unknown, say UNKNOWN; do not report 0/0 as complete.
If no exhaustive omission denominator exists, do not invent a percentage.
REQUIREMENT AND ALLOCATION ENTRY: REPEAT FOR EACH DECLARED PROMISE
Requirement ID/revision, exact behavior and applicable domain:
Intent source, author, approval authority/scope/status:
Parent ID/revision and portion of parent behavior allocated here:
Child IDs/revisions and their collective coverage argument:
Cross-child/interface behavior still requiring an owner:
Declared obligation/class ID, criterion and accountable owner:
Implementing component/function/schema/configuration identity:
Required evidence IDs/methods and completion rule:
Evidence status, assertion quality limits and unresolved decisions:
Suppression/deferral/exemption authority, reason, tracking and revisit date:
SOURCES AND OMISSION PROBES
For every source: location/revision; reviewed extent; reviewer;
finding or unresolved question; next action/owner.
Stakeholder/use-case sources reviewed / UNREVIEWED:
Interfaces and supported consumers reviewed / UNREVIEWED:
Hazards, consequences and domain constraints reviewed / UNREVIEWED:
Incidents, support reports and known issues reviewed / UNREVIEWED:
Failure, recovery, operating procedures and retirement reviewed / UNREVIEWED:
Probe: what required outcome has no requirement after an interruption,
handoff, rejection, retry, restore or changed dependency?
Sources unavailable, stakeholders absent and remaining blind spots:
MISSING-DECISION ENTRY
Decision/question and affected boundary:
Observed behavior, observation status and evidence identity:
Existing promise: present / ambiguous / absent / UNKNOWN:
Why this is a gap, a violation, or not yet classifiable:
Candidate requirement, author and source/rationale:
Proposed approval scope, actual approval status and decision owner:
Impact on existing promises, implementation and evidence:
Before inventory/version/IDs/denominator:
After inventory/version/IDs/denominator:
Meaning of changed counts; unresolved scope retained:
EXECUTABLE EVIDENCE ENTRY: REPEAT PER CASE OR SEQUENCE
Requirement/domain and independent oracle basis/authority:
Implementation revision/digest; real entrypoint and call path:
Harness, adapter, observer and oracle file identities:
Inputs, exact starting state and relevant unrelated state:
Runtime/OS/database/tool versions and actual settings:
Prerequisites, working directory, exact command and output destination:
Capture identity; command log; source/function/input/result digests:
Proof of selected real entries and arguments; attribution limits:
Independent literal expected response with exact keys/types/values:
Independent literal expected whole effects/state and ordering:
Actual response, or NO RESPONSE; actual whole effects/state:
Interruption mechanism, exact phase, process exit and retained marker:
Process/connection/transaction/persistence/reopen boundaries:
Failure criterion and observed discrepancy:
Implemented correction identity, or PROPOSED / NOT IMPLEMENTED:
Replay starting-state basis; observations; what remained unchanged:
Positive-work and inadequate-implementation controls; their results:
Scenario/call/process/response/state-observation counts, separately:
Harness verdict, child exits and wrapper exit meanings:
Unperformed cases, exclusions and permitted scope of conclusion:
IF REVIEWING AN IMPORTER
Item identity; source revision/content/order and stable payload assumptions:
Who enforces those assumptions; validation/conflict policy status:
Row persistence, checkpoint meaning and separate/shared transactions:
Same database across restart? Fresh process? Fresh observer connection?
Response policy for normal operation, restart and completed repeat:
Existing-data migration/cleanup status; changing-input/concurrency status:
DECISIONS AND NEXT WORK
Technical repair status, scope and responsible owner:
Evidence review status, reviewer and accepted basis:
Intended-behavior approval status and authorized owner:
Requirements-set review conclusion and remaining omissions:
Change acceptance status and authority:
Merge/deployment/release status and authority:
Stale/revisit triggers: intent, inventory, inputs, schema, implementation,
harness, oracle, runtime, configuration, consumers, incidents, authority:
Next action / accountable person or queue / due trigger / required evidence:
Unassigned work: UNASSIGNED until an actual owner is recorded.
Initial execution status: NOT RUN.
Initial intent and acceptance status: UNKNOWN / NOT ASSESSED.
Completing this form does not approve intent or release a change.
03 / Inspect the missing recovery promise
A normal import passes while restart duplicates a committed item
The original recovery illustration asks whether replay may duplicate accepted records. It leaves that promise undecided and is not a recorded incident. Without an applicable no-duplicate promise, duplication identifies behavior and a missing decision; it is not automatically a requirement violation.
The executable fixture supplies a new fictional teaching policy in CONTRACT.md. Its initial normal-operation inventory, added recovery requirement and literal oracle were all fixed before the sole primary campaign. No customer approval or historical discovery sequence is claimed.
The inventory changes before the run
| Requirement | Declared scope and criterion | Evidence used |
|---|---|---|
R-ROWS
|
An uninterrupted valid import retains both distinct items once, with their payloads, and preserves unrelated records. | The complete ordered records table after the normal call. |
R-COMPLETE
|
The same uninterrupted call retains current-source checkpoint 2, preserves the unrelated checkpoint and returns the exact normal response. | All checkpoint rows and the typed response. |
R-RESTART
|
After the selected committed-row stop, a new process completes the same source with one row per identity and checkpoint 2; a completed repeat preserves that state. | Interrupted, restarted and repeated states, the absence of an interrupted response, and phase-specific returned responses. |
The input is immutable batch-A-v1, containing item-A and item-B, both with payload same. Identity is (source_revision, item_id). One sequential writer, unique well-formed source IDs, stable order and an unchanged identity-to-payload mapping are caller preconditions. The fixture does not validate changing source content or settle conflicting payloads.
The implementation and observation boundary
reproduce.py initializes a fresh SQLite file per scenario and starts run_child.py. The child directly invokes baseline_import, corrected_import or no_op_import in importer.py. Each has the interface (path, source_revision, items, hook=None); interrupted calls receive the test hook. The first two enter shared _apply; the no-op returns without an import connection.
The baseline commits each row, then advances its checkpoint in a separate transaction. A test-only hook invokes os._exit(86) after item-A's row COMMIT, before the checkpoint transaction. That child produces empty stdout and no product response. Python documents that this exit bypasses ordinary cleanup and buffered-output flushing. Python os._exit
.
A new parent connection then reads the committed row and absent current-source checkpoint. A new child restarts against the same case database. Selected call/return traces retain function locations, source and function-text digests, arguments and connection settings. They establish those entries, not all-function or branch coverage.
The recorded failure and correction
| Phase | Baseline observation | Corrected observation |
|---|---|---|
| After the deliberate stop | Target rows: item-A; current-source checkpoint absent; exit 86, no response. |
The same selected interrupted state and no response. |
| After restart | Target rows: item-A, item-A, item-B; checkpoint 2; inserted=2, already_present=0. |
Target rows: item-A, item-B; checkpoint 2; inserted=1, already_present=1. |
| After completed repeat | Duplicate state remains; inserted=0, already_present=0. |
Required state remains; inserted=0, already_present=0. |
An absent checkpoint makes the baseline restart at index zero. Its restart response and rows fail R-RESTART; the completed repeat's matching response leaves the failed state unchanged.
Inspect the failed report · Read the independent literal oracle · Reproduce the contrast
The implemented correction creates this index during fresh corrected database initialization and uses this insertion in _apply:
CREATE UNIQUE INDEX record_identity ON records(source_revision,item_id)
INSERT INTO records VALUES (?,?,?) ON CONFLICT(source_revision,item_id) DO NOTHING
On restart, the retained item-A conflicts with the identity index, so its insertion is skipped; the importer advances the checkpoint and inserts item-B. SQLite's UPSERT documentation supports this uniqueness-conflict behavior. It does not supply a changed-payload policy. The stable mapping precondition is essential here. SQLite UPSERT, §2.
The corrected recovery report meets the selected literal state and response criteria. Row and checkpoint transactions remain separate. This is a fresh corrected replay, not migration or cleanup of the baseline database containing duplicates.
Preserve the positive requirements
The seeded no_op_import returns completion without writing either source item or its checkpoint. It correctly passes the weaker property “no duplicate identities exist,” but fails both normal-operation requirements and their full response/state oracle. No-op control report.
| Selected scenario | Public entries | Full scenario criterion | No-duplicates-only property |
|---|---|---|---|
| Baseline normal | 1 | PASS | PASS |
| Baseline interruption, restart and repeat | 3 | FAIL | FAIL |
| Corrected normal | 1 | PASS | PASS |
| Corrected interruption, restart and repeat | 3 | PASS | PASS |
| Seeded no-op normal | 1 | FAIL | PASS |
All seven normally returning children exit 0, including the inadequate no-op. The harness verdicts identify contract failures. The wrapper also exits 0 because the expected failure, correction and control contrast reproduced.
What the revised denominator actually says
| Authored population | Baseline selected support | Corrected selected support |
|---|---|---|
Initial: R-ROWS, R-COMPLETE; denominator 2 requirement IDs. |
2 of 2, from baseline normal. | 2 of 2, from corrected normal. |
Expanded: those two plus R-RESTART; denominator 3 requirement IDs. |
2 of 3; the recovery criterion fails. | 3 of 3, combining corrected normal and selected recovery evidence. |
These are manual summaries of the authored inventory, using each requirement's stated criterion. They are not structural, parent/child or native Proof audit results. Neither inventory is established as an exhaustive set of real product promises.
Filled completeness-review record
The standalone record retains every observed field, including unrelated state. S0, S1, S2 and SDUP label the literal JSON below; no fields are normalized away.
REQUIREMENTS COMPLETENESS REVIEW: FROZEN IMPORTER TEACHING INVENTORY
BASIS AND AUTHORITY
Feature: sequential import of immutable batch-A-v1 into a local SQLite file.
Source set: CONTRACT.md, inventory.json, source.json, expected.json.
Evidence base: https://reqproof.com/assets/requirements-completeness/research-rerun/
Bundle: https://reqproof.com/assets/requirements-completeness/requirements-completeness-evidence-kit.zip
Bundle SHA256: 9c4e33715e5da884696e8998a64c0db6877e0e7967c07731ed33b6aa340efb96
Authority: fictional teaching author, explicitly recorded in CONTRACT.md.
Actual product intent authority/approval: UNKNOWN; owner UNASSIGNED.
Stakeholder/operational boundary: one sequential caller and writer;
local file storage; selected normal, stopped, restarted and repeated calls.
No actual customer, representative operator or production system reviewed.
Original recovery illustration: UNDECIDED, not an authenticated incident.
All three teaching IDs and the literal oracle existed before primary execution.
EXACT SOURCE IDENTITIES (SHA256)
CONTRACT.md: d55ab22d5306a963b16264babdf28058b6394e5d969f51a0fc19dac6c7dbff3b
inventory.json: 61d47ce8728ff172d7284e1ef063761484051a96a5a97708e6eb089fe98d7440
source.json: 9f378ce982d6aff2a800b8b0160ae646c02a2081391ad73fcdee0732dddd165c
expected.json: 3f6add7dc09aa6833e8adfad01308dc586e1ddaebf4a7f08d01e1125b45204d9
importer.py: 9ecbab73a849ef2726d7557e13a99dcf05e3a63614e5e3ebb382f262f647b25e
run_child.py: 878f014d7118febef3311ef8f56d8f2286692bc54b58f5147d5bbe9ab653bd73
reproduce.py: 1fbffcee3e91989cd69a369ae087548616a3a237fa65befbf0d310f372976848
All seven files were unchanged during the primary campaign.
LAYER LEDGER
Version for each supplied inventory: the inventory.json digest above.
Structural records:
Population: initial two / expanded three authored requirement IDs.
Required structural schema/check: not supplied; no native check executed.
Denominator: 2 / 3 IDs; qualifying structural numerator NOT ASSESSED.
Native eligible row population/denominator UNKNOWN.
Names and scoped prose exist; formal record validity/approval is not inferred.
Parent/child decomposition:
No stakeholder-parent or child hierarchy supplied.
Population/version/denominator UNKNOWN; numerator NOT ASSESSED.
Criterion would require semantic preservation of each parent promise.
Declared obligation allocation:
Population: inventory.json manualAllocation entries selected by the
initialDeclaredRequirementIds / reviewedTeachingInventoryIds lists.
Documentary mappings: 2 of 2 initial / 3 of 3 expanded selected entries
name an implementation and witness. Manual reference-presence tally only.
No governed obligation-class checklist or native allocation audit supplied.
Native obligation-slot population/denominator UNKNOWN.
Required evidence:
Population: authored per-requirement criterion bundles, not Proof cells.
Initial denominator 2: baseline 2 supported; corrected 2 supported.
Expanded denominator 3: baseline 2 supported, R-RESTART failed;
corrected 3 supported for selected normal/recovery observations.
Native configured-cell population and denominator UNKNOWN; audit NOT RUN.
Omitted-intent review:
Scope: listed teaching sources and selected recovery question only.
Exhaustive population/denominator UNKNOWN; numerator NOT RATED.
Actual product needs, wider failures and stakeholder validation unresolved.
Catalog/reference integrity:
No project obligation catalog or class manifest supplied; NOT RUN.
Population/version/denominator UNKNOWN; numerator NOT ASSESSED.
No fixture suppression/deferral/exemption configuration supplied.
REQUIREMENT / IMPLEMENTATION / EVIDENCE MAPPING
R-ROWS: uninterrupted valid call retains both IDs/payloads exactly once
and all unrelated records; baseline_import/corrected_import;
criterion: normal final records equal S2.records.
R-COMPLETE: same call retains current checkpoint 2 and unrelated checkpoint;
exact normal response; baseline_import/corrected_import;
criterion: normal checkpoints equal S2.checkpoints and response equals RN.
R-RESTART: selected committed-first-row stop, new-process restart and
completed repeat; corrected UNIQUE schema plus corrected_import;
criterion: S0 setup, S1 after stop with no response/exit 86,
S2 plus RR after restart, S2 plus RP after completed repeat.
Parent IDs/child IDs: not supplied for any of these teaching requirements.
Real requirement approver/evidence acceptance owner: UNASSIGNED.
SOURCES AND MISSING DECISION
Reviewed: teaching contract/inventory, actual function interface and source,
literal oracle, harness, raw command/trace/response/state captures.
Unreviewed: actual customer promises, production interfaces/consumers,
hazard and incident inventories, support reports and operator procedures.
Question: must replay preserve exactly one accepted row per item identity?
Original promise status: UNDECIDED; duplicate behavior alone does not
establish a requirement violation.
Teaching proposal: R-RESTART as specified above; authored before execution.
Approval scope/status: teaching policy only; actual product approval UNKNOWN.
Decision owner: UNASSIGNED; obtain intended behavior and applicable scope.
Before inventory: [R-ROWS, R-COMPLETE], denominator 2 requirement IDs.
After inventory: [R-ROWS, R-COMPLETE, R-RESTART], denominator 3 IDs.
These are two authored views, not a customer discovery/approval chronology.
DOMAIN AND IDENTITY
Input: {"source_revision":"batch-A-v1","items":[{"item_id":"item-A","payload":"same"},{"item_id":"item-B","payload":"same"}]}
Identity: (source_revision,item_id), never payload alone.
Caller preconditions: well-formed unique IDs/string payloads; unchanged
source bytes/order/revision and identity-to-payload mapping across retries.
Enforcement/validation of those preconditions: not demonstrated.
Changed-payload conflict policy and automatic revision/content binding: UNKNOWN.
IMPLEMENTATION, EXECUTION AND CAPTURE
Call path: reproduce.py -> new run_child.py process -> selected public
importer(path,source_revision,items,hook) -> _apply for baseline/corrected.
Public functions: baseline_import line 61; corrected_import line 64;
no_op_import line 67; shared _apply line 35 in the identified importer.py.
Profile: selected source-file/function entries, arguments and returns;
file/function-text hashes retained. Not all-function/branch coverage.
Primary: CPython 3.14.7; SQLite 3.53.4; macOS 26.5 arm64.
Primary capture: captured/primary/summary.json and per-case reports.
Actual argv/cwd/PIDs/exits/times/digests: captured/primary/commands.json.
Prerequisites for replay: CPython 3.12+ with standard-library sqlite3;
extracted kit; NEW writable output directory; assertions enabled; no -O.
Exact portable command, from extracted kit directory:
python3 -B reproduce.py --output replay-output
No Proof, solver, network, account or dependency installation required.
Import settings at connect return: isolation_level=None;
autocommit=LEGACY_TRANSACTION_CONTROL (-1); journal_mode=delete;
synchronous=2 (FULL); in_transaction=false.
No-op actual import settings list: []; it opens no import connection.
Each row and checkpoint uses a separate explicit BEGIN IMMEDIATE / COMMIT.
Stop: test-only os._exit(86), after item-A row COMMIT and before checkpoint.
Marker: {"phase":"after_first_row_COMMIT_before_checkpoint","index":0,"item":{"item_id":"item-A","payload":"same"},"exitCode":86}
Interrupted stdout: empty; public entry recorded with no return.
One fresh file DB per scenario: captured/primary/<case>/state.sqlite.
Same case DB across its recovery steps; exact original paths in commands.json.
Restart and repeat: each a new child process.
Observation: new parent connection at setup and after every child terminates.
Full declared-column queries, with no dropped rows or fields:
SELECT source_revision,item_id,payload FROM records ORDER BY source_revision,item_id,payload
SELECT source_revision,next_index FROM checkpoints ORDER BY source_revision
Independent oracle: before-run literal expected.json; exact recursive
type/key/length/value equality, including integers distinct from booleans.
LITERAL WHOLE STATES
S0 = {"records":[{"source_revision":"other-v1","item_id":"keep","payload":"sentinel"}],"checkpoints":[{"source_revision":"other-v1","next_index":7}]}
S1 = {"records":[{"source_revision":"batch-A-v1","item_id":"item-A","payload":"same"},{"source_revision":"other-v1","item_id":"keep","payload":"sentinel"}],"checkpoints":[{"source_revision":"other-v1","next_index":7}]}
S2 = {"records":[{"source_revision":"batch-A-v1","item_id":"item-A","payload":"same"},{"source_revision":"batch-A-v1","item_id":"item-B","payload":"same"},{"source_revision":"other-v1","item_id":"keep","payload":"sentinel"}],"checkpoints":[{"source_revision":"batch-A-v1","next_index":2},{"source_revision":"other-v1","next_index":7}]}
SDUP = {"records":[{"source_revision":"batch-A-v1","item_id":"item-A","payload":"same"},{"source_revision":"batch-A-v1","item_id":"item-A","payload":"same"},{"source_revision":"batch-A-v1","item_id":"item-B","payload":"same"},{"source_revision":"other-v1","item_id":"keep","payload":"sentinel"}],"checkpoints":[{"source_revision":"batch-A-v1","next_index":2},{"source_revision":"other-v1","next_index":7}]}
S0/S1/S2 are literal expectations; SDUP transcribes the failed actual state.
LITERAL RETURNED RESPONSES
RN = {"kind":"completed","source_revision":"batch-A-v1","next_index":2,"inserted":2,"already_present":0}
RR = {"kind":"completed","source_revision":"batch-A-v1","next_index":2,"inserted":1,"already_present":1}
RP = {"kind":"completed","source_revision":"batch-A-v1","next_index":2,"inserted":0,"already_present":0}
All keys are required; strings and integer types are exact.
No interrupted product response exists.
EXPECTED -> ACTUAL, BY CASE
baseline-normal:
setup S0 -> S0; run S2 -> S2; response RN -> RN; PASS.
baseline-recovery:
setup S0 -> S0; interrupted S1 -> S1, NO RESPONSE, exit 86;
restart S2 -> SDUP, response RR -> RN;
repeat S2 -> SDUP, response RP -> RP; FAIL.
corrected-normal:
setup S0 -> S0; run S2 -> S2; response RN -> RN; PASS.
corrected-recovery:
setup S0 -> S0; interrupted S1 -> S1, NO RESPONSE, exit 86;
restart S2 -> S2, response RR -> RR;
repeat S2 -> S2, response RP -> RP; PASS.
no-op-normal:
setup S0 -> S0; run S2 -> S0; response RN -> RP; FAIL.
No-op control: no-duplicates-only PASS; both normal requirements FAIL.
Completed repeat starts at index 2 and preserves existing state;
it is not another interrupted duplicate-exposure test.
CORRECTION AND COUNT UNITS
Implemented: fresh corrected schema adds UNIQUE(source_revision,item_id);
corrected_import uses INSERT ... ON CONFLICT DO NOTHING.
Row/checkpoint transactions remain separate. Stable payload is required.
Existing duplicated baseline DB migration/cleanup: NOT PERFORMED.
Primary census: 5 fresh DBs / 5 scenarios; 9 public entries / 9 children;
8 _apply entries; 2 exit-86 stops; 7 returned responses;
14 new-connection full-state observations.
Matches: 11 of 14 states; 5 of 7 returned responses.
Scenario verdicts: 3 PASS, 2 FAIL as intended.
Seven returning children EXIT 0, including the inadequate no-op.
Wrapper EXIT 0 means expected failure/fix/control contrast reproduced.
It is not a requirements-set completeness or acceptance verdict.
DISPOSITION, LIMITS AND NEXT ACTION
Technical repair: supported for fresh corrected normal/selected recovery;
no production repair or existing-data upgrade accepted.
Evidence: primary observations retained; actual project evidence review
NOT ASSESSED, reviewer UNASSIGNED.
Actual intended-behavior approval: UNKNOWN; owner UNASSIGNED.
Broader requirements-set completeness: UNESTABLISHED.
Native Proof checks: NOT RUN. Change acceptance: NOT ASSESSED.
Merge/deployment/release: NOT ASSESSED; authority UNASSIGNED.
Unperformed: concurrent writers, changing input, identity/payload conflicts,
malformed-input validation, disk-full, partial checkpoints, failed COMMIT,
power loss, existing-duplicate cleanup and representative operator recovery.
No HTTP header, key-retention, TTL or protocol contract is declared.
Stale triggers: changed intent/inventory, source identity/order/payload,
schema, code, harness, oracle, runtime/settings, storage or caller model;
newly identified consumer, incident, hazard or approving authority.
Next action: UNASSIGNED real feature owner must resolve the recovery promise
and supported failure boundary, then assign wider evidence and review.
Keep primary captures unchanged; a new replay receives its own identity.
Follow the completeness review in six steps
Download the complete video transcript.
Read the complete video transcript
A completeness claim needs a named population and boundary. This fictional inventory starts with two requirements for uninterrupted imports. A third requirement adds a selected restart promise. All three and their expected results were authored before execution. These counts describe the teaching inventory, not every promise a real product needs.
The input contains two distinct item identities with the same payload. Identity combines the source revision and item identifier. One writer uses an unchanged source. Each scenario starts with a fresh database containing an unrelated row and checkpoint, which the expected results require the importer to preserve.
The baseline commits the first row before saving its checkpoint. A test hook then stops the child process with exit code eighty-six. No product response returns. A new observer connection sees the committed row and no checkpoint for this source. Another child restarts against that same database.
The restarted baseline inserts the first item again, then the second. It reaches checkpoint two with three target rows for two identities. A later completed repeat preserves those duplicates. This fails the newly authored recovery requirement; the original undecided illustration did not establish an approved promise to violate.
The correction uses a fresh schema with unique item identity and ignores an insertion that conflicts with that identity. Its selected restart keeps one row per item. Row and checkpoint transactions remain separate. A no-op control creates no duplicates but fails the required work, showing why the positive requirements still matter.
Record the observations against the exact inventory and keep the wider decisions open. Concurrent writers, changing input, storage failures and existing duplicate cleanup were not exercised. Real product intent approval and release acceptance remain unresolved. The next useful action is to assign the missing decision and agree what evidence it requires.
Read the text walkthrough
-
A completeness claim needs a named population and boundary. This fictional inventory starts with two requirements for uninterrupted imports. A third requirement adds a selected restart promise. All three and their expected results were authored before execution. These counts describe the teaching inventory, not every promise a real product needs.
-
The input contains two distinct item identities with the same payload. Identity combines the source revision and item identifier. One writer uses an unchanged source. Each scenario starts with a fresh database containing an unrelated row and checkpoint, which the expected results require the importer to preserve.
-
The baseline commits the first row before saving its checkpoint. A test hook then stops the child process with exit code eighty-six. No product response returns. A new observer connection sees the committed row and no checkpoint for this source. Another child restarts against that same database.
-
The restarted baseline inserts the first item again, then the second. It reaches checkpoint two with three target rows for two identities. A later completed repeat preserves those duplicates. This fails the newly authored recovery requirement; the original undecided illustration did not establish an approved promise to violate.
-
The correction uses a fresh schema with unique item identity and ignores an insertion that conflicts with that identity. Its selected restart keeps one row per item. Row and checkpoint transactions remain separate. A no-op control creates no duplicates but fails the required work, showing why the positive requirements still matter.
-
Record the observations against the exact inventory and keep the wider decisions open. Concurrent writers, changing input, storage failures and existing duplicate cleanup were not exercised. Real product intent approval and release acceptance remain unresolved. The next useful action is to assign the missing decision and agree what evidence it requires.
04 / Review the set in order
How to perform a requirements completeness review
-
Set the boundary and authority. Name the feature, intended users, operational modes, interfaces and source revision. Identify who may decide intended behavior. If that person or policy is unknown, record the gap before treating a proposed rule as an acceptance basis.
-
Freeze the inventories for each layer. List the actual records, parent promises, obligation slots and evidence cells. Record selection rules, lifecycle filters, exclusions and versions. An empty selection needs explanation. It is different from a fully examined feature.
-
Review the meaning of the allocation. Read each parent beside its children. Check that exceptions, boundaries and interactions survive the decomposition. Then inspect whether each declared obligation has an appropriate implementation and evidence method. Counting links is useful for finding missing records; reading the promises is necessary to assess the links.
-
Challenge the inventory from outside itself. Walk the operation through interruption, rejection, handoff, restart and retirement where relevant. Consult interfaces, hazards, incidents, support reports and operator procedures. Record exactly which sources were reviewed and which remain unavailable. Ask what the user should observe when the happy path stops halfway.
-
Turn an omission into an owned decision. Separate current behavior from an applicable promise. Record candidate wording, assumptions, affected consumers and decision authority. Preserve the old inventory when proposing the new one. Approval of a new requirement must not be invented from a test result or inferred from existing code.
-
Obtain discriminating evidence for the agreed boundary. Retain independent expectations, the real implementation path, meaningful positive work and relevant failure observations. Use the worked record to preserve process, persistence and response distinctions. Assign wider scenarios separately instead of stretching one replay's conclusion.
-
Issue a bounded conclusion with next actions. Report each layer's numerator and denominator, failed or missing work, unreviewed sources and unresolved authority. Distinguish technical repair, evidence review, intent approval and Change acceptance. Name the owner and trigger for reopening the review.
05 / Check the review before using it
Completeness-review checklist
- The boundary, source revision and intent authority are explicit.
- Each layer has its own named population and criterion.
- Every ratio preserves its counting unit, exclusions and inventory version.
- Parent promises are assessed for meaning, including cross-child behavior.
- Reviewed and unreviewed omission sources are both visible.
- Unknown intent has a decision record and an owner or
UNASSIGNED. - Evidence reaches the identified implementation and checks required effects.
- Controls require useful work as well as absence of forbidden behavior.
- Failed, missing, stale and unperformed work remains in the record.
- Repair, evidence review, approval and release have separate statuses.
06 / Avoid a misleading completeness claim
Mistakes that hide missing requirements
| Mistake | Why it misleads | Repair the record |
|---|---|---|
| Delete a difficult obligation or suppress it merely to clear a finding. | The denominator changes without resolving the promise. | Keep the gap; obtain an authorized scope decision and retain both inventory versions. |
| Treat every active record as approved intent. | Lifecycle eligibility and approval are different predicates. | Inspect the actual approval policy and decision record. |
| Give every parent one convenient child. | A child can cover one clause while dropping an exception or interaction. | Map the parent's semantic parts and name what remains unallocated. |
| Infer immutable input from a recorded source hash. | A digest identifies captured bytes; it does not enforce future revision/content binding. | State who enforces identity, order and payload stability; resolve conflicts separately. |
| Treat an absence-only property as the whole contract. | An implementation that does no useful work may satisfy it. | Retain required positive outcomes and a control that fails when the work disappears. |
| Call a schema correction an existing-data upgrade. | A fresh database avoids the duplicated data the deployed upgrade must handle. | Define the actual upgrade population and retain migration or cleanup as separate work. |
| Resolve every unknown as “not applicable.” | Missing knowledge disappears from both the inventory and the action list. | Require a reason, responsible authority and a revisit trigger for exclusions. |
07 / Use Proof for the declared layers
How Proof supports this review, and what a pass means
Use Proof to keep requirements, allocations, implementation references, evidence and unresolved decisions connected. For completeness checks, first inspect the effective population. The current source implementations have the following boundaries; the importer campaign ran none of these checks. Implementation basis.
| Check | Actual population and criterion | Important result behavior |
|---|---|---|
l1_system_complete
|
Indexed active system rows: a satisfies link, nonempty description and nonempty FRETish text when FRETish is claimed. |
Zero rows can PASS. Skipping L1 skips the check. It does not validate the whole promise or discover absent records. |
obligation_completeness
|
Live guarantee stakeholder parents, including unset kind, with nonempty declared checklists; class coverage from live satisfying system children. | Declared suppressions skip slots; valid unresolved deferrals WARN. Zero checklists can PASS. Child tags do not demonstrate semantic fulfillment. |
obligation_evidence_complete
|
Configured requirement/class/evidence cells among scoped stakeholder, system, subsystem, software and integration requirements, with usable carriers and provenance where the evidence type requires it. | Zero required cells can PASS. Required cells reflect the applicable nominal floor, exemptions, catalog or project overrides and additive requirement extras. |
catalog_completeness
|
Declared classes against catalog entries; signal references against cataloged classes; project overlay entries against declarations; requirement checklists against known classes. | Checks these four reference-drift conditions. An absent manifest yields SKIP. Catalog and requirement load failures are surfaced; built-in signal-pack load or YAML errors can be skipped. Internal consistency does not establish complete intent. |
The inspected lifecycle predicate excludes retired, superseded and rejected; deprecated remains active. Downward allocation excludes assumption and constraint parents, while a live child of any kind can carry coverage. Those eligibility rules do not constitute approval.
Evidence policy also matters. A project override replaces the catalog's class evidence list; per-requirement extras add requirements. An applicable nominal floor remains unless its separate exemption rules remove it. Ordinary open evidence deferrals WARN, but accepted tripwire-backed KnownIssue debt can be explicitly listed in PASS with expiry behavior. That differs from allocation's unresolved-deferral warning. Read the debt and exemption details with the status.
The evidence check defaults to warning severity; audit.evidence_strict=true promotes its runtime severity to error. Skipping L0 skips evidence checking; skipping L0 or L1 skips allocation checking. Preserve these settings with the report.
For explicit selection, the current L1 implementation provides this command:
proof audit --check l1_system_complete
This is a workflow instruction, not an executed result in this guide. Record the actual selected checks, scope, profile and skipped levels; do not assume a default invocation ran every check in the table.
Carrier selection can also differ by profile. source_native uses annotated source carriers; overlay_audit can use authored references and may refuse an annotation that lacks the accepted file or function relationship. A visible annotation is not necessarily credited evidence. Grounding itself has evidence-type exemptions, no-target outcomes, static symbol paths and unavailable execution modes. Neither grounding nor a populated evidence cell independently validates the oracle.
Effective accept_change requires a current package, authenticated sufficient authority, approved policy and acceptable readiness; an external auditor's assessment remains advisory. Source grounding, executed checks, approved intent, set completeness and Change acceptance must remain distinguishable. Acceptance is not a merge or deployment performed by this fixture.
08 / Choose the method for the missing information
Which completeness-review workflow should you use?
| What you need to establish | Suitable method | Evidence to retain | What it cannot settle alone |
|---|---|---|---|
| Whether relevant behavior is missing. | Stakeholder and operational walkthrough using higher-level requirements, interfaces, hazards and failure sources. | Reviewed sources, scenarios, decisions and approval status. | A known count of every undiscovered omission. NASA requirements analysis. |
| Whether declared records and allocations are present. | A versioned worksheet or configured repository checks. | Exact population, mapping criterion, findings, exclusions and check configuration. | Semantic adequacy and authorized intent. Check boundaries. |
| Whether one chosen failure scenario violates a declared promise. | An implementation harness with controlled interruption and independent observations. | Actual call path, literal oracle, responses, persisted effects and controls. | Wider schedules, storage failures or omitted promises. Runnable example. |
| Whether the evidence permits a governed change decision. | Review under the project's actual authority policy. | Current evidence basis, unresolved work, decision owner and scoped disposition. | Merge, deployment or release actions that have not occurred. Decision boundaries. |
Choose the method that resolves the present uncertainty, then combine methods as needed.
09 / Inspect the basis and reproduce the result
Primary sources and reproducible artifacts
Method and technical sources
| Primary source | Support used here | Limit |
|---|---|---|
| NASA NPR 7150.2D, §§4.1.1–4.1.7 | Requirements capture and approval, analysis inputs and assumptions, change management and customer-environment validation. | Targeted provisions; no full-directive assessment or approval of this teaching policy. |
| NASA NPR 7150.2D, Preface P.2 and §§2.2.1–2.2.8 | Applicability, classification and designated authority for tailoring NASA process requirements. | These are not universal commercial obligations or permission to amend a product promise. |
| NASA Software Engineering Handbook, Version D, SWE-050, §§3.4–3.7 | Guidance on stakeholder review, missing requirements, allocation issues and project approval procedures. | Guidance within its stated context; no universal sign-off roster or completeness guarantee. |
Python 3.14 os._exit
|
Process termination without ordinary cleanup. | Documentation supports mechanics; the capture supplies execution evidence. |
| Python 3.14 SQLite transaction control | Explicit legacy control with isolation_level=None, allowing explicit SQL transactions. |
The read documentation displayed 3.14.10; the primary runtime was 3.14.7. |
| SQLite UPSERT, §2 | A uniqueness constraint or unique index can make DO NOTHING omit a conflicting insertion. |
It does not resolve arbitrary invalid data or authorize a conflicting-payload policy. |
The worksheet and denominator distinctions are engineering applications of these sources. No certification, exhaustive requirements discovery or project compliance claim follows from them.
Product implementation basis
The product descriptions use 15 inspected regions across 12 current source files. The principal locators are pkg/workflow/workflow.go (l1SystemCompleteCheck), workflow_obligation_checks.go, workflow_obligation_evidence.go, obligation_evidence_matrix.go, workflow_catalog_completeness.go and workflow_obligation_witness_grounded.go; eligibility comes from pkg/model/check_eligibility.go and requirement.go. Authority uses pkg/evidencepkg/change_decision.go. The catalog's pkg/catalog/data/property/idempotency.yaml does not make HTTP or retention mechanisms unconditional requirements. The editable intake is implemented by website/demo.html and website/assets/engagement-intake.js.
This is bounded source inspection, not a full-repository audit or native Proof execution. These regions do not establish CLI aliases or default check selection.
Reproduce the retained failure, correction and control
Download the actual evidence kit, verify it against the checksum, and read its README. The ZIP contains 57 text members and is 50,726 bytes. Its SHA-256 is:
9c4e33715e5da884696e8998a64c0db6877e0e7967c07731ed33b6aa340efb96
From the extracted directory, with CPython 3.12+ and standard-library sqlite3, choose a new writable output directory and run:
python3 -B reproduce.py --output replay-output
Keep assertions enabled; do not use -O. No Proof, solver, network, account or dependency installation is required. Inspect the five case reports, not only the wrapper's expected exit 0.
| Evidence identity | What it records |
|---|---|
| PRE-EXECUTION-INPUTS.json | The historical before-run ledger for all seven source/input files. |
| Primary summary and commands | The sole primary campaign: CPython 3.14.7, SQLite 3.53.4, macOS 26.5 arm64; actual arguments, processes, exits and capture identities. |
| Provenance, manifest and SHA256SUMS | Source, payload and retained original database identities. |
| EVIDENCE-HANDOFF.json | Observed verdicts linked to the authored inventory, unresolved authority and remaining work. |
The public kit supplies full text observations and reconstructs fresh databases. It does not distribute the five original database binaries. A new replay must retain its own runtime, paths, process IDs, timestamps and database bytes. Compare stable typed state, responses, source/function identities and arguments while leaving the primary capture unchanged.
The software-verification-plan archive is separate evidence: it examines a valid row surviving a later malformed-row rejection and a batch transaction repair. It was not rerun here and does not supply this guide's interrupted-duplicate result.
10 / Challenge a different kind of omission
Two further completeness-review examples
These are illustrative review proposals. No additional implementation or test execution is claimed.
1. A parent promise disappears between two children
Suppose an export requirement promises all authorized selected records in the user's requested order. One child specifies authorization filtering; another specifies encoding. Both link to the parent, but neither states who preserves ordering across selection and encoding.
The missing allocation is an interaction, not a missing parent link. Record the parent's ordering clause, assign responsibility across the interface and plan an observation of the final exported order. If the parent already has authority, this is incomplete decomposition of known intent. It does not need to be presented as a newly invented stakeholder promise.
2. A recovery consumer is outside the inventory
Suppose a configuration format changes while operators still use an offline restore tool. The requirements inventory lists the running application's readers but omits that recovery consumer.
Ask whether restoring the retained format remains supported, requires conversion or is deliberately retired. The responsible owner must resolve that choice and its operational consequences. Then update the consumer boundary and allocate the corresponding evidence. Testing every reader already on the list cannot answer a question about a reader excluded from that list.
11 / Resolve the remaining review questions
Requirements completeness questions, answered
Can we report 100% completeness?
You can report an exact result such as “all declared allocation slots in inventory revision X meet criterion Y,” with exclusions and evidence. Calling that 100% of product intent requires a different justification. The missing-intent population is not measured by a trace matrix.
What should a review say when the denominator is zero?
Say which population was empty and why. Check selection, indexing, scope and absent declarations. Some inspected Proof checks return PASS for an empty population. That result does not establish that the feature has no requirements.
Can the team investigate before intent is approved?
Yes. Characterize current behavior and retain a reproducible witness. Label candidate expectations as proposed and leave approval unresolved. Investigation can inform the owner's decision without pretending that an absent promise was already violated.
Must normal operation and replay return identical responses?
Only if the named contract requires that. Here, normal, restart and completed-repeat responses deliberately have different insertion counts. The declared state and phase-specific response rules determine the comparison.
When is a completeness review finished?
When the assigned authority can assess the stated review scope using current records, disclosed gaps and accountable dispositions. That is a bounded review conclusion with revisit triggers. It does not establish that no future change, incident or newly consulted stakeholder can expose an omission.