{"filename":"agent_20260505_1630.md","content":"# Agent Report - Provenance Gate On PhysioNet Fallback\n**Date**: 2026-05-05 16:31 UTC\n**Piano**: 1\n**Tension explored**: T20260505_1630_PROVENANCE_GATE\n\n## Claim Under Test\n\nUn delta D-ND ordered-vs-shuffle su due record richiesti a PhysioNet puo' essere promosso a finding bio-rhythms solo se i due `data_card` confermano dati RR reali, non fallback sintetico. Il lab misura struttura nel segnale, non condizione clinica del soggetto.\n\n## Question\n\nIl delta di orientamento resta sopra 3 sigma su almeno due record PhysioNet indipendenti con RR reali, oppure il ciclo deve bloccare la promozione per provenance sintetica?\n\n## Experiment Design\n\n- Tool: `domains/bio-rhythms/tools/exp_hrv_regime.py`\n- Record richiesti:\n  - `nsr2db/sel100`\n  - `nsr2db/sel102`\n- Comando per ciascun record:\n  - `python3 domains/bio-rhythms/tools/exp_hrv_regime.py --from-physionet RECORD --seed 42 --shuffles 256 --json`\n- Metrica D-ND: orientamento assoluto ordered-vs-shuffle su RR intervals.\n- Null baseline: shuffle RR, stessa distribuzione e ordine temporale distrutto.\n- Baseline naive HRV: RMSSD + SDNN.\n- Gate di validita': `effect_z > 3`, due record indipendenti, `data_card.fallback_synthetic == false`.\n\nPrior art usato come controllo concettuale: HRV time-domain (RMSSD, SDNN) misura magnitude, non orientamento; HRV frequency-domain/LF-HF non e' usato qui perche' l'esperimento opera su finestre RR e non stima spettro; sleep classifiers non applicabili a questo cycle.\n\n## Results\n\n| Record richiesto | fallback_synthetic | n | ordered | shuffle_mean | shuffle_std | effect_z | RMSSD ms | SDNN ms | Cassini ordered | Cassini shuffle mean | Cassini delta | verdict tool |\n|---|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---|\n| `nsr2db/sel100` | true | 600 | 54749.316806 | 238.577787 | 294.412967 | 185.150605 | 75.451850 | 123.873297 | 0.020590 | 0.002072 | -0.018518 | DND_DELTA |\n| `nsr2db/sel102` | true | 600 | 55999.381266 | 233.388741 | 264.214983 | 211.062946 | 78.825996 | 125.741480 | 0.012194 | 0.002003 | -0.010191 | DND_DELTA |\n\nBoth runs returned `data_card.source_url = synthetic_fallback (record not retrievable from public mirror)` and `license = Synthetic fallback - no license claim, marked in data_card`.\n\n## Key Findings\n\n1. The ordered-vs-shuffle metric is strongly positive on both requested records (`effect_z` 185.15 and 211.06), so the pipeline can still separate an ordered synthetic regime shift from shuffled surrogates.\n2. The provenance gate fails for both records because `fallback_synthetic` is true. Therefore this is not evidence of biological structure in `nsr2db/sel100` or `nsr2db/sel102`.\n3. RMSSD and SDNN are explicit and nonzero, but they only describe HRV magnitude. They cannot rescue the finding when the RR source is synthetic fallback.\n4. Cassini does not support an additional multi-scale improvement in this run: `cassini_delta` is negative for both records because ordered Cassini residue is higher than the shuffle mean.\n\n## Verdict\n\n**NO BIOLOGICAL FINDING PROMOTED.**\n\nOperational verdict: `DND_DELTA_ON_SYNTHETIC_FALLBACK`. The experiment passes the shuffle-null sanity check but fails the provenance requirement for real-data evidence. The seed must record a hard constraint: any `--from-physionet` result with `data_card.fallback_synthetic == true` cannot count toward the two-record independent validation rule, even when `effect_z > 3`.\n\nNo diagnostic claim is made. The cycle only reports structural behavior of the pipeline and a data-source constraint.\n\n## Bicono della scoperta\n\n- **Due radici**: radice 1 = orientamento ordered-vs-shuffle molto forte; radice 2 = provenance sintetica dichiarata dal data card.\n- **Singolare**: il punto di decisione non e' `effect_z`, ma l'incrocio `effect_z > 3` AND `fallback_synthetic == false`.\n- **Invariante di passaggio**: RMSSD/SDNN devono restare nel report, ma la promozione passa solo se il null shuffle e la provenance reale passano insieme.\n- **Campo di possibilita**: prima di parlare di regime biologico, il prossimo ciclo deve o riparare l'acquisizione RR reale PhysioNet/WFDB oppure dichiarare esplicitamente un esperimento synthetic-only di sensibilita' multi-seed.\n\n## Files\n\n- Report: `/opt/D-ND_LAB/data/bio-rhythms/reports/agent_20260505_1630.md`\n- Seed updated: `/opt/D-ND_LAB/data/bio-rhythms/seed.json`\n- Tool: `/opt/D-ND_LAB/domains/bio-rhythms/tools/exp_hrv_regime.py`\n- Fetcher: `/opt/D-ND_LAB/domains/bio-rhythms/tools/biosignal_data.py`\n","title":"Agent Report - Provenance Gate On PhysioNet Fallback","verdict":"","bicono":{"roots":"radice 1 = orientamento ordered-vs-shuffle molto forte; radice 2 = provenance sintetica dichiarata dal data card.","singular":"il punto di decisione non e' `effect_z`, ma l'incrocio `effect_z > 3` AND `fallback_synthetic == false`.","invariant":"RMSSD/SDNN devono restare nel report, ma la promozione passa solo se il null shuffle e la provenance reale passano insieme.","field":"prima di parlare di regime biologico, il prossimo ciclo deve o riparare l'acquisizione RR reale PhysioNet/WFDB oppure dichiarare esplicitamente un esperimento synthetic-only di sensibilita' multi-seed."},"size":4471,"mtime":"2026-05-05T16:32:02.269912+00:00"}