okami.mom/strata

git clone https://git.nkp.pet/okami.mom/strata

Niko1221Merge f-clean-3 (321794636): docs and history (cleanup step 3, items 3.0-3.10); release manifest and capability table with checks, history/ with pointers, link check, tools/ split, bench index; owner OK'd the wording 11-082b36e8a02

main
3.2 KiB67 linesraw

Strata · per-screen improvement plans

One plan per page and per scenario, written against the two rulebooks the app is built on — interaction-guidelines.md (Strata's own rules) and Apple's Liquid Glass HIG — and against what the code actually does today, not what it is meant to do.

Every plan follows the same shape: what it is today (grounded in the file and in measured numbers), where it falls short, the plan, motion, and how the result is verified. Claims about the present are checkable with the scripts in scripts/; claims about the future are written so they can be checked the same way once built.

Screens

#PageRoutePlan
01Chat#/chat01-chat.md
02Models#/models02-models.md
03Engine tuning#/tuning03-engine-tuning.md
04Monitor#/monitor04-monitor.md
05Serving#/serving05-serving.md
06Workspace#/workspace06-workspace.md
07Skills#/skills07-skills.md
08Settings#/settings08-settings.md
09First runmodal09-first-run.md

Scenarios

#ScenarioPlan
10Sidebar and navigation10-sidebar.md
11Command palette11-command-palette.md
12Context rail12-context-rail.md
13Overlays — drawers, menus, selects, popovers13-overlays.md
14Empty, loading and error states14-states.md
15Motion and fluidity15-motion.md
16Accessibility and long sessions16-accessibility.md

The shared vocabulary these plans assume

Fixed by the design system, so plans do not re-litigate them:

  • Light is the reference theme. Every change is designed light-first and verified in dark, never the reverse.
  • Capsules are for controls; the 8/14/20/24 scale is for surfaces. Audit-enforced.
  • Glass is only for the floating control layer. Glass never samples glass; npm run luminance fails the build if a material ends up nested in another.
  • One motion scale — 100/160/240/320/460 ms, one standard curve, springs only for direct manipulation. No layout property is transitioned directly; grid tracks and opacity carry the movement.
  • Contrast is measured on rendered pairings, compositing alpha, in every interactive state.
  • Reading measure is capped at 68 characters in the conversation, verified at 10, 16 and 22 px.

Verification harness these plans refer to

npm run check       typecheck + audit + contrast + measure + luminance
npm run audit       off-scale values, materials, elevation, capsules, icons, native selects
npm run contrast    rendered pairings, composited, per state, both themes
npm run measure     characters per line at every content size
npm run luminance   dark-mode brightness budget + material layering
npm run motion      interruptibility, frame-sampled contact sheets
npm run flow <name> scripted screen flows; `tour` and `tour-dark` cover every route
1# Strata · per-screen improvement plans
2
3One plan per page and per scenario, written against the two rulebooks the app is
4built on — [interaction-guidelines.md](../interaction-guidelines.md) (Strata's own
5rules) and Apple's Liquid Glass HIG — and against what the code actually does
6today, not what it is meant to do.
7
8Every plan follows the same shape: **what it is today** (grounded in the file and
9in measured numbers), **where it falls short**, **the plan**, **motion**, and
10**how the result is verified**. Claims about the present are checkable with the
11scripts in `scripts/`; claims about the future are written so they can be checked
12the same way once built.
13
14## Screens
15
16| # | Page | Route | Plan |
17|---|---|---|---|
18| 01 | Chat | `#/chat` | [01-chat.md](01-chat.md) |
19| 02 | Models | `#/models` | [02-models.md](02-models.md) |
20| 03 | Engine tuning | `#/tuning` | [03-engine-tuning.md](03-engine-tuning.md) |
21| 04 | Monitor | `#/monitor` | [04-monitor.md](04-monitor.md) |
22| 05 | Serving | `#/serving` | [05-serving.md](05-serving.md) |
23| 06 | Workspace | `#/workspace` | [06-workspace.md](06-workspace.md) |
24| 07 | Skills | `#/skills` | [07-skills.md](07-skills.md) |
25| 08 | Settings | `#/settings` | [08-settings.md](08-settings.md) |
26| 09 | First run | modal | [09-first-run.md](09-first-run.md) |
27
28## Scenarios
29
30| # | Scenario | Plan |
31|---|---|---|
32| 10 | Sidebar and navigation | [10-sidebar.md](10-sidebar.md) |
33| 11 | Command palette | [11-command-palette.md](11-command-palette.md) |
34| 12 | Context rail | [12-context-rail.md](12-context-rail.md) |
35| 13 | Overlays — drawers, menus, selects, popovers | [13-overlays.md](13-overlays.md) |
36| 14 | Empty, loading and error states | [14-states.md](14-states.md) |
37| 15 | Motion and fluidity | [15-motion.md](15-motion.md) |
38| 16 | Accessibility and long sessions | [16-accessibility.md](16-accessibility.md) |
39
40## The shared vocabulary these plans assume
41
42Fixed by the design system, so plans do not re-litigate them:
43
44- **Light is the reference theme.** Every change is designed light-first and
45  verified in dark, never the reverse.
46- **Capsules are for controls; the 8/14/20/24 scale is for surfaces.** Audit-enforced.
47- **Glass is only for the floating control layer.** Glass never samples glass;
48  `npm run luminance` fails the build if a material ends up nested in another.
49- **One motion scale** — 100/160/240/320/460 ms, one standard curve, springs only
50  for direct manipulation. No layout property is transitioned directly; grid
51  tracks and opacity carry the movement.
52- **Contrast is measured on rendered pairings**, compositing alpha, in every
53  interactive state.
54- **Reading measure is capped** at 68 characters in the conversation, verified at
55  10, 16 and 22 px.
56
57## Verification harness these plans refer to
58
59```
60npm run check       typecheck + audit + contrast + measure + luminance
61npm run audit       off-scale values, materials, elevation, capsules, icons, native selects
62npm run contrast    rendered pairings, composited, per state, both themes
63npm run measure     characters per line at every content size
64npm run luminance   dark-mode brightness budget + material layering
65npm run motion      interruptibility, frame-sampled contact sheets
66npm run flow <name> scripted screen flows; `tour` and `tour-dark` cover every route
67```