Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
468 commits
Select commit Hold shift + click to select a range
1adb3b3
Keep approx from accepting an overflow and checkEqual from reading a …
ambroise-leclerc Nov 25, 2026
d57fd9d
Report a failed run ending in the JUnit report and keep approx exact …
ambroise-leclerc Nov 25, 2026
97fc16d
Fail the scenario when a scenario-starting listener throws, so that t…
ambroise-leclerc Nov 25, 2026
d5e65d6
Refuse approx for the numbers a double cannot hold exactly (#669)
ambroise-leclerc Nov 25, 2026
a9611c9
Write a long double with its own precision in reports (#669)
ambroise-leclerc Nov 25, 2026
da5cd90
Still end the run when a run-starting listener throws (#669)
ambroise-leclerc Nov 25, 2026
cbecfd1
Refuse an inexact expected value in approx() as well (#669)
ambroise-leclerc Nov 25, 2026
92e9ac1
Build with MSVC and answer the review of the BDD parts (#669)
ambroise-leclerc Nov 25, 2026
1a0bfb2
Keep the self-test clear of the Node.js guard (#669)
ambroise-leclerc Nov 25, 2026
15c8261
Merge pull request #670 from ambroise-leclerc/669-bdd-approx-run-endi…
AM-L Nov 25, 2026
fdd6429
Test helpers: export the real XDG roots hidden by the throwaway profi…
ambroise-leclerc Nov 25, 2026
59fbef7
Merge develop; capture the real XDG roots when ctest starts (#664)
ambroise-leclerc Nov 25, 2026
e32b749
RealXdgRootsReachTests: quote the output path and compare the four li…
ambroise-leclerc Nov 25, 2026
52fa15e
Capture the real XDG roots in one script for every helper, and test e…
ambroise-leclerc Nov 25, 2026
5083996
Measure the native windows' start-up time alone (#664)
ambroise-leclerc Nov 25, 2026
b976627
Record the stand-in program of RealXdgRootsReachTests as executable (…
ambroise-leclerc Nov 25, 2026
0b05d94
Merge pull request #676 from ambroise-leclerc/claude/charming-brown-e…
AM-L Nov 25, 2026
bdaccb8
Propose ADR-027: application state inspectors (#678)
ambroise-leclerc Nov 25, 2026
76946f9
ADR-027: run observer operations whole in the access window, page the…
ambroise-leclerc Nov 25, 2026
986e4f7
ADR-027: byte bounds of a node, value read by fragments, passes ended…
ambroise-leclerc Nov 25, 2026
f31a06d
ADR-027: write precondition, response budget, value snapshot identifi…
ambroise-leclerc Nov 25, 2026
cad9d17
ADR-027: resynchronisation empties the memory, whole write request bo…
ambroise-leclerc Nov 25, 2026
be60027
ADR-027: two destruction contracts for an observer handle, secondary …
ambroise-leclerc Nov 25, 2026
764bf54
ADR-027: destruction from the operation, bounded formatting, interrup…
ambroise-leclerc Nov 25, 2026
f19f67d
ADR-027: formatter memory is the application's, reversible path encod…
ambroise-leclerc Nov 25, 2026
21d8431
ADR-027: revision of an interrupting call checked before the interrup…
ambroise-leclerc Nov 25, 2026
f7a7d5e
ADR-027: guard the environment's writes when views are proven, fold c…
ambroise-leclerc Nov 25, 2026
754d812
ADR-027: one contract for a stale revision (#678)
ambroise-leclerc Nov 25, 2026
d9b8d71
ADR-027: a rejected call changed nothing, a call that changed the mem…
ambroise-leclerc Nov 25, 2026
80e0b2e
ADR-027: observer discovery, a terminal answer for every request, bou…
ambroise-leclerc Nov 25, 2026
afb46b3
ADR-027: the root is always expandable (#678)
ambroise-leclerc Nov 25, 2026
9f4a25d
ADR-027: guard the terminal commands too, and state the contract of a…
ambroise-leclerc Nov 25, 2026
056e614
Merge pull request #687 from ambroise-leclerc/678-adr-027-inspecteurs
AM-L Nov 25, 2026
49dbcc1
Context menu on the WebFront tab of the developer environment (#679)
ambroise-leclerc Nov 25, 2026
bca970e
Refresh an open submenu when C++ answers which containers reach the i…
ambroise-leclerc Nov 25, 2026
9ae671a
Advance developer environment sources to 1.2.1
ambroise-leclerc Nov 25, 2026
6808361
Leave the tab's menu with Tab and Shift+Tab in the direction asked (#…
ambroise-leclerc Nov 25, 2026
2aa88a6
Give the relaunched bootstrap page the same time to start as the firs…
ambroise-leclerc Nov 25, 2026
8d9883d
Place the open panels of the tab's menu again when their reasons chan…
ambroise-leclerc Nov 25, 2026
03ed8be
Merge pull request #689 from ambroise-leclerc/660-flaky-timing-tests
AM-L Nov 25, 2026
ca611f4
Give the focused tab Shift+F10, and fit the menu to a narrow window (…
ambroise-leclerc Nov 25, 2026
bbc783f
Close the whole tab menu with Escape, from a submenu too (#679)
ambroise-leclerc Nov 25, 2026
7bc2a8e
Application spaces under a path prefix (#671)
ambroise-leclerc Nov 25, 2026
92d9d95
Keep the tab's menu open after a long press when mouse events follow …
ambroise-leclerc Nov 25, 2026
f253286
Spaces: cut the segment before decoding, stop notifying a destroyed s…
ambroise-leclerc Nov 25, 2026
7270a00
End the tab's long press when its pointer is cancelled (#679)
ambroise-leclerc Nov 25, 2026
7c68207
Spaces: the mount decides every target under its prefix, one segment …
ambroise-leclerc Nov 25, 2026
e3397bb
Merge pull request #688 from ambroise-leclerc/679-menu-onglet
AM-L Nov 25, 2026
4bc31d9
Spaces: mask the segment in the logs (#671)
ambroise-leclerc Nov 25, 2026
3d1b925
Spaces: wait for route handlers, keep the resolved space to the upgra…
ambroise-leclerc Nov 25, 2026
9b6df71
Detachable inspector host and discovery of the watches (#680)
ambroise-leclerc Nov 25, 2026
20dbd36
Spaces: the segment is the piece right after the prefix; a grace dela…
ambroise-leclerc Nov 25, 2026
5f0105a
List the watches again when they change between pages, and attach a p…
ambroise-leclerc Nov 25, 2026
62f772f
Spaces: answer the review of #691 (#671)
ambroise-leclerc Nov 25, 2026
4338ae4
Listen for detached panels at load, and clear a read error once reads…
ambroise-leclerc Nov 25, 2026
9cf1494
Give each host page an identifier of its own, and name its tabs by it…
ambroise-leclerc Nov 25, 2026
952f992
Merge pull request #691 from ambroise-leclerc/671-application-spaces
AM-L Nov 25, 2026
68e2e18
Keep one chain of watch reads, and show watch names with visible cont…
ambroise-leclerc Nov 25, 2026
930df16
Bridge: give the path of the WebSocket upgrade to the application (#672)
ambroise-leclerc Nov 25, 2026
1c4f700
Build the watch tests with MSVC, and give WKWebView time to release a…
ambroise-leclerc Nov 25, 2026
41b0352
Merge develop into 680-inspecteur-detachable
ambroise-leclerc Nov 25, 2026
8c6d9b0
Read a '+' of a file path as a literal '+', as ui.path() does (#672)
ambroise-leclerc Nov 25, 2026
3569fae
Answer the review of #692 (#680)
ambroise-leclerc Nov 25, 2026
ab9864c
Merge pull request #693 from ambroise-leclerc/672-bridge-page-directory
AM-L Nov 25, 2026
7c48583
Logs: keep a secret path segment out of the logs outside /webfront/se…
ambroise-leclerc Nov 26, 2026
e82c4b1
Logs: read every layer of encoding before masking a secret segment (#…
ambroise-leclerc Nov 26, 2026
6f4c8ec
Logs: mask a secret segment held by a mount's prefix (#673)
ambroise-leclerc Nov 26, 2026
5559d1b
Logs: keep the error messages of a space's requests out of the logs (…
ambroise-leclerc Nov 26, 2026
9824273
Guard developer writes and finish inspector saves on the server (#680)
ambroise-leclerc Nov 26, 2026
664349b
Keep the command header self-contained (#680)
ambroise-leclerc Nov 26, 2026
8ff1c3b
Merge develop into 680-inspecteur-detachable
ambroise-leclerc Nov 26, 2026
19841c8
Exercise developer writes from admitted browser sessions (#680)
ambroise-leclerc Nov 26, 2026
8dceb1f
Fix MSVC warnings and Windows macro collisions (#680)
ambroise-leclerc Nov 26, 2026
1951afc
Merge pull request #694 from ambroise-leclerc/673-secret-prefix-logs
AM-L Nov 26, 2026
abc1162
HTTP: set Referrer-Policy and other deployment headers from the conte…
ambroise-leclerc Nov 26, 2026
9905f88
HTTP: validate the content policy before the server binds its port (#…
ambroise-leclerc Nov 26, 2026
b255cab
Keep unreadable inspector choices, refuse a page budget too small, re…
ambroise-leclerc Nov 26, 2026
754e52e
Docs: state the referrer leak as it is, not as systematic (#674)
ambroise-leclerc Nov 26, 2026
894f9c7
Docs: keep the changelog entry of #674 within the length limit (#674)
ambroise-leclerc Nov 26, 2026
4386bbe
Merge pull request #695 from ambroise-leclerc/674-deployment-headers
AM-L Nov 26, 2026
2196831
CMake: embed an interface directory with webfront_embed_directory() (…
ambroise-leclerc Nov 26, 2026
955a044
CMake: refuse a ';' in a path and C++ keywords in CLASS or NAMESPACE …
ambroise-leclerc Nov 26, 2026
3c16c0b
CMake: refuse CLASS open and WebFront's names, keep similar targets a…
ambroise-leclerc Nov 26, 2026
2fa3578
Reload a restored inspector page, and offer no tab under an embedded …
ambroise-leclerc Nov 26, 2026
0b1334b
CMake: read the embedded directory's path as itself, not as a glob (#…
ambroise-leclerc Nov 26, 2026
bed092c
Close a native inspector window that opens after its panel was attach…
ambroise-leclerc Nov 26, 2026
f47d816
Test: keep * and ? out of a directory name on Windows in EmbedDirecto…
ambroise-leclerc Nov 26, 2026
e30f19c
Borrow the host's bridge in the floating inspector's frame (#680)
ambroise-leclerc Nov 26, 2026
3626717
Let the host page close the window of a panel attached again (#680)
ambroise-leclerc Nov 26, 2026
68a2e47
Merge pull request #696 from ambroise-leclerc/675-embed-directory
AM-L Nov 26, 2026
55c0ac5
Close a native inspector window that opens after its floating window …
ambroise-leclerc Nov 26, 2026
1c664a4
Cancel every pending native opening of a panel when its floating wind…
ambroise-leclerc Nov 26, 2026
d658276
Let only a panel's latest opening close its window, and keep a watch …
ambroise-leclerc Nov 26, 2026
8b26b40
Decide whether a panel's native window stays once all its openings ha…
ambroise-leclerc Nov 26, 2026
530d1ca
Merge remote-tracking branch 'origin/develop' into 680-inspecteur-det…
ambroise-leclerc Nov 26, 2026
170e020
Answer the review of #692 (#680)
ambroise-leclerc Nov 26, 2026
25764d2
Merge pull request #692 from ambroise-leclerc/680-inspecteur-detachable
AM-L Nov 26, 2026
4f8cd2b
Introspectable C++ registry: registered functions, JavaScript calls, …
ambroise-leclerc Nov 26, 2026
a5dd928
Release a function's entry with its record, and find a sender's count…
ambroise-leclerc Nov 26, 2026
de057bf
Give registeredFunctions() the names as registered, and bound them in…
ambroise-leclerc Nov 26, 2026
41e6a91
Answer the review of #697 (#681)
ambroise-leclerc Nov 26, 2026
9461d2c
WKWebView: give the main-queue blocks an autorelease pool, so that a …
ambroise-leclerc Nov 26, 2026
5c9d06b
Count a row as it is sent, and take no registration under the table's…
ambroise-leclerc Nov 26, 2026
1d7e766
WKWebView: never suspend a secondary window while it is inactive, so …
ambroise-leclerc Nov 26, 2026
cd0b374
Merge pull request #697 from ambroise-leclerc/681-registre-introspect…
AM-L Nov 26, 2026
de64366
Give the locked graph, the chains of wf why and the details of wf inf…
ambroise-leclerc Nov 26, 2026
35d84c8
Packages panel of the inspectors: the locked packages as a tree, with…
ambroise-leclerc Nov 27, 2026
184c859
Show the packages of Life in the panel and follow wf install in the b…
ambroise-leclerc Nov 27, 2026
e95e353
Packages panel: keep the keyboard focus when a link of the detail is …
ambroise-leclerc Nov 27, 2026
b088ddc
Packages panel: after a lock change, give the Tab key to a package th…
ambroise-leclerc Nov 27, 2026
05acae4
WebFront.js: a probe that an inspector installs to follow the calls, …
ambroise-leclerc Nov 27, 2026
eea2f0a
Relay the state of a page's bridge to a detached inspector: the page …
ambroise-leclerc Nov 27, 2026
97958c6
Bridge panel of the inspectors: ready, pending calls, rejections and …
ambroise-leclerc Nov 27, 2026
53c6b86
Real-browser tests of the bridge's state: Jasmine specs of the probe …
ambroise-leclerc Nov 27, 2026
336854b
ADR-027 1.3, guide and changelog: the state of the bridge in the page…
ambroise-leclerc Nov 27, 2026
80bb105
Bridge panel: adopt the calls made between two leases, and announce a…
ambroise-leclerc Nov 27, 2026
0097d86
Say that a followed call is followed to its answer, also after the pr…
ambroise-leclerc Nov 27, 2026
929e8e2
Inspector host specs: wait for the channel's message instead of a fix…
ambroise-leclerc Nov 27, 2026
512d42f
Watches: read an object as a tree of nodes, by pages and passes, and …
ambroise-leclerc Nov 27, 2026
2f77837
Inspector: unfold, refresh and edit the watches in the Watches panel …
ambroise-leclerc Nov 27, 2026
f760902
Tests: read and write the watches in a real browser (#682)
ambroise-leclerc Nov 27, 2026
3e21f75
Life: watch the grid and the generations of the developer stage (#682)
ambroise-leclerc Nov 27, 2026
459e8a9
Document the watches, and what ADR-027 left open about them (#682)
ambroise-leclerc Nov 27, 2026
eeec635
Watches: name the owner in the source's closure, which keeps it alive…
ambroise-leclerc Nov 27, 2026
1c4f483
BridgeStateTests: a thread word that the source headers know (#684)
ambroise-leclerc Nov 27, 2026
9ae40b8
Merge pull request #698 from ambroise-leclerc/683-arbre-packages
AM-L Nov 27, 2026
48c144b
Inspector: write against the value shown when the edition began (#682)
ambroise-leclerc Nov 27, 2026
4597a8f
Watches: refuse a text that is no number for a described numeric fiel…
ambroise-leclerc Nov 27, 2026
0abffb4
Merge develop into 684-etat-du-pont: the Packages panel beside the Br…
ambroise-leclerc Nov 27, 2026
4a44cb1
Watches: no edition of a value shown with control pictures; compile w…
ambroise-leclerc Nov 27, 2026
4ad6dec
Merge origin/develop into 682-observateurs (#682)
ambroise-leclerc Nov 27, 2026
485c4b8
Answer the review of #699: a state belongs to the connection that ann…
ambroise-leclerc Nov 27, 2026
c90ef7f
Watches: read nothing again after a mutator, serve a page when a sour…
ambroise-leclerc Nov 27, 2026
034a18d
Inspector: give up an edition that a refresh made stale, keep what is…
ambroise-leclerc Nov 27, 2026
03ff6a9
Give native code the reads of the inspectors, with a memory of the wa…
ambroise-leclerc Nov 27, 2026
3fe3da6
MCP: read the application's state with the webfront.state.* tools und…
ambroise-leclerc Nov 27, 2026
c5431b3
Automation: run wf list --tree, wf why and wf info as operations, and…
ambroise-leclerc Nov 27, 2026
7521e34
Document the state reads of an agent, and fix them in ADR-027 section…
ambroise-leclerc Nov 27, 2026
7f44a72
Merge 682-observateurs into 685-outils-mcp-inspecteur (#685)
ambroise-leclerc Nov 27, 2026
6cc52ae
State tools: valid UTF-8 in a refusal, the denied read audited, no nu…
ambroise-leclerc Nov 27, 2026
25e0f1c
Watches: name the wide character types that are not writable (#682)
ambroise-leclerc Nov 27, 2026
0de4992
Merge 682-observateurs into 685-outils-mcp-inspecteur (#685)
ambroise-leclerc Nov 27, 2026
20f4202
State tools: refuse the arguments out of the announced bounds, accept…
ambroise-leclerc Nov 27, 2026
e74f853
Bridge relay: drop a page's state before its place, keep the probe pa…
ambroise-leclerc Nov 27, 2026
5c17e4e
WKWebView: close the page of a released window, so that a closed seco…
ambroise-leclerc Nov 27, 2026
d6ac9e0
FrontendSelection: count the WKWebView secondary-close case (#702)
ambroise-leclerc Nov 27, 2026
bfc9b73
Watches: answer the review of #700 (#682)
ambroise-leclerc Nov 27, 2026
aece3b1
Merge 682-observateurs into 685-outils-mcp-inspecteur (#685)
ambroise-leclerc Nov 27, 2026
5574497
Merge pull request #703 from ambroise-leclerc/702-fermeture-fenetre-s…
AM-L Nov 27, 2026
09746f3
Merge remote-tracking branch 'origin/develop' into 684-etat-du-pont
ambroise-leclerc Nov 27, 2026
ae98e8c
Merge origin/develop into 682-observateurs (#682)
ambroise-leclerc Nov 27, 2026
f28ccaa
Merge 682-observateurs into 685-outils-mcp-inspecteur (#685)
ambroise-leclerc Nov 27, 2026
1bff766
Bridge relay: evict the publishing page too, tell long names apart by…
ambroise-leclerc Nov 27, 2026
64fba2a
Merge 684-etat-du-pont into 686-documentation-inspecteurs (#686)
ambroise-leclerc Nov 27, 2026
cf63ae3
Inspectors guide: access and containers per frontend, enabling them w…
ambroise-leclerc Nov 27, 2026
576b607
Tell agents that a callback that acts checks ui.isLocalClient(), and …
ambroise-leclerc Nov 27, 2026
eb225cc
Project status and changelog: the inspectors, their limitations and t…
ambroise-leclerc Nov 27, 2026
af24836
Changelog: keep the Breaking entry of the guard within the entry limi…
ambroise-leclerc Nov 27, 2026
5333e29
Agents: the state grant needs bootstrap("developer") before enableAut…
ambroise-leclerc Nov 27, 2026
1265570
State tools: read an argument from its exact decimal value, and say t…
ambroise-leclerc Nov 27, 2026
d54e368
Agents: say that the state grant needs bootstrap("developer") in the …
ambroise-leclerc Nov 27, 2026
193f0b4
State tools: say which refusals the audit keeps (#685)
ambroise-leclerc Nov 27, 2026
9b0b403
Bridge relay: settle the application's calls whatever the monitor doe…
ambroise-leclerc Nov 27, 2026
0551f64
Watches: answer the review of #704 on the watches (#682)
ambroise-leclerc Nov 27, 2026
b2896f9
Merge 682-observateurs into 685-outils-mcp-inspecteur (#685)
ambroise-leclerc Nov 27, 2026
a7ea1aa
Merge 685-outils-mcp-inspecteur into 686-documentation-inspecteurs (#…
ambroise-leclerc Nov 27, 2026
078face
Merge 682-observateurs into 686-documentation-inspecteurs (#686)
ambroise-leclerc Nov 27, 2026
575fbb9
Merge 684-etat-du-pont into 686-documentation-inspecteurs (#686)
ambroise-leclerc Nov 27, 2026
c15b5a1
Merge 685-outils-mcp-inspecteur into 686-documentation-inspecteurs (#…
ambroise-leclerc Nov 27, 2026
a2d082e
Merge pull request #700 from ambroise-leclerc/682-observateurs
AM-L Nov 27, 2026
e406034
Watches: answer the review of #701 on the watches (#682)
ambroise-leclerc Nov 27, 2026
cc608c7
Merge origin/develop into 685-outils-mcp-inspecteur (#685)
ambroise-leclerc Nov 27, 2026
7a44697
Merge 682-observateurs into 685-outils-mcp-inspecteur (#685)
ambroise-leclerc Nov 27, 2026
3ec66bd
Merge origin/develop into 686-documentation-inspecteurs (#686)
ambroise-leclerc Nov 27, 2026
a1b8b3c
Merge 685-outils-mcp-inspecteur into 686-documentation-inspecteurs (#…
ambroise-leclerc Nov 27, 2026
f1ea12a
Inspector: start no new reading of a full value once the tree is clos…
ambroise-leclerc Nov 27, 2026
e936c0b
Watches: compare the bound of 2^53 elements in integers (#682)
ambroise-leclerc Nov 27, 2026
01baaaa
Watches: refuse a count of 2^53 elements too (#682)
ambroise-leclerc Nov 27, 2026
9f39ca5
Merge 682-observateurs into 685-outils-mcp-inspecteur (#685)
ambroise-leclerc Nov 27, 2026
efb3746
Merge 685-outils-mcp-inspecteur into 686-documentation-inspecteurs (#…
ambroise-leclerc Nov 27, 2026
73a584c
Tests: press only the menu entries that are rendered, in the menu pro…
ambroise-leclerc Nov 27, 2026
3bf7ab8
Merge 682-observateurs into 685-outils-mcp-inspecteur (#685)
ambroise-leclerc Nov 27, 2026
9bce7b2
Merge 685-outils-mcp-inspecteur into 686-documentation-inspecteurs (#…
ambroise-leclerc Nov 27, 2026
57f0a85
Watches: compute the bound of 2^53 in 64-bit integers, whatever size_…
ambroise-leclerc Nov 27, 2026
3b1a8a7
Merge 682-observateurs into 685-outils-mcp-inspecteur (#685)
ambroise-leclerc Nov 27, 2026
96db983
Merge 685-outils-mcp-inspecteur into 686-documentation-inspecteurs (#…
ambroise-leclerc Nov 27, 2026
cc694bc
Merge pull request #705 from ambroise-leclerc/682-observateurs
ambroise-leclerc Nov 27, 2026
981a305
Merge develop into 684-etat-du-pont: the watches of #682 beside the B…
ambroise-leclerc Nov 27, 2026
4b84cb2
Merge pull request #701 from ambroise-leclerc/685-outils-mcp-inspecteur
ambroise-leclerc Nov 27, 2026
b8f7a65
Merge develop into 684-etat-du-pont: the MCP tools of #685 beside the…
ambroise-leclerc Nov 28, 2026
2568ae1
ADR-027: the bound is on the bridge state shown; the monitor follows …
ambroise-leclerc Nov 28, 2026
941a914
Answer the review of #699: the latest lease wins, labels keep their d…
ambroise-leclerc Nov 28, 2026
d5cf327
Bridge relay: one page per connection and no connected page evicted, …
ambroise-leclerc Nov 28, 2026
c01056a
Merge pull request #699 from ambroise-leclerc/684-etat-du-pont
ambroise-leclerc Nov 28, 2026
25f2f1e
Merge origin/develop into 686-documentation-inspecteurs (#686)
ambroise-leclerc Nov 28, 2026
c222b0c
Inspectors guide: the Bridge panel detaches like the others, and C++ …
ambroise-leclerc Nov 28, 2026
6f3ac79
Merge pull request #704 from ambroise-leclerc/686-documentation-inspe…
ambroise-leclerc Nov 28, 2026
b858df7
wf test: a run stopped at its time limit names how far the runner fra…
ambroise-leclerc Nov 28, 2026
695c474
WKWebView: say why the web content process ended, a crash of the engi…
ambroise-leclerc Nov 28, 2026
73fada0
Browser test programs say why they terminate instead of failing fast …
ambroise-leclerc Nov 28, 2026
190aa57
WebView2: a closed secondary window ends its page before its controll…
ambroise-leclerc Nov 28, 2026
73c0cfb
Changelog: the stage of a stopped wf test run (#690)
ambroise-leclerc Nov 28, 2026
9e011d6
Automation: the session names the deadline that revoked it, so the ho…
ambroise-leclerc Nov 28, 2026
93a8ea8
wf test: after a spec, the stage of a stopped run is between specs, w…
ambroise-leclerc Nov 28, 2026
c6b06e5
Secondary windows: one that ends its page first leaves the table at o…
ambroise-leclerc Nov 28, 2026
882d74c
Pin developer environment 1.2.1
webfront-release[bot] Nov 28, 2026
6ca5c33
WindowRegistry: no shadowed name in retire() (#708)
ambroise-leclerc Nov 28, 2026
bab26af
wf test: a stopped run names the suite whose beforeAll or afterAll it…
ambroise-leclerc Nov 28, 2026
a489bc0
wf test: a spec filtered out does not count as done in the stage of a…
ambroise-leclerc Nov 28, 2026
60e7b11
Merge pull request #710 from ambroise-leclerc/709-statut-echeance-wat…
ambroise-leclerc Nov 28, 2026
170419a
Merge origin/develop into 706-arret-processus-contenu-wkwebview (#706)
ambroise-leclerc Nov 28, 2026
e626c6f
Merge origin/develop into 708-fermeture-secondaire-webview2 (#708)
ambroise-leclerc Nov 28, 2026
de72ecf
jasmine_consumer: initialise the frontend before reading the argument…
ambroise-leclerc Nov 28, 2026
ecc3be8
Merge pull request #713 from ambroise-leclerc/690-etape-runner-wf-test
ambroise-leclerc Nov 28, 2026
9f47789
Merge pull request #711 from ambroise-leclerc/706-arret-processus-con…
ambroise-leclerc Nov 28, 2026
3d6ada4
Merge origin/develop into 708-fermeture-secondaire-webview2 (#708)
ambroise-leclerc Nov 28, 2026
26b28ca
Merge pull request #714 from ambroise-leclerc/707-arret-brutal-consum…
ambroise-leclerc Nov 28, 2026
092be1f
Merge pull request #712 from ambroise-leclerc/708-fermeture-secondair…
ambroise-leclerc Nov 28, 2026
5d70f2e
WebView2: a closing secondary window keeps its unload delay until its…
ambroise-leclerc Nov 28, 2026
42ee8ab
Merge pull request #715 from ambroise-leclerc/708-suivi-revue-fermeture
ambroise-leclerc Nov 28, 2026
ad7e979
ADR-027 accepted (1.6) with version 1.7 of ADR-016 (1.8), after the e…
ambroise-leclerc Nov 28, 2026
d38f055
Merge pull request #717 from ambroise-leclerc/677-adr-027-acceptee
ambroise-leclerc Nov 28, 2026
33fc7c4
Advance developer environment sources to 1.2.2
ambroise-leclerc Nov 28, 2026
cd0525e
bundles.json: the checksum of distribution.json at 1.2.2
ambroise-leclerc Nov 28, 2026
d0dcb4a
Merge pull request #719 from ambroise-leclerc/avance-sources-1.2.2
ambroise-leclerc Nov 28, 2026
db949c1
Merge branch 'develop' into release/developer-1.2.1
ambroise-leclerc Nov 28, 2026
bf4b25c
Merge pull request #718 from ambroise-leclerc/release/developer-1.2.1
ambroise-leclerc Nov 28, 2026
b9478f1
Automation: give each launch its own WebView2 profile and answer clie…
ambroise-leclerc Nov 28, 2026
6f3b3ba
Read the WebView2 test profile in UTF-16 and serve a buffered request…
ambroise-leclerc Nov 28, 2026
f36e2d0
Leave a cold WebView2 profile time to load the developer page (#720)
ambroise-leclerc Nov 28, 2026
fc75408
MCP listener: serve the requests completed within the closing grace w…
ambroise-leclerc Nov 28, 2026
56cbe49
Give the collapsed terminal of the relaunched page a launch's time to…
ambroise-leclerc Nov 28, 2026
a965057
Inspectors: compact menu and panels, denser watches, text grids as sq…
ambroise-leclerc Nov 28, 2026
ca70935
Inspectors: detach and attach with small icons instead of words (#722…
ambroise-leclerc Nov 28, 2026
e8ef5e5
Terminal: system copy/paste shortcuts; Escape or a Stop button interr…
ambroise-leclerc Nov 28, 2026
7f14a16
WebView2: a secondary window requested as the first one starts waits …
ambroise-leclerc Nov 28, 2026
27d12ed
Merge remote-tracking branch 'origin/develop' into HEAD
ambroise-leclerc Nov 28, 2026
3e41765
Merge pull request #724 from ambroise-leclerc/720-mcp-stable-relance
AM-L Nov 28, 2026
8564625
Merge pull request #732 from ambroise-leclerc/729-flaky-collapsed-prompt
AM-L Nov 28, 2026
b655fbc
WebFrontBrowserIntegration: name the wf test stage at the driver's li…
ambroise-leclerc Nov 28, 2026
2c31fbd
CEFLifecycle-navigation-allow-list counts only the cancellation of it…
ambroise-leclerc Nov 28, 2026
c0c069f
Pin developer environment 1.3.0 (#736)
webfront-release[bot] Nov 28, 2026
9139956
README: introduce the inspectors through the Game of Life for 1.3 (#735)
ambroise-leclerc Nov 28, 2026
2f32b12
Merge origin/master into release/1.3.0
ambroise-leclerc Nov 28, 2026
59364b6
Prepare WebFront 1.3.0
ambroise-leclerc Nov 28, 2026
323d3a1
Format four sources with the pinned clang-format 23.1.5
ambroise-leclerc Nov 28, 2026
a1f3915
Keep the bounded-formatting watch scenario within the sanitizer budget
ambroise-leclerc Nov 28, 2026
ae33160
Read the bounded value of the watch scenario under a bench bound of 6…
ambroise-leclerc Nov 29, 2026
418ed62
Give the wf run script of the terminal spec 60 s to start
ambroise-leclerc Nov 29, 2026
1932ae1
Read the wf driver's output from files, not from pipes
ambroise-leclerc Nov 29, 2026
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
11 changes: 6 additions & 5 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ WebFront is a C++23 header-only library for serving a browser UI from a C++ appl

WebFront also ships a standalone developer environment (`NativeApp::bootstrap("developer")`): a terminal whose `wf` commands (`init`, `create`, `install`, `restore`, `run`, `exec`, `check`, `test`, `build`, `dev`, `preview`, `embed`, `list`, `why`, `info`, `help`) manage a project manifest and lock, compile TS/TSX, type-check, run Jasmine specs and generate the application's embedded provider, with no JavaScript runtime or package manager on the developer's machine. It is not a sandbox. See `docs/DEVELOPER_ENVIRONMENT.md`.

The README introduces WebFront through the Game of Life walkthrough, demonstrating the developer bootstrap, reactive TypeScript UI and embedded distribution. The minimal `HelloWorld` example remains available under `examples/hello-world/`. Native modules and the bridge are covered by the Jasmine browser integration test. The optional `ui.document()` API provides per-connection DOM islands, batched writes, events (callbacks or awaitable `node.next(name)`) and grouped sender reads; see `docs/DOM.md`. The optional React store and `Island` adapter, including its support policy and coordinated unmount contract, is described in `docs/REACT.md`; `examples/life/react/` demonstrates it. Application coroutines use `webfront::Task` and `app.spawn(task)`/`ui.spawn(task)`; retain a `TaskHandle` to request individual cancellation. WebFront owns and drains these tasks. Spawn is callable from any thread while the application lives; a call rejected during shutdown returns a stopped handle. Destructors wait for outstanding operations; explicit shutdown reports a stalled join. Typed C++ sender calls support local cancellation; futures and JavaScript Promises do not expose cancellation.
The README introduces WebFront through the Game of Life walkthrough, demonstrating the developer bootstrap, reactive TypeScript UI and embedded distribution. The minimal `HelloWorld` example remains available under `examples/hello-world/`. Native modules and the bridge are covered by the Jasmine browser integration test. The optional `ui.document()` API provides per-connection DOM islands, batched writes, events (callbacks or awaitable `node.next(name)`) and grouped sender reads; see `docs/DOM.md`. The optional React store and `Island` adapter, including its support policy and coordinated unmount contract, is described in `docs/REACT.md`; `examples/life/react/` demonstrates it. `app.spaces(prefix, resolver)` serves several independent users from one process, each `WebFront::Space` under `prefix/<segment>/` with its own functions, handlers, broadcasts and routes (`docs/SPACES.md`). Application coroutines use `webfront::Task` and `app.spawn(task)`/`ui.spawn(task)`; retain a `TaskHandle` to request individual cancellation. WebFront owns and drains these tasks. Spawn is callable from any thread while the application lives; a call rejected during shutdown returns a stopped handle. Destructors wait for outstanding operations; explicit shutdown reports a stalled join. Typed C++ sender calls support local cancellation; futures and JavaScript Promises do not expose cancellation.

## Repository map

Expand All @@ -28,12 +28,13 @@ The README introduces WebFront through the Game of Life walkthrough, demonstrati
- `js/pty/`: optional `@webfront/pty` adapter for native pseudoterminals. `wf run pty-package` assembles the archive used by the browser tests. See `docs/PTY.md`.
- `js/react/`: optional `@webfront/react` package (`createStore`, `useStore`, `Island`), declarations and package-local license. `wf run react-package` assembles it; tests verify the exact archive installed by the registry. It is outside the core's embedded resource list.
- `test/fixtures/`, `test/web/fixtures/`: retained regression fixtures, not public example applications.
- `test/unit/`: C++ unit tests, written with `include/webfront/testing/Bdd.hpp` (a single-header BDD framework, a public maintained interface with the `WebFront::Bdd` target and `webfront_bdd_discover_tests`, `docs/BDD.md`; `cmake/WebFrontBdd*.cmake`); `test/web/`: real-browser integration (`suite/` is the WebFront project of the Jasmine specs, run by `webtest` through `wf test`); `test/driver/`: `webfront-wf`, the non-interactive `wf` driver for tests; `test/fuzz/`, `test/fixtures/`; `test/cmake/`: CMake test scripts and sub-projects. The `RepositoryLayout` CTest case pins the tracked root.
- `cmake/`: build modules (frontends, CEF, CPM, compiler options); `.github/`: workflows, `.github/CONTRIBUTING.md`.
- `test/unit/`: C++ unit tests, written with `include/webfront/testing/Bdd.hpp` (a header-only BDD framework whose light core `bdd/Core.hpp` and optional parts `bdd/Matchers.hpp`, `bdd/Approx.hpp`, `bdd/Eventually.hpp` and `bdd/Runner.hpp` can be included separately, a public maintained interface with the `WebFront::Bdd` target and `webfront_bdd_discover_tests`, `docs/BDD.md`; `cmake/WebFrontBdd*.cmake`); `test/web/`: real-browser integration (`suite/` is the WebFront project of the Jasmine specs, run by `webtest` through `wf test`); `test/driver/`: `webfront-wf`, the non-interactive `wf` driver for tests; `test/fuzz/`, `test/fixtures/`; `test/cmake/`: CMake test scripts and sub-projects. The `RepositoryLayout` CTest case pins the tracked root.
- `cmake/`: build modules (frontends, CEF, CPM, compiler options) and public helpers such as `webfront_embed_directory()` (`WebFrontEmbedDirectory.cmake`, an interface directory embedded in pure CMake, `docs/EMBEDDED_ASSETS.md`); `.github/`: workflows, `.github/CONTRIBUTING.md`.
- `docs/`: current reference guides, architecture decisions and `docs/CHANGELOG.md`.
- `docs/PROJECT_STATUS.md`: current supported paths, validation scope and known limitations; completed work belongs in the changelog and Git history.
- `docs/adr/README.md`: architecture decision index, Git history, tradeoffs and implementation rules; read the relevant ADRs before changing their contracts.
- `docs/DEVELOPING_WITH_AGENTS.md`: what an agent developing a consuming application reads first (the model, the loop, each `wf` command in JSON and MCP); the README section, `wf help agents`, the starters' `AGENTS.md` and the `AgentGuidance` CTest case keep to it.
- `docs/WATCHES.md`: the watches an application declares for the inspectors with `app.watch` (sources and their lock or executor, kinds rendered, writes, destruction of the handle, bounds); `include/webfront/Watches.hpp`, `WatchMemory.hpp` and `WatchValues.hpp` implement ADR-027 sections 3 to 6.
- `docs/DEVELOPER_ENVIRONMENT.md`: the reference of the developer environment (`wf` commands, manifest and lock, TypeScript and `wf check`, tests, limits, distribution); `docs/EMBEDDED_ASSETS.md`: the core's embedded resources and their regeneration.

The historical `webfront/` prototype and the former top-level `webtest/` are gone: use `test/unit/` for current C++ tests and `test/web/` for browser tests. Do not revive legacy code without a specific issue and regression coverage.
Expand Down Expand Up @@ -108,7 +109,7 @@ The HTTP server connections and the WebSocket read/write loops are coroutines (`

Filesystems implement `open(std::filesystem::path) -> std::optional<fs::File>` and are composed with `fs::Multi<>`; the first provider returning a file wins. `NativeDebugFS` is development-only and must not be presented as a production sandbox.

Bridge calls are asynchronous, and the two directions differ. `webFront.cppFunction(name)(...)` always returns a JavaScript Promise (also for `void` callbacks), so tests and examples must await or handle it. On the C++ side, only the untyped `ui.jsFunction(name)(...)` is fire-and-forget; `ui.jsFunction<R>(name)(...)` returns a `std::future<R>`. `ui.jsFunctionSender<R>(name)(...)` owns encoded arguments and dispatches at sender start; co_await propagates the receiver stop token. Cancellation completes stopped locally and discards a late reply; JavaScript continues running. See `docs/ASYNC_EXECUTION.md` for lifetime and completion-thread rules. On missing functions, callback exceptions, malformed returns, and disconnects, a C++ future completes exceptionally (`get()` throws) and a JavaScript Promise rejects. Result types are limited to the bridge's scalar, string, tuple, numeric typed-array, packed `std::bitset<N>` and list types. A list is a `std::vector` of strings, tuples, typed arrays or bitsets (JavaScript: `webFront.list(items)` of strings, typed arrays or tuples, received as an `Array`; numbers go as typed arrays; a plain short array is a tuple that a `std::vector` destination also accepts); elements are homogeneous and lists do not nest. Bitsets use `Uint8Array` with exactly `ceil(N / 8)` bytes, least-significant bit first in each byte, and zero high padding bits; decoding rejects wrong types, sizes and padding. JavaScript must know the logical bit count from the application contract. Strings of 65,536 bytes or more use the `longString` code (32-bit length), chosen by the encoder; the only bound is the buffers policy's `maxMessageSize` (64 MiB by default, JavaScript's `maxMessageBytes`): beyond it C++ throws `std::length_error` when it encodes, which rejects the Promise when it is a callback's result, and JavaScript throws a `RangeError` before sending. A `cppFunction` callback may return a sender (a `webfront::ResultTask<R>` coroutine): the Promise settles when it completes, the browser's disconnection stops it and drops its answer, and shutdown joins it. Callback signatures are deduced for ordinary lambdas, function pointers, and `std::function`; generic lambdas and overloaded call operators need explicit `cppFunction<R, Args...>`. Do not write tests or documentation that present JavaScript calls as fire-and-forget, imply an untyped C++ call returns a value, or suggest that richer objects cross the bridge (only the types above do). Registered callback objects must outlive their registration through owned storage; never capture a forwarding-reference parameter by reference in a stored handler.
Bridge calls are asynchronous, and the two directions differ. `webFront.cppFunction(name)(...)` always returns a JavaScript Promise (also for `void` callbacks), so tests and examples must await or handle it. On the C++ side, only the untyped `ui.jsFunction(name)(...)` is fire-and-forget; `ui.jsFunction<R>(name)(...)` returns a `std::future<R>`. `ui.jsFunctionSender<R>(name)(...)` owns encoded arguments and dispatches at sender start; co_await propagates the receiver stop token. Cancellation completes stopped locally and discards a late reply; JavaScript continues running. See `docs/ASYNC_EXECUTION.md` for lifetime and completion-thread rules. On missing functions, callback exceptions, malformed returns, and disconnects, a C++ future completes exceptionally (`get()` throws) and a JavaScript Promise rejects. Result types are limited to the bridge's scalar, string, tuple, numeric typed-array, packed `std::bitset<N>` and list types. A list is a `std::vector` of strings, tuples, typed arrays or bitsets (JavaScript: `webFront.list(items)` of strings, typed arrays or tuples, received as an `Array`; numbers go as typed arrays; a plain short array is a tuple that a `std::vector` destination also accepts); elements are homogeneous and lists do not nest. Bitsets use `Uint8Array` with exactly `ceil(N / 8)` bytes, least-significant bit first in each byte, and zero high padding bits; decoding rejects wrong types, sizes and padding. JavaScript must know the logical bit count from the application contract. Strings of 65,536 bytes or more use the `longString` code (32-bit length), chosen by the encoder; the only bound is the buffers policy's `maxMessageSize` (64 MiB by default, JavaScript's `maxMessageBytes`): beyond it C++ throws `std::length_error` when it encodes, which rejects the Promise when it is a callback's result, and JavaScript throws a `RangeError` before sending. A `cppFunction` callback may return a sender (a `webfront::ResultTask<R>` coroutine): the Promise settles when it completes, the browser's disconnection stops it and drops its answer, and shutdown joins it. Callback signatures are deduced for ordinary lambdas, function pointers, and `std::function`; generic lambdas and overloaded call operators need explicit `cppFunction<R, Args...>`. Do not write tests or documentation that present JavaScript calls as fire-and-forget, imply an untyped C++ call returns a value, or suggest that richer objects cross the bridge (only the types above do). Registered callback objects must outlive their registration through owned storage; never capture a forwarding-reference parameter by reference in a stored handler. Names starting with `webfront.inspector.` are reserved to the inspectors (ADR-027). WebFront guards only its own reserved functions: an example or test callback that writes the project or what the server serves, starts a process or exposes a sensitive state takes the calling `UI` and checks `ui.isLocalClient()`, and documentation must not present the application's callbacks as guarded by WebFront.

The embedded `WebFront.js` wire format and C++ `Messages.hpp` implementation must evolve together. Any protocol change requires encoding/decoding unit tests and a real-browser regression test.

Expand All @@ -120,7 +121,7 @@ Exception: a purely C++ change that reuses an existing encoding, introduces no n
- Every tracked C++ source starts with the normalized file header (SPDX, Author, Created, subsystem, Role, Thread, Alloc, LLM) described in `.github/CONTRIBUTING.md`; read it first, keep it true when you change the file, and give a new file one. The `SourceHeaders` CTest case checks it, and CI checks the format with `.github/scripts/check-clang-format.sh` (pinned `clang-format`); generated headers are exempt.
- Keep production implementation header-only under `include/`; browser resources live in `js/`.
- Prefer standard-library facilities and explicit ownership. Keep public headers ODR-safe (`inline`/templates as appropriate).
- Unit tests are named `const Scenario` objects whose `given`/`when`/`then` sections are lambdas, checked with `require`/`check` (`include/webfront/testing/Bdd.hpp`), and use deterministic mocks.
- Unit tests are named `const Scenario` objects whose `given`/`when`/`then` sections are lambdas, checked with `require`/`check`, `requireEqual`/`checkEqual` (which report both operands) and `approx` for floating-point values (`include/webfront/testing/Bdd.hpp`), and use deterministic mocks.
- Jasmine specs are the project `test/web/suite/`, built by esbuild-wasm and run by `wf test` under the locked `jasmine-core` (installed from the local registry by `WebSuiteInstall`); `webtest` is the `webfront-wf` driver plus the C++ callbacks of the specs. The specs tell C++ they are done (`specsFinished`), the process status is that of `wf test` (or 1 when C++ did not observe every call), and the CTest case has a timeout. The registry the suite installs from is built by `wf run test-registry` (the `TestRegistry` case), from the packages that configure downloaded.
- Every bug fix needs a failing regression test at the lowest useful level. Bridge changes also need the browser integration test.
- Tests must not require user input, a fixed pre-existing browser session, or public network access after dependencies are configured.
Expand Down
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ include(WebFrontAssets)
webfront_add_embedded_assets()
# Opt-in consumer test registration; inclusion alone downloads nothing and registers no tests.
include(WebFrontJasmine)
# webfront_embed_directory(): an application's interface directory embedded as a header-only provider, in pure CMake.
include(WebFrontEmbedDirectory)

# The webfront-agent launcher is gone (ADR-025): an application that enables automation serves MCP itself.
if(DEFINED WEBFRONT_BUILD_AUTOMATION OR DEFINED WEBFRONT_AUTOMATION_FRONTEND)
Expand Down
Loading
Loading