Magic values
Generated from @railflo/synth’s MAGIC_VALUE_REGISTRY — see the sandbox guide for how to use these. Every value below has a named test proving its documented behaviour (packages/sandbox/test/).
| Category | Value | Behaviour |
|---|---|---|
| patient | (synthetic IHI ending in a 0001 block — see @railflo/synth ihi.ts) |
A seeded patient_directive deny consent record exists for this patient — every exchange targeting them is rejected policy_denied. |
| patient | (synthetic IHI ending in a 0002 block) |
Demographics are seeded to collide with another sandbox patient, triggering SPEC-005’s possible-duplicate match path on lookup/create. |
| patient | (synthetic IHI ending in a 0003 block) |
The demo patient for the identifier-reveal / decrypt-audit flow (SPEC-013’s reveal-identifier step-up). |
| recipient | unreachable@sandbox.railflo.com |
Every fallback-delivery attempt to this address fails; the exchange exhausts its retry ladder and reaches failed. |
| recipient | slow@sandbox.railflo.com |
The first 2 fallback-delivery attempts to this address fail; the 3rd succeeds. |
| recipient | locked@sandbox.railflo.com |
A normal, real recipient address — deliberately not special-cased. Documented as the address to use when demonstrating the secure-link retrieval page’s existing DOB-attempt lockout (3 wrong DOBs locks the link). |
| document filename | __infected__ |
A filename containing this marker simulates a positive virus-scan result (rejected, reason “infected”) without needing a real EICAR-style payload. |
| document filename | __lowconf__ |
Forces the classifier’s confidence below SPEC-010’s needs_review threshold regardless of actual content. |
| document filename | __extractfail__ |
Forces SPEC-011 extraction to fail after ingestion succeeds. |