huskies: merge 951

This commit is contained in:
dave
2026-05-13 04:28:30 +00:00
parent c5abc44a63
commit 2f50e2198b
12 changed files with 178 additions and 218 deletions
+2 -2
View File
@@ -33,7 +33,7 @@ pub(crate) fn find_story_by_number(
if let Some(items) = crate::crdt_state::read_all_items() {
for item in items {
if item.story_id().split('_').next().unwrap_or("") == number {
let stage_dir = item.stage().as_dir().to_string();
let stage_dir = item.stage().dir_name().to_string();
let path = project_root
.join(".huskies")
.join("work")
@@ -54,7 +54,7 @@ pub(crate) fn find_story_by_number(
continue;
}
let stage_dir = crate::crdt_state::read_item(&id)
.map(|v| v.stage().as_dir().to_string())
.map(|v| v.stage().dir_name().to_string())
.unwrap_or_else(|| "backlog".to_string());
let path = project_root
.join(".huskies")