Files
marqdo-plugin-sdk/CONTRACT_PIN.md
T
2026-11-26 19:41:50 +08:00

26 lines
1.1 KiB
Markdown

# Contract pin
This repository consumes exactly one CLI contract revision. The pin is a
reviewed input, not a floating dependency.
| Field | Value |
|---|---|
| Contract crate | `marqdo-plugin-abi` |
| Source | `https://git.cflmy.cn/cflmy/marqdo-cli.git` |
| Revision | `2585915e16906dac75f8571bed02e7f6f868c6bc` (CLI master merge of PR #14) |
| Plugin ABI | major 1, minor 0 |
| Value Wire | 1 |
| Contract authority | CLI repository (`include/marqdo_plugin_abi_v1.h`, `spec/plugin-abi.md`) |
## Bump procedure
1. Land the contract change in the CLI repository with its ADR/spec/tests.
2. Update `rev` in `Cargo.toml`; run `cargo update -p marqdo-plugin-abi` (or
regenerate the lock) and commit both files together.
3. Run `cargo build --locked`, `cargo test --locked` and
`python3 tools/check_with_frozen_cli.py --marqdo-bin <frozen CLI>`.
4. Record the CLI SHA, SDK SHA, ABI version and the frozen CLI version in the PR.
5. Never point at a branch, a local path or a copied contract tree. ABI layout,
buffer ownership, limits and error codes are frozen at 1.0 unless a new ABI
major is agreed.