# Recover one coupled hidden coordinate

This research module identifies a single reciprocal hidden oscillator under explicit physical calibration. It does not infer spatial dimension from state dimension. The browser lab is unchanged.

Read `HIDDEN_RECONSTRUCTION.md` for the equations, conditional identifiability result, all benchmark cases, false acceptance and follow-up intervention results.

## Interface

```python
import json
import numpy as np
from hidden_identifier import identify_hidden, propagate

cfg = json.load(open('protocol.json'))['fit']
# observed: N × 3 uniformly sampled displacement channels, N >= 160.
# K: independently calibrated symmetric visible stiffness, 3 × 3.
# Known mass normalization, equilibrium and linear sensor response are assumed.
diagnostics, model = identify_hidden(observed, dt, K, future_samples=360, cfg=cfg)

if diagnostics['accepted']:
    boundary_time = len(observed) * dt
    x = model['modal'].values([boundary_time])[0]
    v = model['modal'].values([boundary_time], derivative=1)[0]
    prediction, velocity = propagate(model['K'], x, v, np.arange(360)*dt)
    # prediction[:, :3] are visible coordinates; prediction[:, 3] is the
    # inferred hidden coordinate in the assumed normalization and sign gauge.
else:
    print(diagnostics['reasons'])
```

The known-calibration and reciprocal-coupling assumptions are essential. Passing fixed gates is not a confidence certificate. Do not apply this interface to arbitrary pixel intensities, atomic spectral lines or detector strain as if those were three calibrated displacement coordinates with a known stiffness matrix.

## Reproduce from the archive root

```bash
OPENBLAS_NUM_THREADS=1 python hidden_v3/run_hidden.py
OPENBLAS_NUM_THREADS=1 python hidden_v3/check_response.py
OPENBLAS_NUM_THREADS=1 python hidden_v3/plot_hidden.py
python hidden_v3/make_report.py
```

The first run checks the hashes of the original identifier and protocol. The second is an explicitly adaptive controlled-response study of the 30 strong-coupling fits plus the primary false acceptance. It adds no tuning to the original identifier. The primary and adaptive results remain separate. `engine_density_closure.csv` checks the existing all-element model outputs, not measured atomic spectra.
