Files
marqdo-knowledge/docs/STATUS.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

101 lines
7.0 KiB
Markdown

# Status
Last updated: 2026-11-26 (release `0.1.0-beta.3`). Evidence-based: this file lists what the code does and
what was actually executed. Anything not listed as verified is **NOT RUN** and
must not be claimed as passing.
## Release state
- Channel: **beta** (`0.1.0-beta.3`), Linux x86_64. Not a stable claim.
- Release: <https://git.cflmy.cn/cflmy/marqdo-knowledge/releases/tag/v0.1.0-beta.3>
(prerelease; tag commit `3edad237cfa92fc59822cfa13dd5480c3fac6532`; published
archive SHA-256
`feaa99701c01123c6eab3e804226dbb4096c3272b1e4f917c421233948198c55`).
- Release notes: [`releases/0.1.0-beta.3.md`](releases/0.1.0-beta.3.md);
release evidence: [`evidence/2026-11-26-beta.3-release.md`](evidence/2026-11-26-beta.3-release.md).
- `v0.1.0-beta.2` was withdrawn (release lane failed before packaging); its tag
was deleted.
- CI/CD: [`.woodpecker/main.yml`](../.woodpecker/main.yml),
[`.github/workflows/ci.yml`](../.github/workflows/ci.yml) and
[`scripts/ci.sh`](../scripts/ci.sh); procedure in [`ci.md`](ci.md) and
[`releasing.md`](releasing.md).
- Archive: built by the deterministic release lane from the frozen source SHA
with `SOURCE_SHA`, `FILES.sha256`, `RELEASE_INFO.json`, a SHA-256 sidecar and
`dist/smoke-evidence.json`; the tag annotation records the exact archive hash.
- beta.2 contains release-engineering changes only (deterministic packaging,
manifest, smoke evidence, metadata CI gate); tool behaviour and schema are
unchanged from beta.1.
## Baselines
- Development specification: `marqdo-knowledge-development.md` (outside this
repository).
- Core CLI integration: `cflmy/marqdo-cli` `3.0.0-rc.4`
(`4bbefc92449ee480c8a2c89b0308feb4cda8d0e7`), `marqdo.analysis` revision 3,
`marqdo.cli-tool` revision 1, tool API revision 1.
- Committed Analysis fixture: `tests/fixtures/analysis/mechanics.json`, produced
by the real rc.4 binary (provenance in that directory's README).
## Implemented and tested
| Area | State | Evidence |
|---|---|---|
| Deterministic discovery, boundaries, budgets, snapshot digests | implemented | `src/document/discovery.rs` tests |
| Plain CommonMark/GFM projection with exact UTF-8 byte spans | implemented | `src/document/markdown.rs` tests |
| Analysis v3 closed-shape + semantic validation, tamper negatives | implemented | `src/document/analysis.rs` tests, committed real fixture |
| Core CLI process boundary, timeout, temp artifact, sanitisation | implemented | `tests/core_cli.rs` against real rc.4 binary |
| Unified graph, identities, exact reference resolution, statements/resources | implemented | `src/graph/*` tests |
| Single SQLite projection, constraints, atomic rebuild, transactional update, foreign-db refusal | implemented | `src/storage/*` tests, `tests/storage.rs` |
| Derived FTS5 (CJK bigram) + gram + embedding indexes | implemented | `tests/storage.rs`, `tests/embedding.rs` |
| Compile command incl. digest-based incremental facts reuse and conservative re-analysis bound | implemented | `tests/compile.rs` |
| Check command (sources, references, database structure/currentness) | implemented | `tests/compile.rs`, `tests/query.rs` |
| Exact / lexical / fuzzy / graph query, weighted RRF, bounded expansion | implemented | `src/query/*` tests, `tests/query.rs` |
| Document / execution / hybrid slices with 32 KiB budget | implemented | `tests/query.rs`, `src/query/slice.rs` |
| OKF v0.3 metadata recognition, reserved roles, concept aliases, `check --okf` conformance | implemented | `tests/okf.rs` |
| Explicit OpenAI-compatible semantic channel with all-or-nothing indexing | implemented | `tests/embedding.rs` (local mock protocol server) |
| Real `marqdo tool install` / dispatch / compile / query / check / remove (T01) | verified | cold install in isolated `MARQDO_TOOL_HOME` on 2026-11-26 with rc.4, both from a staged directory and from the built release archive |
| Packaging (`tool.json`, release archive script), CI workflow | implemented | `packaging/tool.json`, `scripts/package-release.sh`, `.github/workflows/ci.yml` |
## NOT RUN / not verified
| Item | Reason |
|---|---|
| Real-model semantic quality benchmark (§8.3/§16) | Requires a pinned open model revision and weights; only a protocol mock ran here. No semantic quality claim is made. |
| §16 retrieval/performance benchmarks (Recall@10, MRR, latency, RSS) | Frozen multi-domain dataset and reference hardware not available in this environment; no threshold claimed. |
| Windows/macOS native testing | Release candidate platform is Linux x86_64 only. |
| Upstream batch `--documents` Analysis interface (U01) | Current upstream exposes per-entry `check --emit`; this tool invokes it per `.mq.md` entry and merges contexts, as the specification permits for the development stage. |
| Release archive native install on other platforms | Archive was built and cold-installed on Linux x86_64 only. |
| Automatic CI publication of the Gitea release | The Woodpecker instance did not inject the repository token into tag pipelines; the tag lane records build/smoke evidence and a publish-skipped notice, and the prerelease was published from the same tagged SHA by a reviewed local invocation. |
| GitHub Actions run for this beta | The GitHub workflow is committed but this workspace has no GitHub remote/run; the Woodpecker lane is the executed CI evidence. |
| Version-freeze reproducibility of `RELEASE_INFO.json` | It contains build metadata (`built_at_utc`, rustc/cargo versions); the archive SHA is recorded by the pipeline, not reproducible byte-for-byte from the same commit. |
| Incremental write-granularity benchmark | Incremental compiles reuse facts (no re-analysis for plain-only edits) but rewrite the projection inside one transaction; the specification's write-count benchmark has not been run. |
## Known limitations (explicit, not hidden)
- **OKF root-absolute links** (`/path.md`) are given OKF semantics only in
`check --okf`; `compile` has no `--okf` flag and keeps Native semantics, so a
root-absolute link in a compiled OKF bundle is reported `out_of_scope` rather
than resolved. Relative OKF links and `resource` fields are resolved in both.
- **Incremental write granularity**: rows for the whole projection are rewritten
in the transaction. Semantics are equal to a full build and Analysis is not
re-run when only plain documents changed, but the write-volume benchmark is
unmeasured.
- **Semantic quality**: only the protocol, validation, storage, reuse and fusion
are tested; retrieval quality depends entirely on the user-supplied model.
- **Exact single-character CJK queries** use a bounded title/symbol/body probe
and report truncation; they are not a complete index scan.
- **No migration**: any schema revision change requires `compile --rebuild`.
## Reproduce
```sh
scripts/cargo.sh fmt --all -- --check
scripts/cargo.sh clippy --all-targets -- -D warnings
scripts/cargo.sh test --workspace --locked
scripts/cargo.sh build --release --locked
# Optional real-core integration lane:
MARQDO_TEST_BIN=/path/to/marqdo cargo test --test core_cli --test compile
# Full local release verification (requires real marqdo):
MARQDO_BIN=/path/to/marqdo scripts/verify-release.sh
```