gestion_table_tournante_libre/test
Mathieu Benoit f2b66f2f92 [ADD] electron: confined file system, atomic writes, lock, bridge
The shell carries the file-system boundary (§ 13.1): the page names a
root the main process defines — data/ beside the published executable,
the product folder in Documents, or one the operator picks in a dialog —
and a relative path, refused if absolute, with .., a NUL, or a real
path outside the root. Writes go to a temporary file, flushed, renamed
over the target with retries; a failed rename never truncates it. The
lock records session, process and host. Chromium's profile lives in a
temporary folder removed at exit, not in AppData nor in the events.

Checked: node and real-folder long tests; real Electron start under Ozone.

--- FR ---

[ADD] electron : système de fichiers confiné, écriture atomique, verrou

La coquille porte la frontière du système de fichiers (§ 13.1) : la page
nomme une racine que le processus principal définit — data/ à côté de
l'exécutable publié, le dossier du produit dans Documents, ou un dossier
choisi par dialogue — et un chemin relatif, refusé s'il est absolu, porte
.., un NUL, ou un chemin réel hors de la racine. Une écriture passe par
un temporaire vidé sur le disque puis renommé par-dessus, réessayé ; un
renommage manqué ne tronque jamais la cible. Le profil de Chromium vit
dans un dossier temporaire effacé à la sortie, hors d'AppData.

Vérifié : épreuves node et longues sur dossier réel ; Electron réel lancé.

Assisted-by: Claude Opus 5.5
Claude-Session: https://claude.ai/code/session_01EUXSGcwCLSC69FWEdCtWSb
2026-10-06 17:34:31 -04:00
..
fixtures/csv [ADD] csv: columns by header, closed exclu values, mandatory preview 2026-10-06 13:12:28 -04:00
arborescence.test.js [FIX] tests: four-core budget, quoted values, key guard, switch floor 2026-10-06 04:26:08 -04:00
chargements.js [ADD] tests: budget reporter, one import parser, key-order guard 2026-10-06 04:23:13 -04:00
chargements.test.js [ADD] tests: budget reporter, one import parser, key-order guard 2026-10-06 04:23:13 -04:00
chromium.js [ADD] install: Node 26 and system packages, per family and under Nix 2026-10-06 05:52:05 -04:00
chromium.test.js [ADD] install: Node 26 and system packages, per family and under Nix 2026-10-06 05:52:05 -04:00
construction.long.test.js [ADD] skeleton: Capacitor web app that shows its dated version 2026-10-05 13:13:13 -04:00
contrat_fichiers.js [ADD] storage: file-system interface, failing test double, contract 2026-10-06 13:12:25 -04:00
coquille.test.js [ADD] electron: confined file system, atomic writes, lock, bridge 2026-10-06 17:34:31 -04:00
electron_factice.js [ADD] electron: confined file system, atomic writes, lock, bridge 2026-10-06 17:34:31 -04:00
fichiers_electron.long.test.js [ADD] electron: confined file system, atomic writes, lock, bridge 2026-10-06 17:34:31 -04:00
fichiers_electron.test.js [ADD] electron: confined file system, atomic writes, lock, bridge 2026-10-06 17:34:31 -04:00
fichiers_simules.js [ADD] storage: file-system interface, failing test double, contract 2026-10-06 13:12:25 -04:00
fichiers_simules.test.js [ADD] storage: file-system interface, failing test double, contract 2026-10-06 13:12:25 -04:00
fils.test.js [IMP] tests: watched series adapts to the core count, threads below 4 2026-10-06 04:54:01 -04:00
installation.test.js [ADD] run: make and ./run.sh, Electron start check, container matrix 2026-10-06 05:52:17 -04:00
lanceur.js [ADD] skeleton: Capacitor web app that shows its dated version 2026-10-05 13:13:13 -04:00
licence.test.js [ADD] scripts: Windows install and run through PowerShell 5.1 2026-10-06 05:51:31 -04:00
livrable.test.js [ADD] tests: budget reporter, one import parser, key-order guard 2026-10-06 04:23:13 -04:00
machine.js [IMP] tests: watched series adapts to the core count, threads below 4 2026-10-06 04:54:01 -04:00
machine.test.js [IMP] tests: watched series adapts to the core count, threads below 4 2026-10-06 04:54:01 -04:00
projets.test.js [ADD] skeleton: Capacitor web app that shows its dated version 2026-10-05 13:13:13 -04:00
rapporteur.js [IMP] tests: watched series adapts to the core count, threads below 4 2026-10-06 04:54:01 -04:00
rapporteur.test.js [IMP] tests: watched series adapts to the core count, threads below 4 2026-10-06 04:54:01 -04:00
version_voisine.js [ADD] electron: own shell, portable Windows exe built under podman 2026-10-05 13:13:32 -04:00