Skip to main content

The system behind the week

The fictional engagement exposed five distinct failures a product must prevent:

Story eventFailure in a simplistic designChosen protection
Monday: assignment createdFile folder mistaken for audit planEngagement scope, risks, procedures, ownership
Tuesday: partial exportValid rows mistaken for complete booksSource-population reconciliation and validation gate
Wednesday: check flags an entryA rule treated as a verdict, or a missing input as no findingJurisdiction-reviewed rule version, coverage state, linked human review
Thursday: partner signs offOld or incomplete run presented as finished workRevision-bound, fail-closed sign-off contract
Friday: history questionedAsync notification treated as durable audit recordTransactional outbox, evidence/version ledger, restricted access

One backend; clear logical modules​

A modular monolith is a deployment choice, not a ban on later microservices. Keep interfaces explicit so the ingestion and rule workers can scale independently and service boundaries can be extracted when real operational needs justify them.

Canonical responsibility boundaries​

Logical ownerCreates and maintains
Identity and tenancyGlobal user, firm membership, role policy, session
Engagement planningClient, engagement, required procedures, responsibilities
Source ingestionImmutable uploads, parsing outcomes, typed dataset revisions
ReconciliationPopulation scope, control totals, discrepancies and reviewer decisions
Rule executionRule-run records, per-check coverage, evidence-linked finding candidates
Findings/workpapersAssignments, investigation notes, dispositions, procedure results
ReviewReadiness gate, approvals, frozen signed-off revision
Platform assuranceDurable audit evidence, integrity checks, operations/security evidence

The physical database schema should reflect these boundaries even when tables share one deployable application.

What is intentionally excluded​

No autonomous financial-statement opinion, no universal legal rule engine, no real-world ISO/SOC 2 certification claim, no AI in core arithmetic, and no public integration marketplace in the initial pilot.

Build order driven by risk​

First: one engaged firm, one representative data source, population reconciliation and reproducible evidence. Then: deterministic checks and documented investigation. Then: approval gates and an evidence package. Billing, tenant onboarding automation, external APIs and extra jurisdiction packs follow validation.

Read the solution architecture, domain model, decision records, and requirements traceability.

The decision draws on alternatives and trade-offs, an illustrative capacity model, a worked example and an unverified assumption register.

The intended outcome is better evidence and decisions—not a claim that software has conducted an audit on behalf of a qualified professional.

Continue to the epilogue.