Skip to main content

Requirements Traceability: What must be true?

This matrix links the fictional engagement story to testable system behaviour. No results are claimed here. A documented requirement is not proof that a backend enforces it.

IDBusiness problemDesign contractExample negative acceptance test
BR-01Wrong team can see client recordsTenant + engagement membership authorizationGuess engagement ID of other firm: denied, no metadata leak
BR-02Staff begin checks without a planRequired procedures and responsible reviewerRequest sign-off with no procedures: blocked
BR-03Parser succeeds but records are missingSource population reconciliation and reviewer confirmation98,600 imported, 100,000 expected: incomplete
BR-04Accounting and tax records are conflatedTyped financial entities and immutable source versionGST statement row cannot silently become a general-ledger journal line
BR-05Incomplete test appears cleanIndependent coverage status per checkMissing mandatory source + zero findings: no pass
BR-06Rule result cannot be reproducedHash/config/version-pinned runSame canonical inputs produce identical canonical candidate set
BR-07Finding explanation disappears on rerunVersioned finding references and human dispositionRe-run retains original notes and open issue provenance
BR-08New data arrives after sign-off reviewEngagement revision and stale-dependency invalidationSign-off referencing old dataset revision: rejected
BR-09Unqualified role approvesReviewer/partner authorization and separation of dutiesStaff attempts partner action: denied
BR-10Event lost between database and queueAtomic state/audit record/outbox + idempotent deliveryKill worker after commit: event delivered exactly once logically on retry
BR-11Export checksum presented as immutable historySource version integrity, restricted privilege, evidence manifestPrivileged alteration detected by independent verification mechanisms
BR-12India rules run for another jurisdictionApproved pack with legal effective windowUnsupported jurisdiction cannot run India tax checks
BR-13Support accesses private booksOperator metadata-only access, no impersonationSupport role cannot fetch transaction/evidence content
BR-14Compliance terms mistaken for certificationControl ownership and evidence, correct PCI scopingPlanned control not represented as certified or attested
BR-15Pricing/quota counts are unreliableIdempotent usage events and fit-for-format unitsDuplicate parse event cannot double-bill

The worked example carries one engagement to its final review; the capacity model documents hypothetical sizing assumptions, and the domain validation register separates facts from unknowns.

Example test dataset​

Use wholly fictitious sample data with an explicitly specified export manifest containing 100,000 expected entries, a 98,600-row truncated sample, a corrected complete export, a journal-entry candidate and a missing jurisdiction-specific supporting file. Include trial-balance control amounts and expected outcomes.

Tests should cover parser counts, expected/actual reconciliation, mapping changes, deterministic rerun, evidence preservation, actor permissions, incomplete checks, sign-off blockers and recovery after worker failure.

Pilot validation gates​

  • Domain review: Practicing qualified auditors inspect procedure and rule applicability assumptions.
  • Data review: Source-population mismatch and rejected row errors are visible, attributable and actionable.
  • Determinism: Same canonical snapshot and approved pack yield equivalent candidate findings.
  • Review: Incomplete required work, stale runs or open critical blockers prevent sign-off.
  • Security: Cross-firm data access, upload token misuse and audit-event loss are tested.
  • Usability: Auditors can follow the end-to-end task without needing implementation knowledge.

See solution architecture, domain model, sign-off contract and ADRs.