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
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
范围
实现 issue #15 / ADR-0072:把 Rust Plugin SDK 从 CLI 工作区拆到独立公开仓库
cflmy/marqdo-plugin-sdk(main@b31187a)。这是一次有边界的架构拆仓,不是为了减少 crate 数量,也不改变任何公共协议:
rev消费marqdo-plugin-abi(2585915e16906dac75f8571bed02e7f6f868c6bc,即 #14 合并提交),不使用../cli、浮动分支、submodule 或复制的 ABI/Value Wire;Cargo.toml/Cargo.lock,crates/marqdo-plugin-sdk、tests/sdk-plugin、tools/ci/check_plugin_sdk.py已从 CLI 删除;cargo build --locked/cargo test --locked→ 只用 SDK 构建 fixture → 用冻结的 3.0.0-rc.4 CLI 发布二进制调用得到Int 42,篡改 artifact digest 被拒绝;不重新编译 CLI。文档与门禁
docs/adr/0072-sdk-independent-repository.md、issue #15 证据文件;check_dependency_boundaries.py增加负例:SDK 若重新成为 workspace member 直接失败;architecture gate 断言 SDK 目录/workspace 成员不存在且 CURRENT 指向新仓库。验证(Linux x86_64,Rust 1.100)
cargo fmt --check、clippy-D warnings、cargo test --workspace --locked --no-fail-fast= 631 passed / 0 failed / 0 ignored(SDK 的 5 个测试迁到 SDK 仓);architecture_boundaries(15)、docs_consistency(7)、dependency gate、tools/ci 54 单测 PASS;关联
docs/evidence/2026-11-26-issue-15-sdk-independent-repository.mdRefs #15, #13
63d386defato3ab4aaa861SDK 仓库 CI 已通过
独立 SDK 仓库 Woodpecker pipeline #2 success(clone/test;test 包含
cargo fmt/clippy/test/build、fixture build、冻结 3.0.0-rc.4 CLI 的真实调用与篡改 digest 负例)。SDKmain最新c3134e4(含CONTRACT_PIN.md与 CI URL 修正)。CLI 侧 push pipeline #108 已全绿;PR pipeline #109 因 runner 上 Node 下载挂起被取消,已重启为 #110。代码 SHA 与 #108 相同,
#108的 test/build/minimum-rust 证据有效。View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.