# Changelog

## Baseline

- First survey — no prior run to compare against. CAI 50.9.

## Lenses

- Code Health 62.3
- Architecture 93.3
- Maturity 59.3
- Readiness 33.8
- Security 66.7
- Performance 100.0

## Changes since last survey

- 300 commits — 287 feature/other, 13 fixes

## By area

- Atria/Atria — 194 commits
- docs/WHOOP4_PROTOCOL_FINDINGS.md — 49 commits
- Atria/AtriaTests — 22 commits
- (root) — 8 commits
- tools/strap-mac — 8 commits
- (repo) — 7 commits
- docs/APP_REVIEW_NOTES.md — 4 commits
- Atria/AtriaUITests — 2 commits
- docs/02-device-ble-map.md — 1 commit
- docs/CODE_REVIEW_2026-09-24.md — 1 commit
- docs/METRIC_VALIDATION_PLAN.md — 1 commit
- docs/handoff — 1 commit
- tools/StrapProtocol — 1 commit
- tools/validation — 1 commit

## Notable commits

- fix: App Review demo: fix two device-verified regressions in the new live session
- fix: Code review report 2026-09-24: findings, what was fixed, what is left and why
- fix: Fix 3.6 s main-thread hangs: the session journal re-scored the full open gyro span (up to 10 min of 100 Hz, via queue.sync) on every HR sample. Memoise the open-span score by span revision (exact) and refresh the MainActor read at most every 10 s, invalidated on seed/commit/abort.
- fix: Fix full-card interaction for sample-data metric details
- fix: Fix launch and rollup hangs (HangTracer on device, 2026-09-27: 0.5-2.4 s on nearly every launch).
- fix: Fix watchdog kills and CPU kills from R10 streaming: table-driven CRC-32 (bit-identical; the bitwise version ran ~5x per 2 KB frame and saturated the BLE queue so the MainActor retire barrier hit 0x8BADF00D), and archive native R10 frames only during an attended calibration capture (it was writing every frame to disk all day).
- fix: Merge night timeline from real data, physiological-day fixes and honest partial steps
- fix: Merge pull request #75 from adidshaft/fix/compaction-cpu-pacing
- fix: Merge pull request #76 from adidshaft/fix/sleep-health-export
- fix: Onboarding visual rebuild: one screen per page, full-width strap scenes with one instruction, step rail, pairing help sheet, HR fit hint, stale-key fix first, iCloud backup toggle.
- fix: README rewrite for visitors: one-line pitch, a single screenshot row (more behind a toggle), a 'What you get' grid, 'How accurate is it?' with the step results up front and a condensed status table, the contributors-wanted call with how-it-works steps, a two-line quick start with developer tooling folded away, and short privacy/principles. Stale rows fixed (R10 motion and catch-up now run on iPhone).
- fix: Regression: Mac unpair broke the strap command channel (peer-2 bond, LESC re-pair fails); H-BOND refuted.
- fix: Setup fixes from first iPhone run: no drops on radio reset, auto-retry failed check, 30 s connect budget, orphaned strap-history abort; recorder never leaves 16/00 open.
- change: A notification glance no longer throws away in-flight recovered work
- change: A wedged iPhone Bluetooth stack now tells the user to restart the phone
- change: Abort leftover idle-window drain that started while Atria was already open.
- change: Add Mac overnight WHOOP watch (TX=0) and log pointer.
- change: Add a Mac protocol console so the strap can be driven without the iPhone.
- change: Add metronome-labelled walk tool for step ground truth.
- change: Add morning insights, sync health, Shortcuts and a CI static gate
- …and 280 more

## Architecture

- 0 containers · 1 bounded contexts · 0 dependency edges (baseline)
