Expand description
Cooperative work items — phases, epics, stories, tasks, issues, bugs, and milestones — with WBS hierarchy, PDM dependencies, and a replay-safe Kanban board.
A WorkItem is created once (immutable core). Status transitions are separate immutable
WorkItemStatusEvent records; the current status is a derived projection — the latest
event per work item — never a mutated field. Deduping events by stable id before deriving
makes the board invariant under duplicated, reordered, or replayed sync frames (plan §8.3/§8.4).
Re-exports§
pub use crate::work_graph::detect_semantic_conflicts;pub use crate::work_graph::merge_dependencies;pub use crate::work_graph::DepKind;pub use crate::work_graph::Lag;pub use crate::work_graph::SemanticConflict;pub use crate::work_graph::TaskConstraint;pub use crate::work_graph::TaskRef;pub use crate::work_graph::ThreePointEstimate;pub use crate::work_graph::TimeEntry;pub use crate::work_graph::WorkDependency;
Structs§
- Board
Card - A card as rendered on the board.
- Board
Column - A Kanban column: a status and the cards currently in it.
- Work
Item - The immutable core of a work item. Its status is derived from status events, not stored here.
- Work
Item Status Event - An immutable status transition for a work item. The board derives the current status as the latest event per work item.
Enums§
- Work
Item Priority - Work
Item Status - Kanban lifecycle status.
ORDERgives the canonical column ordering for board rendering. - Work
Item Type - The kind of work item across WBS and Agile/Kanban views.
Functions§
- build_
work_ item_ envelope - Builds work-item-envelope.
- build_
work_ item_ status_ envelope - Builds work-item-status-envelope.
- current_
status - The current status of a work item = the latest event (by time, then id) for it, or
Todoif it has no status events yet. Pure over the unique-event-id set (duplicates collapse first). - derive_
board - Derive the Kanban board for a set of work items and their status events.
- merge_
status_ events - Merge status-event sets add-wins by stable id (never re-apply), deterministically ordered by (time, id). Idempotent and order-independent — the basis for replay-safe board derivation.
- parse_
work_ item_ status_ summary - Parses work-item-status-summary.
- parse_
work_ item_ summary - Reconstruct a
WorkItemfrom a stored/transmitted summary JSON (fields not in the summary take their defaults). ReturnsNoneon malformed input. - work_
item_ record_ id work-item-recordID.- work_
item_ status_ record_ id work-item-status-recordID.- work_
item_ status_ summary - Work-item status summary.
- work_
item_ summary - Work-item summary (lossless across WBS and PDM fields).