feat(stdlib): add deterministic offline stdlib packaging

- tools/pack-stdlib.py builds a byte-deterministic
  marqdo-stdlib-0.1.0.tar.gz (fixed metadata, gzip mtime 0) plus a schema-tagged
  descriptor with tree digest, archive SHA-256 and file list.
- Verified repeated builds are identical and the extracted tree digest matches
  stdlib.json; archive is for the future external repo, not the CLI loader.
- Update ADR-0028, status/changelog/tests README and evidence.

Gate: fmt, clippy -D warnings, 430 tests passed.
This commit is contained in:
cflmy committed 2026-11-20 23:17:09 +08:00
1 parent e985da28a1
commit b241d1d978
7 files changed
+176 -1

No files matched your search

@@ -125,6 +125,14 @@ version and the CLI's compatibility table before release.
* Windows/macOS packaging layout; only the source-tree/executable-adjacent
layout is exercised locally.
## Offline packaging
`tools/pack-stdlib.py` produces a deterministic `marqdo-stdlib-<version>.tar.gz`
plus a schema-tagged descriptor (`tree_digest`, `archive_sha256`, file list) for
the future separate repository/release workflow. The archive is not loaded by
the CLI; the in-repo `stdlib/` tree remains the verified development/bundled
source. Publishing/signing the external repository is still an external step.
## Consequences
* Any project can `import: {io: "std:io"}` and use the print prototype