feat(package): project manifest, deterministic lockfile and root discovery

Blueprint section 8, minimum viable P3:

- marqdo.yaml parsing/validation: project identity, dependency sources (path or
  git with mandatory exact rev), plugin requirements, capability requests;
  absolute dependency paths, ambiguous sources and unpinned git are errors.
- marqdo.lock: lock_version, sorted packages, canonical YAML with no
  timestamps or machine paths so repeated locking is byte-identical.
- discover_root walks up to the nearest marqdo.yaml.
- Manifest::template for `marqdo init`.
This commit is contained in:
cflmy committed 2026-11-20 10:43:59 +08:00
1 parent 6da206a906
commit 3f8dce013b
2 files changed
+357 -6

No files matched your search

+4 -6
View File
@@ -9,12 +9,10 @@ repository.workspace = true
authors.workspace = true
[dependencies]
marqdo-span = { workspace = true }
serde = { workspace = true }
serde_yaml = { workspace = true }
serde_json = { workspace = true }
sha2 = { workspace = true }
hex = { workspace = true }
thiserror = { workspace = true }
walkdir = { workspace = true }
[dev-dependencies]
tempfile = { workspace = true }