Commit Graph
1117 Commits
Author SHA1 Message Date
bchanot 2cdee42fe1 test(tests): working-copy dialog checks independent of the shared slot
admin.spec opened the working-copy dialog on the historical sheet, whose
single slot was taken by a copy the sandbox suite leaked. The dialog checks
move to an e2e:ui page on the real component; the suite archives its own copies.
2026-11-12 17:06:42 +01:00
bchanot da298cfab1 chore(memory): R1 owner validation, BDR-114 R2 decisions 2026-11-12 16:14:13 +01:00
bchanot ebd0cce80d docs(app): R1 validated functionally by the owner 2026-11-12 16:14:13 +01:00
bchanot a1d4084011 chore(memory): R2 plan approved, go gated on R1 visual check; anomaly B 2026-11-12 15:51:07 +01:00
bchanot c54ba5d62f chore(memory): BLK-013, LRN-131, R1 last feedback, RR-14 2026-11-12 15:38:39 +01:00
bchanot dca33b0047 docs(supabase): production prerequisite, no real secret in logs, argv or artifacts 2026-11-12 15:38:38 +01:00
bchanot 00936c8c54 docs(app): R1 follow-up, selection tag out of the visual flow 2026-11-12 15:21:30 +01:00
bchanot 927537b343 fix(editor): keep the drawing still when the selection changes
The « Sélection : … » tag above the drawing mounted on select and
unmounted on deselect, moving the canvas. It is now sr-only text,
not live, in both twins; board 04 deviation recorded (owner 2026-11-12).
2026-11-12 15:16:34 +01:00
bchanot 9f092ec1e2 docs(app): R1 status accepted technically, manual db:trial validation pending 2026-11-12 14:01:48 +01:00
bchanot 17c21a62cc chore(memory): BDR-113, LRN-128..130, R1 accepted technically 2026-11-12 14:01:47 +01:00
bchanot 9852e4e5bc chore(memory): R1 journal, contract evidence and rulings 2026-11-12 13:52:09 +01:00
bchanot 6ef5223f0e docs(app): useEmptyTap comment says pen follows touch (R1, D6b) 2026-11-12 13:51:54 +01:00
bchanot b8dda1bc9e chore(docs): CLAUDE.md tree lists useEmptyTap (R1, D6b) 2026-11-12 13:45:23 +01:00
bchanot 58d432d953 docs(app): owner trial wording follows Défaire for the history undo (R1, D5) 2026-11-12 13:45:22 +01:00
bchanot a180b9e291 docs(app): R1 limits after review 2026-11-12 13:42:02 +01:00
bchanot 9807ed217a test(app): R1 browser spec without a session path 2026-11-12 13:42:02 +01:00
bchanot 6ed90efb3a fix(app): D6b pen follows touch, stale press and hover guards (R1, D6b) 2026-11-12 13:42:01 +01:00
bchanot 132756eecd fix(app): R1 Escape layers with the page focused, twin keyboard framing, « Plus » field guard 2026-11-12 13:42:00 +01:00
bchanot 90a5e7aa35 docs(app): R1 delivered (Défaire / Refaire, Désélectionner, Escape, D6b) 2026-11-12 13:27:37 +01:00
bchanot 0d1edac39a fix(app): « Désélectionner » 44 px touch target below xl, 6 px icon gap (R1 design review) 2026-11-12 13:16:27 +01:00
bchanot 0849e54bc0 test(app): R1 browser checks assert the touch guards and the margin 2026-11-12 13:13:47 +01:00
bchanot 2327d61d8e test(app): « Plus » Escape in the R1 browser checks 2026-11-12 13:05:43 +01:00
bchanot ab823f4191 test(app): browser checks for R1 and D6b
editor-deselect.spec.ts: « Désélectionner » (live region, row focus, document unchanged after reload); Escape by place (canvas, field, delete dialog, references, tracing); mouse empty clicks, selecting, selected point and zone kept; zoom/pan/drag/Ctrl+wheel kept; typed value applied by the deselecting click; touch with a capture recorder; read-only twin at 375 px. editor-equine.spec.ts: empty click on the horse drawing deselects.

Touch guards reached: taps on empty (also 40 px above a zone, 36 px above the box bottom): primary down/up, one click on no annotation, deselect at click. Tap 6 px outside a marker: click target is the marker, it ends selected, no announcement. One-finger drag: no click (twin: pointercancel). Two-finger tap and pinch: non-primary pointerdown seen, 2 pointerups, no click.
2026-11-12 13:04:03 +01:00
bchanot a1ee194725 test(app): D6b link, listener cleanup and pen cases; useEmptyTap within limits (R1, D6b) 2026-11-12 12:55:45 +01:00
bchanot bbdfd27311 feat(app): a click on the drawing deselects (R1, D6b)
The decision comes from the press (landed off a marker, moved <= 4 px, one
pointer), not the click target: mouse and pen act at pointerup, touch in the
tap's own click. The reader passes no onEmpty and is unchanged.
No existing assertion rewritten.
2026-11-12 12:51:59 +01:00
bchanot bbb1668406 feat(app): Désélectionner and the Escape priority (R1, D6, A5, A6)
« Désélectionner » (secondary sm, deselect glyph) sits left of « Supprimer » in a
bordered row of the properties panel, read-only too, hidden while a tracing runs.
It commits the typed field, clears the selection, focuses the row (else the drawing)
and announces. Escape deselects through one document listener per visible body
(not in a text field, only inside the workspace); G1: row focus only from the panel.
« Plus » and the references panel close first; a tracing cancel marks its Escape.

No existing assertion rewritten.
2026-11-12 12:45:45 +01:00
bchanot 7dda61d2ae feat(app): history reads Défaire / Refaire (R1, D5)
FR names Défaire / Refaire; title = name + shortcut (Ctrl+Z ou ⌘Z /
Ctrl+Maj+Z ou ⇧⌘Z), aria-label = name, aria-keyshortcuts adds Meta forms.
New keys editor.history.{undo,redo}_shortcut (fr, en). FR prose use_parent_body
and repair.body_one/_other say Défaire. Dialog Annuler unchanged.

Assertion map (R-24):
- editor-history-buttons.test.tsx UNDO/REDO constants 'Annuler la dernière
  modification' / 'Rétablir la dernière modification annulée' → 'Défaire la
  dernière modification' / 'Refaire la dernière modification défaite'
- :80-81 title === UNDO/REDO → title `${UNDO} (Ctrl+Z ou ⌘Z)` / `${REDO}
  (Ctrl+Maj+Z ou ⇧⌘Z)`
- :82-83 aria-keyshortcuts 'Control+Z' / 'Control+Shift+Z' → 'Control+Z
  Meta+Z' / 'Control+Shift+Z Meta+Shift+Z'
- visible labels ['Annuler','Rétablir'] → ['Défaire','Refaire']
- tool column absence /Annuler|Rétablir/ → /Défaire|Refaire/ (also
  editor-annotations-tab.test.tsx:514)
- Rétablir button lookup by literal name → REDO constant
- added: EN names unchanged with title '(Ctrl+Z or ⌘Z)'; FR prose contains
  Défaire while use_parent_cancel stays 'Annuler'
- e2e titles/comments only: Annuler/Rétablir → Défaire/Refaire
2026-11-12 12:39:01 +01:00
bchanot 5803854860 chore(tasks): R1 owner gate outcomes G1, G2 and gated criteria 2026-11-12 12:23:05 +01:00
bchanot 4923edefc0 chore(tasks): R1 and D6b contract and plan (rev 3, challenged) 2026-11-12 12:19:34 +01:00
bchanot 541706cba9 docs(app): R1 criteria for deselecting by a click on the drawing (D6b)
Owner U1 manual test 2026-11-12: a click outside any annotation must deselect. D6b supersedes D6's deferral to U2; code change and tests named, implementation awaits the go.
2026-11-12 11:15:31 +01:00
bchanot 7a6eccf824 chore(memory): db:trial accounts and equine drawing checkpoint, host observation 2026-11-11 23:04:22 +01:00
bchanot 3189a1917d chore(memory): BDR-112 db:trial one-factor owner grant, contract and plan 2026-11-11 22:37:57 +01:00
bchanot 45d74536f5 feat(supabase): db:trial grants owner with one verified TOTP factor
Owner decision 2026-11-11: on the trial stack one verified factor suffices
for owner as for admin, a second one optional. The count before the typed
confirmation and the recount inside the grant transaction stay; SQL, aal2
and the rule for every other stack are unchanged.
2026-11-11 22:37:40 +01:00
bchanot 0573d66864 chore(memory): BDR-111 trial app on the LAN address during dev 2026-11-11 22:10:18 +01:00
bchanot 6ceced5c06 chore(memory): TR_PW rotation, init log fix, LRN-127 2026-11-11 19:54:42 +01:00
bchanot 5f63d2229c fix(supabase): db:trial database logs no statement from its first start
The image's init (migrate.sh) sent the supabase_admin password as SQL text
while its postgresql.conf logged DDL, so the password reached the container
log. The server now starts with -c log_statement=none, which the entrypoint
also hands to the init server; a harness check pins it, and DEPLOY.md makes
the post-init log scan a production prerequisite.
2026-11-11 19:53:56 +01:00
bchanot c6c984b954 chore(memory): db:trial first create, LRN-123..126, owner arbitrations
First create at 255dd67 done; post-create checks interrupted at check 3 (TR_PW in the db container log, written by the image's init). Contract records the owner's arbitrations of 2026-11-11; TODO lists the follow-up lots.
2026-11-11 15:54:33 +01:00
bchanot 255dd67f2c chore(memory): journal — db:trial closure reviews 2026-11-11 14:44:14 +01:00
bchanot 953ae41b86 docs(supabase): db:trial app comment and TODO review tick
The cmd_app shortcut comment matches SUPABASE.md on the rotate-secrets 401 window; TODO ticks the reviews and lists the app no-lock shortcut.
2026-11-11 14:43:41 +01:00
bchanot f2cbf6814f fix(supabase): db:trial second re-review fixes
Post-create scan covers pg_stat_statements and labels each count; log path defined; rotate-secrets 401 window documented; plan shows image state unknown without a daemon; start_containers checks the app host before recreating GoTrue; truthful restore and destroy way-out messages; harness checks read stdin from /dev/null. Harness 372/0.
2026-11-11 14:36:12 +01:00
bchanot d3bdbbe0ba fix(supabase): db:trial closure review fixes
Strict absent detection (stderr sentence per kind, measured on Docker 29.9.3), tri-state container_running, empty-volume check before restore, quieter DB init and rotation logging, backup/migrate refuse while the app runs, lock first in start/stop, truthful rotate-secrets and post-create checks. Stub reproduces Docker's stdout/stderr split. Harness 364/0.
2026-11-11 14:16:32 +01:00
bchanot a78da9f4e2 docs(supabase): db:trial review record and contract file scope 2026-11-10 23:13:23 +01:00
bchanot f7bf0c85cb docs(supabase): db:trial operating guide 2026-11-10 22:59:29 +01:00
bchanot 3b687a218e feat(supabase): db:trial accounts, grants, equine drawings, app
account: confirmed account through GoTrue's admin API, hidden password typed
twice. grant: owner/admin by the operator path (factors counted in SQL and again
in the transaction, names sanitised); catalogue rights mirror grant_catalog_right
(admin first for sheet_editor), audit row, no implicit admin. Every grant typed
at a terminal. assets: R5.5 tool through the gateway. app: Vite stopped and
waited on exit. 323 stub-only harness cases.
2026-11-10 22:33:49 +01:00
bchanot b85614aa09 feat(supabase): db:trial backup, restore, destroy, migrate, rotations
Cold read-only backups proven before any change (checksums covering
the folder, entry counts, keys, images); typed confirmations at a
terminal only; rotate-secrets in one explicit transaction with a commit
marker, no secrets.prev; destroy refuses without a restorable backup and
names the manual way out. Harness: 210 stub-only cases.
2026-11-10 19:08:33 +01:00
bchanot 1a7b952f2f feat(supabase): db:trial foundation (plan, create, start, stop, status)
scripts/db-trial.sh builds the persistent manual trial stack on
literal faunosteo_trial_* names, loopback 58xxx ports, named volumes
and a 700 state folder outside any git work tree; it refuses
SANDBOX_* variables, a remote Docker daemon, a missing or failing
ss, and checks each container's exact loopback publication and the
gateway identity. The stub harness (scripts/db-trial-check.sh,
87 cases, no daemon reachable) proves it; db-sandbox.sh refuses a
trial state folder (additions only). Nothing is created here.
2026-11-10 14:05:56 +01:00
bchanot 9f60d841eb fix(app): trial dev server serves one of two known stacks only (R13)
trial.config.ts no longer accepts any loopback gateway. A literal
table (vite/trial-targets.ts) holds the db:sandbox trial target
(5193, gateway 57801, issuer db-sandbox) and the db:trial target
(5194, gateway 58801, issuer faunosteo-trial, gateway identity
probe); the gateway picks the entry by exact match and the app
port, app URL and anon key issuer must match it, with no default
and no fallback. Tests cover both mix-ups, the probe and the
values db-sandbox.sh passes today.
2026-11-10 13:40:42 +01:00
bchanot 60087bab30 docs(docs): db:trial implementation plan and gated contract 2026-11-10 13:36:14 +01:00
bchanot b682f78209 test(supabase): sandbox suites refuse every target but the sandbox
The sandbox suites (stack.ts and its importers, the shell Playwright
config) stop before their first request unless the container, the
four loopback URLs and the key issuer are exactly the db:sandbox
ones; the LAN config accepts the 5193 trial app only. Drift and
wiring tests tie the constants to scripts/db-sandbox.sh.
2026-11-10 13:36:08 +01:00
bchanot b215b89cf9 chore(memory): BDR-110 R0 graphic validation 2026-11-09 17:42:44 +01:00