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
- 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
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
- 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