test: include reference applications in the frozen release suite

This commit is contained in:
Marqdo Extension Fixtures committed 2026-11-22 20:35:32 +08:00
1 parent ababc398fa
commit cf92e1ae7d
7 files changed
+60 -18

No files matched your search

+7 -10
View File
@@ -1,7 +1,7 @@
# marqdo-extension-conformance
Independent, physically separate conformance fixtures for
[RFC-EXT-0001](../marqdo-cli/docs/architecture/RFC-EXT-0001.md): a third-party
[RFC-EXT-0001](https://git.cflmy.cn/cflmy/marqdo-cli/src/branch/master/docs/architecture/RFC-EXT-0001.md): a third-party
repository that provides all five extension kinds **without modifying or
recompiling `marqdo-cli`**.
@@ -17,22 +17,19 @@ the CLI workspace.
| `kernel/` | Foreign kernel (`mocklang`) | `kernel/kernel.json`, one-shot process |
| `provider/` | Resource provider v2 (`demo.sensor`) | `provider/provider.json`, worker helper + C ABI |
| `tool/` | CLI Tool | `tool/tool.json`, `inspect-ext` command |
| [`marqdo-net/`](marqdo-net/README.md) | HTTP(S)/SSE library | Blocking streams over the published resource API |
| [`marqdo-agent/`](marqdo-agent/README.md) | Agent library | A sequential mock-model conversation with an explicit tool allowlist |
## Quick start
```bash
cargo build --release -p marqdo-cli # in ../marqdo-cli (once)
export MARQDO_BIN=/abs/path/to/target/release/marqdo
# Ship the provider helper sibling exactly as the release archive does:
cp /abs/path/to/target/release/marqdo-provider-worker "$(dirname "$MARQDO_BIN")"/
./scripts/build_all.sh
python3 tests/run_all.py # writes evidence/results.json
export MARQDO_BIN=/absolute/path/to/extracted/install/marqdo
python3 tests/run_all.py # builds the C fixtures and writes evidence/results.json
```
`tests/verify_frozen_cli.py` hashes `$MARQDO_BIN` before and after the suite and
fails if the binary changed. The committed `evidence/results.json` is generated,
not hand-edited; `evidence/manifest.json` is produced by the CLI repository's
fails if the binary changed. The runner checks both executable digests and
generates `evidence/results.json`; `evidence/manifest.json` is produced by the CLI repository's
`tools/ci/verify_extension_contracts.py`.
## Contract