feat(M018/S02): ChunkRef dependency encoding — add depends_on field #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "kata/root/M018/S02"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds
depends_on: Vec<String>toChunkRefinassay-types, enabling milestone chunks to declare scheduling constraints for Smelt-driven manifest generation.Slice: S02 — ChunkRef dependency encoding
Milestone: M018 — Single-Agent Harness + Smelt Manifest Generation
Linear: WOL-161
Changes
ChunkRefgains#[serde(default, skip_serializing_if = "Vec::is_empty")] pub depends_on: Vec<String>orderdoc-comment updated: cosmetic/display-only; usedepends_onfor schedulingchunk-refandmilestoneinsta schema snapshots regeneratedChunkRef { slug, order }struct literals updated withdepends_on: vec![]across 9 files (2 source + 7 test)Verification
chunk_ref_depends_on_roundtrip— non-empty deps serialize/round-trip ✅chunk_ref_depends_on_absent_omitted— empty deps omitted; backward compat with existing TOML ✅chunk_ref_deny_unknown_fieldsregression ✅just readygreen (1583 tests) ✅Forward compatibility
Existing
.assay/milestones/<slug>.tomlfiles withoutdepends_oncontinue to deserialize correctly. Field is omitted from serialized output when empty. This is the data-layer foundation for S03 manifest generation.