A hypothetical regional carrier builds a mobile app for drivers and warehouse operations. Named system owner: the carrier's director of operations. Named proposer: the terminal manager. Named independent approver: the compliance manager. All targets are hypothetical and illustrative.
Prelaunch fixtures.
log_cur_1: Driver DRV-1100 opens app, session authenticated, views assigned dispatch DSP-5001 (pickup at Shipper-A, deliver to Receiver-B, 12 pallets, BOL# BOL-7701) with freshness timestamp from TMS feed. Expected receipt and evidence: (1) session audit log at session authority, (2) dispatch view log at display authority confirming assignment and freshness timestamp
log_cur_2: Driver DRV-1100 arrives at Receiver-B, captures ePOD: electronic signature from receiving clerk, 3 timestamped photos of delivered pallets at dock, GPS coordinates 29.7604N 95.3698W, delivery notes "all 12 pallets received, no damage", key op:log_A_001. Compliance manager reviews ePOD policy configuration. Terminal manager submits within approved policy. Expected receipt and evidence: (1) ePOD record at TMS authority with BOL reference, signature hash, photo references, GPS and timestamp, (2) delivery log at audit authority with operation key, driver, BOL and timestamp
log_cur_3: Driver DRV-1101 arrives at Receiver-C for different dispatch DSP-5002 (pickup at Shipper-D, deliver to Receiver-C, 8 pallets, BOL# BOL-7702), captures ePOD: electronic signature from receiving clerk, 2 timestamped photos, GPS coordinates 29.7510N 95.3580W, delivery notes "all 8 pallets received, no damage", key op:log_B_002. Distinct driver, distinct dispatch, distinct receiver. Expected receipt and evidence verified independently at TMS authority and audit authority, same structure as log_cur_2
log_stale_dispatch_1: ePOD submission referencing dispatch data older than configured staleness threshold (driver viewed dispatch 4 hours ago when threshold is 1 hour)
log_wrong_driver_1: ePOD submission by DRV-1100 for dispatch DSP-9999 assigned to DRV-2200 (cross-driver)
log_wrong_location_1: ePOD submission with GPS coordinates more than 2 miles from Receiver-B's geocoded address
log_expired_session_1: ePOD submission after session timeout
log_unauth_role_1: Driver attempting to modify ePOD policy configuration (requires compliance manager role)
log_duplicate_pod_1: ePOD submission for dispatch DSP-5001 where ePOD already captured and confirmed
log_unknown_dispatch_1: ePOD submission for dispatch DSP-ABSENT not in the TMS
log_tms_outage_1: Dispatch refresh during TMS API outage
App store data declarations. Apple App Privacy Details requires developers to declare data collected (transmitted off the device and accessible to the developer or its partners beyond what is needed to service the request in real time), its uses, linkage to identity, tracking status, partner SDK practices and applicable exceptions. OS permission alone does not substitute for an accurate data-type disclosure. Google Play Data Safety has its own definitions of collection and sharing, SDK disclosure requirements and exemptions; ephemeral off-device processing may be answerable on the form and omittable from the visible section only when Google's stated criteria hold. Both declarations must accurately reflect GPS location data transmitted to the carrier's TMS, photo storage and transmission, driver identity data handling and the behavior of any integrated third-party analytics or crash reporting SDKs. No BOL numbers, receiver addresses or delivery details in analytics payloads or crash reporting payloads.
GS1 EPCIS scope. GS1 EPCIS 2.0 provides an optional standardized event model for supply chain visibility. If the carrier adopts EPCIS, the app publishes events at pickup (ObjectEvent), loading (AggregationEvent) and delivery (ObjectEvent with ePOD reference). EPCIS adoption is voluntary and depends on trading partner requirements. EPCIS is a visibility model for supply chain events; it does not replace ELD (electronic logging device) requirements under FMCSA regulations or prove regulatory compliance for hours of service, vehicle inspection or other carrier obligations.
Disjoint held-out setup. 12 synthetic delivery records divided into two disjoint cohorts. Positive cohort (4 records: DEL-001 through DEL-004): current session, authenticated driver, correct dispatch assignment, location verified, within policy. Negative cohort (8 records: DEL-005 through DEL-012): stale dispatch, cross-driver, wrong location, expired session, unauthorized role, duplicate POD, unknown dispatch DSP-ABSENT, TMS outage. Each negative has zero unauthorized effects target. Held-out total (12) excludes revocation (DEL-R101), restore (DEL-R201) and stale-submission (log_R_STALE_901) fixtures. Training/tuning explicitly disjoint. All hypothetical.
Allowed workflow (log_1, operation A). Fixture DEL-001: driver DRV-1100 authenticates, views dispatch DSP-5001 with current freshness, captures ePOD at Receiver-B with key op:log_A_001 scoped to carrier/driver DRV-1100/dispatch DSP-5001/BOL BOL-7701/session SES-LOG-001. Compliance manager independently reads: (a) driver status (active); (b) session validity (current); (c) dispatch assignment (DSP-5001 assigned to DRV-1100); (d) GPS within geofence of Receiver-B; (e) no prior ePOD for this dispatch. Approves the exact ePOD submission for driver DRV-1100, dispatch DSP-5001, BOL-7701 at Receiver-B under the configured ePOD policy. Terminal manager (authorized executor) submits. Expected business receipt: ePOD receipt at TMS authority (read TMS independently, confirm present with BOL-7701, signature hash, photo references, GPS and timestamp). Evidence: delivery audit log at audit authority (read independently, confirm present for op:log_A_001). TMS/POD receipt is the authoritative effect, not a log entry. Acceptance target: 4 of 4 positive records produce confirmed ePOD receipts at TMS authority.
Replay of A. Same key op:log_A_001 replayed. Durable log: key present and committed. Rejected, 0 duplicate ePODs.
Independently approved B (log_1b, operation B). Fixture DEL-002: different driver DRV-1101, different dispatch DSP-5002, different receiver Receiver-C, key op:log_B_002, session SES-LOG-002. Compliance manager independently reads DRV-1101 status (active), session (current), dispatch assignment (DSP-5002 assigned to DRV-1101), GPS within geofence of Receiver-C, no prior ePOD for DSP-5002. Freshly approves for this distinct action. Terminal manager submits. Expected business receipt: ePOD record at TMS authority with BOL-7702 (read independently, confirm present). Evidence: delivery audit log (read independently, confirm present). Expected from three submissions (A, replay A, B): 2 new ePOD receipts committed (A for DSP-5001 and B for DSP-5002), 0 from replay. Acceptance target: 2 of 3 submissions produce new ePODs; 0 duplicate effects.
Denied: stale dispatch (log_2a). Fixture log_stale_dispatch_1 / negative DEL-005: ePOD references dispatch data 4 hours old, threshold 1 hour. Requires fresh dispatch fetch. 0 stale-state deliveries. Denied: cross-driver (log_2b). DEL-006: DRV-1100 submits ePOD for DSP-9999 assigned to DRV-2200. Assignment check fails. 0 cross-driver deliveries. Denied: wrong location (log_2c). DEL-007: GPS more than 2 miles from receiver. Location check fails. 0 mislocated deliveries. Denied: expired session (log_2d). DEL-008: session timeout. 0 deliveries on expired sessions. Denied: unauthorized role (log_2e). DEL-009: driver modifying policy. 0 policy changes by drivers. Denied: duplicate POD (log_2f). DEL-010: ePOD already exists for dispatch. 0 duplicate PODs. Denied: unknown dispatch (log_2g). DEL-011: DSP-ABSENT not in TMS. 0 deliveries for unknown dispatches. Denied: TMS outage (log_2h). DEL-012: TMS unreachable during dispatch refresh. App shows cached assignments with stale indicator. 0 new ePODs without dispatch confirmation.
Stale-submission recovery (log_stale_submit). Driver DRV-3300 captures ePOD offline, key op:log_R_STALE_901. Reconnects after staleness threshold. Re-check dispatch assignment freshness (stale). If dispatch was cancelled or reassigned during offline period, ePOD held for terminal manager review. If dispatch still assigned and active, driver confirms submission. 0 stale submissions auto-transmitted.
Revoked authority (log_3c). Fixture DEL-R101: terminal manager queued ePOD for dispatch DSP-5003 with key op:log_R_101, current approval version APV-LOG-5; compliance manager had approved the exact driver, dispatch and location before enqueue. Before TMS confirmed receipt, director of operations (named revoker) revoked terminal manager's ePOD submission authority (approval version now APV-LOG-6). On delayed reconnect: device reads APV-LOG-6, terminal manager authority absent. Device rejects dispatch: op:log_R_101 marked quarantined and non-dispatchable in local ledger (retained for audit). Backend also rejects if queued ePOD arrives. Independently read TMS: no ePOD for DEL-R101. Independently read audit: no entry. Independently read pending queues: zero. Committed effects from prior operations (ePODs for DSP-5001 and DSP-5002): preserved and unchanged. 0 effects after revocation.
Revoked dispatch assignment before offline send (log_3c_offline). Driver DRV-1100 receives dispatch DSP-5006 (never previously committed, assigned version ASGN-V1). DRV-1100 captures ePOD offline for DSP-5006 with key op:log_R_ASGN_601 before reassignment was received on device. While DRV-1100 is offline, terminal manager reassigns DSP-5006 from DRV-1100 to DRV-2200 (assignment version now ASGN-V2). On reconnect: device syncs, reads current dispatch assignments. DSP-5006 assignment version is ASGN-V2, assigned to DRV-2200, not DRV-1100. Offline ePOD op:log_R_ASGN_601 held in quarantine (not auto-submitted). Terminal manager reviews: if DRV-1100 actually completed delivery before reassignment, terminal manager reauthorizes submission under new key with current assignment justification. If not verified, ePOD discarded. Previously committed ePODs (DSP-5001 at op:log_A_001 and DSP-5002 at op:log_B_002) preserved unchanged. 0 unauthorized ePODs from reassigned dispatches.
Permission denied: photo and location (log_3c_perm). Driver denies camera permission at OS level: ePOD capture blocked (photo evidence required by carrier policy). App shows clear message that camera permission is required for ePOD and does not allow signature-only submission when carrier policy requires photo evidence. Driver denies location permission: GPS coordinates unavailable. ePOD capture proceeds but location field marked "unavailable, driver denied permission". Terminal manager reviews ePOD without GPS and decides whether to accept based on other evidence (photos, timestamp, signature). Separate tests: camera denial blocks photo capture; location denial blocks GPS but does not block entire ePOD if carrier policy permits location-absent submissions.
Dropped first response (log_3b). Fixture DEL-003: driver DRV-1100 submits ePOD for dispatch DSP-5005 at Receiver-D, key op:log_A_003, session SES-LOG-003, approval version APV-LOG-5. Connection interrupted before confirmation. Pre-retry reconciliation:
- Read durable ePOD log for key
op:log_A_003: present (committed) / absent / error.
- Read TMS authority for ePOD receipt matching dispatch DSP-5005, driver DRV-1100, key
op:log_A_003: confirmed present (with BOL reference) / confirmed absent / pending or in-flight.
- Read audit authority for delivery log entry for this key: confirmed present / confirmed absent / pending or in-flight.
- Read session SES-LOG-003 validity: current / expired.
- Read driver DRV-1100 status and dispatch assignment: DSP-5005 still assigned to DRV-1100 / reassigned.
- Read GPS location validity against Receiver-D geofence: within / outside.
- Read dispatch DSP-5005 freshness: current / stale.
- Read terminal manager authority and approval version: APV-LOG-5 current / revoked.
- Check pending ePOD queue and in-flight submissions for this key: zero / nonzero.
Committed, consistent. Durable log committed AND TMS ePOD receipt confirmed present AND audit log present, no pending: complete. No repeat. Read both to confirm.
Committed receipt, audit absent. Durable log committed, TMS ePOD receipt confirmed present (business receipt committed). Audit log confirmed absent AND absent from pending/in-flight (evidence record missing, not a business effect). Reconcile: receipt exists, no repeat of ePOD submission. If audit correction is supported, compliance manager freshly approves a scoped evidence-only write under new key op:log_C_003 targeting only the missing audit entry. Independently verify TMS receipt unchanged and audit entry now present. No business write repeated.
Committed log, receipt absent. Durable log committed but TMS confirms no ePOD receipt AND nothing pending: HOLD for director of operations investigation. No new ePOD write.
Committed log, any effect pending or in-flight. STOP. Director of operations investigates before any action.
No log, effects exist. No durable log for key op:log_A_003, but TMS receipt or audit entry exists: reconcile existing without replay.
Conclusively uncommitted. No durable log, TMS conclusively no receipt, audit conclusively absent, pending/in-flight clear, session current, dispatch assigned, GPS valid, dispatch fresh, authority at APV-LOG-5 verified, compliance manager freshly approves exact same action: resubmit same key op:log_A_003. No automatic retry.
Fails closed. Any unknown read, pending, expired session, stale dispatch, reassigned dispatch, revoked authority or ambiguous state: hold for director of operations. Acceptance target: 0 duplicate ePOD receipts.
No-media manual path. If driver's device camera is non-functional or photo evidence cannot be captured (hardware failure, policy does not require photos for this carrier), terminal manager may authorize a manually confirmed ePOD (signature and notes only, no photos) under a separate key with explicit carrier-policy justification. TMS receipt records the confirmation method as "manual, no photo".
Operations logging (log_4). Restricted delivery audit record (proposed; scoped by carrier): driver, BOL, dispatch, ePOD reference, operation key, decision, timestamp. General operational log: opaque operation reference, role, timestamp, outcome. No BOL numbers, receiver addresses or delivery photos in general logs. Retention per carrier policy and applicable regulations. Project log retention per owner policy and applicable requirements. Native input validation errors are acceptance targets. Training/tuning disjoint.
Staged restore (log_5). After system recovery: stage privately with no production ePOD writes using prior known state. Read authoritative versions before restore at each affected authority: TMS authority (ePOD for DSP-5001 from op:log_A_001 present with BOL-7701, ePOD for DSP-5002 from op:log_B_002 present with BOL-7702, no ePOD for DEL-R101), dispatch status for each (DSP-5001 delivered, DSP-5002 delivered, DSP-5003 not delivered), pending ePOD queue (state). Authorized route in staging: terminal manager with current scope (APV-LOG-5 if not revoked) and compliance manager accepted; committed ePOD receipts from before outage present and consistent at TMS. Revoked route in staging: terminal manager whose authority was revoked at APV-LOG-6 (log_3c) denied. Private restore fixture DEL-R201 with key op:log_R_201 (distinct from DEL-R101 and outside held-out): read TMS authority (no ePOD for DEL-R201 before restore) and read again after restore (still absent, no production writes). 0 production effects from restore. Named safe carrier fallback owner: director of operations; delivery confirmation reverts to phone-based POD with manual paper signature after compliance manager review. Queue reconciliation: director of operations reviews pending ePOD queue entries. Two named roles sign off before production restart: compliance manager verifies ePOD data handling and carrier policy configuration, terminal manager verifies dispatch assignment and ePOD submission workflows. Both approve before production restore.
VoiceOver and TalkBack accessibility plan (log_6). On iPhone SE (iOS 17) with VoiceOver, driver attempts 3 tasks: (1) view assigned dispatch with pickup/delivery details (target: dispatch number, addresses and pallet count announced); (2) capture ePOD with signature and photo (target: signature area labeled, photo capture confirmation announced); (3) view sync status for pending deliveries (target: pending count and last sync time announced). On Samsung Galaxy A14 (Android 14) with TalkBack, driver attempts 3 tasks: (1) accept dispatch (target: dispatch details and accept button announced); (2) record delivery exception (target: exception category and description field labeled); (3) view dispatch queue (target: dispatch list navigable with stop details). On iPad at 820 by 1180 with keyboard, terminal manager attempts 3 tasks: (1) navigate dispatch queue with arrow keys; (2) open dispatch detail with Enter; (3) reassign dispatch with keyboard. On desktop at 1280 by 800 with keyboard, compliance manager attempts 3 tasks: (1) navigate ePOD policy; (2) review configuration; (3) approve changes. Low-end device: verify app loads within 4 seconds on 3G. Text scale: 200% readable. Test plan; results not claimed.
This is a hypothetical scenario for illustration. Actual scope, timeline and cost depend on your requirements.