Commit Graph
449 Commits
Author SHA1 Message Date
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 60087bab30 docs(docs): db:trial implementation plan and gated contract 2026-11-10 13:36:14 +01:00
bchanot b215b89cf9 chore(memory): BDR-110 R0 graphic validation 2026-11-09 17:42:44 +01:00
bchanot a8c9b8377e chore(memory): BDR-109 R0 graphic verdict 2026-11-09 17:01:27 +01:00
bchanot 45f1cce460 chore(memory): BDR-108 R0 owner decisions and graphic checkpoint 2026-11-09 16:27:47 +01:00
bchanot 95009069ca chore(memory): BDR-107 trial arbitrations, R0-R4 and anomalies A-C tracking 2026-11-09 16:13:06 +01:00
bchanot 8cb681e2fa chore(memory): U1 owner checkpoint decisions, RR-13, LRN-120 to 122
BDR-106 owner decisions at the U1 checkpoint; TODO U1 line closed up
to the open owner checkpoint, admin.spec:717 confirmation and kept
reservations; RR-13 rights list server paging track; contract
clarification; journal.
2026-11-09 12:47:42 +01:00
bchanot da95b846e4 docs(app): final review wording and TODO shortcut
Owner trial: references search wording (citation, DOI, URL), the N4 error message returns on widening. TODO: harvest the sheetDocument.ts parse-cache shortcut (limit and upgrade path).
2026-11-09 12:19:38 +01:00
bchanot 942d52a835 docs(app): U1 limits N4, N6 and repair result, file scope rulings
The fresh verifier found three counter-check limits missing from the
owner trial list and five files added outside FILE SCOPE by lot rulings;
both recorded.
2026-11-08 22:45:01 +01:00
bchanot 81fba4631a docs(app): U1 owner trial, plan and tests pointers
U1 demo and known limits in the owner trial guide, tooling moved to U6 in
the plan and tests, TODO lots A-H, AC19 and AC20 evidence.
2026-11-08 21:42:27 +01:00
bchanot 9c03cf2413 docs(i18n): U1 label proposals, verbatim EN cells 2026-11-08 19:35:10 +01:00
bchanot 23900f31d9 docs(i18n): U1 label proposals
Add Lot B2b and F sections and per-lot removed keys. No dictionary
removal needed: the dead keys were already deleted by Lots B1 and E.
2026-11-08 19:33:29 +01:00
bchanot 99b669bf8f feat(editor): header history, save line and Abandonner les modifications
Header Annuler/Retablir on every tab (aria-disabled, commit on pointerdown,
refused blur commit skips the undo). Save line: unsaved count selector
(savedDistance), saveLineState forms, server save time via readSaveTime
(lastSave in the store, never the browser clock). Discard relabelled and
names the stored copy. Tool column pair removed, glyphs in EditorGlyph.

Rewritten or removed assertions (R-24):
- editor-route.test: Revision 3 / unsaved text / Annuler les modifications
  -> save-line testid, Abandonner label, copy sentence in the dialog
- editor-route-conflict, editor-route-recovery: Revision n and copy_cap/
  copy_quota text queries -> save-line testid
- editor-no-loss: discard button label
- editor-annotations-tab: tool column undo/redo test -> no pair left
  (behaviour moved to editor-history-buttons.test)
- e2e journey/annotations/recovery/structures/support saveDraft/lan:
  undo/redo and revision/unsaved text -> historyButton, saveLine helpers;
  structures toHaveCount(0) on old text -> exact Revision n line
- editor-shell clickability: header Annuler/Retablir added
2026-11-08 17:55:49 +01:00
bchanot ab51ea764d feat(editor): references side panel with filter, search and counts
Non-modal panel in a relative container after the tab row (scrim over the
tab panels, which are inert while it is open). Chip "Citées par" opened
from a finding's Citations block, "Tout afficher (N)", accent- and
case-insensitive search on citation, DOI and URL, "citée n fois" per card
(citationCounts, memoised TS read; the core stays the authority for
refused deletions). Up/down only without filter or search. "Aller à" a
reference clears a hiding search then focuses the card.

Rewritten assertions (R-24): editor-shell "the references panel keeps its
form text and no id repeats" closes the panel before reaching the inert
tab panels. Added: Chromium clickability at 1 024 and 1 280 px (top and
scrolled), editor-structures count and search, unit
editor-references-panel, editor-citations, navigation clear_cited_by.
2026-11-08 17:33:26 +01:00
bchanot 6131225288 feat(editor): board 01 annotation card, side column from 1 024 px
Annotations of the view move from under the drawing to the overview card
(grouped by category, name filter, all rows); side column from lg.
Properties panel gains « Toutes les annotations ».

E2E mapping (R-24): after a creation the card is hidden (the new annotation is
selected), so list(...).getByText(name) became selectionTag toContainText
(annotations, geometry, journey); row clicks go through pickAnnotation
(annotations, geometry, journey, structures); geometry's list count 0 while a
creation is pending became selectionTag count 0.
2026-11-06 21:40:25 +01:00
bchanot bc2dba7c14 feat(editor): four tabs, Annotations sections, references from the header
U1 Lot B1. Four tabs (Général, Annotations, Constats, Vérification); views,
categories and regions become full-width Annotations sections opened from the
overview panel; references move to a header-toggled panel (minimal, Lot D
completes it); « Aller à » goes through EditorTarget and the navigation hook.
EditorWorkspace owns the navigation; DraftHeader split in HeaderActions and
SaveLine; EditorTabs split in TabList and MoreTabs.

R-24, assertions removed or rewritten (file: old -> new):
unit
- editor-route.test: seven tab names -> four; « Plus » at 800 px with
  Références clicked -> no « Plus »; below 640 px five others -> Général,
  Constats, and Constats opens the findings tab; + references panel cases
- editor-route-recovery.test: tab Références + editor-tab-references label ->
  header button + editor-references-panel labelled by its heading
- editor-mode.test: small tier `more` of five -> [general, findings]
- editor-focus-request.test: {key,serial} -> {target,serial}; ReferencesTab and
  VertebraeTab -> ReferencesPanel and RegionsSection; issueTarget tab/key ->
  target place/section/key (vertebrae tab -> annotations/regions); consumed
  context (serial) -> (serial, outcome); annotation case adds heading focus
- editor-verification.test: onGoTo('annotations', key) -> navigate(targetOfKey
  (key), opener); props onSelectTab/onGoTo -> navigate
- editor-annotations-tab.test: props onSelectTab -> navigate + section props;
  no_category text « (onglet Général) » -> « (Annotations, section
  Catégories) »
- editor-tabs-general.test: categories cases render GeneralTab ->
  CategoriesSection(doc); + Général holds no categories editor
- editor-tabs-lists.test: tab imports -> panel and section; read-only
  references « no button » -> only « Fermer les références »
- editor-tabs-views, editor-drawing-upload, editor-repair.test: ViewsTab ->
  ViewsSection import, assertions kept; editor-findings.test: navigate prop
e2e
- support/editor selectTab: exact name -> pattern (error badge in the name);
  + place, openSection, showDrawing, backToDrawing, openReferences, TABS
- support/warm-up: seven tabs -> four + sections + references panel
- editor-access: seven-tab axe loops -> four tabs + three sections + panel
  (edit and read-only); narrow widths add panel overflow and axe
- editor-drawings: tab Vues -> openSection views; tab Annotations ->
  showDrawing
- editor-structures: tab Général (categories) -> openSection categories, axe
  label « general tab » -> « categories section »; tab Références ->
  openReferences/closeReferences; tab Vertèbres -> openSection regions; tab
  Annotations -> showDrawing
- editor-geometry: three tab Vues -> openSection views
- editor-equine: tab Général (categories add) -> openSection categories; five
  tabs loop -> two tabs + sections + panel; tab Annotations -> showDrawing
- editor-journey: tab Vues, tab Général (category), tab Annotations ->
  openSection views/categories, showDrawing; frozen axe scrolls to the header
- lan/trial-lan (not run): tab Vues -> Annotations tab + views entry

Verified: typecheck, lint, vitest 107 files / 1125 tests, whole shell suite on
the sandbox 151 passed, 49 skipped, 0 failed.
2026-11-06 20:25:35 +01:00
bchanot 9ec232ac22 chore(docs): U1 contract, counter-check CONFORME, MINOR answers 2026-11-06 18:22:36 +01:00
bchanot 2c8b606be3 chore(docs): U1 contract, fourth pass fixes
« Reprendre » absent in read-only; withheld state per decision; picker
disabled while a decision is pending; parent pending line; panel open
withholds; route resync after a submission.
2026-11-06 18:11:50 +01:00
bchanot c834fe933a chore(docs): U1 contract, owner choice « Reprendre » for withheld dialogs 2026-11-06 18:02:06 +01:00
bchanot 4692b27959 chore(docs): U1 contract, third pass MINOR fixes
Route read-only until the store's canEdit matches the mode; repair
dialog offer and open split; upload notices outside the hidden part.
One MAJOR left for the owner.
2026-11-06 17:58:32 +01:00
bchanot 049d5146b4 chore(docs): U1 contract, re-check REMAINING(1) fixes
Dialogs of kept parts open only in edit mode in a visible place; ids
rule for both annotation bodies; kept parts mount at first edit render;
repair geometries lifted; N2, N4, N6, N7 stated.
2026-11-06 17:47:55 +01:00
bchanot 10fb2d84d4 chore(docs): U1 contract, counter-check REMAINING(4) fixes
Whole shell suite at B1, E, F; unmounted-forms clarification prevails
over the plan lines, B2 and H lists; distinct ids for read-only twins;
drawing actions kept hidden with dialogs closed; 9 MINOR answered.
2026-11-06 17:34:04 +01:00
bchanot ed6fb0d313 chore(docs): U1 contract amended, owner precautions resolved
AC3, AC4, AC5, AC7, AC17 and changes 2.6-2.9 applied as approved
(BDR-105); per-operation sandbox go; precautions 2.8 (no silent loss
on a 1 024 px crossing or recovery decision) and AC7 (save time rights)
resolved from the code facts, AC21 and AC22 added. Plan unchanged.
2026-11-06 17:15:59 +01:00
bchanot 1ed5c96e1b docs(docs): U2b F5, F9-F21 ratified with F3, F8, F11-F14, F22 precisions
Owner brief « Ratification finale U1 et autorisation conditionnelle
d'implémentation » (BDR-105): study §6 tests, §7 table, 7.2, 7.3,
UX plan U2b entry, REVUE and decisions pointer. No implementation.
2026-11-06 17:12:30 +01:00
bchanot 7defed1c55 chore(memory): BDR-104, U1 plan challenge reports, checkpoint contract 2026-11-06 15:53:43 +01:00
bchanot a43145a03f chore(memory): BDR-103, LRN-119, U2b decisions contract and TODO 2026-11-06 14:56:50 +01:00
bchanot 567da677d7 docs(docs): complement after verifier CONFORME, trigger name per the core
Detail trigger shows its view's name as the core does; F7 cites the
current Catégorie labels; review record and TODO updated.
2026-11-06 13:28:48 +01:00
bchanot 212126c6ce docs(docs): V1-2.6 annotations-findings complement, boards 17-22, study
Owner brief: bidirectional navigation between annotations and findings.
Relations audit (one finding_zone_id link, no new association), six
boards from the equine draft data, placement U2b, risks, tests, owner
decisions F1-F16. Design only; U1 plan untouched.
2026-11-06 13:15:15 +01:00
bchanot 2e46c14697 chore(docs): V1-2.6 UX U1 contract and challenged plan
Owner approach A and four choices recorded as gated clarifications.
Plan lots A to I after three blind challengers and one confirmation
pass; no application code, no DEV.
2026-11-06 12:37:04 +01:00
bchanot 846994b4ab chore(memory): BDR-102, T17 answered 2026-11-06 11:12:18 +01:00
bchanot 452a346f17 chore(memory): BDR-101, TODO and journal for V1-2.6 U0 2026-11-06 11:06:12 +01:00
bchanot d9e3e34aff docs(docs): V1-2.6 UX U0, contract amendments, O22 checks, level-1 notes 2026-11-06 11:06:10 +01:00
bchanot a505b24bfd chore(memory): BDR-100, LRN-118, TODO and journal for the V1-2.6 ratification 2026-11-05 19:06:48 +01:00
bchanot bd444d6906 docs(docs): V1-2.6 UX owner ratification recorded, independent checks 2026-11-05 19:06:48 +01:00
bchanot e10f167a6d chore(memory): journal, V1-2.6 UX technical preparation 2026-11-05 17:33:00 +01:00
bchanot 871c8a6b45 chore(memory): TODO, V1-2.6 UX technical preparation and separate tracks 2026-11-05 17:32:53 +01:00
bchanot f58cf2308f chore(memory): journal, V1-2.6 maquettes final corrections 2026-11-05 16:15:29 +01:00
bchanot d11cb5a44b docs(docs): V1-2.6 maquettes, delta conformance result 2026-11-05 16:14:42 +01:00
bchanot 7bc3d6544e docs(docs): V1-2.6 maquettes final corrections after the external review 2026-11-05 16:02:35 +01:00
bchanot 7722433a1c chore(memory): journal, V1-2.6 maquettes review archive 2026-11-05 15:36:44 +01:00
bchanot d21ffcc5dc docs(docs): V1-2.6 maquettes arbitrations, technical study, conformance result 2026-11-05 15:35:39 +01:00
bchanot 9f420d329d chore(docs): V1-2.6 maquettes contract in the verifier's format 2026-11-05 15:29:39 +01:00