Record SHA-bound control-flow verification and consumer compatibility

This commit is contained in:
Codex committed 2026-11-23 19:56:45 +08:00
1 parent b1314328e6
commit e903575d91
2 files changed
+60 -1

No files matched your search

+2 -1
View File
@@ -277,7 +277,8 @@ list containers.
Other documents continue to emit v2. Trace v2 and Execution Events v1 expose
the new control events. The published beta evidence applies to its original
SHA. Maintainers decide when to include phase A in a release. List iteration
is a follow-up design.
is a follow-up design. The [local verification record](evidence/2026-11-23-rfc-ctrl-0005.md)
identifies the tested commit, commands, archive digest and consumer results.
## 1. Historical: pre-beta remote baseline and evidence
+58
View File
@@ -0,0 +1,58 @@
# RFC-CTRL-0005 development verification
The stage A implementation and tests were verified at
`b1314328e6128cf1066cedaee06a8aa84cf1a405` against the
[issue baseline](https://git.cflmy.cn/cflmy/marqdo-cli/issues/7)
`f7a5a7b0163bf5229ed09adfffd892f9899e6667`.
## Linux results
The local run used Rust 1.98.1 on Linux x86_64 and the locked dependency
graph. A clean checkout under a path that Bubblewrap could mount was used
for workspace testing and packaging.
| Check | Result |
|---|---|
| Baseline workspace tests | 587 passed, 2 ignored |
| Workspace format and Clippy with warnings denied | Passed |
| Workspace tests | 595 passed, 2 ignored |
| CLI tests | 220 passed |
| Python CI tooling tests | 32 passed |
| Release archive smoke | Passed, including strict execution |
| Frozen extension lane with fixtures at `cf92e1ae7d22cb4bd1f5609c5fa8daa11e8980ec` | 7 contract groups and 6 reference applications passed |
| Archive-only control-flow example | Returned 5 in pure, project and strict modes |
| Archive-only independent protocol consumers | Analysis v2/v3, Trace v2 digest verification and Execution Events v1 passed. The legacy Analysis consumer rejected v3. |
The archive was built by `tools/release/package.py` and verified by
`tools/release/smoke.py` and `tools/ci/run_frozen_extensions.sh`.
Archive SHA-256 is
`00c486642c524ea699e3c83f151875b1048e9b4affc89565c79a3d29af4af9b7`.
The Rust commands were `cargo fmt --all -- --check`,
`cargo clippy --workspace --all-targets --locked --offline -- -D warnings`,
`cargo test --workspace --locked --offline --no-fail-fast -- --test-threads=1`
and `cargo test -p marqdo-cli --locked --offline -- --test-threads=1`.
GitHub and Woodpecker both contain independent schema and consumer checks.
## Coverage and consumer compatibility
- Semantic fixtures 80–88 cover ordered arms, short-circuiting, fallthrough,
empty arms, nested loops and branch bodies, contextual identifiers and
inert prose. Fixture 34 still exercises separately carried nested branches.
- The negative corpus covers unmatched and out-of-order arms, malformed
transfers, missing closure, function and heading bounds, and possibly
uninitialized reads on loop exit. Runtime tests cover non-boolean
conditions, fuel, deadlines and transfer containment at function boundaries.
- CLI tests compare Analysis, Trace and Execution Events source spans in UTF-8,
bind Trace to the emitted Analysis digest, verify the call graph and prove
that invalid input stops before execution. A property test compares
span-independent IR across Markdown list, quote and paragraph containers.
- The separately built `marqdo-lint 0.1.0` binary at repository commit
`58cea75` read the existing `hello.mq.md` Analysis v2 output. Its current
alignment logic reports `analysis_incomplete` for native `else if`,
and it rejects Analysis v3 because it supports only v2. Adoption of the
new nodes requires an update in the Lint repository.
These results record local implementation and archive verification.
Release inclusion and platform evidence remain subject to the maintainer's
release process.