From 48da31c6a07f271ef248a332d459250724faac5e Mon Sep 17 00:00:00 2001 From: Ambroise Leclerc <6860842+ambroise-leclerc@users.noreply.github.com> Date: Mon, 2 Nov 2026 07:55:54 +0100 Subject: [PATCH 1/3] Prepare developer environment 0.6.4 --- include/webfront/system/DeveloperReleaseData.hpp | 6 +++--- js/developer/environment/bundles.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/webfront/system/DeveloperReleaseData.hpp b/include/webfront/system/DeveloperReleaseData.hpp index 8c101050..c3ac2049 100644 --- a/include/webfront/system/DeveloperReleaseData.hpp +++ b/include/webfront/system/DeveloperReleaseData.hpp @@ -4,7 +4,7 @@ #include namespace webfront::developer::release { -inline constexpr std::string_view version{"0.6.3"}; -inline constexpr std::string_view environment{"https://ambroise-leclerc.github.io/WebFront/developer/0.6.3/environment.tgz"}; -inline constexpr std::string_view integrity{"sha512-3AVF2xKsUfHys5VREA6DmkjiEDKjx9VQtPTrsjdiazzfpNQvbKEjW2ox5Kd2hPeOP5MfcMvbDHQ4SZoO97P5Xg=="}; +inline constexpr std::string_view version{"0.6.4"}; +inline constexpr std::string_view environment{"https://ambroise-leclerc.github.io/WebFront/developer/0.6.4/environment.tgz"}; +inline constexpr std::string_view integrity{"sha512-FJe6RqVjsLEKgfnSONDCbfk2wsGfkGzzgV0q33NIR+DYZpVvxakL/cxsVwi67eQwRuHI6ivlnV9D/oV92xTNCg=="}; } // namespace webfront::developer::release diff --git a/js/developer/environment/bundles.json b/js/developer/environment/bundles.json index fb7501ae..7aa3edc9 100644 --- a/js/developer/environment/bundles.json +++ b/js/developer/environment/bundles.json @@ -46,5 +46,5 @@ "js/developer/webfront.project.json": "2acbc698cf93d66c4da29030179151211d8d313632dac421683c018a296b5c05", "js/core/bootstrap/bootstrap.bundle.mjs": "536831257f0fc92e31911841750e1e59247f7c64e756b0fcb878efd9860a741f", "js/developer/environment/packages.bundle.mjs": "2d62f3fcdece8e898f15814d7e80fc3a27ea062f45514cf8e5c3ae32fd9d26c5", - "include/webfront/system/DeveloperReleaseData.hpp": "4feca3d4e06dcc6e81f5ac1c9d7750f733ee96fb31d40f8998956e20c5e621a6" + "include/webfront/system/DeveloperReleaseData.hpp": "aec3b6ce948861fce49a481784cf61ef1bc7d30e3fbb23f2d41d3a561cb3a241" } From c79d9fb6a7ae718263b2091a48b9dbe49ffcc4f9 Mon Sep 17 00:00:00 2001 From: Ambroise Leclerc <6860842+ambroise-leclerc@users.noreply.github.com> Date: Mon, 2 Nov 2026 07:59:44 +0100 Subject: [PATCH 2/3] Document the 0.6.4 pin, add its publication gate and state the publication prerequisite --- docs/AUTOMATION.md | 2 +- docs/DEVELOPER_ENVIRONMENT.md | 15 ++++---- docs/validation/developer-0.6.4-release.md | 40 ++++++++++++++++++++++ 3 files changed, 50 insertions(+), 7 deletions(-) create mode 100644 docs/validation/developer-0.6.4-release.md diff --git a/docs/AUTOMATION.md b/docs/AUTOMATION.md index 468ab3f3..ca92a6a3 100644 --- a/docs/AUTOMATION.md +++ b/docs/AUTOMATION.md @@ -31,7 +31,7 @@ embedded engine, requesting the launcher fails configure instead of opening a sy The implementation is native C++23; no Node.js, npm or Python is required to run the launcher. Provision an environment containing automation API v1 (0.6.3 or later). The setup operations (`init`, `create`, `install`, -`restore`, `embed`) need environment **0.6.4 or later**: the launcher checks this at startup, and granting one of them to an +`restore`, `embed`) need environment **0.6.4 or later**, which must be published (see the [0.6.4 publication gate](validation/developer-0.6.4-release.md)) before anything depending on this pin is merged: the launcher checks this at startup, and granting one of them to an older environment fails with a bootstrap error (status 70) naming the operation, instead of failing each run. `create` needs the starter archives (`-starter.tgz`, such as `life-starter.tgz` of a distribution build) in the same directory as the `--environment` archive: the launcher serves only files of that name from there, and the environment's diff --git a/docs/DEVELOPER_ENVIRONMENT.md b/docs/DEVELOPER_ENVIRONMENT.md index 69d43e86..46787565 100644 --- a/docs/DEVELOPER_ENVIRONMENT.md +++ b/docs/DEVELOPER_ENVIRONMENT.md @@ -34,9 +34,11 @@ installed or required (see [Type checking](#type-checking-wf-check)). The generated `DeveloperReleaseData.hpp` selects the default environment and its integrity. Published versions stay immutable. Environment **0.6.3** adds automation API v1 and the shared human/agent execution -lease; version 0.6.2 predates that API. The sources advance to 0.6.4 (project setup operations in the automation -runner), which is not published yet; the release pin stays on the published 0.6.3. Publication and pin changes follow -[PUBLISHING](../js/developer/tools/PUBLISHING.md), with deployment verified before merging a new pin. +lease; version 0.6.2 predates that API. Environment **0.6.4** adds the project setup operations of the automation +runner (`init`, `create`, `install`, `restore`, `embed`). The release pin selects 0.6.4 but the archive is published +only by the dedicated `developer-v0.6.4` tag: the pin pull request stays a draft until deployment is verified. The test +bootstrap (`cmake/WebFrontBootstrap.cmake`) stays on the published 0.6.3 and advances in a separate pull request once +0.6.4 is deployed. Publication and pin changes follow [PUBLISHING](../js/developer/tools/PUBLISHING.md). ## Minimal C++ application @@ -64,9 +66,10 @@ Each published version is immutable: 0.3.0 introduced the packed-bitset Life sta manifest, `wf restore`, `wf run`, `wf exec`, `wf check` and the complete terminal, and 0.6.0 `wf build`, `wf dev` and `wf test`. The default configuration is generated in `include/webfront/system/DeveloperReleaseData.hpp`; it contains -an exact versioned environment URL and the trusted digest. The 0.6.3 release pin selects -`https://ambroise-leclerc.github.io/WebFront/developer/0.6.3/environment.tgz`; the -[publication gate](validation/developer-0.6.3-release.md) requires deployed verification before that pin is merged. +an exact versioned environment URL and the trusted digest. The 0.6.4 release pin selects +`https://ambroise-leclerc.github.io/WebFront/developer/0.6.4/environment.tgz`; the +[publication gate](validation/developer-0.6.4-release.md) requires deployed verification before that pin is merged +(the 0.6.3 gate is kept in [its report](validation/developer-0.6.3-release.md)). Published 0.6.2 introduced installation of the archives of `@types` packages and the manifest directory; 0.6.1, 0.6.0, 0.5.0 and 0.4.1 stay immutable, while 0.4.0 and earlier target the former include layout. The configuration pins one version and its SHA-512 rather than resolving a mutable `latest` channel. An explicit diff --git a/docs/validation/developer-0.6.4-release.md b/docs/validation/developer-0.6.4-release.md new file mode 100644 index 00000000..72b5f137 --- /dev/null +++ b/docs/validation/developer-0.6.4-release.md @@ -0,0 +1,40 @@ +# Developer distribution 0.6.4 — release preparation + +Prepared on 2026-11-02 from the merged setup operations of the automation runner (PR #472, #466). +This release branch updates the generated pin and its input checksum. It **does not itself publish +an archive**. Keep the PR (#476) as a draft until deployment and the live smoke check pass. + +## Prepared and verified + +- Environment adds the project setup operations (`init`, `create`, `install`, `restore`, `embed`) to the automation + runner; the native owner refuses a setup grant on an environment older than 0.6.4. +- Two local builds produce identical environment, starter, provision and generated header bytes. +- The generated pin matches the built header; `bundles.json` records its input checksum + (`aec3b6ce948861fce49a481784cf61ef1bc7d30e3fbb23f2d41d3a561cb3a241`). Its URL is + https://ambroise-leclerc.github.io/WebFront/developer/0.6.4/environment.tgz. +- The local WebKitGTK run passed 122 developer specs. +- Existing versions are not overwritten. No publication or tag has been made by this preparation. +- The test bootstrap (`cmake/WebFrontBootstrap.cmake`) stays on the published 0.6.3; a separate pull request advances + it once 0.6.4 is deployed and verified. + +| Archive | SHA-256 | +|---|---| +| environment.tgz | 2a15c8c2c4df700012d561667488ac6f4584d018a4964a6cd85ec164949144c4 | +| life-starter.tgz | 8b33ddeb2a50501f6c52090ed7a5fd6f48ece9dce81207bc640099daf76fb2e9 | + +Environment SRI: + +```text +sha512-FJe6RqVjsLEKgfnSONDCbfk2wsGfkGzzgV0q33NIR+DYZpVvxakL/cxsVwi67eQwRuHI6ivlnV9D/oV92xTNCg== +``` + +## Publication gate + +Follow [PUBLISHING](../../js/developer/tools/PUBLISHING.md), in this order: + +1. Review the release commit and its green Developer packages workflow. Download the + `developer-distribution` artifact and compare the digests above. +2. Publish that reviewed commit with the dedicated `developer-v0.6.4` tag, or the explicit + DeveloperDistribution.yml dispatch with publish=true. +3. Verify the deployed files (HTTP 200, CORS) and the public browser smoke test. +4. Only then mark the PR ready and merge; the test bootstrap bump follows in its own pull request. From 724bccb8a20d4e9533b2f6fca94f2dba18939d04 Mon Sep 17 00:00:00 2001 From: Ambroise Leclerc <6860842+ambroise-leclerc@users.noreply.github.com> Date: Mon, 2 Nov 2026 08:04:38 +0100 Subject: [PATCH 3/3] Record verified developer environment 0.6.4 publication --- docs/CHANGELOG.md | 4 ++-- docs/DEVELOPER_ENVIRONMENT.md | 8 ++++---- docs/validation/developer-0.6.4-release.md | 12 +++++++++++- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 1cabe508..45df2f5a 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -17,8 +17,8 @@ - Automation can set a project up end to end (#466): `init`, `create`, `install`, `restore` and `embed` join the contract of `webfront-agent`, each behind its own `--allow` grant and with plain-name or project-relative arguments (no options, no traversal). `install` takes one package from the configured registry or installs the locked graph; `embed` takes a manifest - provider, or an entry with an output header. See `docs/AUTOMATION.md`. The environment sources advance to 0.6.4 (unpublished, - the pin stays on 0.6.3). Granting one of these operations to an older environment now fails at startup with a bootstrap error naming + provider, or an entry with an output header. See `docs/AUTOMATION.md`. Developer environment 0.6.4 is published and pinned; + the separate test bootstrap remains on 0.6.3. Granting one of these operations to an older environment now fails at startup with a bootstrap error naming the operation, and `embed` is documented as replacing its output header. `create` now finds the pinned starters (the connection reads them from the environment manifest) and the launcher serves `-starter.tgz` from beside the environment archive; an end-to-end case creates, initializes, installs and embeds a project. diff --git a/docs/DEVELOPER_ENVIRONMENT.md b/docs/DEVELOPER_ENVIRONMENT.md index 46787565..a09bb523 100644 --- a/docs/DEVELOPER_ENVIRONMENT.md +++ b/docs/DEVELOPER_ENVIRONMENT.md @@ -35,10 +35,10 @@ installed or required (see [Type checking](#type-checking-wf-check)). The generated `DeveloperReleaseData.hpp` selects the default environment and its integrity. Published versions stay immutable. Environment **0.6.3** adds automation API v1 and the shared human/agent execution lease; version 0.6.2 predates that API. Environment **0.6.4** adds the project setup operations of the automation -runner (`init`, `create`, `install`, `restore`, `embed`). The release pin selects 0.6.4 but the archive is published -only by the dedicated `developer-v0.6.4` tag: the pin pull request stays a draft until deployment is verified. The test -bootstrap (`cmake/WebFrontBootstrap.cmake`) stays on the published 0.6.3 and advances in a separate pull request once -0.6.4 is deployed. Publication and pin changes follow [PUBLISHING](../js/developer/tools/PUBLISHING.md). +runner (`init`, `create`, `install`, `restore`, `embed`). The release pin selects 0.6.4, published under the dedicated +`developer-v0.6.4` tag and verified after deployment. The test bootstrap (`cmake/WebFrontBootstrap.cmake`) stays on the +published 0.6.3 and advances in a separate pull request. Publication and pin changes follow +[PUBLISHING](../js/developer/tools/PUBLISHING.md). ## Minimal C++ application diff --git a/docs/validation/developer-0.6.4-release.md b/docs/validation/developer-0.6.4-release.md index 72b5f137..ea438704 100644 --- a/docs/validation/developer-0.6.4-release.md +++ b/docs/validation/developer-0.6.4-release.md @@ -13,7 +13,7 @@ an archive**. Keep the PR (#476) as a draft until deployment and the live smoke (`aec3b6ce948861fce49a481784cf61ef1bc7d30e3fbb23f2d41d3a561cb3a241`). Its URL is https://ambroise-leclerc.github.io/WebFront/developer/0.6.4/environment.tgz. - The local WebKitGTK run passed 122 developer specs. -- Existing versions are not overwritten. No publication or tag has been made by this preparation. +- Existing versions are not overwritten. No publication or tag had been made at preparation time. - The test bootstrap (`cmake/WebFrontBootstrap.cmake`) stays on the published 0.6.3; a separate pull request advances it once 0.6.4 is deployed and verified. @@ -38,3 +38,13 @@ Follow [PUBLISHING](../../js/developer/tools/PUBLISHING.md), in this order: DeveloperDistribution.yml dispatch with publish=true. 3. Verify the deployed files (HTTP 200, CORS) and the public browser smoke test. 4. Only then mark the PR ready and merge; the test bootstrap bump follows in its own pull request. + +## Publication verified + +- Tag [`developer-v0.6.4`](https://github.com/ambroise-leclerc/WebFront/releases/tag/developer-v0.6.4) + points to the candidate commit `48da31c`. The [publication workflow](https://github.com/ambroise-leclerc/WebFront/actions/runs/41403355294) + rebuilt the packages, passed the developer specs and published the Pages files and release assets. +- The environment, starter and provision files returned HTTP 200 with `Access-Control-Allow-Origin: *` and matched + the locally built files byte for byte. Their SHA-256 values match the table above. +- The public WebKitGTK smoke test passed using the 0.6.4 pin: it downloaded the published environment and starter, + installed the locked React dependencies, ran the Life preview and bridge, and generated the embedded headers.