Compare commits

...
1 Commits
Author SHA1 Message Date
marqdo-knowledge d8fa201b28 docs(release): record 0.1.0-beta.3 publication evidence
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
- 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
4 changed files with 147 additions and 8 deletions

No files matched your search

+10 -2
View File
@@ -7,7 +7,14 @@ must not be claimed as passing.
## Release state ## Release state
- Channel: **beta** (`0.1.0-beta.3`), Linux x86_64. Not a stable claim. - Channel: **beta** (`0.1.0-beta.3`), Linux x86_64. Not a stable claim.
- Release notes: [`releases/0.1.0-beta.3.md`](releases/0.1.0-beta.3.md). - 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), - CI/CD: [`.woodpecker/main.yml`](../.woodpecker/main.yml),
[`.github/workflows/ci.yml`](../.github/workflows/ci.yml) and [`.github/workflows/ci.yml`](../.github/workflows/ci.yml) and
[`scripts/ci.sh`](../scripts/ci.sh); procedure in [`ci.md`](ci.md) and [`scripts/ci.sh`](../scripts/ci.sh); procedure in [`ci.md`](ci.md) and
@@ -58,7 +65,8 @@ must not be claimed as passing.
| Windows/macOS native testing | Release candidate platform is Linux x86_64 only. | | 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. | | 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. | | Release archive native install on other platforms | Archive was built and cold-installed on Linux x86_64 only. |
| CI provider run URL for this beta | The pipeline configuration is committed; no external Woodpecker/GitHub run URL is recorded in this workspace. Local lanes were executed on the release SHA. | | 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. | | 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. | | 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. |
+11
View File
@@ -43,6 +43,17 @@ recording a new Analysis fixture artifact.
| release build | `cargo build --release --locked` | | release build | `cargo build --release --locked` |
| deterministic package + cold install | `python3 tools/release/package.py ... && python3 tools/release/smoke.py --archive ...` | | deterministic package + cold install | `python3 tools/release/package.py ... && python3 tools/release/smoke.py --archive ...` |
## Forge publication from the tag lane
The tag-only release lane builds and smoke-tests the deterministic archive and
then invokes `tools/release/publish-gitea.py` when `GITEA_TOKEN` is present in
the step environment. If the Woodpecker instance does not inject repository
secrets into tag pipelines, the lane prints a `publish: skipped` notice, keeps
the build/smoke evidence, and the prerelease is published from the same tagged
SHA by a reviewed local invocation with the token read from a local-only
environment file. Never put the token in the repository, pipeline config, logs
or documentation.
## Not gated by CI (explicit non-claims) ## Not gated by CI (explicit non-claims)
- Real-model semantic quality benchmark (§8.3/§16) — needs a pinned model and - Real-model semantic quality benchmark (§8.3/§16) — needs a pinned model and
+107
View File
@@ -0,0 +1,107 @@
# Evidence: 0.1.0-beta.3 beta release
Date: 2026-11-26 (Asia/Shanghai)
Release channel: **beta** (not a stable-version claim)
Platform: Linux x86_64
Tool version: `0.1.0-beta.3`
Source/tag commit: `3edad237cfa92fc59822cfa13dd5480c3fac6532`
Tag: `v0.1.0-beta.3` (annotated)
Core CLI baseline: `cflmy/marqdo-cli` `3.0.0-rc.4`
(`4bbefc92449ee480c8a2c89b0308feb4cda8d0e7`), Analysis revision 3.
Contracts: `marqdo.cli-tool` revision 1, tool API revision 1, consumed Analysis
revision 3, SQLite schema revision 1, result/error envelope schema_version 1,
OKF 0.3.
## Published release
- Release URL:
<https://git.cflmy.cn/cflmy/marqdo-knowledge/releases/tag/v0.1.0-beta.3>
- Gitea release id: 76, `prerelease: true`, `draft: false`
- Assets uploaded and verified through the Gitea API:
- `marqdo-knowledge-0.1.0-beta.3-x86_64-unknown-linux-gnu.tar.gz` (3,838,786 bytes)
- `marqdo-knowledge-0.1.0-beta.3-x86_64-unknown-linux-gnu.tar.gz.sha256`
- `RELEASE_INFO.json`
- `FILES.sha256`
- `smoke-evidence.json`
- Published archive SHA-256:
`feaa99701c01123c6eab3e804226dbb4096c3272b1e4f917c421233948198c55`
- Published archive `source_sha`: `3edad237cfa92fc59822cfa13dd5480c3fac6532`
## CI/CD evidence
Tag-only Woodpecker pipeline **#11**: **success** on commit `3edad237`.
- Pipeline: <https://ci.cflmy.cn/repos/4/pipeline/11>
- Lanes: `test` (metadata consistency, fmt, clippy `-D warnings`, locked
workspace tests), `minimum-rust` (1.89 check), `core-analysis` (builds the
pinned core CLI and runs the real Analysis integration tests), `release`
(locked release build, deterministic package, cold-install smoke).
- CI-produced archive SHA-256 (same source commit, CI build environment):
`358acbb2279740b35dd800764ac649b7a122e4940c7209ad99c306c12e55642c`
- CI smoke result: `smoke: OK`; packaged example compile 5 documents, query
4 hits, check database current with 0 errors.
Local gates on the same source commit:
- `python3 tools/ci/test_release_metadata.py`: PASS.
- `cargo fmt --all -- --check`: clean.
- `cargo clippy --workspace --all-targets --locked -- -D warnings`: clean.
- `cargo test --workspace --locked` with the real rc.4 core binary:
139 passed / 0 failed.
- `cargo build --release --locked`: clean.
- Local deterministic package and `tools/release/smoke.py` against the real
core CLI: `smoke: OK` (checksum/manifest/version, install, help, compile,
query, check, remove).
The CI archive and the published local archive are different byte streams
because they were built in different build environments, but both record the
same `SOURCE_SHA` and the same tool/contract versions. The published asset and
its checksum are the authoritative artifact for this release; the CI archive SHA
is recorded for traceability only.
## Publication path and known infrastructure limitation
This Woodpecker instance (3.20.1) did not inject the repository `GITEA_TOKEN`
secret into tag pipelines, neither as an implicit repo secret nor through an
explicit `environment.from_secret` mapping. The tag lane therefore keeps the
deterministic package and cold-install smoke as its CI evidence and records a
`publish: skipped` notice instead of failing. The Gitea prerelease was published
from the same tagged source commit by a reviewed local invocation of
`tools/release/publish-gitea.py`; the token was read from the local-only
`.secrets/release.env` (git-ignored) and never printed or committed.
The pipeline is configured to publish automatically when the secret injection
becomes available; no source or release change is required for that.
## Withdrawn tag
`v0.1.0-beta.2` was withdrawn and its remote tag deleted. Its tag-only release
lane failed before packaging because the lane did not build the tool release
binary; no archive or Gitea release was produced for it. Do not use that tag.
## Reproduction
```sh
# From the tagged commit, with a compatible core CLI:
python3 tools/ci/test_release_metadata.py
cargo fmt --all -- --check
cargo clippy --workspace --all-targets --locked -- -D warnings
MARQDO_TEST_BIN=/path/to/marqdo cargo test --workspace --locked
cargo build --release --locked
python3 tools/release/package.py \
--source-sha "$(git rev-parse HEAD)" \
--version "$(sed -n 's/^version = "\(.*\)"/\1/p' Cargo.toml | head -1)"
MARQDO_BIN=/path/to/marqdo python3 tools/release/smoke.py \
--archive "dist/marqdo-knowledge-0.1.0-beta.3-x86_64-unknown-linux-gnu.tar.gz"
```
## Not evidence for
- Real-model semantic retrieval quality (protocol mock only).
- Specification §16 retrieval/performance gates, latency/RSS/build-time or
incremental write-volume benchmarks.
- Windows/macOS platform support.
- Upstream batch Analysis interface (per-entry `check --emit` is used).
- Byte-identical archive reproducibility across different build environments.
+19 -6
View File
@@ -30,7 +30,7 @@ Contract versions (unchanged from beta.1):
traceback when the release binary is absent. traceback when the release binary is absent.
- No tool behaviour, CLI surface, contract or schema change. - No tool behaviour, CLI surface, contract or schema change.
Release evidence produced by the pipeline on this SHA: Release evidence produced for this SHA:
- metadata consistency gate PASS; - metadata consistency gate PASS;
- fmt/clippy/tests (including the real rc.4 Analysis integration) PASS; - fmt/clippy/tests (including the real rc.4 Analysis integration) PASS;
@@ -39,8 +39,8 @@ Release evidence produced by the pipeline on this SHA:
- cold-install smoke through the real core CLI: archive checksum/manifest/ - cold-install smoke through the real core CLI: archive checksum/manifest/
version verified, install -> help -> compile packaged example -> query -> version verified, install -> help -> compile packaged example -> query ->
check (current, 0 errors) -> remove; check (current, 0 errors) -> remove;
- Gitea prerelease for the tag with the archive and evidence assets attached - Gitea prerelease for the tag with the archive and evidence assets attached;
(recorded in `dist/gitea-release-evidence.json` by the release lane). see the Evidence section below for URLs and checksums.
## What is complete in this beta ## What is complete in this beta
@@ -129,6 +129,19 @@ Diagnostics never include source text, credentials or absolute paths.
integration and local cold install. integration and local cold install.
- `docs/STATUS.md` — implemented/tested vs NOT RUN matrix. - `docs/STATUS.md` — implemented/tested vs NOT RUN matrix.
- `docs/ci.md`, `docs/releasing.md` — gates, non-gates and frozen-SHA procedure. - `docs/ci.md`, `docs/releasing.md` — gates, non-gates and frozen-SHA procedure.
- Pipeline run, archive checksum, `FILES.sha256`, `RELEASE_INFO.json`, - Gitea prerelease:
`dist/smoke-evidence.json` and the Gitea prerelease record the same release <https://git.cflmy.cn/cflmy/marqdo-knowledge/releases/tag/v0.1.0-beta.3>
SHA. (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`.