# Atlas iteration 17 — complete the daily recording flow at large text sizes

Iteration 17 addresses the seven concrete Atlas findings from [daily cold review 13](../../../../../reviews/v08/daily-final-cold-13/first-verdict.md). The review remains frozen at **82/100** for iteration 16. This document records implementation and verification of iteration 17; the next independent review owns its assessment.

The largest change is in the set logger. At a 390 × 640 viewport, the same 36px input text now fits in a 375px document instead of the iteration-16 document's 522px width. Weight, reps, RPE, Record/Save and the set menu remain available. Fields wrap according to their font-relative intrinsic widths.

## Findings, changes and observed results

| Review 13 finding | Iteration 17 change | Verification |
|---|---|---|
| The 200% set table clips RPE and right-side actions | Replace the compact table's fixed columns with wrapping flex fields and visible per-field labels. Keep the actual enlarged text; preserve the 44px icon control. | [Matched measurements](matched-views.json): input 36px in both versions; document 522 → 375px. At 320px normal text, all five controls fit in the row. |
| Grip takes an entire secondary row | Food, check-in and grip share the existing quick-actions bar. The two text actions can wrap internally. Grip history and its record button remain separate targets within the bar. | At 320 × 568, all three items start at the same y=255.9375; [before](evidence/before-quick-actions-320.png), [after](evidence/after-quick-actions-320.png). |
| Check-in opens history before today's editor | Open the existing BodyJournalForm directly with today's row/date. | Save energy 7, fatigue 4, stress 3 and a natural note; reload and reopen with every value retained. [Events](events.json). |
| Units sit too close to large values | Use a consistent .375rem baseline-aligned gap for health metric units. | [Matched home](evidence/after-home-390.png). |
| Unfinished-save confirmation omits remaining work | Count planned sets for the current session and say “已儲存，9 組待記錄” in the tested partial-save state; include equivalent English/Japanese copy. | First offline record → partial save → continue → reconnect/reload passes. [Screenshot](evidence/final-offline-partial-save.png). |
| Segmented progress reads as scattered completion | Fill the first N segments according to the existing recorded-set count. | Same 2/12 state in the paired home captures; actual count remains unchanged. |
| Missing exercise artwork differs from neighboring illustrated tiles | Give the existing missing-image glyph the same dark tile surface, border and restrained green tone as generated artwork. | [Normal training](evidence/after-training-390.png). Unknown movements retain their generic glyph. |

## Matched views

Each pair uses the **same new synthetic account**, fixed clock, initial 2 recorded / 10 planned sets, viewport and navigation sequence. The before service uses frozen iteration 16; the after service uses frozen iteration 17. The next bench set starts at 65 kg × 8 with blank RPE.

| State | Iteration 16 | Iteration 17 |
|---|---|---|
| Desktop home, 1440 × 900 | [Before](evidence/before-home-1440.png) | [After](evidence/after-home-1440.png) |
| Phone home, 390 × 640 | [Before](evidence/before-home-390.png) | [After](evidence/after-home-390.png) |
| Quick actions, 320 × 568 | [Before](evidence/before-quick-actions-320.png) | [After](evidence/after-quick-actions-320.png) |
| Recording, 390 × 640 | [Before](evidence/before-training-390.png) | [After](evidence/after-training-390.png) |
| Recording, 390 × 640, actual text 200% | [Before](evidence/before-training-390-text200.png) | [After](evidence/after-training-390-text200.png) |
| Recording, 320 × 568 | [Before](evidence/before-training-320.png) | [After](evidence/after-training-320.png) |

The large-text captures double computed font sizes and pixel line heights through an isolated verification stylesheet. Viewport and device scale remain unchanged. This method avoids modifying editor content. Every formal capture waits for transitions and moves the pointer off controls.

## Daily-flow regression

[verify-training.py](verify-training.py) performs three meaningful groups of browser checks against a fresh synthetic account from the existing [fixture helper](../iteration-15/fresh-fixture.py). Its final output is [training-regression.json](training-regression.json).

1. **First offline record and partial save.** With the normal service worker controlling the page, disconnect before recording bench set 3. Enter 67.5 kg × 7, RPE 8. Save the unfinished session; the list and toast both retain 9 planned sets. Continue at 3/12, reconnect and reload.
2. **Completed-set editing at 390 × 420 and actual text 200%.** Edit the completed third set to 70 kg × 7, RPE 8.5. Enter advances from weight to reps; Tab reaches RPE. The focused RPE control remains inside the 420px viewport and the existing mobile-nav focus behavior frees editing space. Save and reload retain all three values.
3. **Draft continuity at 320px.** Change planned set 4 to 61.5 kg × 9, reload, and retain the draft while the session still has 3 recorded / 9 planned sets. All controls remain inside the viewport.

Additional observed checks are in [events.json](events.json):

- First-time offline navigation to the home route and an offline full reload succeed with the normal service worker.
- Today's check-in opens directly, saves and survives reload. The grip record dialog opens for the same date.
- December 3 recovery remains 82/100, HRV 71.3 ms and resting heart rate 52.5 bpm after reload. [Evidence](evidence/after-previous-recovery-reload-390.png).
- The December 2 daily journal remains selected after reload and shows 3 squat sets / 1,650 kg·reps. [Evidence](evidence/after-diary-dec02-reload-390.png).

An earlier diagnostic context blocked service workers and failed to open an uncached lazy home route offline. The normal service-worker context was then exercised through first offline navigation and a full reload; both passed. The diagnostic and normal-context observations remain in the event record.

Run the focused regression against a newly created synthetic account:

~~~sh
/home/nvidia/miniforge3/bin/python verify-training.py /private/path/setup.json /path/to/evidence
~~~

The setup file contains authentication and stays outside published artifacts.

## Source and deployment

Exactly five files changed. [source-before](source-before/), [source-after](source-after/) and [implementation.patch](implementation.patch) compare the files as found at the start of this iteration, preserving pre-existing repository changes.

- TodayOverview.tsx and TodayOverview.css
- SetLogger.css
- ExerciseThumbnail.css
- Training.tsx

TypeScript checking and the frozen-build production build passed. [Typecheck log](typecheck.log), [build log](build.log).

Frozen builds:

- Before: /tmp/atlas-v08/dist-iteration16-final
- After: /tmp/atlas-v08/dist-iteration17-final

The existing publish-main.sh deployed the iteration-17 build successfully. The normal 3001 root and /api/health return 200, and the served entry matches the frozen build. The runner received HTTP 403 from the public workers.dev URL during its external check. Exact results are in [deployment.json](deployment.json) and [deployment.log](deployment.log).

The repository documentation check reported two links in the concurrent plain-brief-gear study. [Repository check record](repository-check.json) contains the specific paths. Atlas compilation and the recorded application flows passed.

[provenance.json](provenance.json) records fixtures, versions, measurement method and ownership. [cleanup.json](cleanup.json) records final process and credential cleanup.
