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
2.7 KiB50 linesraw

T12 · Time-skip: remaining findings

Phase 3 · 6 findings (0 high, 3 medium, 3 low) · Depends on: nothing, can start now

Goal

Give the two versions stable names across every state, use plain words, and let people use the version that was kept.

Files to change

These are the likely files. Read them before editing, and change others only if the fix needs it.

  • src/components/TimeSkipPanel.tsx
  • src/lib/time-skip.ts
  • src/components/ArtifactPanel.tsx
  • src/screens/Chat.tsx (inline card)

Findings to fix (high and medium)

#SeverityStateIssueSuggested fix
1Mediumtimeskip-buildingSmall amber status text ("Reset needs work", "Content overflows") at ~11px is low contrast on whitedarker amber (#8a5a00) or icon + ink text
2Mediumtimeskip-*Stream A is called "Original", then "Revision", then "Revision A"; B is "Alternative", "Candidate B", "Selected version" across statesfixed names: "Version A" / "Version B", with stage as a sub-label
3Mediumtimeskip-completeFinished panel offers only "Replay demo" — no way to open/apply the kept versionprimary "Open version B" + secondary "Compare"

Optional polish (low)

Do these only if the task is otherwise done and the budget allows.

#SeverityStateIssueSuggested fix
1Lowtimeskip-buildingHeader chips: A shows a ✓, B shows a ▾ — two different affordances for the same kind of itemsame control for both; ✓ only on the winner
2Lowtimeskip-*"First draft saved ▾" chevron: unclear what it opensmake it a plain label or a history menu with a visible title
3Lowtimeskip-inspect-originalScrolled list slides under the panel header with no divider/shadow; first row half-hiddensticky header with bottom border when scrolled

How to check

Run these and fix anything that fails:

  • npm run typecheck
  • node --test tests/ (all existing tests stay green)
  • npm run check (typecheck, UI audit, contrast, measure, luminance)
  • npm run build

Task-specific checks:

  • node --test tests/time-skip.test.mjs passes.
  • Each finding above is resolved, or marked "already fixed by Txx" or "not reproducible" with a one-line reason.

Screens to re-capture and compare with the audit screenshots in docs/evidence/audit-2026-10-07/:

  • timeskip-building-light.png
  • timeskip-complete-light.png
  • timeskip-inspect-original-light.png

Done when

  • All checks pass.
  • Commit on branch fix/t12-time-skip with message T12: Time-skip: remaining findings.
  • Append a short entry to audit-fixes/PROGRESS.md: what changed, which findings were fixed, skipped or not reproducible, and anything the reviewer should look at.
1# T12 · Time-skip: remaining findings
2
3**Phase 3** · 6 findings (0 high, 3 medium, 3 low) · Depends on: nothing, can start now
4
5## Goal
6Give the two versions stable names across every state, use plain words, and let people use the version that was kept.
7
8## Files to change
9These are the likely files. Read them before editing, and change others only if the fix needs it.
10- `src/components/TimeSkipPanel.tsx`
11- `src/lib/time-skip.ts`
12- `src/components/ArtifactPanel.tsx`
13- `src/screens/Chat.tsx` (inline card)
14
15## Findings to fix (high and medium)
16| # | Severity | State | Issue | Suggested fix |
17|---|---|---|---|---|
18| 1 | Medium | `timeskip-building` | Small amber status text ("Reset needs work", "Content overflows") at ~11px is low contrast on white | darker amber (#8a5a00) or icon + ink text |
19| 2 | Medium | `timeskip-*` | Stream A is called "Original", then "Revision", then "Revision A"; B is "Alternative", "Candidate B", "Selected version" across states | fixed names: "Version A" / "Version B", with stage as a sub-label |
20| 3 | Medium | `timeskip-complete` | Finished panel offers only "Replay demo" — no way to open/apply the kept version | primary "Open version B" + secondary "Compare" |
21
22## Optional polish (low)
23Do these only if the task is otherwise done and the budget allows.
24
25| # | Severity | State | Issue | Suggested fix |
26|---|---|---|---|---|
27| 1 | Low | `timeskip-building` | Header chips: A shows a ✓, B shows a ▾ — two different affordances for the same kind of item | same control for both; ✓ only on the winner |
28| 2 | Low | `timeskip-*` | "First draft saved ▾" chevron: unclear what it opens | make it a plain label or a history menu with a visible title |
29| 3 | Low | `timeskip-inspect-original` | Scrolled list slides under the panel header with no divider/shadow; first row half-hidden | sticky header with bottom border when scrolled |
30
31## How to check
32Run these and fix anything that fails:
33- `npm run typecheck`
34- `node --test tests/` (all existing tests stay green)
35- `npm run check` (typecheck, UI audit, contrast, measure, luminance)
36- `npm run build`
37
38Task-specific checks:
39- [ ] `node --test tests/time-skip.test.mjs` passes.
40- [ ] Each finding above is resolved, or marked "already fixed by Txx" or "not reproducible" with a one-line reason.
41
42Screens to re-capture and compare with the audit screenshots in `docs/evidence/audit-2026-10-07/`:
43- `timeskip-building-light.png`
44- `timeskip-complete-light.png`
45- `timeskip-inspect-original-light.png`
46
47## Done when
48- All checks pass.
49- Commit on branch `fix/t12-time-skip` with message `T12: Time-skip: remaining findings`.
50- Append a short entry to `audit-fixes/PROGRESS.md`: what changed, which findings were fixed, skipped or not reproducible, and anything the reviewer should look at.