tests+docs: contract fixtures, Lean-backed acceptance suite and executed status

- document_contract: negative path coverage through the real CLI (selection,
  shape errors, formula unsupported/invalid, missing/external links, cycles,
  --unit, upstream static failure, root escape) with exit-code assertions
- e2e: algebra, vector composition (declared == used), program model scope,
  refutation, export+replay, cache reuse, tampered payload rejection
- report fixes: declared/used locator consistency, diagnostic-only exit status,
  unsupported vs invalid formula outcomes
- clippy -D warnings and cargo fmt clean; docs/STATUS records pinned identities,
  executed commands, measured backend limits and known gaps
This commit is contained in:
marqdo-prove committed 2026-11-26 11:10:42 +08:00
1 parent 4e02da95a4
commit bd7e46b208
46 files changed
+390180 -460

No files matched your search

+4 -1
View File
@@ -52,7 +52,10 @@ fn real_cli_extracts_vector_fixture() {
);
assert_eq!(unit.dependencies.links.len(), 2);
assert_eq!(unit.dependencies.links[0].text, "整数平方非负性");
assert_eq!(unit.dependencies.links[0].url, "algebra.mq.md#整数平方非负性");
assert_eq!(
unit.dependencies.links[0].url,
"algebra.mq.md#整数平方非负性"
);
assert!(unit.goal.payload_span.is_some());
let source = &snapshot.entry().source;
assert_eq!(