refactor: extract neutral host contract and decouple plugin ABI (issue #13)
Implements the core M0-M3 boundary work from issue #13 / ADR-0071 without changing language semantics or any public protocol: - add marqdo-host-contract owning Host/HostOp/ExecutionContext/ResourceRead and the runtime observation facts; the engine depends on it only. - marqdo-runtime no longer links marqdo-host; the native host implements the contract and has no reverse edge to runtime/frontend/IR. - reduce marqdo-plugin-abi to the public C ABI/wire/error contract; move manifest/artifact/loader/worker execution into marqdo-host::plugin so the SDK carries no loader/worker/host dependency. - add a real independent consumer (tests/embedding, own workspace+lock) that runs Markdown -> frontend -> IR -> runtime with bounded budgets and explicit effect refusal, plus differential CLI comparison. - add an SDK-only third-party plugin fixture and real CLI invocation gate. - replace the frozen-crate architecture test with a reviewed responsibility graph enforced from Cargo metadata, with negative unit cases. - consolidate current docs/entry: ADR-0071, CURRENT responsibility map, developers/architecture indexes, historical banners, STATUS and evidence. - record keep-in-workspace for Engine/Native Host; no empty candidate repo. Evidence: docs/evidence/2026-11-26-issue-13-engine-host-boundary.md Refs #13
This commit is contained in:
1 parent
4bbefc9244
commit
9b4f0a0822
89 files changed
+3490
-545
No files matched your search
Generated
+15
-6
@@ -420,6 +420,7 @@ dependencies = [
|
||||
"marqdo-foreign",
|
||||
"marqdo-frontend",
|
||||
"marqdo-host",
|
||||
"marqdo-host-contract",
|
||||
"marqdo-ir",
|
||||
"marqdo-markdown",
|
||||
"marqdo-package",
|
||||
@@ -485,8 +486,10 @@ dependencies = [
|
||||
"flate2",
|
||||
"getrandom 0.4.3",
|
||||
"glob",
|
||||
"hex",
|
||||
"libloading",
|
||||
"marqdo-foreign",
|
||||
"marqdo-host-contract",
|
||||
"marqdo-plugin-abi",
|
||||
"marqdo-sandbox",
|
||||
"marqdo-span",
|
||||
@@ -499,10 +502,20 @@ dependencies = [
|
||||
"rustls-pemfile",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"serde_yaml",
|
||||
"sha2",
|
||||
"tempfile",
|
||||
"thiserror",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "marqdo-host-contract"
|
||||
version = "3.0.0-rc.4"
|
||||
dependencies = [
|
||||
"marqdo-span",
|
||||
"marqdo-value",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "marqdo-ir"
|
||||
version = "3.0.0-rc.4"
|
||||
@@ -542,15 +555,9 @@ dependencies = [
|
||||
name = "marqdo-plugin-abi"
|
||||
version = "3.0.0-rc.4"
|
||||
dependencies = [
|
||||
"hex",
|
||||
"libloading",
|
||||
"marqdo-span",
|
||||
"marqdo-value",
|
||||
"marqdo-worker-ipc",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"serde_yaml",
|
||||
"sha2",
|
||||
"thiserror",
|
||||
]
|
||||
|
||||
@@ -569,6 +576,7 @@ version = "3.0.0-rc.4"
|
||||
dependencies = [
|
||||
"libloading",
|
||||
"marqdo-host",
|
||||
"marqdo-host-contract",
|
||||
"marqdo-sandbox",
|
||||
"marqdo-value",
|
||||
"marqdo-worker-ipc",
|
||||
@@ -583,6 +591,7 @@ dependencies = [
|
||||
"marqdo-expression",
|
||||
"marqdo-frontend",
|
||||
"marqdo-host",
|
||||
"marqdo-host-contract",
|
||||
"marqdo-ir",
|
||||
"marqdo-sandbox",
|
||||
"marqdo-span",
|
||||
|
||||
Reference in new issue
Block a user