Files
marqdo-knowledge/docs/releases/0.1.0-beta.3.md
T
marqdo-knowledge d8fa201b28
CI / fmt + clippy + workspace tests (push) Waiting to run
CI / MSRV check (1.89) (push) Waiting to run
CI / real Analysis integration (pinned core CLI) (push) Waiting to run
ci/woodpecker/push/main Pipeline was successful
docs(release): record 0.1.0-beta.3 publication evidence
- add docs/evidence/2026-11-26-beta.3-release.md: tag/source commit, Gitea
  release URL and assets, published archive SHA-256, CI tag pipeline #11
  success and its archive SHA, local 139-test gate results, withdrawn beta.2
  tag, and the explicit secret-injection limitation with the reviewed local
  publish path
- link the release/evidence from docs/STATUS.md, the beta.3 release notes and
  docs/ci.md; keep the NOT RUN inventory unchanged
- record the local release/CI bookkeeping in the git-ignored .secrets notes
2026-11-26 09:59:32 +08:00

148 lines
7.0 KiB
Markdown

# marqdo-knowledge 0.1.0-beta.3
Release date: 2026-11-26
Release channel: **beta** (not a stable-version claim)
Platform: Linux x86_64 (glibc)
Supersedes: `0.1.0-beta.2` (whose tag-only release lane failed because the lane
did not build the tool release binary before packaging; the `v0.1.0-beta.2` tag
is withdrawn and must not be used).
Core CLI integration baseline: `cflmy/marqdo-cli` `3.0.0-rc.4`
(`4bbefc92449ee480c8a2c89b0308feb4cda8d0e7`)
Contract versions (unchanged from beta.1):
| Boundary | Version |
|---|---|
| `marqdo.cli-tool` | revision 1 |
| tool API revision | 1 |
| consumed `marqdo.analysis` | revision 3 (current closed shape) |
| SQLite schema | revision 1 |
| result/error envelope | schema_version 1 |
| OKF | 0.3 |
## Changes since beta.2 (CI release lane only)
- Woodpecker and GitHub tag-release lanes now run
`cargo build --release --locked` for the tool before invoking the deterministic
packager; beta.2 failed at this point and produced no archive.
- `tools/release/package.py` fails with a corrective message instead of a
traceback when the release binary is absent.
- No tool behaviour, CLI surface, contract or schema change.
Release evidence produced for this SHA:
- metadata consistency gate PASS;
- fmt/clippy/tests (including the real rc.4 Analysis integration) PASS;
- deterministic archive with `SOURCE_SHA`, `FILES.sha256`, `RELEASE_INFO.json`
and sidecar SHA-256;
- cold-install smoke through the real core CLI: archive checksum/manifest/
version verified, install -> help -> compile packaged example -> query ->
check (current, 0 errors) -> remove;
- Gitea prerelease for the tag with the archive and evidence assets attached;
see the Evidence section below for URLs and checksums.
## What is complete in this beta
- `compile`, `check`, `query` exactly as documented in
[`0.1.0-beta.1.md`](0.1.0-beta.1.md): deterministic discovery and snapshot,
plain Markdown projection, the current public Analysis v3 adapter, unified
graph, one rebuildable SQLite projection, atomic rebuild and transactional
incremental update, stale-snapshot refusal, OKF v0.3 metadata recognition and
`check --okf`, exact/lexical/fuzzy/graph/semantic channels, weighted RRF,
bounded graph expansion, document/execution/hybrid slices.
- Explicit OpenAI-compatible semantic indexing/query with strict response
validation, content/model-digest reuse and all-or-nothing publication.
- Deterministic packaging, per-file manifest, release metadata, cold-install
smoke verification, Gitea prerelease publication and CI gates for formatting,
lints, tests, MSRV, real core Analysis integration and release metadata.
- Security defaults unchanged: no execution, root-confined filesystem access,
offline by default, credentials only from the environment, atomic
publication, no schema migration or foreign-database overwrite.
## What is NOT complete in this beta
These are explicit non-claims; see [`docs/STATUS.md`](../STATUS.md).
1. **Real-model semantic quality benchmark**: only protocol, validation,
storage, reuse and fusion are exercised (local mock). No pinned model was
run; no semantic Recall@10 claim is made.
2. **Specification §16 retrieval and performance gates**: frozen multi-domain
dataset, held-out queries, Recall/MRR/nDCG, latency/RSS/build-time and
incremental write-volume benchmarks are NOT RUN.
3. **Platforms**: Linux x86_64 only. Windows/macOS are untested and not claimed.
4. **Upstream batch Analysis interface (U01)**: the pinned core exposes
per-entry `check --emit`; this beta invokes it per `.mq.md` entry and merges
contexts conservatively.
5. **Incremental write granularity**: facts reuse avoids re-analysis for
plain-only edits, but projection rows are rewritten in one transaction; the
write-volume benchmark is unmeasured.
6. **OKF compile-time absolute links**: root-absolute links receive OKF
semantics only in `check --okf`; `compile` keeps Native semantics.
7. **Single-character CJK queries**: bounded probe with truncation reporting,
not an exhaustive scan.
8. **No migration**: schema revision changes require `compile --rebuild`.
9. **Cross-toolchain reproducibility**: the archive is reproducible from the
same commit, binary and toolchain; byte-identical reproduction across
different Rust toolchains is not claimed.
## Install and first run
```sh
# Install the release bundle through a compatible core CLI:
marqdo tool install ./dist/marqdo-knowledge-0.1.0-beta.3-x86_64-unknown-linux-gnu
marqdo knowledge --help
marqdo knowledge compile ./examples/mixed --json
marqdo knowledge query '归一化' --root ./examples/mixed
marqdo knowledge check ./examples/mixed --json
marqdo tool remove knowledge
```
The tool requires a compatible core `marqdo` (`MARQDO_API_REVISION=1`,
Analysis revision 3) when dispatched. Direct development invocation accepts
`--marqdo-bin PATH`.
## Compatibility and upgrade notes
- Beta.3 is a drop-in replacement for beta.1: same CLI surface, contracts and
SQLite schema revision.
- Existing beta.1 databases remain readable (schema revision 1 unchanged); a
rebuild is not required.
- Any future schema revision change requires `compile --rebuild`; there is no
automatic migration.
- A database not created by this tool is never overwritten.
- The archive and `SOURCE_SHA` identify the exact source commit; checksums prove
content integrity only, not publisher authentication.
## Security notes
Default operation is offline. The only network path is an explicitly configured
embedding endpoint (compile-time embedding options or `--semantic`). Remote
endpoints require HTTPS and explicit `--allow-remote-embedding`; loopback HTTP is
allowed for local compatible services. The API key is read from
`MARQDO_KNOWLEDGE_EMBEDDING_API_KEY` and is never stored, logged or printed.
Diagnostics never include source text, credentials or absolute paths.
## Evidence
- `docs/evidence/2026-11-26-implementation.md` — tests, real Analysis
integration and local cold install.
- `docs/STATUS.md` — implemented/tested vs NOT RUN matrix.
- `docs/ci.md`, `docs/releasing.md` — gates, non-gates and frozen-SHA procedure.
- Gitea prerelease:
<https://git.cflmy.cn/cflmy/marqdo-knowledge/releases/tag/v0.1.0-beta.3>
(release id 76, `prerelease: true`) with the archive, sidecar checksum,
`RELEASE_INFO.json`, `FILES.sha256` and `smoke-evidence.json` attached.
- Source/tag commit `3edad237cfa92fc59822cfa13dd5480c3fac6532`; published
archive SHA-256
`feaa99701c01123c6eab3e804226dbb4096c3272b1e4f917c421233948198c55`.
- CI tag pipeline #11 success:
<https://ci.cflmy.cn/repos/4/pipeline/11>; CI archive SHA-256
`358acbb2279740b35dd800764ac649b7a122e4940c7209ad99c306c12e55642c`
(different build environment, same `SOURCE_SHA`).
- Full record: [`docs/evidence/2026-11-26-beta.3-release.md`](../evidence/2026-11-26-beta.3-release.md).
- Note: this Woodpecker instance does not inject repository secrets into tag
pipelines, so the tag lane records build/smoke evidence and a
`publish: skipped` notice; the prerelease was published from the same tagged
SHA by a reviewed local invocation of `tools/release/publish-gitea.py`.