- resolve explicit dir/file roots, reject symlink roots and unsafe --exclude
globs; keep the database at <root>/.marqdo/knowledge.sqlite
- walk without following symlinks, skip .git/.marqdo/target/node_modules and
hidden entries, sort by byte-wise root-relative path
- read exact UTF-8 bytes with per-file/total/document budgets and digest
based source-change detection before publishing
- record marqdo.yaml/marqdo.lock and referenced local assets as inputs;
asset digests are bounded and never full-text indexed
- add validate_relative_path/resolve_link_path/safe_join primitives with
traversal, drive/UNC, NUL and escape tests
- 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