refactor: keep the plugin SDK in the CLI workspace (revert split)
ci/woodpecker/push/main Pipeline was successful

The pre-stable line prioritizes atomic ABI/header/spec/SDK/loader changes over
a premature repository boundary. ADR-0073 supersedes ADR-0072:

- restore crates/marqdo-plugin-sdk as a contract-only CLI workspace crate
  (marqdo-plugin-abi + serde; no loader/host/worker dependency);
- restore tests/sdk-plugin and tools/ci/check_plugin_sdk.py, including the real
  CLI invocation and tampered-digest negative case;
- restore workspace/lock/architecture/dependency/docs/CI references; the SDK is
  a reviewed workspace member again and must not become a remote repo, mirror
  or submodule in this stage;
- ADR-0072 and the old issue #15 evidence are marked superseded; ADR-0073 and
  the split-revert evidence record the decision and the deleted remote repo;
- logical ADR-0071 boundaries are unchanged.

Workspace: 636 passed / 0 failed / 2 ignored; fmt, clippy, docs, architecture,
dependency, SDK gate and engine differential all PASS.

Refs #13, #15
This commit is contained in:
cflmy committed 2026-11-26 21:21:41 +08:00
1 parent 89acb709c6
commit 98d256f5a2
34 files changed
+1661 -85

No files matched your search

+2 -2
View File
@@ -50,7 +50,7 @@ CI: the source of truth is the Gitea remote
[git.cflmy.cn/cflmy/marqdo-cli](https://git.cflmy.cn/cflmy/marqdo-cli) with
Woodpecker at [ci.cflmy.cn](https://ci.cflmy.cn); [`.woodpecker/main.yml`](.woodpecker/main.yml)
runs fmt, clippy, workspace tests with `--locked`, the dependency-direction and
engine-independence gates, the Windows
engine-independence gates, the plugin SDK consumption gate, the Windows
cross-target compile gate and a release build of both binaries. The strict OS-isolation lane
requires the disposable VM described in [docs/ci.md](docs/ci.md); a GitHub
mirror is not used as the authoritative lane for this beta.
@@ -297,7 +297,7 @@ crates/marqdo-foreign Python/Node one-shot kernel supervisor
crates/marqdo-sandbox mode parsing + platform isolation detection
crates/marqdo-host-contract neutral Host trait, HostOp, context and runtime facts
crates/marqdo-plugin-abi public C ABI v1 contract: layout, wire envelope, errors
(the Rust SDK lives in cflmy/marqdo-plugin-sdk)
crates/marqdo-plugin-sdk Rust plugin SDK and entry macro (contract-only)
crates/marqdo-host Native Host: capability, resources, OS, plugin loader/worker
crates/marqdo-runtime tree-walk interpreter (depends only on the neutral contract)
crates/marqdo-package marqdo.yaml / marqdo.lock / root discovery