diff --git a/components.toml b/components.toml index 5a85fb2..08bcb9b 100644 --- a/components.toml +++ b/components.toml @@ -93,23 +93,25 @@ release = "base" id = "std-collections" path = "stdlib/collections" kind = "stdlib" -state = "planned" +state = "active" owner = "cflmy" scope = "List、Map 和 Table 值操作" -requires = ["cli", "std-core"] -checks_with = [] +requires = ["cli"] +checks_with = ["std-data"] release = "base" +entry = "scripts/test.sh" [[component]] id = "std-text" path = "stdlib/text" kind = "stdlib" -state = "planned" +state = "active" owner = "cflmy" scope = "Unicode 文本、字节值与 UTF-8" -requires = ["cli", "std-core", "std-collections"] +requires = ["cli"] checks_with = [] release = "base" +entry = "scripts/test.sh" [[component]] id = "std-encoding" @@ -126,45 +128,49 @@ release = "base" id = "std-data" path = "stdlib/data" kind = "stdlib" -state = "planned" +state = "active" owner = "cflmy" scope = "JSON、CSV、TOML 与 GFM 数据转换" -requires = ["cli", "std-collections", "std-text", "std-encoding"] -checks_with = [] +requires = ["cli"] +checks_with = ["std-collections"] release = "base" +entry = "scripts/test.sh" [[component]] id = "std-io" path = "stdlib/io" kind = "stdlib" -state = "planned" +state = "active" owner = "cflmy" scope = "Console、Stream、格式化和官方 print 别名" -requires = ["cli", "std-core", "std-text"] +requires = ["cli"] checks_with = [] release = "base" +entry = "scripts/test.sh" [[component]] id = "std-fs" path = "stdlib/fs" kind = "stdlib" -state = "planned" +state = "active" owner = "cflmy" scope = "文件、目录与路径" -requires = ["cli", "std-io", "std-text"] +requires = ["cli"] checks_with = [] release = "base" +entry = "scripts/test.sh" [[component]] id = "std-system" path = "stdlib/system" kind = "stdlib" -state = "planned" +state = "active" owner = "cflmy" scope = "时钟、UTC、环境、进程与随机" -requires = ["cli", "std-text", "std-io"] +requires = ["cli"] checks_with = [] release = "base" +entry = "scripts/test.sh" [[component]] id = "std-net" diff --git a/scripts/integration.sh b/scripts/integration.sh index a33c308..ca13d2b 100755 --- a/scripts/integration.sh +++ b/scripts/integration.sh @@ -4,7 +4,7 @@ set -euo pipefail cd "$(dirname "$0")/.." root="$PWD" active="$(python3 scripts/check-layout.py --checkouts --active-paths)" -expected=$'cli\ntests/conformance\ntools/knowledge\ntools/lint\ntools/prove\ntools/view' +expected=$'cli\nstdlib/collections\nstdlib/data\nstdlib/fs\nstdlib/io\nstdlib/system\nstdlib/text\ntests/conformance\ntools/knowledge\ntools/lint\ntools/prove\ntools/view' if [[ "$active" != "$expected" ]]; then echo "UNVERIFIED: update the integration plan for the changed active component set" >&2 exit 1 @@ -45,6 +45,14 @@ source_sha="$(git -C cli rev-parse HEAD)" test "$(cat "$(dirname "$MARQDO_BIN")/SOURCE_SHA")" = "$source_sha" sha256sum "$archive" "$MARQDO_BIN" "$(dirname "$MARQDO_BIN")/marqdo-provider-worker" +# Standard-library source relocation candidate: the root producer builds the one +# Bundle from the pinned component gitlinks; active component entries, the +# cross-repository composition fixtures and the fail-closed negatives all run +# against the same verified CLI artifact. +python3 scripts/acceptance-stdlib.py \ + --cli "$MARQDO_BIN" --work "$work/stdlib-acceptance" \ + --evidence "$work/stdlib-acceptance.json" + python3 cli/tools/release/smoke.py --archive "$archive" python3 cli/tools/ci/verify_extension_contracts.py \ --source-repo cli --tested-sha "$source_sha" --cli "$MARQDO_BIN" \ diff --git a/stdlib/collections b/stdlib/collections index 0851e1f..4907652 160000 --- a/stdlib/collections +++ b/stdlib/collections @@ -1 +1 @@ -Subproject commit 0851e1f8a05256dc50a9930df5deedbb7cd8f481 +Subproject commit 490765226866ac74b7365471c202e7638187bff8 diff --git a/stdlib/data b/stdlib/data index e3c9488..848af7a 160000 --- a/stdlib/data +++ b/stdlib/data @@ -1 +1 @@ -Subproject commit e3c9488dcac424fdcfe705ed049db7775d6ca16b +Subproject commit 848af7a357ceda2cfc20721b93406cf4be705889 diff --git a/stdlib/fs b/stdlib/fs index 3ef21c7..63bceae 160000 --- a/stdlib/fs +++ b/stdlib/fs @@ -1 +1 @@ -Subproject commit 3ef21c7de018b3ed29e95dedac276ef3b475e544 +Subproject commit 63bceae58736f13770c7eead02535726d08c19d0 diff --git a/stdlib/io b/stdlib/io index 945e76e..e18b0b1 160000 --- a/stdlib/io +++ b/stdlib/io @@ -1 +1 @@ -Subproject commit 945e76eed8adb589ea00fb5343138d5b99cdf0ea +Subproject commit e18b0b1b40fcc6adcb42b5ab9fe1c9c04e9b8263 diff --git a/stdlib/system b/stdlib/system index e1c4da4..053ddb0 160000 --- a/stdlib/system +++ b/stdlib/system @@ -1 +1 @@ -Subproject commit e1c4da4cc5f2940604242066067cfae111b0c428 +Subproject commit 053ddb0e59dc016b9c7833f115d14fa04e721d48 diff --git a/stdlib/text b/stdlib/text index 9f1e862..c2a7d32 160000 --- a/stdlib/text +++ b/stdlib/text @@ -1 +1 @@ -Subproject commit 9f1e862953f018f76bef6f35dc142a0c021154b7 +Subproject commit c2a7d327e5d1914db8952562614707c112a07da1