chore: bootstrap marqdo-knowledge crate, CLI surface and architecture docs

- pin Rust 2021 / MSRV 1.89 and exact dependency versions
- add typed model vocabulary (UTF-8 spans, canonical JSON-array node keys,
  node/edge/state enums, digest helpers) with unit tests
- add deterministic diagnostics and unified error/exit semantics (0/1/2)
- add the three-command clap surface with strict argument validation
- record the single-derived-artifact decision, architecture overview and
  current public contract; STATUS lists real evidence only
This commit is contained in:
marqdo-knowledge committed 2026-11-25 22:24:51 +08:00
1 parent fbca63b972
commit 430f950631
19 files changed
+2945

No files matched your search

+49
View File
@@ -0,0 +1,49 @@
# Status
Last updated: 2026-11-25. Evidence-based; this file lists what the code does,
not what the design intends. Anything not listed as verified is **NOT RUN** and
must not be claimed as passing.
The development baseline is `marqdo-knowledge-development.md` (kept outside
this repository). Upstream Analysis baseline for integration is
`cflmy/marqdo-cli` `3.0.0-rc.4` (`4bbefc92449ee480c8a2c89b0308feb4cda8d0e7`),
contract `marqdo.analysis` revision 3. The original static audit in the
development specification refers to `e6066e6`; the current public boundary has
since been implemented upstream as ADR-0069, so this tool targets the current
revision-3 shape and rejects everything else.
## Capability matrix
| Area | State | Evidence |
|---|---|---|
| Repository scaffold, CLI surface, exit codes | implemented | unit tests in `src/cli.rs` |
| Discovery, snapshot, budgets | in progress | - |
| Plain Markdown projection | in progress | - |
| Analysis v3 adapter + semantic validation | in progress | - |
| Unified graph and reference resolution | in progress | - |
| SQLite schema, transactions, atomic publish | in progress | - |
| Compile command | in progress | - |
| Lexical / fuzzy / graph query, RRF | in progress | - |
| Slices | in progress | - |
| Incremental update | in progress | - |
| OKF v0.3 recognition and check | in progress | - |
| Semantic channel (OpenAI-compatible embeddings) | in progress | - |
| Packaging (`tool.json`, release script) | in progress | - |
| Performance / retrieval benchmarks | NOT RUN | no frozen dataset yet |
| Real-model semantic benchmark | NOT RUN | requires a pinned model revision not available in this environment |
| Cold install against a real `marqdo` binary | NOT RUN | - |
## Known limitations
* Linux x86_64 is the only release-candidate platform.
* The exact quality/performance gates of the development specification §16 are
not yet measured; no threshold is claimed.
## Reproduce
```sh
scripts/cargo.sh fmt --all -- --check
scripts/cargo.sh clippy --all-targets -- -D warnings
scripts/cargo.sh test
scripts/cargo.sh build --release
```