mif-cli
Command-line interface for the MIF (Modeled Information Format) ecosystem.
validate accepts markdown-with-frontmatter or a JSON-LD projection, proving the markdown <-> JSON-LD round trip is lossless either way, with no side effects (no embedding model load, no vector store write). ingest lints, validates, proves a lossless round trip, computes an embedding, and stores it (--db-path defaults to .mif/vectors.db). search and find-similar rank previously ingested documents by similarity (--limit defaults to 10). corpus-stats reports count and embedding dimensionality over the vector store.
The global --format pretty|json flag selects how errors render (defaults to pretty on a terminal, json otherwise): pretty prints plain Error: ... text; json renders a compact RFC 9457 application/problem+json envelope on stderr.
License
MIT