Record ADR-0070 (one explicit stdlib Bundle build input) and the
issue #11 Phase A inventory of every direct checkout-stdlib reference.
Baseline 4bbefc9; bundle source 2cbde54; no runtime contract change.
Add tools/stdlib/bundle.py + bundle-pin.json as the single source-side
Bundle identity (name, version, source commit, tree/alias digests) and
require tools/pack-stdlib.py --stdlib-dir instead of reading the
checkout implicitly. Missing input, missing manifest, digest/alias
mismatch, pin mismatch and symlinks fail closed; two packs are
byte-identical. Tests: tools/ci/test_stdlib_bundle_tools.py.
package.py now requires --stdlib-dir and accepts --bundle-pin; it
verifies the manifest, required files, tree/alias digests and the pin
before staging, copies exactly that Bundle next to the binary, and
records stdlib.source{kind,repository,commit,path} in RELEASE_INFO.
Digest logic moves to tools/stdlib/bundle.py. GitHub/Woodpecker
release steps and docs/releasing.md pass the pinned input.
Add crates/cli/tests/support/stdlib.rs as the product/conformance test
resolver: explicit MARQDO_TEST_STDLIB_BUNDLE or the pinned path, always
verified against bundle-pin.json (name/version/commit/digests), with a
bad explicit override failing closed. Route stdlib_product,
stdlib_bundle, http, table, alias routing, p2_closure,
conformance_semantics and architecture_boundaries through it.
Loader unit tests now build small synthetic Bundles; discovery is split
into discover_with so the bad-override-no-fallback rule is testable.
Add tools/ci/independent_build.py: export HEAD without stdlib/, build
both shipped binaries with --locked, run a language-only check/call, and
require a stdlib-dependent run to fail closed with no sibling stdlib.
Add tests/independent/language-only.mq.md and run the lane as its own
GitHub job and Woodpecker step.
Perf runner resolves the pinned Bundle (--stdlib-dir/--bundle-pin),
exports it to every workload and records it in the report; GitHub and
Woodpecker lanes verify the pin and pass the product tests an explicit
Bundle. docs/ci.md and performance docs describe the lanes.
Moving the shipped stdlib aside must fail the print program with an
explicit diagnostic and still run a language-only program. The archive
smoke and the cold-install container now both call the factorial
example after the move, and the archive contract test pins the new
message.
Update STATUS, the architecture overview, README and tests/README with
the explicit Bundle input, pinned test/perf lanes and the independent
build. Add the Phase A evidence record: bundle identity, failure paths,
deterministic pack/package digests, independent build, archive smoke,
cold install and the 634-passed workspace gate. Phase B remains
explicitly unclaimed.
tools/ci/release_evidence.py accepts only its declared gate names; the
extra independent_build gate would have failed the release-evidence job.
The job still depends on independent-build and marks linux FAIL when it
does not pass.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
范围:issue #11 阶段 A
只落阶段 A 的输入边界;阶段 B(生态主仓组装的 Bundle、删除仓内生产源码与 debug 源目录回退、替换旧
std:入口)未做,等待生态 #2 与扩展验收结果。变更
tools/stdlib/bundle.py+tools/stdlib/bundle-pin.json:唯一解析/校验器,固定 name/version/source commit/tree_digest/aliases_digest。tools/pack-stdlib.py、tools/release/package.py必须显式--stdlib-dir,可选--bundle-pin;缺失目录/manifest、摘要不符、pin 不符、符号链接在产出前失败;RELEASE_INFO.json.stdlib.source记录来源提交。crates/cli/tests/support/stdlib.rs、tools/perf/runner.py);显式覆盖只改位置不改身份,错误覆盖不回退;loader 单测改为合成小 Bundle。tools/ci/independent_build.py与tests/independent/language-only.mq.md:无stdlib/源码的干净副本中--locked构建两个二进制,纯语言程序可运行,依赖标准库的程序失败关闭。stdlib/后同时验证纯语言程序仍可执行。docs/ci.md、releasing.md、STATUS.md、CURRENT.md、README.md、tests/README.md同步;新增 ADR-0070。验证(候选
ab6b6b1)cargo fmt --check、cargo clippy --workspace --all-targets -D warnings通过。f6dc8e7ad92bc58b815635aea923069919d6f5495078e53828ae4723d925a565,release archivef37e01c44e668a6daf0538b32e9825cc74392f0ccbd65362af2783629b6d2c48。independent_build.pyPASS;archive smoke PASS;ubuntu:24.04 --network nonecold-install PASS。Evidence:
docs/evidence/2026-11-26-issue-11-phase-a.mdADR:
docs/adr/0070-explicit-stdlib-bundle-build-input.mdRefs #11(阶段 B 完成后才关闭)。
package.py now requires --stdlib-dir and accepts --bundle-pin; it verifies the manifest, required files, tree/alias digests and the pin before staging, copies exactly that Bundle next to the binary, and records stdlib.source{kind,repository,commit,path} in RELEASE_INFO. Digest logic moves to tools/stdlib/bundle.py. GitHub/Woodpecker release steps and docs/releasing.md pass the pinned input.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.