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
| Quality | Requirement | Target | How it is verified |
|---|---|---|---|
| Privacy timing | Frame discard for non-enrolled shoppers | Within 100 ms | Edge tests with memory and disk inspection |
| Privacy | Face crops or frames written to disk or sent off the device | Never | Forensic checks of the appliance in every release |
| Privacy | Matches against non-consenting people | Never | Test sets with enrolled and non-enrolled faces |
| Independence | AI component failure, restart or update changes the privacy gate | Never | Fault injection in every release; code and network isolation review |
| Deletion | Withdrawal to template deleted everywhere | Within 24 hours | Reconciliation job and audit |
| Correctness | Orphan templates without active consent | Zero | Nightly register reconciliation |
| Latency | Frame to match proposal at the lane, p95 | Under 500 ms | Edge benchmark |
| Accuracy | False match rate at the operating point | Under 1 in 100,000 | Evaluation set and live monitoring |
| Fairness | Largest error-rate gap across permitted groups | Within the agreed tolerance | Subgroup evaluation |
| Availability | Checkout without Face Pass | 100% of lanes always | Fault drills |
| Availability | Face Pass, documentation and advisory assistants | 99.5%; a failure never stops a sale | Synthetic checks; manual fallback drills |
| Security | Templates encrypted with per-member keys; devices hardened | 100% | Penetration tests, key audits |
| Security | All language-model traffic scanned | 100% | Scan coverage alert |
| Observability | A trace for every unit of software work, joined across components | 100% of errors and blocks, 10% of others | Telemetry coverage report |
| Cost | Software platform cost per enrolled member per month | Within budget | Cost 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.
| Quantity | Pilot, 5 stores | Region, 200 stores | Busy day |
|---|---|---|---|
| Stores | 5 | 200 | 200 |
| Enrolled members | 5,000 | 200,000 | 200,000 |
| Face Pass checkouts per store per day | 150 | 150 | 300 |
| Match proposals per day | 750 | 30,000 | 60,000 |
| Frames processed on the edge per store per day | About 2.5M | About 2.5M | About 3M |
| Anonymous count records per store per day | About 300 | About 300 | About 300 |
| Language-model calls per day (documentation) | 20 | 300 | 400 |
| Language-model calls per second, busiest hour | Under 0.1 | Under 0.1 | Under 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.
| Failure | Behaviour | What the team sees |
|---|---|---|
| Primary language-model provider down | Gateway fails over to the second provider | No visible change, possibly slower |
| Both providers down | Documentation is manual; templates are used for drafting | A banner: drafting unavailable |
| Scan service down | Fail closed on AI-drafted text; nothing is filed from AI | Drafting off; manual documentation |
| Advisors unavailable | Managers staff without advice | A banner: advice unavailable |
| Consent register unreachable | Treat as no consent; Face Pass off at the lane | Lane shows standard checkout |
| Vault or matcher unavailable | Face Pass off; checkout continues normally | Lane shows standard checkout |
| Edge self-check failed | Recognition and counting off at that store; incident raised | Banner at the store and an alert |
| Any privacy gate fault | Stop all matching at the store; nothing kept | Recognition off with reason |
The first failure is invisible. The second is visible and honest: the team documents by hand, and stores are unaffected.
Recovery objectives
| Component | Recovery time | Recovery point | Approach |
|---|---|---|---|
| Privacy gate and edge appliance | Not applicable: fail to off | Not applicable | Redundant hardware; fault means recognition off |
| Consent register | 15 minutes | Zero | Replicated store, standby region |
| Template vault | 1 hour | Last confirmed state, with deletions replayed first | Replicated, encrypted, deletion-first restore |
| AI gateway | 15 minutes | Configuration is in version control | Two regions, active and standby |
| Retail gateway | 15 minutes | Configuration is in version control | Two regions, active and standby |
| Lakehouse | 8 hours | One hour | Platform replication |
How the requirements are tested
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.
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.
Chaos
Turn off each dependency in turn in staging and check the degradation ladder.
Register audits
Every night, compare templates with consents. An orphan is an incident.
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