huskies: merge 962
This commit is contained in:
@@ -16,9 +16,7 @@ pub(super) fn read_story_front_matter_agent(
|
||||
// Story 929: agent name comes from the CRDT register. The previous
|
||||
// YAML fallback is gone — post-891 every story has its CRDT entry,
|
||||
// and any story without one is treated as having no pinned agent.
|
||||
crate::crdt_state::read_item(story_id)
|
||||
.and_then(|w| w.agent().map(str::to_string))
|
||||
.filter(|s| !s.is_empty())
|
||||
crate::crdt_state::read_item(story_id).and_then(|w| w.agent().map(|a| a.to_string()))
|
||||
}
|
||||
|
||||
/// Return `true` if the story is in `Stage::ReviewHold`.
|
||||
|
||||
Reference in New Issue
Block a user