Implements the two CLI-owned P0 sub-issues of the ecosystem architecture tickets without adding document-language syntax. Environment report (marqdo-cli#26 §9.2, binding for #20): - `marqdo inspect --environment [--json]` emits `marqdo.environment` v1: producer version and build-embedded source commit, platform/arch/glibc and real strict probe, adjacent provider-worker version/SHA (offline `--build-info`, bounded), verified Bundle identity, current protocol revisions and path-free diagnostics. Project-independent, offline, and exclusive with document inspection flags. - Release builds embed `MARQDO_BUILD_SOURCE_SHA`; the CI `build` lane sets it. `tools/release/package.py` refuses to stage an archive whose binaries report another commit or Bundle digest, and `tools/release/smoke.py` re-verifies the extracted archive. - Spec: `spec/environment.md`. Tests: `environment_report.rs` (5 cases) and in-module unit tests; docs/releasing/COMPATIBILITY/STATUS updated. Document-structure contract (marqdo-cli#25): - `spec/document-structure.md` states the current author/tool semantics once: heading mode inheritance (nearest ancestor, only Exec H2 callable), unit identity and duplicate-name rules, anchor collision numbering, byte-exact half-open spans, `index.mq.md` entry vs directory-dependency import meaning, link != import != call, Proposed annotations marked not implemented, and the Analysis fields consumers may rely on. It links the single authoritative specs instead of duplicating them. - Tests: `document_structure.rs` (6 cases) + docs_consistency coverage. No runtime behavior change, no new language surface, no new cross-repo dependency. `docs_consistency` and `architecture_boundaries` remain green.
38 lines
1.1 KiB
TOML
38 lines
1.1 KiB
TOML
[package]
|
|
name = "marqdo-cli"
|
|
description = "Marqdo command line interface (composition root)"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
authors.workspace = true
|
|
|
|
[dependencies]
|
|
marqdo-span = { workspace = true }
|
|
marqdo-value = { workspace = true }
|
|
marqdo-expression = { workspace = true }
|
|
marqdo-markdown = { workspace = true }
|
|
marqdo-ir = { workspace = true }
|
|
marqdo-frontend = { workspace = true }
|
|
marqdo-foreign = { workspace = true }
|
|
marqdo-plugin-abi = { workspace = true }
|
|
marqdo-host = { workspace = true }
|
|
marqdo-host-contract = { workspace = true }
|
|
marqdo-runtime = { workspace = true }
|
|
marqdo-package = { workspace = true }
|
|
marqdo-sandbox = { workspace = true }
|
|
clap = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
walkdir = { workspace = true }
|
|
hex = { workspace = true }
|
|
sha2 = { workspace = true }
|
|
semver = { workspace = true }
|
|
tempfile = { workspace = true }
|
|
libc = { workspace = true }
|
|
|
|
[[bin]]
|
|
name = "marqdo"
|
|
path = "src/main.rs"
|