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
43 lines
540 B
Markdown
43 lines
540 B
Markdown
---
|
|
import:
|
|
io: "std:io"
|
|
---
|
|
|
|
## @exec 演示函数
|
|
|
|
`return 1`
|
|
|
|
## @exec main
|
|
|
|
### @knowledge 公式
|
|
|
|
$$a = 1$$
|
|
|
|
### @knowledge 代码
|
|
|
|
```text
|
|
print(1)
|
|
```
|
|
|
|
### @exec 主流程
|
|
|
|
**列表 = ["文本", 2, 1.5, [3, true], {a: 1, b: "x"}, None]**
|
|
|
|
> **io.写值(列表)**
|
|
|
|
> **打印(列表)**
|
|
|
|
**表格 = 表(["名称", "分数"], [["甲", 87], ["乙", 92]])**
|
|
|
|
> **io.写值(表格)**
|
|
|
|
> **打印(表格)**
|
|
|
|
**特殊 = [ref("#公式"), ref("#代码"), ref("#演示函数")]**
|
|
|
|
> **io.写值(特殊)**
|
|
|
|
> **打印(特殊)**
|
|
|
|
`return None`
|