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
2 changes: 1 addition & 1 deletion docs/AUTOMATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 (`<name>-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
Expand Down
4 changes: 2 additions & 2 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<name>-starter.tgz` from beside the environment archive; an end-to-end case
creates, initializes, installs and embeds a project.
Expand Down
15 changes: 9 additions & 6 deletions docs/DEVELOPER_ENVIRONMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -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, 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

Expand Down Expand Up @@ -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
Expand Down
50 changes: 50 additions & 0 deletions docs/validation/developer-0.6.4-release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# 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 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.

| 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.

## 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.
6 changes: 3 additions & 3 deletions include/webfront/system/DeveloperReleaseData.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <string_view>

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
2 changes: 1 addition & 1 deletion js/developer/environment/bundles.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Loading