diff --git a/docs/agent-corrections.md b/docs/agent-corrections.md index 511d739..34ac818 100644 --- a/docs/agent-corrections.md +++ b/docs/agent-corrections.md @@ -11,6 +11,10 @@ Write rules only; omit incident histories and anecdotes. - Use “snapshot” for a point-in-time capture of code and conversation context; “revision” implies source control and changes the meaning. +## Performance + +- Keep the app preloading the transcript of every active, visible task when it loads the task list, so opening a task is instant; never trade that away to save downloads or memory. + ## Security - Accept other local OS accounts reaching preview forwards and Chrome’s loopback debugger on personal Macs; do not add authentication or account-isolating brokers for that threat. diff --git a/mac/Sources/Byre/Store.swift b/mac/Sources/Byre/Store.swift index c73a011..449aba7 100644 --- a/mac/Sources/Byre/Store.swift +++ b/mac/Sources/Byre/Store.swift @@ -329,6 +329,9 @@ final class Store { return } tasks[projectId] = list + for t in list where t.status == .active && !t.background { + _ = taskFeed(t.id) + } dropClosedFeeds() drafts?.prune(self) try await each(list.filter { $0.status == .active && sessions[$0.id] == nil }.map(\.id)) { id in