story-kit: merge 133_story_clean_up_agent_state_on_story_archive_and_add_ttl_for_completed_entries

This commit is contained in:
Dave
2026-02-24 13:20:59 +00:00
parent e49be6b905
commit 6170a7d984
4 changed files with 267 additions and 13 deletions

View File

@@ -66,7 +66,7 @@ struct WorktreeListEntry {
/// Used to exclude agents for already-archived stories from the `list_agents`
/// response so the agents panel is not cluttered with old completed items on
/// frontend startup.
fn story_is_archived(project_root: &path::Path, story_id: &str) -> bool {
pub fn story_is_archived(project_root: &path::Path, story_id: &str) -> bool {
project_root
.join(".story_kit")
.join("work")