Skip to content

Sley 2.1.0

Choose a tag to compare

@GreyforgeLabs GreyforgeLabs released this 13 Oct 05:46
· 374 commits to main since this release
Immutable release. Only release title and notes can be modified.

Sley 2.1.0 is the self-hosted release. Sley's semantic toolchain is a Sley program: the canonical decoder, the type and graph checker, operation judgment, the lowerer, semantic fingerprints, the package builder and the build driver. On a pinned host with no compiler inside, it rebuilds its own executable closure from its canonical graph to a byte-identical fixed point, without the Rust seed compiler.

Release notes · Self-hosting record · ADR-0056 · Quickstart

The bootstrap

Stage Built by Where
C1 = C0.build(S) the Rust seed compiler ordinary build
C2 = H.run(C1, S) the Sley toolchain C1 pinned host, empty sandbox, seed absent
C3 = H.run(C2, S) the Sley toolchain C2 pinned host, empty sandbox, seed absent

C1, C2 and C3 are byte-identical: 2,525,082 bytes, SHA-256 7382fc9d93a27c34ded8c46ed5365719eed3af5549cc84fd5ca0f783dd98e029. A typed change to the toolchain's own graph is rebuilt by the previous Sley toolchain and matches the seed's build of the changed graph exactly. A fake builder that returns the old image is rejected.

Linux x86_64

sley-2.1.0-linux-x86_64.tar.gz contains static musl sley and sley-agent binaries. It was built from 0716c127de973a00bcb163780a125ad502858244; two clean builds on the primary host produced identical archives.

  • Size: 7,275,190 bytes; 17 archive members
  • SHA-256: 3ab596958624e09a8525d05c73f5e6cf340c4281e0860d7872a24bc05df8c7a1
sha256sum -c SHA256SUMS
tar xzf sley-2.1.0-linux-x86_64.tar.gz
cd sley-2.1.0-linux-x86_64
./bin/sley version
./bin/sley-agent help
python3 demo/run_demo.py

Self-rebuild bundle

sley-2.1.0-selfhost-linux-x86_64.tar.gz repeats the self-build with nothing but what is in it: the static sley-host, the Sley toolchain image, the toolchain's canonical graph (62,322 objects) and rebuild.sh. It needs bubblewrap.

tar xzf sley-2.1.0-selfhost-linux-x86_64.tar.gz
cd sley-2.1.0-selfhost-linux-x86_64
sha256sum -c SHA256SUMS
./rebuild.sh   # about ten minutes; prints "fixed point: the rebuilt toolchain is byte-identical"

SHA256SUMS covers both archives.

The release source passed 3,210 Rust tests (88 fixture, opt-in or release-only tests ignored in the debug run), the release-mode SH2 differential suites, formatting and workspace clippy with warnings denied, and the non-Cargo conformance, adversarial and fuzz checks.

ga_claimed remains false; the documented 2.0.0 limits remain applicable. Schema epoch, SSMC1, SCB1, SMP1 and the protocol method table are unchanged. No new third-party crate is added. Provenance is unsigned.