docs: record final executed acceptance evidence

- 9 Lean-backed acceptance tests pass (213.78 s)
- unknown/stale-bundle outcomes and real  transcript added
- final fast gate results (lib 69, analysis 3, formula 12, document 11)
This commit is contained in:
marqdo-prove committed 2026-11-26 11:19:40 +08:00
1 parent 6be7ab6df8
commit 47e46320cc
2 files changed
+42 -6

No files matched your search

+12 -3
View File
@@ -228,7 +228,8 @@ fn stale_bundle_is_rejected_after_a_source_change() {
let project = directory.join("project");
std::fs::create_dir_all(&project).expect("project dir");
for file in ["algebra.mq.md", "vector.mq.md"] {
std::fs::copy(repo().join("examples").join(file), project.join(file)).expect("copy fixture");
std::fs::copy(repo().join("examples").join(file), project.join(file))
.expect("copy fixture");
}
let entry = project.join("vector.mq.md");
let bundle = directory.join("bundle");
@@ -239,7 +240,10 @@ fn stale_bundle_is_rejected_after_a_source_change() {
let algebra = std::fs::read_to_string(project.join("algebra.mq.md")).expect("read");
std::fs::write(
project.join("algebra.mq.md"),
algebra.replace("任意整数的平方均非负。", "任意整数的平方均非负(解释性修改)。"),
algebra.replace(
"任意整数的平方均非负。",
"任意整数的平方均非负(解释性修改)。",
),
)
.expect("edit");
let output = Command::new(env!("CARGO_BIN_EXE_marqdo-prove"))
@@ -253,7 +257,12 @@ fn stale_bundle_is_rejected_after_a_source_change() {
.env("MARQDO_PROVE_LEAN_ROOT", repo().join("lean"))
.output()
.expect("run replay");
assert_eq!(output.status.code(), Some(1), "{}", String::from_utf8_lossy(&output.stderr));
assert_eq!(
output.status.code(),
Some(1),
"{}",
String::from_utf8_lossy(&output.stderr)
);
let report: Value =
serde_json::from_str(String::from_utf8_lossy(&output.stdout).trim()).expect("json");
let diagnostics = report["diagnostics"].as_array().expect("diagnostics");