chore: bootstrap marqdo-knowledge crate, CLI surface and architecture docs
- 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
This commit is contained in:
1 parent
fbca63b972
commit
430f950631
19 files changed
+2945
No files matched your search
@@ -0,0 +1,20 @@
|
||||
//! Compile orchestration: the single write-transaction boundary.
|
||||
//!
|
||||
//! This module is filled in by the compiler milestone; the type signatures are
|
||||
//! the stable boundary used by `cli.rs`. It owns discovery, Analysis retrieval,
|
||||
//! graph linking, staging and atomic publishing.
|
||||
|
||||
use crate::cli::Output;
|
||||
use crate::cli::{CheckArgs, CompileArgs};
|
||||
use crate::error::KnowledgeError;
|
||||
use std::path::Path;
|
||||
|
||||
/// Compile or incrementally update one knowledge root.
|
||||
pub fn compile(_args: &CompileArgs, _marqdo_bin: Option<&Path>) -> Result<Output, KnowledgeError> {
|
||||
Err(KnowledgeError::not_implemented("compile"))
|
||||
}
|
||||
|
||||
/// Statically check sources and an existing database without writing.
|
||||
pub fn check(_args: &CheckArgs, _marqdo_bin: Option<&Path>) -> Result<Output, KnowledgeError> {
|
||||
Err(KnowledgeError::not_implemented("check"))
|
||||
}
|
||||
Reference in new issue
Block a user