Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/adr/ADR-016-bootstrap-comme-socle.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
| 1.5 | 2026-10-24 | Acceptée | Ambroise Leclerc | Documentation consolidée (#317) : la formulation courante décrit directement l'environnement et ses commandes (`wf init`, `install`, `dev`, `check`, `test`, `embed`), sans comparaison avec d'autres outils ; les versions et décisions antérieures de ce tableau et de l'historique Git restent l'historique de la décision. | [#317](https://github.com/ambroise-leclerc/WebFront/issues/317) |
| 1.6 | 2026-10-26 | Acceptée | Ambroise Leclerc | Ajout du module DOM optionnel `DomInterpreterData`, commande bornée de l’ADR-003 (#380) ; budget inchangé. | — |
| 1.7 | 2026-11-25 | Proposée | Ambroise Leclerc | Portée des permissions : quand le frontend transmet la preuve de vue, les callbacks `webfront.developer.*` qui écrivent dans le projet exigent une connexion prouvée (`isLocalClient`), par [ADR-027](ADR-027-inspecteurs-de-l-etat-de-l-application.md) (#678). | À renseigner après intégration. |
| 1.8 | 2026-11-28 | Acceptée | Ambroise Leclerc | La version 1.7 est acceptée avec l'ADR-027 (version 1.6), après l'intégration de l'épique #677 : les écritures de l'environnement et les commandes du terminal sont gardées quand le frontend prouve sa vue (#680). | [#692](https://github.com/ambroise-leclerc/WebFront/pull/692), [#704](https://github.com/ambroise-leclerc/WebFront/pull/704) |

## Statut et date

Expand Down Expand Up @@ -80,7 +81,7 @@ l'[ADR-008](ADR-008-contenu-de-confiance-et-origines.md) : le code téléchargé
autorisés ont l'autorité du bridge et du projet désigné. Un durcissement ultérieur (CSP
`connect-src` servie avec le script du Worker) reste possible mais n'est pas promis.

Proposé en 1.7 par l'[ADR-027](ADR-027-inspecteurs-de-l-etat-de-l-application.md) : quand le frontend actif transmet la
Proposé en 1.7 par l'[ADR-027](ADR-027-inspecteurs-de-l-etat-de-l-application.md), accepté en 1.8 (2026-11-28) : quand le frontend actif transmet la
preuve de vue (`ViewLaunch`), les callbacks `webfront.developer.*` qui écrivent dans le projet (`begin`, `beginNew`,
`write`, `commit`, `commitGroup`, `abort`) exigent une connexion prouvée, ou un pair de boucle locale avec
`trustLoopbackClients` (`isLocalClient`). Un client non prouvé ne peut ainsi plus réécrire ce que la vue prouvée
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ Elles n'ont pas d'opération d'automatisation, comme `wf list` : un agent lit le
- **Preuves :** specs Jasmine `files-specs.mjs` et `dependencies-specs.mjs`, scénarios Catch2 de `Store::entries` et
des noms réservés, test `CommandNamesAgree`, et le parcours navigateur `developer_integration` qui exécute les commandes
dans le terminal.
- **Accès (proposé par l'[ADR-027](ADR-027-inspecteurs-de-l-etat-de-l-application.md)) :** quand le frontend transmet la
- **Accès (fixé par l'[ADR-027](ADR-027-inspecteurs-de-l-etat-de-l-application.md), acceptée le 2026-11-28) :** quand le frontend transmet la
preuve de vue, `webfront.commands.start` et `webfront.commands.cancel` exigent une connexion prouvée
(`isLocalClient`), car une commande de l'application peut écrire dans le projet ; `webfront.commands.list` garde le
contrôle d'origine.
4 changes: 3 additions & 1 deletion docs/adr/ADR-027-inspecteurs-de-l-etat-de-l-application.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

| Version | Date | État | Auteur | Évolution | Révision Git |
| --- | --- | --- | --- | --- | --- |
| 1.6 | 2026-11-28 | Acceptée | Ambroise Leclerc | Intégration de l'épique #677 : les stories #678 à #686 sont fusionnées dans `develop` avec leurs tests (unitaires, encodage des nœuds, Jasmine et `DeveloperBrowserIntegration`) ; `MinimalCoreAssets` est inchangé. La décision et ses versions 1.0 à 1.5 sont acceptées, avec la version 1.7 de l'ADR-016 qu'elle propose. | [#687](https://github.com/ambroise-leclerc/WebFront/pull/687), [#688](https://github.com/ambroise-leclerc/WebFront/pull/688), [#692](https://github.com/ambroise-leclerc/WebFront/pull/692), [#697](https://github.com/ambroise-leclerc/WebFront/pull/697), [#698](https://github.com/ambroise-leclerc/WebFront/pull/698), [#699](https://github.com/ambroise-leclerc/WebFront/pull/699), [#700](https://github.com/ambroise-leclerc/WebFront/pull/700), [#701](https://github.com/ambroise-leclerc/WebFront/pull/701), [#704](https://github.com/ambroise-leclerc/WebFront/pull/704), [#705](https://github.com/ambroise-leclerc/WebFront/pull/705) |
| 1.5 | 2026-11-28 | Proposée | Ambroise Leclerc | État du pont dans la page (#684, section 8) : sonde `probe` de `WebFront.js`, posée seulement pendant qu'un inspecteur lit ; moniteur de la page hôte, qui suit le pont de l'interface ; relais `webfront.inspector.bridgeSource`, `publishBridge` et `bridge`, sous la règle d'accès de la section 2, où la page ne publie que pendant qu'un panneau détaché lit (bail de 15 s) ; état borné à 256 lignes de textes de 256 octets, pour 16 pages au plus. | À renseigner après intégration. |
| 1.4 | 2026-11-28 | Proposée | Ambroise Leclerc | Outils MCP (#685) : la section 10 fixe les dix outils `webfront.state.*` sous le grant `state`, servis nativement et sans exécution ; lectures seules (ni `write`, ni préférences, ni fenêtres) ; une mémoire des observateurs propre à ces lectures, que `fold` et `reset` gèrent sans toucher l'application ni un panneau ; mêmes bornes que les pages ; refus aux codes `webfront.inspector.*` ; les packages passent par les opérations `list`, `why` et `info` de l'environnement, sous le grant `packages`. | Issue #685. |
| 1.3 | 2026-11-27 | Proposée | Ambroise Leclerc | Observateurs (#682) : précisions de la section « Précisions des observateurs » (6 bis) — `fold` répond par une page vide, `limits` par six nombres, la source propriétaire reçoit son état, le mutateur reçoit le texte déjà validé, un parent signalé « enfants modifiés » perd ses enfants en mémoire, la mémoire de 10 000 nœuds se compte par connexion et par observateur, `maxWriteTextBytes` tient compte de l'en-tête réel du texte, un formateur écrit pour `std::format_context` est accepté. | À renseigner après intégration. |
Expand All @@ -13,7 +14,8 @@

## État et portée

**Proposée le 2026-11-25.** Elle précède tout code de l'épique #677 (#679 à #686), dont elle fixe les contrats. Elle
**Acceptée le 2026-11-28** (version 1.6), après l'intégration de l'épique #677 ; proposée le 2026-11-25. Elle a précédé tout
code de l'épique (#679 à #686), dont elle fixe les contrats. Elle
ne modifie pas le format binaire du pont ([ADR-003](ADR-003-protocole-binaire-et-bornes.md)), ni la liste des
ressources embarquées du cœur ([ADR-016](ADR-016-bootstrap-comme-socle.md)), dont elle amende seulement la portée des
permissions (version 1.7 : écritures de l'environnement gardées quand une vue est prouvée, section 2), ni le
Expand Down
4 changes: 2 additions & 2 deletions docs/adr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ verification evidence remain in [PROJECT_STATUS](../PROJECT_STATUS.md).
| [ADR-013](ADR-013-bootstrap-developpeur-a-la-demande.md) | Bootstrapping a downloaded developer environment | Accepted | 2026-10-20 | 1.0 — 2026-10-24 |
| [ADR-014](ADR-014-construction-javascript-dans-le-browser.md) | Resolving npm dependencies and building inside the browser | Accepted | 2026-10-20 | 1.0 — 2026-10-24 |
| [ADR-015](ADR-015-ressources-generees-par-application.md) | Generating application-owned embedded resources | Accepted | 2026-10-20 | 1.0 — 2026-10-24 |
| [ADR-016](ADR-016-bootstrap-comme-socle.md) | The bootstrap environment as WebFront's foundation | Accepted through 1.6; 1.7 proposed (ADR-027) | 2026-10-22 | 1.7 — 2026-11-25 |
| [ADR-016](ADR-016-bootstrap-comme-socle.md) | The bootstrap environment as WebFront's foundation | Accepted | 2026-10-22 | 1.8 — 2026-11-28 |
| [ADR-017](ADR-017-acces-direct-aux-frontends.md) | Direct access to embedded frontends, with HTML kept normative | Proposed | 2026-10-24 | 1.1 — 2026-10-25 |
| [ADR-018](ADR-018-acces-au-dom.md) | DOM access from C++ through a bounded mutation stream, without contesting the DOM of UI libraries | Proposed, partially superseded, partially delivered | 2026-10-26 | 1.5 — 2026-10-30 |
| [ADR-019](ADR-019-developpement-automatisable-et-agents.md) | Automating the developer environment through shared operations and an optional local MCP adapter | Accepted (1.2); amendment 1.5 by ADR-025 proposed | 2026-10-28 | 1.5 — 2026-11-21 |
Expand All @@ -69,7 +69,7 @@ verification evidence remain in [PROJECT_STATUS](../PROJECT_STATUS.md).
| [ADR-024](ADR-024-tls-integre.md) | Optional integrated TLS 1.3 server | Proposed | 2026-11-21 | 1.0 |
| [ADR-025](ADR-025-mcp-http-dans-l-application.md) | The application serves MCP over Streamable HTTP on its own loopback listener, with a session Bearer token, strict Host/Origin checks, per-instance discovery and no automation in distribution builds; the webfront-agent launcher is removed; amends ADR-019 | Accepted (delivery in progress) | 2026-11-21 | 1.4 — 2026-11-28 |
| [ADR-026](ADR-026-configuration-mcp-persistante.md) | Stable MCP client configuration with explicit development security modes | Accepted | 2026-11-22 | 1.2 — 2026-11-22 |
| [ADR-027](ADR-027-inspecteurs-de-l-etat-de-l-application.md) | Application state inspectors in the developer environment only: reserved `webfront.inspector.*` functions refused to unproven views unless the application trusts loopback clients, tree nodes on existing bridge types with paged reads and paged differences, observer operations run whole under the application's lock or on its executor, writes only when the application provides them, one `inspector.html` page, shown in a floating window of the page and, for a detached panel only, in the first container that grants access (a native secondary window, else a system-browser tab); an introspectable registry of the registered C++ functions, of the JavaScript functions C++ calls and of the connected browsers, counted with relaxed atomics and timed only while an inspector reads | Proposed | 2026-11-25 | 1.5 — 2026-11-28 |
| [ADR-027](ADR-027-inspecteurs-de-l-etat-de-l-application.md) | Application state inspectors in the developer environment only: reserved `webfront.inspector.*` functions refused to unproven views unless the application trusts loopback clients, tree nodes on existing bridge types with paged reads and paged differences, observer operations run whole under the application's lock or on its executor, writes only when the application provides them, one `inspector.html` page, shown in a floating window of the page and, for a detached panel only, in the first container that grants access (a native secondary window, else a system-browser tab); an introspectable registry of the registered C++ functions, of the JavaScript functions C++ calls and of the connected browsers, counted with relaxed atomics and timed only while an inspector reads | Accepted | 2026-11-25 | 1.6 — 2026-11-28 |

Numbering follows the reading topics; milestones and individual file histories provide
the chronology, which does not follow the numerical order.
Expand Down
Loading