refactor: move the plugin SDK to its independent repository (issue #15)
Implements ADR-0072 and the SDK physical migration tracked by issue #15: - remove crates/marqdo-plugin-sdk, tests/sdk-plugin and the CLI-side check_plugin_sdk.py; the public cflmy/marqdo-plugin-sdk repository now owns the SDK workspace, lock, fixture, docs, AGENTS rules and CI definition. - SDK consumes marqdo-plugin-abi at the exact CLI contract rev 2585915e16906dac75f8571bed02e7f6f868c6bc; no path/submodule/copied contract. - CLI does not depend on the SDK and must not re-add it as a workspace member or copy; dependency/architecture gates enforce this. - docs: ADR-0072, CURRENT responsibility map/dependency graph, ADR-0071 amendment, indexes, README, spec/plugin-abi, CI and developer entries. - evidence: clean-clone SDK build/tests and real frozen 3.0.0-rc.4 CLI invocation (Int 42; tampered digest rejected). CLI workspace: 631 passed / 0 failed / 0 ignored; fmt/clippy/docs/architecture/ dependency gates green. Refs #15, #13
This commit is contained in:
1 parent
2585915e16
commit
63d386defa
32 files changed
+268
-1453
No files matched your search
@@ -687,18 +687,22 @@ fn plugin_contract_carries_no_native_execution() {
|
||||
"native host must own plugin `{module}`"
|
||||
);
|
||||
}
|
||||
let sdk = read(&root.join("crates/marqdo-plugin-sdk/Cargo.toml"));
|
||||
for forbidden in [
|
||||
"marqdo-host",
|
||||
"marqdo-cli",
|
||||
"libloading",
|
||||
"marqdo-worker-ipc",
|
||||
] {
|
||||
assert!(
|
||||
!sdk.contains(forbidden),
|
||||
"the plugin SDK must not depend on `{forbidden}`"
|
||||
);
|
||||
}
|
||||
// ADR-0072: the SDK is an independent repository pinned to a contract
|
||||
// revision. It must not be reintroduced as a second in-workspace copy.
|
||||
assert!(
|
||||
!root.join("crates/marqdo-plugin-sdk").exists(),
|
||||
"the plugin SDK moved to cflmy/marqdo-plugin-sdk (ADR-0072)"
|
||||
);
|
||||
let manifest = read(&root.join("Cargo.toml"));
|
||||
assert!(
|
||||
!manifest.contains("marqdo-plugin-sdk"),
|
||||
"the plugin SDK must not return as a CLI workspace member"
|
||||
);
|
||||
let current = read(&root.join("docs/architecture/CURRENT.md"));
|
||||
assert!(
|
||||
current.contains("cflmy/marqdo-plugin-sdk") && current.contains("ADR-0072"),
|
||||
"CURRENT.md must name the independent SDK repository decision"
|
||||
);
|
||||
}
|
||||
|
||||
/// E01/E04: the independent embedding consumer is a real package outside the
|
||||
|
||||
Reference in new issue
Block a user