huskies: merge 1087 story Pipeline+Status split — Step D: migrate CRDT storage to (Pipeline, Status) and remove the Stage enum

This commit is contained in:
dave
2026-05-15 08:42:35 +00:00
parent e82602db77
commit df32a1542b
5 changed files with 349 additions and 0 deletions
+4
View File
@@ -129,10 +129,14 @@ pub(crate) fn tool_show_epic(args: &Value, _ctx: &AppContext) -> Result<String,
if matches!(item.stage, Stage::Done { .. }) {
done += 1;
}
// Story 1087: expose pipeline + status alongside the legacy
// stage name so epic-show callers can route by column/badge.
member_items.push(json!({
"story_id": sid,
"name": item.name,
"stage": stage_name,
"pipeline": item.stage.pipeline().as_str(),
"status": item.stage.status().as_str(),
}));
}
}