huskies: merge 959

This commit is contained in:
dave
2026-05-13 12:21:49 +00:00
parent c89a5c2da6
commit 604fb55bd8
4 changed files with 18 additions and 33 deletions
+1 -2
View File
@@ -40,11 +40,10 @@ pub(super) fn scan_stage_items(_project_root: &Path, stage_dir: &str) -> Vec<Str
let Some(want) = crate::pipeline_state::Stage::from_dir(normalised) else {
return Vec::new();
};
let want = want.dir_name();
// CRDT is the only source of truth — no filesystem fallback.
for item in crate::pipeline_state::read_all_typed() {
if item.stage.dir_name() == want {
if std::mem::discriminant(&item.stage) == std::mem::discriminant(&want) {
items.insert(item.story_id.0.clone());
}
}