docs(release): packaging, examples, evidence and honest status matrix
- add packaging/tool.json, release archive and verification scripts, CI workflow and a mixed Markdown/OKF/Marqdo example - record real T01 evidence: cold install in an isolated MARQDO_TOOL_HOME, dispatch, compile, query, check and remove against marqdo 3.0.0-rc.4 - refresh STATUS with implemented/tested areas and explicit NOT RUN items (real-model semantic quality, performance/retrieval benchmarks, non-Linux platforms, release-archive cold install, incremental write-volume benchmark) - document OKF link-mode limitation, incremental write granularity and single-character query bounds in the current contract and architecture - give every CLI option practical examples in --help
This commit is contained in:
1 parent
87b9c132aa
commit
172271fe62
16 files changed
+328
-43
No files matched your search
@@ -0,0 +1,65 @@
|
||||
# Evidence: implementation run 2026-11-26
|
||||
|
||||
Environment: Linux x86_64, Rust 1.100.0 (toolchain stable, crate MSRV 1.89),
|
||||
`cargo --locked`. Core CLI for integration:
|
||||
`cflmy/marqdo-cli` `3.0.0-rc.4` at
|
||||
`4bbefc92449ee480c8a2c89b0308feb4cda8d0e7`, binary built by that checkout
|
||||
(`marqdo 3.0.0-rc.4`, Analysis revision 3).
|
||||
|
||||
## Test counts (executed)
|
||||
|
||||
```text
|
||||
cargo test --workspace --locked
|
||||
lib unit tests: 104 passed
|
||||
tests/compile.rs: 6 passed
|
||||
tests/core_cli.rs: 3 passed (MARQDO_TEST_BIN=real marqdo)
|
||||
tests/embedding.rs: 4 passed (local mock embeddings server)
|
||||
tests/okf.rs: 7 passed
|
||||
tests/query.rs: 11 passed
|
||||
tests/storage.rs: 4 passed
|
||||
doc tests: 0
|
||||
```
|
||||
|
||||
`cargo clippy --all-targets -- -D warnings` and `cargo fmt --all -- --check`
|
||||
are clean in this tree at the recorded commits.
|
||||
|
||||
## Real tool install / dispatch (T01)
|
||||
|
||||
Performed with an isolated `MARQDO_TOOL_HOME` and the real core CLI:
|
||||
|
||||
```sh
|
||||
$MARQDO tool install <staged-dir> # tool.json + bin/marqdo-knowledge
|
||||
$MARQDO tool list # knowledge 0.1.0 (marqdo-knowledge)
|
||||
$MARQDO knowledge --help # dispatched, no core start-up side effects
|
||||
$MARQDO knowledge compile ./examples/mixed --json
|
||||
payload: documents=5 nodes=15 edges=15 search_units=13 grams=235
|
||||
$MARQDO knowledge query '归一' --root ./examples/mixed --format json
|
||||
channels: lexical, fuzzy, graph hits > 0
|
||||
$MARQDO knowledge check ./examples/mixed --json
|
||||
database: current errors: 0
|
||||
$MARQDO tool remove knowledge
|
||||
$MARQDO tool list # no tools installed
|
||||
```
|
||||
|
||||
The dispatch preserved argv/cwd and set `MARQDO_BIN`/`MARQDO_API_REVISION` as
|
||||
specified; no shell interpolation was used.
|
||||
|
||||
## Real Analysis integration
|
||||
|
||||
- `tests/core_cli.rs` invokes the real `check --emit` for a valid project
|
||||
(validated, converted, function node present) and for an invalid `.mq.md`
|
||||
(invocation fails, no artifact, no fabricated callable).
|
||||
- `tests/compile.rs::mixed_project_uses_real_analysis_when_available` compiles a
|
||||
mixed root through real Analysis: 1 context, real producer version, callable
|
||||
function metadata with the upstream FunctionId, and a plain-Markdown link into
|
||||
the Marqdo module resolving to the anchored node.
|
||||
- Negative validator tests tamper the committed real fixture (digest, span,
|
||||
revision, missing/unknown fields, error diagnostics, duplicate module,
|
||||
resolved-without-target) and require rejection.
|
||||
|
||||
## Not covered by this evidence
|
||||
|
||||
- No real embedding model was invoked; the semantic lane used a local protocol
|
||||
mock. No semantic-quality number is claimed.
|
||||
- No retrieval/performance benchmark was run.
|
||||
- Windows/macOS were not tested.
|
||||
Reference in new issue
Block a user