adidshaft/atria
50.9
Adequate · 17 November 2026
348.2k
lines of production code
Swift
with Python
1
measurement over time
What this system is
Behavioural changes
1087 commits (143 fixes) modifying Atria/AtriaTests
A change to existing behaviour in Atria/AtriaTests — 1087 commits (143 fixs), 459 files: “Synchronize Bluetooth callback epochs”; “fix: key strain targets to physiological cycles”; “Bound history slices to preserve live heart rate”; and 1084 more (refs \#1, \#71, \#3, \#72, \#2, …).
Atria/AtriaTests · medium confidence · unverified
11 commits (0 fixes) modifying Atria
A change to existing behaviour in Atria — 11 commits, 4 files: “Declare wake alarm authorization purpose”; “Improve Atria reliability and workout experience”; “Preserve background workout routes and clarify GPS review flow”; and 8 more.
Atria · medium confidence · unverified
11 commits (0 fixes) modifying WhoopApp/WhoopWidget
A change to existing behaviour in WhoopApp/WhoopWidget — 11 commits, 1 file: “Align widget HRV confidence labels”; “Add Control Center capture controls”; “Add Lock Screen single-metric widgets (Steps / Strain / HRV / BPM)”; and 8 more.
WhoopApp/WhoopWidget · medium confidence · unverified
110 commits (6 fixes) modifying WhoopApp/WhoopApp
A change to existing behaviour in WhoopApp/WhoopApp — 110 commits (6 fixs), 12 files: “Add power thermal cadence governor”; “Add local VO2max estimate”; “Rework onboarding into guided flow; trim Overview checklist”; and 107 more.
WhoopApp/WhoopApp · medium confidence · unverified
138 commits (2 fixes) modifying tools
A change to existing behaviour in tools — 138 commits (2 fixs), 52 files: “Flag overdue long-wear samples”; “Prompt BLE stress operator actions”; “Require state pull for BLE stress evidence”; and 135 more.
tools · medium confidence · unverified
16 commits (1 fix) modifying Atria/AtriaUITests
A change to existing behaviour in Atria/AtriaUITests — 16 commits (1 fix), 2 files: “Restore overnight Activity HR and close remaining review-surface gaps”; “Fix full-card interaction for sample-data metric details”; “Detected-workout review reworked end to end (owner: 'needs rework throughout')”; and 13 more (refs \#71).
Atria/AtriaUITests · medium confidence · unverified
199 commits (0 fixes) modifying Atria/Atria.xcodeproj
A change to existing behaviour in Atria/Atria.xcodeproj — 199 commits, 1 file: “Read a just-checkpointed all-day journal when reconstructing Review this workout so an install bounce does not hide the afternoon walk”; “Keep queued gym history walking for 18s per slice instead of restoring live HR after one ACK”; “Keep last workout BPM through Start, and open Sleep/workout from a running phone”; and 196 more.
Atria/Atria.xcodeproj · medium confidence · unverified
2 commits (0 fixes) modifying tools/validation
A change to existing behaviour in tools/validation — 2 commits, 6 files: “chore: remove automated contributor attribution”; “Validation tools for the metric plan: pull\_day.sh (phone -\> \~/atria-validation, never the repo), atria\_export.py (session backup -\> hr/rr/sleeps/rollups CSV; backups are raw deflate), ref\_hr\_strap.py (any standard BLE HR chest strap incl. RR, never connects to a WHOOP), score.py (HR MAE/bias/within-5/lag, RR beat match + RMSSD bias, sleep onset/wake/duration vs diary, plan pass bars) and offline tests”.
tools/validation · medium confidence · unverified
2017 commits (236 fixes) modifying Atria/Atria
A change to existing behaviour in Atria/Atria — 2017 commits (236 fixs), 361 files: “Synchronize Bluetooth callback epochs”; “HR Zones detail: show the user's real per-zone bpm boundaries”; “fix: key strain targets to physiological cycles”; and 2012 more (refs \#4, \#1, \#71, \#3, \#72, …).
Atria/Atria · medium confidence · unverified
3 commits (1 fix) modifying scripts
A change to existing behaviour in scripts — 3 commits (1 fix), 1 file: “Clean public repository artifacts”; “fix: ship script mktemp under TMPDIR (sandboxed /tmp collision)”; “chore: ship-device.sh — hard-stop build/install/launch for the phone”.
scripts · medium confidence · unverified
32 commits (2 fixes) modifying tools/strap-mac
A change to existing behaviour in tools/strap-mac — 32 commits (2 fixs), 21 files: “Step conditions: gyro fails with bag/phone, firmware survives; accel periodicity separates walking from gestures; fused rule 6.7% / 0 false (in-sample)”; “Add metronome-labelled walk tool for step ground truth”; “Pairing mode: advert 180D+61080001, no bond, 6A/01 still refused; add pairing probes”; and 29 more.
tools/strap-mac · medium confidence · unverified
4 commits (0 fixes) modifying Atria/Atria.xcodeproj/xcshareddata
A change to existing behaviour in Atria/Atria.xcodeproj/xcshareddata — 4 commits, 2 files: “Second-pass cleanup: 8.5 GB -\> 640 MB; one cited file deleted in error”; “Cap coalesced compact IMU so Today steps cannot outrun wall time”; “Expose analytics calibration tests”; and 1 more.
Atria/Atria.xcodeproj/xcshareddata · medium confidence · unverified
4 commits (0 fixes) modifying WhoopApp
A change to existing behaviour in WhoopApp — 4 commits, 1 file: “Initial public release”; “Schedule background maintenance tasks”; “Gate WHOOP coexistence risk”; and 1 more.
WhoopApp · medium confidence · unverified
68 commits (8 fixes) modifying Atria/AtriaWidget
A change to existing behaviour in Atria/AtriaWidget — 68 commits (8 fixs), 5 files: “Show strap charging status in widgets”; “widgets: W2-A - civil-day fence split, honest staleness clock, app-rendered tiles, aligned freshness, truthful reload ledger”; “Keep last workout BPM through Start, and open Sleep/workout from a running phone”; and 65 more.
Atria/AtriaWidget · medium confidence · unverified
7 commits (1 fix) modifying python
A change to existing behaviour in python — 7 commits (1 fix), 11 files: “Initial public release”; “fix: ship durable WHOOP recovery and strap steps”; “Complete Atria reliability, recovery, and TestFlight readiness”; and 4 more.
python · medium confidence · unverified
891 commits (49 fixes) modifying (repo-wide)
A change to existing behaviour in (repo-wide) — 891 commits (49 fixs), 53 files: “Flag overdue long-wear samples”; “Show strap charging status in widgets”; “Avoid password autofill for coach API key”; and 885 more (refs \#1, \#72, \#51, \#65, \#21, …).
(repo-wide) · low confidence · unverified
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
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)
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
adidshaft/atria was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 17 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 8fedbbdfb6a2de7640c14b4f9ddfd80123c909fb — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.85+preprod-eba6548ac50f.