feat(analysis): consume the current public Analysis v3 contract
- add the process boundary for the core CLI: explicit MARQDO_BIN/--marqdo-bin only (never PATH), argv-only invocation of check ENTRY --emit, bounded timeout, private temp artifact, exit checks and absolute-path sanitisation - deserialize every Analysis record with closed serde shapes and validate semantic invariants that JSON Schema cannot express: identities, source digests, UTF-8 spans, unit tree/order/mode ancestry, anchors, functions and signatures, references states, calls, resources, diagnostics and budgets - validate statement/expression trees structurally with depth and span checks - convert accepted modules into DocumentFacts, preserving honest upstream reference states and one node per Exec unit/function - merge modules across entry contexts only when identity and source agree, otherwise report knowledge.analysis_context_conflict - add the real rc.4 Analysis positive fixture (with provenance and regeneration script), tamper negative tests and optional real-binary integration tests
This commit is contained in:
1 parent
682717a610
commit
59d5afe10b
14 files changed
+3474
-57
No files matched your search
@@ -27,7 +27,6 @@ serde_json = "=1.0.154"
|
||||
serde_yaml = "=0.9.34"
|
||||
sha2 = "=0.10.9"
|
||||
tempfile = "=3.27.0"
|
||||
thiserror = "=2.0.21"
|
||||
unicode-normalization = "=0.1.26"
|
||||
|
||||
[profile.release]
|
||||
|
||||
Reference in new issue
Block a user