Expand description
Durable task history: one append-only row per status transition.
Read by the boardโs worked-time computation and the retroโs metrics; never rewritten. Keys carry project, task and the instant, so a read comes back grouped by task and ordered by time within each.
Re-exportsยง
use anyhow::Context;๐use forge_primitives::tasks::TaskTransition;๐use redb::ReadableTable;๐use redb::TableDefinition;๐use super::Db;๐
Constantsยง
- TASK_
HISTORY ๐
Functionsยง
- append
- Append
transitions; never rewrites what is there. - list_
for_ project projectโs transitions, grouped by task and ordered by time.- row_key ๐
- The row key for one transition: project, task, and the instant as zero-padded nanos, so a taskโs rows read in the order they happened.