Files
marqdo-cli/docs/evidence/2026-11-25-rc.4-analysis-boundary.md
T
cflmy 4bbefc9244
ci/woodpecker/push/main Pipeline was successful
release: publish 3.0.0-rc.4 with analysis boundary evidence
Record the RC_RELEASE_CANDIDATE gate manifest, same-SHA CI #94, frozen
extension 7/7, archive smoke, Ubuntu 24.04 cold install, disposable-VM strict
L1 PASS (uid 1000), archived-binary VM verification and the maintainer-approved
shared-node performance WARN for this named RC. Document that stable/LTS still
requires a dedicated fixed node and link the downstream view/lint issues.
2026-11-25 14:17:31 +08:00

122 lines
6.3 KiB
Markdown

# 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`
- **Candidate source SHA:** `e0645f376b03e31e342a6d3fb749a335f0840d1b`
- **Platform:** local Linux x86_64 development container; Windows/macOS remain
UNSUPPORTED for this candidate
- **Policy:** [ADR-0069](../adr/0069-public-analysis-boundary.md),
[ADR-0068](../adr/0068-single-current-public-contracts.md)
- **Contract:** `spec/analysis.md`, `spec/schemas/analysis.schema.json`
- **Gate manifest:** [`ci/e0645f376b03e31e342a6d3fb749a335f0840d1b/manifest.json`](ci/e0645f376b03e31e342a6d3fb749a335f0840d1b/manifest.json)
(`RC_RELEASE_CANDIDATE`: strict VM PASS; shared-node performance WARN
approved for this RC only)
This document records commands actually executed on the candidate tree. The
raw command log is
[`2026-11-25-rc.4-local-gate.log`](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
```text
cargo fmt --all -- --check PASS
cargo clippy --workspace --all-targets -- -D warnings PASS
cargo test --workspace --locked PASS: 633 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.
## Executed archive and CI gates
- **Same-SHA CI** ([pipeline #89](https://ci.cflmy.cn/repos/1/pipeline/89),
commit `e0645f3`): `contract`, `test`, `minimum-rust` and `build` all PASS.
The follow-up CI/tooling commit `b1fc211` is also fully green
([pipeline #91](https://ci.cflmy.cn/repos/1/pipeline/91)); it changes only the
CI stale-artifact helper and the pipeline step, not the shipped binaries.
The build lane packaged `marqdo-3.0.0-rc.4-x86_64-unknown-linux-gnu.tar.gz`
(sha256 `10f98078ff3c747c751cedfa07a767c967e17b9dffb183f93db2743c34fa6453`),
ran the archive-only smoke and the frozen extension suite 7/7 PASS
(CLI `119b4d7d0431d8e958253add4b67a6ed826678b5254583d5320136b1b9a6e93b`).
- **Local same-SHA archive** (`8cabddc9f7860ac9f9138dba75794d3026a47d3cfecc460742ac2a4c2a017516`):
`smoke.py` PASS (see
[`2026-11-25-rc.4-release-smoke.log`](2026-11-25-rc.4-release-smoke.log)) and
the archive-only Ubuntu 24.04 cold-install container PASS (see
[`2026-11-25-rc.4-cold-install.log`](2026-11-25-rc.4-cold-install.log)).
- **Frozen external conformance** from a clean worktree at the candidate SHA:
7/7 PASS, manifest
[`2026-11-25-rc.4-extension-manifest.json`](2026-11-25-rc.4-extension-manifest.json)
and log
[`2026-11-25-rc.4-extension-conformance.log`](2026-11-25-rc.4-extension-conformance.log).
## Release decision
`RC_RELEASE_CANDIDATE` for rc.4. A same-SHA disposable QEMU/TCG VM PASS
(uid 1000, `container: none`) and a maintainer-approved shared-node
performance `WARN` were recorded after this local gate. The tag and release are
`v3.0.0-rc.4` at `452e9a32bd9e40dba427d4180691c58bab74449e`; see
[`2026-11-25-rc.4-release.md`](2026-11-25-rc.4-release.md).
## Not claimed
- No dedicated-node G4 PASS; the shared-node WARN is RC-only and does not
extend to stable/LTS.
- No Windows/macOS support claim.