refactor: accept the ecosystem stdlib Bundle and remove the in-repo sources
ci/woodpecker/push/main Pipeline failed
ci/woodpecker/pr/main Pipeline failed

Phase B of ADR-0070 (issue #11): the CLI no longer owns standard-library
sources. The pin names the accepted ecosystem Bundle (marqdo-stdlib@0.2.0,
root commit + tree/alias digests); tools/ci/fetch_ecosystem_bundle.py
materializes it from the pinned root commit and stdlib gitlinks and verifies
the digests. bundle.py and the test harness require an explicit verified Bundle
for the accepted identity, and runtime discovery has no compile-time source
fallback in any profile.

Delete stdlib/ (modules, self-tests, aliases manifest). Module and domain tests
stay with their component owners; the CLI product lane now verifies the
external Bundle's public surface, std: resolution and official print/打印 alias
routing (tests/product-stdlib). Composition assertions whose owner is the
ecosystem (Table split, print-format equivalence) moved to the root Bundle
acceptance; the generic TCP round-trip stays a CLI test. Spawned-CLI tests name
the verified Bundle explicitly.

CI (Woodpecker + GitHub) materializes the pinned Bundle before product tests,
packaging and performance lanes; packaging and release take --stdlib-dir from
that artifact. Docs, STATUS, ADR-0070 and a Phase B evidence record updated.

Refs cflmy/marqdo#9, cflmy/marqdo-cli#11
This commit is contained in:
cflmy committed 2026-11-27 01:04:01 +08:00
1 parent f8b82d4143
commit 72f57beee0
85 files changed
+796 -5939

No files matched your search

+25
View File
@@ -193,6 +193,31 @@ This is an architecture correction, not a product/protocol change. Decision:
- ADR-0072 and the old issue-#15 evidence carry Superseded banners. The remote
replica is gone; Git history retains the decision/implementation record.
## 0.14 External ecosystem stdlib Bundle — issue #11 Phase B (unreleased candidate)
Phase B finishes the extraction ADR-0070 prepared: this repository has **no**
`stdlib/` source tree and no compile-time source fallback. The accepted Bundle
identity is the ecosystem pin:
`marqdo-stdlib@0.2.0`, source `cflmy/marqdo@48189243f7`, tree digest
`sha256:db905508...`, aliases digest `sha256:5f513c0f...` (17 modules, no
component self-tests). `tools/stdlib/bundle.py` requires an explicit
`--stdlib-dir`/`MARQDO_TEST_STDLIB_BUNDLE` for the accepted Bundle;
`tools/ci/fetch_ecosystem_bundle.py` materializes it from the pinned root
commit and component gitlinks.
Moved with their ownership: module self-tests and domain behaviour tests live
in the component repositories (six std repos, `marqdo-ext-http`,
`marqdo-ext-regex`, `marqdo-ext-archive`); the CLI product lane now verifies
the accepted Bundle's public surface and official `print`/`打印` routing
(`tests/product-stdlib/`), and the Table-split / print-format composition
assertions live in the root Bundle acceptance. The generic TCP endpoint
round-trip stays a CLI test (`tcp_round_trip.rs`); the HTTP-over-TCP domain
test moves to the HTTP package owner.
Runtime discovery is now only `MARQDO_STDLIB_DIR` then the installed sibling
`stdlib/` (no debug fallback). Bundle release packaging still ships the Bundle
next to the CLI, so installed behaviour is unchanged.
## 0.10 Closed public Analysis boundary — issue #10 (RC.4 released)
The candidate replaces the program-only Analysis projection in place under