tests: verify the closed Analysis boundary with independent consumers

Add black-box tests for exact source/AST projection, complete heading scopes,
explicit reference states, output safety (input/symlink/hardlink/directory and
owner-only bytes), Observation digest binding, multi-entry snapshot context and
the protocol mutation gate. Upgrade the Python consumer into a full independent
semantic validator, add view/lint/knowledge consumer fixtures driven by the
real CLI, and run schema plus semantic mutation checks from validate_protocols.
This commit is contained in:
cflmy committed 2026-11-25 11:01:24 +08:00
1 parent 99789616a4
commit 6d4209bf32
8 files changed
+1332 -67

No files matched your search

+1 -1
View File
@@ -417,7 +417,7 @@ pub fn resolve_link(
url: &str,
span: Span,
) -> Reference {
let mut reference = Reference::placeholder(source, &units, url, span);
let mut reference = Reference::placeholder(source, units, url, span);
// Empty destination and `#...` both address the current document.
if url.is_empty() {