Preload transcripts of active visible tasks again

This commit is contained in:
Ian Gulliver
2026-10-21 11:13:24 -07:00
parent ae4cc5d57b
commit 94d882bbfa
2 changed files with 7 additions and 0 deletions
+4
View File
@@ -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. - 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 ## 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. - 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.
+3
View File
@@ -329,6 +329,9 @@ final class Store {
return return
} }
tasks[projectId] = list tasks[projectId] = list
for t in list where t.status == .active && !t.background {
_ = taskFeed(t.id)
}
dropClosedFeeds() dropClosedFeeds()
drafts?.prune(self) drafts?.prune(self)
try await each(list.filter { $0.status == .active && sessions[$0.id] == nil }.map(\.id)) { id in try await each(list.filter { $0.status == .active && sessions[$0.id] == nil }.map(\.id)) { id in