Diagram Review and Revised Architecture/Flow Model
Version: 1.0
Date: 2026-07-29
Images reviewed: docs/diagrams/01 through 09
1. Overall assessment
The diagrams are strong analytical artifacts. They explain the domain boundaries, expose what is built versus absent, and correctly emphasize:
- a walk is not a ticket;
- a report does not close a finding;
- Finding → NCR is the load-bearing relationship;
- coverage and conformity are separate claims;
- inspection capture/reporting works locally;
- device-to-server delivery is the severed boundary;
- the field client is not governed by the platform packages;
- deterministic compliance must remain model-free.
They are less successful as product-design artifacts. Most diagrams describe the internal system and current gap, not the simple experience the working mockup must demonstrate. Camera, voice, transcription, AI-assisted drafting, human confirmation, delivery receipt, portal review, and report access do not yet appear as one coherent visible loop.
2. Visual design review
What works
- Consistent visual language across all nine images.
- Clear use of containers, arrows, and status labels.
- Repeated rules at the bottom of diagrams reinforce important invariants.
- Process-specific diagrams correctly separate lifecycle from document output.
- The capture-to-console sequence makes the severed boundary unmistakable.
What should change
- Reduce text density. Several boxes contain four to seven lines plus status commentary. At presentation size, viewers read the diagram as documentation rather than a flow.
- Do not rely on red/amber/green alone. The legend helps, but the colors are too close in meaning for color-vision deficiency and are low-contrast on the dark background. Add shape/pattern/status badges: Built, Partial, Missing.
- Increase minimum type size. Secondary labels, arrow captions, and footer commentary are too small for a room presentation or laptop review.
- Separate “domain truth” from “implementation status.” Mixing lifecycle meaning and repository status inside the same node makes the diagrams harder to reuse after implementation changes.
- Use a light presentation variant. The dark theme is visually striking but not optimal for printing, accessibility, or insertion into business documents.
- Give each diagram one message. Supporting rules should move into adjacent notes or a companion page when they compete with the central flow.
3. Diagram-by-diagram findings
01 — Conceptual model
Keep
- Walk, incident/investigation, evidence, report, obligation, finding, and NCR are distinct concepts.
- The Finding → NCR edge and separate closure mechanism are correct.
- Evidence binds to the business record and never invents missing location.
Revise
- The title says “six work objects,” while the canvas presents more than six named objects and supporting concepts. State exactly which six are aggregates, then label Evidence, Finding, Obligation, and Closure as linked records/value concepts if that is the intended distinction.
- Add Submission and Delivery Receipt. A signed local record and an office-received record are materially different states/objects for the user.
- Add an AI Draft as a derived, non-authoritative artifact linked to Evidence and Accepted Record. It must not sit inside the evidence chain as fact.
- Show Accepted human record between Evidence/AI Draft and Finding. Today the diagram can be read as evidence directly becoming a finding without a review boundary.
02 — Four processes
Keep
- All relevant non-conformances close through NCR.
- Audit observations/OFIs do not create NCRs.
- Each process produces its own document.
Revise
- Show the shared experience below all four processes: Capture → Review → Submit → Receipt → Portal.
- Make “Incident → Investigation” conditional without visually implying that the notifiable test alone decides whether an investigation exists; that is still an open business decision.
- Show regulatory notification as a time-bound output/action alongside, not as a substitute for, an investigation report.
- Add an explicit source link from every NCR to its originating process record.
03 — NCR lifecycle
Keep
- Corrected closure is reachable only through verification.
- Not-a-non-conformance is a lateral closure.
- Reopen is append-only.
- Owner and due date exist from assignment onward.
Revise
- Add who may perform each transition and which transitions require confirmation.
- Add server/portal projection as a separate implementation overlay, not inside the domain state machine.
- Clarify whether an ineffective verification returns to Assigned or Actioned. “Verified: effective/not effective” is shown, but the unsuccessful branch is not drawn.
- Show remediation evidence as a requirement on
CorrectiveActionRecorded. - Use one canonical state vocabulary across diagrams and code: the overview uses “remediation,” this image uses “actioned.”
04 — Inspection walk
Keep
- Reachability, coverage attestation, finding, NCR, signature, and local report are correctly separated.
- Unreached is explicit.
- The broken delivery hop is honestly shown.
Revise
- Replace the photo-only evidence step with Capture evidence: photo + voice + text.
- Insert Transcribe / prepare AI draft and Human review/accept between capture and IssueLogged.
- Make location unavailable a first-class valid state.
- Add Signed-local → Queued → Received rather than “then submit.”
- Show portal projection and report availability after receipt.
- Do not imply every deficient observation requires a photo unless the template or policy requires it.
05 — Audit walk
Keep
- Audit is a walk but not an inspection with renamed labels.
- Major/minor create NCR; observation/OFI do not.
- Auditor identity/organization and audit scope are first-class.
Revise
- Add evidence capture and human-reviewed narrative to every grade.
- Add unreachable/not-tested scope and an explicit audit coverage conclusion.
- Resolve the audit vocabulary dependency before screen design.
- Draw follow-up/re-audit as separate from NCR closure if required by the audit standard.
- Add submission, receipt, portal, and audit report review using the shared delivery loop.
06 — Incident, investigation, report
Keep
- Incident, investigation, and report are three identities.
- Occurred-at and reported-at are separate.
- Immediate actions are not corrective actions.
- Report revisions supersede rather than overwrite.
Revise
- “Notifiable?” should branch to notification handling, not be drawn as the decision that opens an investigation.
- Show the unresolved business policy as a separate Investigation required? rule.
- Add people affected, witnesses, immediate risk, regulator/jurisdiction, and attachment evidence to the incident record.
- Add owner and due date to notification.
- Show recommended actions spawning NCRs after human approval.
- Add draft → review → approve → submit/issue states and recipient/receipt for the investigation report.
07 — Platform architecture
Keep
- Offline field capability, append-only log, CQRS planes, deterministic compliance, and severed delivery boundary are all clear.
- The separation between authoritative compliance and AI-supported memory/import is important.
Revise
- Add a Device Gateway pattern: enrollment, short-lived credentials, scoped upload session, and idempotency.
- Split sync into metadata/event reconciliation and media transfer. Their retry, size, and failure behavior differ.
- Add Submission Receipt Service/read model so the device can prove acceptance.
- Add a bounded AI Assistance sidecar for transcription, vision, and structured drafts. It reads selected evidence under policy and writes only draft artifacts awaiting human acceptance.
- Explicitly prohibit the AI sidecar from writing deterministic compliance status, signatures, final submissions, or NCR closure.
- Add observability correlation across device record, sync session, command, projection, receipt, and report.
- Present the server estate as a smaller logical architecture in the primary diagram; move worker names to a deployment diagram.
08 — Framework layers
Keep
- The event envelope, vocabularies, domain/template layer, conformance harness, and runtime are logically separated.
- The four invariants are a valuable product safety foundation.
- The missing audit vocabulary and field-client contract drift are correctly exposed.
Revise
- Add
events-submissionor an equivalent contract for signed-local, received, returned, and revision states. - Add
draft-assistanceshapes outside the authoritative event vocabulary, or explicitly mark draft events as non-authoritative until accepted. - Add a versioned wire-contract compatibility layer usable by both the mobile app and server without forcing a shared runtime dependency.
- Add a privacy/policy layer for media, location, transcript, AI input, retention, and redaction.
- Add receipt and projection conformance fixtures alongside report fixtures.
09 — Inspection event flow
Keep
- Steps 1–7 and the broken step 8 clearly express the current truth.
- Independent aggregate IDs for Inspection and NCR are correct.
- Command → projection → query → console is the right server flow.
Revise
- Create two versions: - As-is: retain the current red break for truth. - To-be: show the complete accepted path.
- In the to-be path insert: 1. store audio/photo evidence; 2. transcribe/analyze into a draft; 3. human accepts/edits; 4. create finding and optional NCR; 5. sign locally; 6. queue and sync events/media; 7. server validates idempotently; 8. issue receipt; 9. project submission/ticket; 10. generate report; 11. portal displays the record; 12. device resolves Received.
- Show failure/retry without losing the local signed record.
- Show media upload independently from event replay.
4. Revised logical architecture
FIELD DEVICE
Today / My Work
|
Capture
photo + audio + text
|
Durable local evidence
|
Optional AI assistance
transcript + vision + structured draft
|
Human review and acceptance
|
Inspection / Incident / Audit record
|
Finding -----> NCR (own identity and lifecycle)
|
Signature + local report preview
|
Signed-local -> Queued -> Sending
|
======== DEVICE GATEWAY / DELIVERY BOUNDARY ========
scoped auth + idempotent events + retry-safe media
|
Accepted event store + evidence store
|
Delivery receipt <-------------------- Device shows Received
|
Read-model projections
/ \
Submission Issues
\ /
Portal detail
evidence + transcript + AI provenance + tickets + activity
|
Versioned report preview/download
5. Revised cross-process flow
Inspection -----\
Audit -----------+--> Capture evidence --> Human-confirmed record
Incident -------/ |
Standalone NCR --------------------------------+
|
Does this create a non-conformance?
/ \
yes no
| |
Create NCR Record in source
| |
Own lifecycle Process continues
\ /
Signed submission
|
Queue / sync / receipt
|
Portal review + report
6. Diagram production recommendations
Create four replacement presentation diagrams while retaining the detailed images as technical appendices:
- Product loop — one simple evidence-to-action journey.
- Domain map — authoritative records and their identity boundaries.
- Logical architecture — field, gateway, authoritative core, AI sidecar, portal.
- Golden sequence — complete capture-to-receipt-to-report interaction.
Each primary diagram should:
- fit on a 16:9 slide at normal viewing distance;
- use at most seven primary nodes;
- use a minimum 18 pt presentation-equivalent font;
- include text status labels in addition to color;
- separate as-is and to-be rather than mixing both;
- keep detailed worker/package names in an appendix;
- have a printable light-theme version.
7. Effect on the revised specification
The image review reinforces and sharpens the revised BRD/FRD:
- Submission and Delivery Receipt must be first-class.
- Voice, photo, and text must share one evidence model.
- AI assistance must be a bounded draft sidecar.
- Human acceptance is the boundary between derived assistance and authoritative record.
- Media delivery and event synchronization need separate mechanics.
- The portal submission detail is the read-side composition of the whole story.
- The deterministic compliance path remains entirely model-free.