conformance: consume the current Analysis, Observation and CLI Tool contracts

This commit is contained in:
cflmy committed 2026-11-24 18:31:45 +08:00
1 parent a728d215c9
commit 015ff8ac15
6 files changed
+65 -44

No files matched your search

+6 -5
View File
@@ -5,7 +5,7 @@ works" claim. Unknown/newer protocol versions fail closed.
| Contract | Version used here | Required by |
|---|---|---|
| Marqdo Core CLI | `3.0.0-beta.1` (frozen binary SHA recorded in `evidence/`) | all |
| Marqdo Core CLI | `3.0.0-rc.3` candidate (frozen binary SHA recorded in `evidence/`) | all |
| Language semantics | RFC-LANG-0002 / ADR-0052 (one Markdown→program mapping) | `.mq.md` fixtures |
| Markdown profile | `marqdo.md.v1` | all documents |
| Plugin ABI | C ABI v1 (`MQ_ABI_MAJOR=1`, host target triple recorded in `plugin/build/plugin.yaml`) | `plugin/` |
@@ -14,8 +14,8 @@ works" claim. Unknown/newer protocol versions fail closed.
| Foreign kernel descriptor | `kernel.json` v1 (`wire_version: 1`) | `kernel/` |
| Resource provider manifest | `marqdo.provider` schema v2, `transport: worker`, `abi: c-abi-1` | `provider/` |
| Resource provider worker protocol | ADR-0035 framed JSON (host ↔ helper) + C ABI v1 (helper ↔ library) | `provider/` |
| Analysis | Analysis v2 (`marqdo check --emit`) | `tool/` |
| Trace | Trace v2 (`marqdo run --trace-file`) | `tool/` |
| Analysis | current Analysis (`marqdo check --emit`) | `tool/` |
| Observation | current `marqdo.observation` (`run --output jsonl`, `run --observation-file`) | `tool/`, `tests/reference_apps.py` |
| CLI Tool Protocol | v1 (`marqdo.cli-tool`, schema_version 1) | `tool/` |
## Platform matrix
@@ -37,8 +37,9 @@ the committed manifests contain zero digests and are templates only.
consumer never resolves a branch or "latest".
* The plugin/provider manifests are matched against the static descriptor and
the loaded artifact; a changed byte fails before the entry function runs.
* Analysis/Trace evidence is consumed as public JSON only; no private Rust IR
is linked or copied.
* Analysis/Observation evidence is consumed as public JSON only; no private
Rust IR is linked or copied. The retired Analysis v2/v3 switch, Trace and
Execution Events formats are rejected, not adapted.
## Grants and failure behaviour