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 KiB60 linesraw

T15 · Skills and Tasks: remaining findings

Phase 3 · 9 findings (0 high, 2 medium, 7 low) · Depends on: T02, T03, T04

Goal

Label row actions, give the task detail view its own controls, and finish the Skills and Tasks states.

Files to change

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

  • src/screens/Skills.tsx
  • src/screens/Tasks.tsx
  • src/components/TaskEditor.tsx
  • src/lib/tasks.ts
  • src/app/TaskTree.tsx
  • server/tasks.mjs, server/skill-edits.mjs

Findings to fix (high and medium)

#SeverityStateIssueSuggested fix
1Mediumtasks-create-*Instructions textareas (and the AI prompt box) render in monospace while every other field is sansinherit brand font in textareas
2Mediumtasks-createdA task created with "Run on schedule" checked appears as "Paused"verify state mapping; new scheduled tasks show "Next: …"

Optional polish (low)

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

#SeverityStateIssueSuggested fix
1Lowskills-addedIn this state the page subtitle, "N enabled here" and the search field disappearkeep header layout stable across states
2Lowskills-editDescription is a single-line input that truncates; Instructions field is cut off at the dialog bottomtextarea for both; dialog scroll with sticky footer
3Lowskills-overview"3 enabled here" — "here" is ambiguous"3 enabled in this workspace"
4Lowtasks-populatedEvery row has the same clock icon tile, so it carries no informationdrop the tile or vary by state (scheduled / running / paused / failed)
5Lowtasks-emptyEmpty-state icon is a large heavy outline clock, unlike the small boxed icons used in other empty statesshared EmptyState component
6Lowtasks-ai-blankDialog body is clipped at the bottom (Instructions field cut) with no scroll cuescroll fade + sticky footer
7Lowtasks-resultDate formats differ: "06/10/2026, 12:24:23" here vs "7 Oct 2026, 13:24" on the rowone date formatter

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/tasks-and-sharing.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/:

  • skills-added-light.png
  • skills-edit-light.png
  • skills-overview-light.png
  • tasks-populated-light.png
  • tasks-empty-light.png
  • tasks-ai-blank-light.png
  • tasks-created-light.png
  • tasks-result-light.png

Done when

  • All checks pass.
  • Commit on branch fix/t15-skills-tasks with message T15: Skills and Tasks: 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# T15 · Skills and Tasks: remaining findings
2
3**Phase 3** · 9 findings (0 high, 2 medium, 7 low) · Depends on: T02, T03, T04
4
5## Goal
6Label row actions, give the task detail view its own controls, and finish the Skills and Tasks states.
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/screens/Skills.tsx`
11- `src/screens/Tasks.tsx`
12- `src/components/TaskEditor.tsx`
13- `src/lib/tasks.ts`
14- `src/app/TaskTree.tsx`
15- `server/tasks.mjs, server/skill-edits.mjs`
16
17## Findings to fix (high and medium)
18| # | Severity | State | Issue | Suggested fix |
19|---|---|---|---|---|
20| 1 | Medium | `tasks-create-*` | Instructions textareas (and the AI prompt box) render in monospace while every other field is sans | inherit brand font in textareas |
21| 2 | Medium | `tasks-created` | A task created with "Run on schedule" checked appears as "Paused" | verify state mapping; new scheduled tasks show "Next: …" |
22
23## Optional polish (low)
24Do these only if the task is otherwise done and the budget allows.
25
26| # | Severity | State | Issue | Suggested fix |
27|---|---|---|---|---|
28| 1 | Low | `skills-added` | In this state the page subtitle, "N enabled here" and the search field disappear | keep header layout stable across states |
29| 2 | Low | `skills-edit` | Description is a single-line input that truncates; Instructions field is cut off at the dialog bottom | textarea for both; dialog scroll with sticky footer |
30| 3 | Low | `skills-overview` | "3 enabled here" — "here" is ambiguous | "3 enabled in this workspace" |
31| 4 | Low | `tasks-populated` | Every row has the same clock icon tile, so it carries no information | drop the tile or vary by state (scheduled / running / paused / failed) |
32| 5 | Low | `tasks-empty` | Empty-state icon is a large heavy outline clock, unlike the small boxed icons used in other empty states | shared EmptyState component |
33| 6 | Low | `tasks-ai-blank` | Dialog body is clipped at the bottom (Instructions field cut) with no scroll cue | scroll fade + sticky footer |
34| 7 | Low | `tasks-result` | Date formats differ: "06/10/2026, 12:24:23" here vs "7 Oct 2026, 13:24" on the row | one date formatter |
35
36## How to check
37Run these and fix anything that fails:
38- `npm run typecheck`
39- `node --test tests/` (all existing tests stay green)
40- `npm run check` (typecheck, UI audit, contrast, measure, luminance)
41- `npm run build`
42
43Task-specific checks:
44- [ ] `node --test tests/tasks-and-sharing.test.mjs` passes.
45- [ ] Each finding above is resolved, or marked "already fixed by Txx" or "not reproducible" with a one-line reason.
46
47Screens to re-capture and compare with the audit screenshots in `docs/evidence/audit-2026-10-07/`:
48- `skills-added-light.png`
49- `skills-edit-light.png`
50- `skills-overview-light.png`
51- `tasks-populated-light.png`
52- `tasks-empty-light.png`
53- `tasks-ai-blank-light.png`
54- `tasks-created-light.png`
55- `tasks-result-light.png`
56
57## Done when
58- All checks pass.
59- Commit on branch `fix/t15-skills-tasks` with message `T15: Skills and Tasks: remaining findings`.
60- 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.