Skip to content

CORE-12: stage 1 — the route list and the points list - #222

Open
djDAOjones wants to merge 24 commits into
mainfrom
core-12/stage-1
Open

djDAOjones wants to merge 24 commits into
mainfrom
core-12/stage-1

Conversation

@djDAOjones

@djDAOjones djDAOjones commented Dec 4, 2026 •

Copy link
Copy Markdown
Owner

Stage 1 of CORE-12's seven: the Points region now holds two lists.

  • Routes: each route by its place ("Route 1", "Route 2") with its count of points. Click one to select it. Drag a route up or down, or press Alt with the Up or Down arrow, to change the order; the first route is drawn first, under the rest. Dropping outside the list changes nothing; each move is one Undo step, keeps what is selected, and is read out ("Route moved to place 1 of 3, now Route 1, drawn first, under the others").
  • Points: the selected route's points, "Stop 3, Market" or "Bend 4". Click or use the arrows to select one; Shift with a click or an arrow selects a run; Ctrl (Command on a Mac) with a click or Space adds or takes away one. F2 or a double-click renames a stop. Points are not reordered here (stage 6, after D324).
  • With no points, the list says how to add one from the keyboard and offers Add point.

What to try

  1. Open the editor: the left column's Points region shows "Routes" and "Points".
  2. Click Route 1; its points list below. Press Add point if it is empty, then click the preview to add a few more.
  3. Open a project with two or more routes. Drag Route 2 above Route 1: the drawing order changes and the move is read out. Press Ctrl+Z (Command+Z): one step back.
  4. With a route row focused, press Alt+Up or Alt+Down: the same move from the keyboard; focus stays on the moved route.
  5. Drag a route and let go outside the list: nothing changes.
  6. In the points list, Shift+Down selects a run; Ctrl+Space (Command+Space) adds or takes away the focused point; F2 on a stop renames it (Enter keeps, Escape leaves it).

Added after Codex's first review:

  • Under the routes list, Move route up and Move route down move the selected route with one click each. When one can't be used, a line under them says why.
  • Renaming a stop (F2 or double-click) now opens a "Rename Stop N" field under the points list. Enter saves, Escape leaves it as it was.
  • After Add point, the keyboard focus lands on the new stop in the list.

For the record

  • D325: why the lists are the house's own (Carbon has no sortable list or multi-select listbox).
  • UI-06: J-06 (the empty list names the keyboard way), J-13 (F2 and double-click rename a stop), B-07 (each list's help is a visible line), B-15 (sentence case).
  • Not yet here: a route name (none in the model yet). The lists are covered in tests/a11y/project.mjs and project/a11y/coverage.json: the full accessibility check passes at AAA, standard depth.
  • No package changes.

🤖 Generated with Claude Code

djDAOjones and others added 16 commits December 4, 2026 14:55
…region

The route list selects a route and moves it by drag or by Alt with an arrow key; the scene's route order is the
drawing order, and a drop outside the list changes nothing. The points list selects one point, a run with Shift,
or adds and takes away one with Ctrl (Command on a Mac); F2 or a double-click renames a stop. Each list's empty
state names its keyboard way (Add route, Add point). moveRoute and renameStop are one undo step each and keep
the selection.

Verify: npx vitest run src/editor/lists (10 passed); npx tsc --noEmit; npx eslint src/editor/lists src/editor/App.tsx

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
D325: the route list and the points list are the house's own listboxes on Carbon's tokens, since Carbon has no
sortable list or multi-select listbox; routes are called by their place until the model names them.

Verify: node tools/check.mjs --commit HEAD

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The ledger's latest ten ran two words over and a Deferred must name an item; the route-name note moves to the
Rationale.

Verify: node tools/check.mjs (0 failures); node tools/check.mjs --commit HEAD

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Verify's typecheck (tsconfig.app.json, unchecked index access) refused the lists' index reads; each is now
guarded, and the test's fixture names its routes and points.

Verify: npm run typecheck (0 errors); npx vitest run src/editor/lists (10 passed); npx eslint src/editor/lists

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ts nothing

A visually hidden ", 3 points" span clipped its own text under text spacing and at 320 px (1.4.10, 1.4.12,
1.4.8); the count is now shown, "(3 points)", bracketed so its number is not heard run into the route's. The
row captures the pointer for its drag, so the browser clicked it after a press moved off it or a drag; such a
press is now abandoned or a move, never a selection (2.5.2), and a move under 4 px stays a click. CORE-12's
Notes: one line for this round.

Verify: npm run typecheck (0 errors); npx eslint src/editor/lists (0); npx vitest run src/editor/lists (10 passed)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… and Enter select a route row

The shared state-cue check re-found its control by a selector naming an unselected state, so once its
click selected the route row nothing matched and contrast and forced colours waited out the test (1.4.1,
1.4.3, 1.4.6, 1.4.11). It now marks the control it found and reads it by that mark (D330, the patch from
FINDING-254 as it stood). Space and Enter on a focused route row select that route, as in the points list.

Verify: npm run typecheck (0 errors); npm run lint (0); npx vitest run (1504 passed); node tools/check.mjs (0 failures)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…sh, the 320 px walk meets the route row

The theme's focus ring stands 2 px outside a control; on a list row the next row, painted after it, covered
its lower edge (2.4.13, 1308 of 1440 px). A row's ring is now 3 px inside it. Where the lists stand above the
preview (320 px wide, portrait), the pen-drawn setup's first tap adds rows and moves the preview down; it now
reads the preview's place before each tap, as a person aims. The 320 px walk lists the route row among its
controls. CORE-12's Notes: one line for this round.

Verify: npm run typecheck (0 errors); npm run lint (0); npx vitest run (1504 passed); node tools/check.mjs (0 failures)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… tap

At 320 by 640 the lists above the preview push it below the window after the first tap, and a mouse click
does not scroll, so the second tap still missed. The setup now scrolls the preview into view and reads its
box before each tap, as a person would, and puts the page back at its top after. Narrowed run: reflow,
orientation and text spacing in pen-drawn pass.

Verify: npm run lint (0); node tools/a11y-run.mjs --grep pen-drawn (reflow, orientation, text spacing pass)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…row's own fill

The state-cue check runs before the preview's measure and leaves its last press in
place; with the points list it ended on Stop 1 selected, so the ring read on the
second point's ray found nothing (0.00:1). The measure now opens pen-drawn again.
Among equally opaque way-arrow pixels it takes the strongest hue: at 777 px wide the
first one met was the fill blended into its white edge (2.78:1); the fill itself
reads 3.52:1. A planted faint fill (#e9967a) still fails at 2.10:1.

Verify: contrast: pen-drawn passes narrowed; plant red alone (PROBE-258/plants/arrow-faint.log)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…y under the next

Abutting rows on a fractional offset (Stop 1 at y 350.34, 44 tall) met the next row
at 394.34; the hit test at the focused row's last half pixel rounded onto Stop 2,
and 2.4.12 read the row as partly hidden by author content. A 1 px gap between
rows shows the list's background as a hairline and leaves no shared edge.

Verify: narrowed focus/contrast/forced colours 15 passed; without the gap focus: pen-drawn fails (PROBE-258/checks/narrow-base.log)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… run)

Verify: node tools/check.mjs --commit HEAD

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… visible headings

Each list is now labelled by its visible heading (aria-labelledby) and has an
id. The reviewed reading and Tab orders are sequences read in turn: the
banner, the Points column, then the Preview column beside it (orchestrator
103's ruling, brief 259). New checks: 2.5.2 a route chosen on the up-event,
nothing on the down, nothing by a press moved off; 3.2.2 the route list's
keys change no context; 3.3.5 its help line tied and visible; 1.3.5 and
3.3.2 both listboxes as known fields. The P09 record and coverage follow.

Verify: the five journeys pass narrowed (PROBE-259/checks/narrow-1.log); seven plants red alone (PROBE-259/plants)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Verify: Notes only; node tools/check.mjs --commit HEAD

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-510) into stage 1

GitHub reported #222 as conflicting with main at 449bc5c. One conflict, the
imports at the top of src/editor/App.tsx: stage 1's Lists and main's
autosave and decode, kept together. project/decisions.md merged cleanly.

Verify: typecheck 0 on the merge; the whole check follows before the push

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…route's choice

The five states' reviewed ARIA snapshots list the Points column as the
page shows it; the point menu's lists both lists as it leaves them;
refused-long-name and project-open each review choosing the route by a
click, a route row being a stateful control (4.1.2). CORE-12's Notes
and Now. Digest rule applied: wcag-2.2-aaa (4.1.2, 1.3.1, 2.4.6).

Verify: node scripts/gate.mjs exit 0 (gate's own tests, v4's gate, record checker: 0 failures, 11 warnings); npm run check:v4 exit 0 (AAA, standard depth, 5 states, 76 journeys; all 14 planted faults fail) — Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@djDAOjones
djDAOjones marked this pull request as ready for review December 6, 2026 03:45
djDAOjones and others added 8 commits December 6, 2026 03:45
Verify: none of its own — an integration merge by tools/land.mjs; the landing's checks run on its tree
… Points region

Mounts the Points region's two lists (D325, the house's own listboxes):
- Routes: each route by place with its count of points; click or the
  arrows select one; reorder by drag, by Alt with an arrow key, or by the
  "Move route up" and "Move route down" buttons (2.5.7's single-pointer
  way), each move one undo step that keeps the selection and is announced
  with where the route is now drawn; a drop outside the list changes
  nothing; an off button says why in a visible line.
- Points: the selected route's points; select one, a run with Shift, add
  or take away one with Ctrl or Command; F2 or a double-click opens a
  "Rename Stop N" field under the list, outside the listbox, whose Enter
  and Escape stand down while an input method composes; Add point moves
  focus to the new stop's row.
Accessibility: the lists named by their headings; READING and FOCUS as
two columns; journeys for route order (pointer, keys), point selection
(pointer, keys), renaming and focus after Add point, each proved by a
plant red alone; the reviewed snapshots list the Points column and each
reviewed state change; coverage.json's entries. Codex round 1's four
findings fixed (decision CORE-12.A1 to A4). Digest rules applied:
wcag-2.2-aaa (2.5.7, 2.5.2, 4.1.2, 2.4.3, 2.1.1, 1.3.1, 2.4.6),
carbon (secondary buttons, TextInput), app-opinion (keys stand down in
composition).

Verify: typecheck 0 · lint 0 · vitest 99 files 1530 tests passed · knip 0 · tools/check.mjs 0 failures (11 warnings) · build 0 · ACCESSIBILITY_PORT=4184 check:v4 exit 0 (a11y 52 checked, 0 failed, 29 unverified; known-bad 14 of 14) · eight plants each red alone on its journey · scripts/gate.mjs exit 0 — Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… Points region

Mounts the Points region's two lists (D325, the house's own listboxes):
- Routes: each route by place with its count of points; click or the
  arrows select one; reorder by drag, by Alt with an arrow key, or by the
  "Move route up" and "Move route down" buttons (2.5.7's single-pointer
  way), each move one undo step that keeps the selection and is announced
  with where the route is now drawn; a drop outside the list changes
  nothing; Escape while a route is pressed abandons the press, so the
  release selects and moves nothing (2.5.2); an off button says why in a
  visible line. Only route rows set touch-action: none, so a swipe from a
  point row scrolls the page.
- Points: the selected route's points; select one, a run with Shift, add
  or take away one with Ctrl or Command; F2 or a double-click opens a
  "Rename Stop N" field under the list, outside the listbox, whose Enter
  and Escape stand down while an input method composes; Add point moves
  focus to the new stop's row.
- Row names wrap anywhere, so a long label stays inside the column at
  320 px (1.4.10); Add route and Add point are 48 px (2.5.5).
Accessibility: the lists named by their headings; READING and FOCUS as
two columns; journeys for route order (pointer, keys, Escape), point
selection (pointer, keys), renaming and focus after Add point; pen-drawn
keeps a 600-character label inside its row and a touch swipe scrolling;
each proved by a plant red alone; the reviewed snapshots list the Points
column and each reviewed state change; coverage.json's entries. Codex
round 1's findings fixed (decision CORE-12.A1 to A4) and round 2's five
(decision entry of 2026-12-06, no new assumption). Digest rules applied:
wcag-2.2-aaa (2.5.7, 2.5.2, 2.5.5, 1.4.10, 4.1.2, 2.4.3, 2.1.1, 1.3.1,
2.4.6), carbon (secondary buttons, lg buttons, TextInput), app-opinion
(keys stand down in composition).

Verify: typecheck 0 · lint 0 · vitest 99 files 1530 tests passed · knip 0 · build 0 · tools/check.mjs 0 failures (11 warnings) · ACCESSIBILITY_PORT=4184 check:v4 exit 0 (a11y 159 tests; 52 checked, 0 failed, 29 unverified; known-bad 14 of 14) · twelve plants each red alone · scripts/gate.mjs exit 0 (v4 gate 2109 s) — Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rag, the dragged row keeps its contrast, a refused label shows its error, an end key keeps the points

Codex (gpt-6.2-sol), round 3 on stage 1 (tree 520fd77), five findings:
1. A second touch could take over or finish a route drag (2.5.2). listLogic.ts's
   pressOwns: while one pointer holds the press (its row still holding the
   capture), only that pointerId's move, release and cancel act; any other
   pointer's down, move, up or cancel is ignored, and a click while the press
   is held chooses nothing. Unit test; route-order-by-pointer step 6 drives
   three fingers by Chromium's own touch events (CDP): a second finger on the
   dragged row lifted over Route 1, and a third tapping Route 1, each move,
   choose and say nothing; the first, lifted outside the list, says "Route not
   moved: dropped outside the list".
2. The dragged row's opacity took its text under 7:1 (1.4.6). The row keeps its
   text and is outlined as Carbon's coachmark marks a drag (2 px,
   background-inverse, inside the row): 9.43:1 on the hovered row, 11.55:1 on
   the list behind. The contrast check gains state moments (helpers.ts,
   declared in project.mjs, shape-checked by tools/a11y-run.mjs): the page's
   text read again at a moment no other reading meets, its marks at 3:1; the
   shell reads Route 1 dragged with the press held. The theme has only the
   white theme; no dark one to check.
3. A rename refusal was only announced. Carbon's TextInput invalid and
   invalidText show "That label is too long: a label holds at most 100,000
   characters. Shorten it and press Enter again." under the field
   (aria-invalid, aria-errormessage), cleared when the label is short enough
   or the field closes (listLogic.ts's labelProblem, unit-tested). The theme's
   text-error is Carbon's red 70, #a2191f (7.8:1 on white), as red 60 measured
   5.00:1. stop-rename submits 100,001 characters: error shown and tied, field
   open, label unchanged, gone after a valid edit or Escape; pen-drawn's
   contrast moment reads the error's words.
4. Up on the first route or Down on the last cleared the chosen points.
   chooseRoute makes no new selection for the route already chosen, for a
   click, Space, Enter, an arrow, Home or End. Unit test; points-select-by-keys
   presses Up, Down, Home and End on the one chosen route: both stops stay
   chosen.
5. v4's gate overruns its 600 s budget on every v4 change, reported and
   passed; not this stage's to fix: wish CORE-12.1, the owner's call.
Record: the decision entry of 2026-12-06 (round 3; no new assumption, each fix
following Carbon or a rule in force), CORE-12's Notes line, wish CORE-12.1.

Plants (kept outside the code; run over every shell and pen-drawn test and the
CORE-12 journeys, 35 tests): any pointer's down taking the press -> only
route-order-by-pointer red; a second pointer's up finishing it -> only
route-order-by-pointer; opacity 0.6 back -> only contrast: shell (1.4.6 name
4.41:1, count 3.27:1); the refusal only announced -> only stop-rename and
contrast: pen-drawn (its moment not reached), both finding 3's; text-error back
to Carbon's -> only contrast: pen-drawn (5.00:1); an arrow choosing the chosen
route afresh -> only points-select-by-keys. Unit plants (pressOwns, chooseRoute,
labelProblem) each turn only their own test red.

Verify: typecheck 0 · lint 0 · vitest 99 files 1533 tests passed · knip 0 · build 0 · tools/check.mjs 0 failures (11 warnings) · ACCESSIBILITY_PORT=4184 check:v4 exit 0 (a11y 159 passed, the 4 slider plants expected ✘; 52 checked, 0 failed, 29 unverified; known-bad 14 of 14) · six browser and three unit plants each red alone · ACCESSIBILITY_PORT=4184 scripts/gate.mjs exit 0, v4 gate 2115 s, over its 600 s budget: the standing finding, wish CORE-12.1 — Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… Points region

Mounts the Points region's two lists (D325, the house's own listboxes):
- Routes: each route by place with its count of points; click, Space, Enter
  or the arrows choose one (a key that lands on the chosen route keeps its
  points); reorder by drag, by Alt with an arrow key, or by the "Move route
  up" and "Move route down" buttons (2.5.7's single-pointer way), each move
  one undo step that keeps the selection and is announced with where the
  route is now drawn. One pointer owns a drag: another finger's down, move,
  up, cancel or click does nothing. A drop outside the list, or Escape while
  a route is held, moves nothing (2.5.2); Escape stands down to text entry,
  an input method or a dialog. The dragged row keeps its text at full
  contrast under a 2 px outline; the drop destination is a Highlight line
  in forced colours. Only route rows set touch-action: none. Add route
  moves focus to the new route's row.
- Points: the selected route's points; select one, a run with Shift, add
  or take away one with Ctrl or Command; F2 or a double-click opens a
  "Rename Stop N" field under the list, outside the listbox, whose Enter
  and Escape stand down while an input method composes, and whose refusal
  of an overlong label shows Carbon's tied error in a 7:1 red scoped to the
  field; Add point moves focus to the new stop's row.
- Row names wrap anywhere (1.4.10 at 320 px); Add route and Add point are
  48 px (2.5.5).
Accessibility: the lists named by their headings; READING and FOCUS as two
columns; journeys for route order (pointer, keys, Escape, three fingers),
point selection (pointer, keys), renaming (save, cancel, composition,
refusal), focus after Add route and Add point, each measuring its own
contrasts; pen-drawn and shell keeps for a long label, a touch swipe and
the drop destination; each proved by a plant red alone; reviewed snapshots
and coverage.json's entries. Outside the paths, only D330's state-cue pin in
tests/a11y/helpers.ts, by D330's ruling. Codex's rounds 1 to 4 fixed:
decisions CORE-12.A1 to A4 and the entries of 2026-12-06, no new
assumption; wishes CORE-12.1 (the gate's budget) and CORE-12.2 (the theme's
5.0:1 text-error). Digest rules applied: wcag-2.2-aaa (2.5.7, 2.5.2,
2.5.5, 1.4.10, 1.4.6, 1.4.11, 4.1.2, 2.4.3, 2.1.1, 1.3.1, 2.4.6), carbon
(secondary and lg buttons, TextInput invalid), app-opinion (keys stand down
in text entry and composition).

Verify: typecheck 0 · lint 0 · vitest 99 files 1534 tests passed · knip 0 · build 0 · tools/check.mjs 0 failures (11 warnings) · ACCESSIBILITY_PORT=4184 check:v4 exit 0 (52 checked, 0 failed, 29 unverified; known-bad 14 of 14; the 4 slider plants expected ✘) · round 4's seven plants each red alone · ACCESSIBILITY_PORT=4184 scripts/gate.mjs exit 0, v4 lane 2134 s, over its 600 s budget: the standing finding, wish CORE-12.1 — Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… Points region

Mounts the Points region's two lists (D325, the house's own listboxes):
- Routes: each route by place with its count of points; click, Space, Enter
  or the arrows choose one (a key that lands on the chosen route keeps its
  points); reorder by drag, by Alt with an arrow key, or by the "Move route
  up" and "Move route down" buttons (2.5.7's single-pointer way), each move
  one undo step that keeps the selection and is announced with where the
  route is now drawn. One pointer owns a drag: another pointer's down,
  move, up, cancel or click chooses and moves nothing, even after the drag
  ends. Only a release on the list moves a route; a release outside it
  abandons the drag (2.5.2). The drag takes no Escape of its own: the
  editor keeps one shortcut dispatcher (CORE-12.A5; wish CORE-12.3). The
  dragged row keeps its text at full contrast under a 2 px outline; the
  drop line marks the edge the route lands against, moving up or down,
  in normal and forced colours; selected rows keep forced colours. Only
  route rows set touch-action: none. Add route focuses the new route's row.
- Points: the selected route's points; select one, a run with Shift, add
  or take away one with Ctrl or Command; F2 or a double-click opens a
  "Rename Stop N" field under the list, outside the listbox, whose Enter
  and Escape stand down while an input method composes, whose refusal of
  an overlong label shows Carbon's tied error in a 7:1 red scoped to the
  field, and which closes with its project, route or stop (Undo and Redo
  included); Add point moves focus to the new stop's row.
- Row names wrap anywhere (1.4.10 at 320 px); Add route and Add point are
  48 px (2.5.5).
Accessibility: the lists named by their headings; READING and FOCUS as two
columns; journeys for route order (pointer, keys, three fingers, an ignored
pen), point selection (pointer, keys), renaming (save, cancel, composition,
refusal, a reopened project), focus after Add route and Add point, each
measuring its own contrasts, forced colours light and dark included; shell
and pen-drawn keeps for a long label, a touch swipe and both drop edges;
each proved by a plant red alone; reviewed snapshots and coverage.json's
entries. Outside the paths, only D330's state-cue pin in
tests/a11y/helpers.ts, by D330's ruling. Codex's rounds 1 to 5 fixed, in
the entries of 2026-12-06; assumptions CORE-12.A1 to A5, each reviewed and
kept by the owner on 6 Dec 2026; wishes CORE-12.1 (the gate's budget),
CORE-12.2 (the theme's 5.0:1 text-error) and CORE-12.3 (Escape for a held
drag, for an upgrade). Digest rules applied: wcag-2.2-aaa (2.5.7, 2.5.2,
2.5.5, 1.4.10, 1.4.6, 1.4.11, 4.1.2, 2.4.3, 2.1.1, 1.3.1, 2.4.6), carbon
(secondary and lg buttons, TextInput invalid), app-opinion (one shortcut
dispatcher; keys stand down in text entry and composition).

Verify: typecheck 0 · lint 0 · vitest 99 files 1536 tests passed · knip 0 · build 0 · tools/check.mjs 0 failures (11 warnings) · ACCESSIBILITY_PORT=4184 check:v4 exit 0 (160 passed; 52 checked, 0 failed, 29 unverified; known-bad 14 of 14; the 4 slider plants expected ✘) · round 5's seven plants each red at their own checks · ACCESSIBILITY_PORT=4184 scripts/gate.mjs exit 0, v4 lane 2102 s, over its 600 s budget: the standing finding, wish CORE-12.1 — Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… Points region

Mounts the Points region's two lists (D325, the house's own listboxes):
- Routes: each route by place with its count of points; click, Space, Enter
  or the arrows choose one (a key that lands on the chosen route keeps its
  points); reorder by drag, by Alt with an arrow key, or by the "Move route
  up" and "Move route down" buttons (2.5.7's single-pointer way), each move
  one undo step that keeps the selection and is announced with where the
  route is now drawn. One pointer owns a drag: another pointer's down,
  move, up, cancel or click chooses and moves nothing, even after the drag
  ends. Only a release on the list moves a route; a release outside it
  abandons the drag (2.5.2). The drag takes no Escape of its own: the
  editor keeps one shortcut dispatcher (CORE-12.A5; wish CORE-12.3). The
  dragged row keeps its text at full contrast under a 2 px outline; the
  drop line marks the edge the route lands against, moving up or down,
  in normal and forced colours; selected rows keep forced colours. Only
  route rows set touch-action: none. Add route focuses the new route's row.
- Points: the selected route's points; select one, a run with Shift, add
  or take away one with Ctrl or Command; F2 or a double-click opens a
  "Rename Stop N" field under the list, outside the listbox, whose Enter
  and Escape stand down while an input method composes, whose refusal of
  an overlong label shows Carbon's tied error in a 7:1 red scoped to the
  field, and which closes with its project, route or stop (Undo and Redo
  included); Add point moves focus to the new stop's row.
- Row names wrap anywhere (1.4.10 at 320 px); Add route and Add point are
  48 px (2.5.5).
Accessibility: the lists named by their headings; READING and FOCUS as two
columns; journeys for route order (pointer, keys, three fingers, an ignored
pen), point selection (pointer, keys), renaming (save, cancel, composition,
refusal, a reopened project), focus after Add route and Add point, each
measuring its own contrasts, forced colours light and dark included; shell
and pen-drawn keeps for a long label, a touch swipe and both drop edges;
each proved by a plant red alone; reviewed snapshots and coverage.json's
entries. Outside the paths, only D330's state-cue pin in
tests/a11y/helpers.ts, by D330's ruling. Codex's rounds 1 to 5 fixed, in
the entries of 2026-12-06; assumptions CORE-12.A1 to A5, each reviewed and
kept by the owner on 6 Dec 2026; wishes CORE-12.1 (the gate's budget),
CORE-12.2 (the theme's 5.0:1 text-error) and CORE-12.3 (Escape for a held
drag, for an upgrade). Digest rules applied: wcag-2.2-aaa (2.5.7, 2.5.2,
2.5.5, 1.4.10, 1.4.6, 1.4.11, 4.1.2, 2.4.3, 2.1.1, 1.3.1, 2.4.6), carbon
(secondary and lg buttons, TextInput invalid), app-opinion (one shortcut
dispatcher; keys stand down in text entry and composition).

Verify: typecheck 0 · lint 0 · vitest 99 files 1536 tests passed · knip 0 · build 0 · tools/check.mjs 0 failures (11 warnings) · ACCESSIBILITY_PORT=4184 check:v4 exit 0 (160 passed; 52 checked, 0 failed, 29 unverified; known-bad 14 of 14; the 4 slider plants expected ✘) · round 5's seven plants each red at their own checks · ACCESSIBILITY_PORT=4184 scripts/gate.mjs exit 0, v4 lane 2102 s, over its 600 s budget: the standing finding, wish CORE-12.1 — Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… Points region

Mounts the Points region's two lists (D325, the house's own listboxes):
- Routes: each route by place with its count of points; click, Space, Enter
  or the arrows choose one (a key that lands on the chosen route keeps its
  points); reorder by drag, by Alt with an arrow key, or by the "Move route
  up" and "Move route down" buttons (2.5.7's single-pointer way), each move
  one undo step that keeps the selection and is announced with where the
  route is now drawn. One pointer owns a drag: another pointer's down,
  move, up, cancel or click chooses and moves nothing, even after the drag
  ends; while a route is pressed the Move buttons are off (their reason
  line says why) and Alt with an arrow moves nothing. A press belongs to
  its project opening and the routes' order: an Open, Undo, Redo or any
  other change to the list, or a lost capture, abandons it. A swallowed
  click belongs to its pointer and row, is never owed by a cancel, and is
  forgotten at the next press or key, so an assistive technology's
  activation is never eaten. Only a release on the list moves a route; a
  release outside it abandons the drag (2.5.2). The drag takes no Escape of its own: the
  editor keeps one shortcut dispatcher (CORE-12.A5; wish CORE-12.3). The
  dragged row keeps its text at full contrast under a 2 px outline; the
  drop line marks the edge the route lands against, moving up or down,
  in normal and forced colours; selected rows keep forced colours. Only
  route rows set touch-action: none. Add route focuses the new route's row.
- Points: the selected route's points; select one, a run with Shift, add
  or take away one with Ctrl or Command; F2 or a double-click opens a
  "Rename Stop N" field under the list, outside the listbox, whose Enter
  and Escape stand down while an input method composes, whose refusal of
  an overlong label shows Carbon's tied error in a 7:1 red scoped to the
  field, and which closes with its project, route or stop (Undo and Redo
  included); Add point moves focus to the new stop's row.
- Row names wrap anywhere (1.4.10 at 320 px); Add route and Add point are
  48 px (2.5.5).
Accessibility: the lists named by their headings; READING and FOCUS as two
columns; journeys for route order (pointer, keys, three fingers, an ignored
pen, a held drag across Open and Undo, Move buttons and Alt while held,
cancelled and lost presses), point selection (pointer, keys), renaming (save, cancel, composition,
refusal, a reopened project), focus after Add route and Add point, each
measuring its own contrasts, forced colours light and dark included; shell
and pen-drawn keeps for a long label, a touch swipe and both drop edges;
each proved by a plant red alone; reviewed snapshots and coverage.json's
entries. Outside the paths, only D330's state-cue pin in
tests/a11y/helpers.ts, by D330's ruling. Codex's rounds 1 to 6 fixed, in
the entries of 2026-12-06; assumptions CORE-12.A1 to A5, each reviewed and
kept by the owner on 6 Dec 2026; wishes CORE-12.1 (the gate's budget),
CORE-12.2 (the theme's 5.0:1 text-error) and CORE-12.3 (Escape for a held
drag, for an upgrade). Digest rules applied: wcag-2.2-aaa (2.5.7, 2.5.2,
2.5.5, 1.4.10, 1.4.6, 1.4.11, 4.1.2, 2.4.3, 2.1.1, 1.3.1, 2.4.6), carbon
(secondary and lg buttons, TextInput invalid), app-opinion (one shortcut
dispatcher; keys stand down in text entry and composition).

Verify: typecheck 0 · lint 0 · vitest 99 files 1538 tests passed · knip 0 · build 0 · tools/check.mjs 0 failures (11 warnings) · ACCESSIBILITY_PORT=4184 check:v4 exit 0 (160 passed; 52 checked, 0 failed, 29 unverified; known-bad 14 of 14; the 4 slider plants expected ✘) · round 6's eight plants each red at its own check · ACCESSIBILITY_PORT=4184 scripts/gate.mjs exit 0, v4 lane 2173 s, over its 600 s budget: the standing finding, wish CORE-12.1 — Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant