Implement the P3 part of marqdo-knowledge#14 with an executable, fixture-scoped
quality set instead of unmeasured claims:
- tests/quality.rs: fixed 5-document fixture (navigation index + 4 knowledge
docs), 5 unique-title queries; computes hit@1, hit@3, MRR, navigation role,
stale refusal and snapshot stale marking; prints one QUALITY_METRICS JSON
line so CI logs can archive the numbers.
- docs/QUALITY.md defines each metric, the first-round values, the fixed
fixture scope and the explicit non-claims (no production recall/latency/RSS
threshold).
- docs/STATUS.md records the implementation; evidence:
docs/evidence/2026-11-30-quality-first-round.md (5/5 hit@1, MRR 1.0,
navigation role index, stale refused/marked on this fixture).
No CLI/other component change, no release, no new index or metadata.
Continue marqdo-knowledge#14 P2 with one additive, path-convention-derived
field on every query hit: role = entry (index.mq.md), index/log (OKF reserved
files), document (other .mq.md), concept (other .md), or unknown without a
source path.
This is navigation information for agents, not execution or authority: no new
metadata syntax, no extra source read, no second index. spec/knowledge.md
records the field and the path mapping; tests/query.rs compiles a real project
with all four roles; STATUS records implementation and test.
No release; schema_version stays 1 (additive optional-aware field).
Implement the P1 slice of marqdo-knowledge#14 with the #12 contract: every
query hit now carries the document-structure identity and source evidence it
came from, without re-parsing and without a second knowledge body.
- Index anchors from the public Analysis document facts next to each unit node,
including module_id, unit_kind, mode, level and path; plain-Markdown
documents keep null upstream identity instead of fabricating one.
- Query hits add an additive `location` object (module_id, unit_id, unit_kind,
anchors, path, level, mode, nature, exact span) and an `evidence` object
(status current|stale, source_digest, snapshot_digest). `nature` is
`unspecified` because the current public inputs do not declare authority;
Knowledge never guesses it.
- spec/knowledge.md documents §3.1.1 candidate location/evidence and §4.1
document-structure index semantics: entry vs navigation, units/anchors/spans,
and the link != import != call separation (links never become execution
edges). Schema stays version 1; fields are additive and optional.
- tests/query.rs asserts location/evidence on a real compiled project.
No new parser, no metadata syntax, no cross-repo dependency, no execution or
network behavior change.
CI / fmt + clippy + workspace tests (push) Canceled after 0s
CI / MSRV check (1.89) (push) Canceled after 0s
CI / real Analysis integration (pinned core CLI) (push) Canceled after 0s
CI / beta release archive (push) Canceled after 0s
- 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
CI / fmt + clippy + workspace tests (push) Canceled after 0s
CI / MSRV check (1.89) (push) Canceled after 0s
CI / real Analysis integration (pinned core CLI) (push) Canceled after 0s
CI / beta release archive (push) Canceled after 0s
- build target/release/marqdo-knowledge in both tag-release lanes before the
deterministic packager; beta.2 failed exactly at that missing step and
produced no archive or Gitea release
- package.py now fails with a corrective message instead of a traceback when
the release binary is absent
- bump the tool to 0.1.0-beta.3, add release notes and CHANGELOG entry and mark
v0.1.0-beta.2 withdrawn; contracts and SQLite schema are unchanged
- keep the full completed / NOT complete inventory and beta limitations
unchanged
- bump the tool to 0.1.0-beta.2; contracts and SQLite schema are unchanged
from beta.1 (api_revision 1, analysis 3, schema 1, OKF 0.3)
- add detailed beta.2 release notes and CHANGELOG entry: deterministic archive
and manifest, smoke evidence, metadata gate, CI/CD alignment; tool behaviour
is unchanged and beta.1 remains a valid pre-release tag
- keep the complete / explicitly NOT complete inventory, compatibility,
security and evidence sections; document that remote publication and the
benchmark/real-model/platform gaps are still NOT RUN
- update README, STATUS and the public contract to the beta.2 release line
- add tools/release/package.py: sorted, commit-timestamped, uid/gid-normalised
deterministic archive; refuses dirty trees, source-SHA mismatch and stale
versions; emits SOURCE_SHA, FILES.sha256 and RELEASE_INFO.json with binaries,
protocol revisions, core baseline and manifest digest
- add tools/release/smoke.py: verifies checksum/manifest/source/version then
cold-installs the archive through a real core CLI into an isolated
MARQDO_TOOL_HOME and exercises help/compile/query/check/remove, writing smoke
evidence
- add tools/ci/test_release_metadata.py: single CI gate for version/fact
consistency across Cargo files, tool.json, spec, CHANGELOG, release notes,
README and CI configuration
- Woodpecker and GitHub pipelines now run the metadata gate and use the Python
packager/smoke test in the tag-only release lane; shell release scripts are
thin wrappers; docs/ci.md and docs/releasing.md document gates and non-gates
First beta. This is not a stable claim.
- bump the tool version to 0.1.0-beta.1 in Cargo.toml/Cargo.lock,
packaging/tool.json and the public contract; no protocol/schema revision
changes (api_revision 1, analysis 3, sqlite schema 1)
- add CHANGELOG.md and docs/releases/0.1.0-beta.1.md with a detailed
completed / explicitly NOT completed inventory, compatibility, security,
install and upgrade notes
- record the beta platform claim (Linux x86_64 only) and the CI/CD pointers in
README and docs/STATUS.md, keeping real-model semantic quality, §16
retrieval/performance gates, non-Linux platforms, upstream batch Analysis,
incremental write-volume and OKF absolute-link compile semantics as NOT RUN
or documented limitations
Modeled on cflmy/marqdo-cli:
- Woodpecker pipeline with fmt/clippy/tests, MSRV 1.89 lane, a lane that builds
the pinned core CLI and runs the real Analysis integration tests, and a
tag-only release lane
- GitHub Actions mirror with the same gates plus artifact upload and
prerelease publication
- scripts/ci.sh local lanes (test/minimum/core/release/all)
- package-release.sh now refuses a dirty tree or SOURCE_SHA mismatch, runs a
locked release build and records SOURCE_SHA, RELEASE_INFO.json and SHA-256
- verify-release.sh cold-installs the archive into an isolated MARQDO_TOOL_HOME
and runs the documented install/help/compile/query/check/remove smoke path
- docs/ci.md and docs/releasing.md document gates, explicit non-gates and the
beta freeze/tag procedure
- build the locked release archive (tool.json + bin + docs/spec) and record its
SHA-256
- cold install that archive with the real marqdo rc.4 CLI in an isolated
MARQDO_TOOL_HOME: dispatch --help, compile the mixed example, query, check and
remove all succeeded
- mark the archive lane verified on Linux x86_64 and keep other platforms
explicitly NOT RUN; dist/ is a build artifact and is git-ignored
- 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
- 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