M3 candidate for cflmy/marqdo#9: the root cli gitlink now points at the CLI
Phase B commit that removed the in-repo stdlib sources and pinned the accepted
ecosystem Bundle.
scripts/integration.sh no longer takes a CLI artifact from View's frozen RC.4
script. One candidate derives every input: the root-owned Bundle producer
assembles the Bundle from pinned gitlinks, the CLI and Worker are built from the
pinned cli commit, the release archive is packaged with --stdlib-dir, and
Conformance/View/Knowledge/Prove/Lint plus acceptance-stdlib all use that same
installed binary and adjacent Bundle. Evidence records the exact identities.
Composition gains the print-format equivalence fixture (moved from the CLI) and
a pure-mode Table case; the root acceptance compares stdout line pairs so the
official print/打印 aliases must produce identical formatting.
Refs cflmy/marqdo#9, cflmy/marqdo-cli#11
M0 of cflmy/marqdo#9: the root ledger now records the verified baseline, the
151 public functions of the 20 pre-migration modules, the frozen Bundle-root
paths, the test/assertion ownership and the decisions that replace the earlier
path-plan (which would have changed public std: imports). Nine receiving-repo
sub-issues are linked.
One producer owns Bundle composition from the exact component gitlinks
(scripts/build-stdlib.py + scripts/stdlib-bundle.json): it publishes only
modules/**/*.mq.md of active stdlib components, rejects symlinks, submodules,
case/NFC collisions, tests/ and unsafe paths, generates the current
stdlib.json digest and requires an explicit version bump when content changes.
scripts/acceptance-stdlib.py is the root composition gate with explicit
--cli/--bundle inputs: it verifies the manifest independently, runs each active
component entry, runs the cross-repository composition fixtures (official
aliases, Table split, default-Bundle smoke), enforces fail-closed negatives and
optionally proves deterministic packaging with the CLI packer.
Contract tests build real temporary Git repositories and cover the gitlink
identity path, determinism, all rejection cases and the explicit version bump.
Refs cflmy/marqdo#9
The duplicate-settings guard compared the section field dict with a set
and could raise TypeError instead of reporting the real configuration
error. Compare sets and add a fixture accepting a section name that
differs from its path.
Implement the G01/G02 governance checks of ADR 0001 section 4:
- accept the single `kind = "domain"` role (release none/base, empty
requires, root-level extensions/<id> or stdlib path) while keeping the
existing root-layer rules for direct components;
- with `--checkouts`, expand every active domain at its pinned gitlink,
read that commit's own components.toml/.gitmodules, validate its
gitlinks, remotes, HEAD/dirty state and entries, and refuse a third
gitlink level or implementation files in aggregate layers;
- flatten the recursive tree into one in-memory global graph: unique
ids/remotes, active-never-depends-on-planned, requires DAG acyclic,
checks_with cycles allowed, stdlib/core/tool dependency boundaries and
requires never targeting a domain;
- structured failures name the responsible label/path and never skip
unverified layers silently. Existing six-component tree passes both
modes; 44 integration tests cover positive and negative nested Git
fixtures without network access.