Files
marqdo-cli/docs/evidence/2026-11-25-rc.4-analysis-boundary.md
T
cflmy 8737e093d6
ci/woodpecker/push/main Pipeline failed
release: prepare 3.0.0-rc.4 and record the Analysis boundary
Bump the workspace product version, document the in-place Analysis contract
replacement, update the current-facing guides and architecture overview, and
record the local gate plus the 101-module/rc.3 performance comparison. The
candidate is not a release: same-SHA CI, archive cold install, frozen external
conformance and the strict VM gate are still required before tagging.
2026-11-25 11:18:31 +08:00

4.4 KiB

RC 3.0.0-rc.4 — closed public Analysis boundary (issue #10)

  • Date: 2026-11-25
  • Product: 3.0.0-rc.4 (prerelease candidate; not stable, not LTS)
  • Base: e6066e6ba91981b7d2bc55191b7eb54387ee34d3
  • Platform: local Linux x86_64 development container; Windows/macOS remain UNSUPPORTED for this candidate
  • Policy: ADR-0069, ADR-0068
  • Contract: spec/analysis.md, spec/schemas/analysis.schema.json

This document records commands actually executed on the candidate tree. The raw command log is 2026-11-25-rc.4-local-gate.log. It is local evidence, not a same-SHA CI, archive-only or strict-VM release gate. A release decision must cite the gate manifest for the tagged SHA and must not promote these numbers to a platform claim.

Implemented boundary

check ENTRY --emit PATH now projects the same prepared facts consumed by check, inspect, run and call:

  • exact UTF-8 modules[].source and source_digest;
  • the canonical Markdown AST (document) shared with inspect --ast;
  • one heading index with structured path, parent, mode, mode origin and source unit, heading span and complete section span (root covers the whole source);
  • anchors, functions, imports, calls with target kind/owner/reason, resources with AST-payload digest validation and the explicit diagnostics;
  • project.entry_module_id, captured manifest_digest/lock_digest, stdlib and static extension identities;
  • one document_refs resolver used by Analysis, check --refs and inspect --refs, with resolved/not_loaded/missing/ambiguous/ external/outside_scope/invalid states.

The retired duplicate resolver and the post-preparation lock re-read are gone. --emit writes owner-only exclusive bytes through a temporary file and rename and refuses inputs, directories, symlinks and hard links to inputs.

Commands executed

cargo fmt --all -- --check                              PASS
cargo clippy --workspace --all-targets -- -D warnings   PASS
cargo test --workspace --locked                         PASS: 632 passed, 0 failed, 2 ignored
cargo test -p marqdo-cli --test analysis_boundary       PASS: 10 passed
cargo test -p marqdo-cli --test analysis_observation    PASS: 11 passed
cargo test -p marqdo-cli --test architecture_boundaries PASS
cargo test -p marqdo-cli --test docs_consistency        PASS
cargo test -p marqdo-cli --test integration_cli         PASS: 23 passed
cargo build --release --locked -p marqdo-cli -p marqdo-provider-worker PASS
python3 tests/consumers/analysis_consumer.py <artifact> PASS
python3 tests/consumers/validate_protocols.py <analysis> <observation> <tool> PASS
python3 tests/consumers/view_consumer.py <artifact> PASS
python3 tests/consumers/lint_consumer.py <artifact> PASS
python3 tests/consumers/knowledge_consumer.py <artifact...> PASS

The independent semantic consumer and mutation gate were exercised with a project containing an import, a cross-module reference, a formula, a code fence and a static call. The gate rejects missing current required fields, tampered source/digests/spans, duplicate module ids, parent cycles, wrong mode sources, missing call targets, missing reference units and injected successful error diagnostics.

Performance (local smoke, not G4)

Fixture: 101 modules, 82,094 source bytes, 903 units, 100 cross-module references; release builds of rc.3 (baseline archive binary) and the rc.4 candidate, five warmups and twenty samples per command, same host and cwd.

Command rc.3 p50/p95 (ms) rc.4 p50/p95 (ms) p95 ratio peak RSS ratio
check index.mq.md --json 18.28 / 19.09 18.47 / 19.07 0.999 1.001
check index.mq.md --emit out.json 36.49 / 42.65 48.66 / 51.59 1.210 1.186
check index.mq.md --refs --json 19.09 / 19.66 21.99 / 22.51 1.145 1.093

The rc.4 artifact is 2,739,156 bytes (rc.3: 899,146) because it now carries the exact source and AST. The emit p95 and peak-RSS ratios are below the issue's 2.5x budget; the no-emit p95 ratio is below 1.15. These are development-container numbers and must not be cited as the dedicated-node G4 result.

Not claimed

  • No same-SHA Woodpecker pipeline, archive cold-install or frozen external conformance evidence is recorded here.
  • No disposable-VM strict L1 evidence for this SHA.
  • No dedicated-node G4 measurement.
  • No Windows/macOS support claim.