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:
marqdo-knowledge committed 2026-11-26 02:30:03 +08:00
1 parent 87b9c132aa
commit 172271fe62
16 files changed
+328 -43

No files matched your search

+41 -1
View File
@@ -125,7 +125,29 @@ carry no fabricated path, span or snippet.
Machine mode never emits partial JSON on stdout. Diagnostics are also reported
on stderr as human lines with stable `knowledge.*` codes.
## 4. Analysis input
## 3.3 Semantic mode
`--semantic` is the only network path. It requires compile-time and query-time
options to match exactly (sanitised endpoint, model, revision, dimension); the
API key is read from `MARQDO_KNOWLEDGE_EMBEDDING_API_KEY` and is never stored or
printed. Remote endpoints must be HTTPS and require
`--allow-remote-embedding`; loopback HTTP is allowed for a local compatible
service. A failed or incomplete embedding run publishes nothing and leaves the
previous artifact intact. Semantic results are explicitly marked in `channels`;
their quality depends on the user-supplied model and is not a correctness score.
## 4. OKF (document layer)
OKF v0.3 is recognised from front matter only: `index.md`/`log.md` are reserved
roles at every level, other documents with a non-empty `type` are concepts
(concept id = bundle-relative path without `.md`, mapped to the document node),
unknown keys/types are preserved and tolerated, and `resource` is the only
metadata field treated as a path. Compile has no `--okf` flag and keeps Native
link semantics; `check --okf` additionally applies OKF bundle-root absolute
link semantics and reports conformance/notice diagnostics. OKF never executes an
executor or attester and never upgrades trust.
## 5. Analysis input
Marqdo program semantics come only from the core CLI:
@@ -144,6 +166,14 @@ CommonMark/GFM/footnote options and never gain executable semantics.
## 5. Databases and freshness
Incremental compiles reuse digest-guarded normalised facts for unchanged
documents and never re-run Analysis when only plain Markdown changed. Any
`.mq.md`/manifest/lock/core-identity change re-runs Analysis conservatively. The
projection rows are then rewritten and committed in one transaction, so
incremental semantics equal a full compile; the write-volume benchmark is not
yet measured.
The database stores one `build` row with:
* application id and schema revision;
@@ -159,6 +189,16 @@ rejected with a rebuild instruction; nothing is migrated or overwritten. A
`knowledge.database_stale` unless `--snapshot` is supplied, in which case the
result states `current: false` and the snapshot digest.
## 5.1 Known limitations
* OKF bundle-root absolute links are only resolved by `check --okf`; compiled
Native knowledge reports them `out_of_scope`.
* Single-character CJK queries use a bounded title/symbol/body probe and may be
truncated; they are not exhaustive.
* No schema migration: a schema revision change requires `compile --rebuild`.
* Semantic retrieval quality requires a real model; only protocol, validation,
storage and fusion are covered by this repository's tests.
## 6. Vocabulary
Resolution states: `resolved`, `not_loaded`, `missing`, `ambiguous`, `external`,