Retail Facial Tracking · 11 / 26

Non-Functional Requirements and Capacity

Measurable quality requirements for the retail face platform: discard timing, match latency, availability, security, capacity, degradation and recovery, with privacy never degrading.

Why these requirements matter

Functional stories say what the platform does. These requirements say how well, and under what conditions. Each has a number and a way to prove it. Figures are illustrative planning targets, not legal or regulatory values. The most important requirement is structural: AI (artificial intelligence) components may degrade or fail, and the privacy gate must not change when they do.

Requirements by quality

QualityRequirementTargetHow it is verified
Privacy timingFrame discard for non-enrolled shoppersWithin 100 msEdge tests with memory and disk inspection
PrivacyFace crops or frames written to disk or sent off the deviceNeverForensic checks of the appliance in every release
PrivacyMatches against non-consenting peopleNeverTest sets with enrolled and non-enrolled faces
IndependenceAI component failure, restart or update changes the privacy gateNeverFault injection in every release; code and network isolation review
DeletionWithdrawal to template deleted everywhereWithin 24 hoursReconciliation job and audit
CorrectnessOrphan templates without active consentZeroNightly register reconciliation
LatencyFrame to match proposal at the lane, p95Under 500 msEdge benchmark
AccuracyFalse match rate at the operating pointUnder 1 in 100,000Evaluation set and live monitoring
FairnessLargest error-rate gap across permitted groupsWithin the agreed toleranceSubgroup evaluation
AvailabilityCheckout without Face Pass100% of lanes alwaysFault drills
AvailabilityFace Pass, documentation and advisory assistants99.5%; a failure never stops a saleSynthetic checks; manual fallback drills
SecurityTemplates encrypted with per-member keys; devices hardened100%Penetration tests, key audits
SecurityAll language-model traffic scanned100%Scan coverage alert
ObservabilityA trace for every unit of software work, joined across components100% of errors and blocks, 10% of othersTelemetry coverage report
CostSoftware platform cost per enrolled member per monthWithin budgetCost query and monthly review

Capacity model

The model starts from stores and members and works down to matches and data volumes, so each tier can be sized. Matching runs on local equipment; most cloud load is aggregates and documentation.

QuantityPilot, 5 storesRegion, 200 storesBusy day
Stores5200200
Enrolled members5,000200,000200,000
Face Pass checkouts per store per day150150300
Match proposals per day75030,00060,000
Frames processed on the edge per store per dayAbout 2.5MAbout 2.5MAbout 3M
Anonymous count records per store per dayAbout 300About 300About 300
Language-model calls per day (documentation)20300400
Language-model calls per second, busiest hourUnder 0.1Under 0.1Under 0.2

Language-model load is tiny because models are used only for documentation. Frames never leave the edge, so network and storage load is small.

Degradation ladder

When a dependency fails, the platform gives up one capability at a time. The privacy gate is never among them, and any doubt about consent means no matching.

FailureBehaviourWhat the team sees
Primary language-model provider downGateway fails over to the second providerNo visible change, possibly slower
Both providers downDocumentation is manual; templates are used for draftingA banner: drafting unavailable
Scan service downFail closed on AI-drafted text; nothing is filed from AIDrafting off; manual documentation
Advisors unavailableManagers staff without adviceA banner: advice unavailable
Consent register unreachableTreat as no consent; Face Pass off at the laneLane shows standard checkout
Vault or matcher unavailableFace Pass off; checkout continues normallyLane shows standard checkout
Edge self-check failedRecognition and counting off at that store; incident raisedBanner at the store and an alert
Any privacy gate faultStop all matching at the store; nothing keptRecognition off with reason
Provider failover and manual documentation When the primary provider times out the gateway fails over to the second. If both fail, the gateway returns an error and the copilot tells the team that drafting is unavailable so they document manually. The edge path is not involved. Privacy copilot AI gateway Provider A Provider B Privacy team draft privacy report route primary timeout fail over draft draft draft incident summary route primary error fall back error unavailable drafting unavailable, document manually acknowledged
Provider failover and manual documentation

The first failure is invisible. The second is visible and honest: the team documents by hand, and stores are unaffected.

Recovery objectives

ComponentRecovery timeRecovery pointApproach
Privacy gate and edge applianceNot applicable: fail to offNot applicableRedundant hardware; fault means recognition off
Consent register15 minutesZeroReplicated store, standby region
Template vault1 hourLast confirmed state, with deletions replayed firstReplicated, encrypted, deletion-first restore
AI gateway15 minutesConfiguration is in version controlTwo regions, active and standby
Retail gateway15 minutesConfiguration is in version controlTwo regions, active and standby
Lakehouse8 hoursOne hourPlatform replication

How the requirements are tested

  1. Edge inspection

    Run frames of enrolled and non-enrolled people through the appliance and inspect memory, disk and network for anything that should not exist.

  2. Isolation checks

    Prove by code and network review that no AI-facing component can reach the vault, the gate or the cameras, and test that failure of every AI component leaves the gate unchanged.

  3. Chaos

    Turn off each dependency in turn in staging and check the degradation ladder.

  4. Register audits

    Every night, compare templates with consents. An orphan is an incident.

  5. Telemetry audit

    Scan traces and tables for identifiable data after every release.

Build this for your business

This example is speculative and not a recommendation to deploy, but the same pattern, consent first, a deterministic privacy gate, a governed gateway, runtime security, advisory-only AI and measured fairness, fits any service that handles sensitive personal data. We can scope a pilot on your own systems.

Book a discovery call