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, so it can be tested before release and watched in production. Figures are illustrative planning targets. Loyalty traffic has sharp peaks: award sales and bonus-mile promotions, month-end partner files and holiday travel.
Requirements by quality
| Quality | Requirement | Target | How it is verified |
|---|---|---|---|
| Performance | Login risk score, p95 | Under 150 ms | Load test and latency alert |
| Performance | Rule-approved claim, submission to credit | Under 5 minutes | Synthetic claims every 15 minutes |
| Performance | Service copilot answer, p95 | Under 6 seconds | Synthetic questions |
| Availability | Redemption and claims services | 99.9% monthly | Synthetic transactions every minute |
| Availability | Degraded mode when a dependency fails | Work queues or steps up, nothing lost | Chaos tests per dependency |
| Scalability | Award sale peak without a latency breach | Five times a normal day | Soak and spike tests |
| Security | All model and tool traffic scanned | 100% | Scan coverage alert |
| Security | Writes authorised by basis and approval | 100% | Basis tests, contract tests |
| Privacy | Restricted data in logs and traces | None | Automated scan of telemetry and tables |
| Correctness | Posted miles equal the rule engine result | 100% | Daily reconciliation job |
| Correctness | Ledger postings without a basis | Zero | Basis audit query and release gate |
| Correctness | Sends without a valid consent check | Zero | Send audit and release gate |
| Resilience | Recovery time objective, claims and redemption | 1 hour | Quarterly disaster recovery exercise |
| Resilience | Recovery point objective, ledger postings | Zero loss of committed postings | Outbox replay |
| Observability | A trace for every unit of work, joined across gateways | 100% of errors and blocks, 10% of others | Telemetry coverage report |
| Maintainability | Time to repoint a model alias after a passing evaluation | Under one hour | Release drill |
| Accessibility | App and email meet recognised accessibility guidance | Level AA | Audit before launch |
| Cost | Model and platform cost per claim and per case | Within budget | Cost query and monthly review |
Capacity model
The model starts from monthly volume and works down to calls per second, so each tier can be sized and its limits set on the gateway.
| Quantity | Pilot, one market | Full volume | Sale or holiday peak |
|---|---|---|---|
| Flight segments per day | 25,000 | 500,000 | 650,000 |
| Missing-miles claims per day | 200 | 4,000 | 8,000 |
| Model calls per claim | 2 | 2 | 2 |
| Contact centre cases per day with the copilot | 1,500 | 30,000 | 60,000 |
| Model calls per copilot case | 4 | 4 | 4 |
| Logins and redemptions scored per day | 400,000 | 8,000,000 | 30,000,000 |
| Partner transactions per month | 1.2M | 12M | n/a |
| Offer messages per month | 2M | 20M | n/a |
| Model calls in the busiest hour | About 1,500 | About 25,000 | About 60,000 |
| Model calls per second, busiest hour | About 0.4 | About 7 | About 17 |
Fraud and propensity scoring use trained models on serving endpoints, not the language-model gateway, so the language-model call rate stays low even when scoring peaks at tens of millions of events a day. Peak is five times the full-volume figure for sales and holidays.
Degradation ladder
When a dependency fails, the platform gives up one capability at a time and always shows what is pending. A write path never keeps working without its checks.
| Failure | Behaviour | What people see |
|---|---|---|
| Primary model provider down | Gateway fails over to the second provider | No visible change, possibly slower |
| Both providers down | Claims queue for agents; rules still credit flown segments automatically; the copilot is off | Claims wait longer; agents use rulebook search |
| Scan service down | Fail closed on writes; reading continues | No automatic credit from documents; agents work from the queue |
| Terms index down | Copilot declines rule questions and says so | Agents use the rulebook search |
| Fraud scoring down | Strictest step-up for redemptions above a threshold | More verification prompts, no silent allow |
| Consent service down | No marketing sends; service messages by rule only | Offers pause; nothing goes out unchecked |
| Ledger down | Postings queue with evidence | Items show as pending; reconciliation after recovery |
The first failure is invisible. The second is visible and honest: the claim waits for a person, and nothing is lost.
Recovery objectives
| Component | Recovery time | Recovery point | Approach |
|---|---|---|---|
| Orchestrator and agents | 1 hour | State to the last completed step | Stateless services, state in a replicated store |
| AI (artificial intelligence) gateway | 15 minutes | Configuration is in version control | Two regions, active and standby |
| Tool gateway | 15 minutes | Configuration is in version control | Two regions, active and standby |
| Ledger postings | Per the ledger | Zero for committed postings | Outbox replay after recovery |
| Terms index | 4 hours | Rebuilt from the source table | Rebuild job |
| Fraud scoring endpoints | 15 minutes | Models are versioned artefacts | Two regions, active and active |
| Lakehouse | 8 hours | One hour | Platform replication |
How the requirements are tested
Load and soak
Replay recorded days and award-sale spikes at one, three and five times normal volume, with backends and models mocked at realistic latency.
Chaos
Turn off each dependency in turn in staging and check the degradation ladder.
Failover drills
Fail the model provider, then a region, quarterly. Measure recovery against the objectives.
Reconciliation
Every day, compare ledger entries with the rule engine's results and the finance journal. A difference is an incident.
Telemetry audit
Scan traces and tables for restricted data after every release.
Build this for your business
This example is a loyalty platform for an airline, but the same pattern, deterministic financial rules, a governed gateway, runtime security, consent-aware personalisation and measured quality, fits any program that holds a customer balance and makes offers. We can scope a pilot on your own systems.
Book a discovery call