Skip to content

feat: add automatic archiving for inactive unpinned chats - #24

Merged
NickTitle merged 5 commits into
mainfrom
nesposito/auto-archive-unpinned-block
Aug 13, 2026
Merged

feat: add automatic archiving for inactive unpinned chats#24
NickTitle merged 5 commits into
mainfrom
nesposito/auto-archive-unpinned-block

Conversation

@NickTitle

Copy link
Copy Markdown
Contributor

Summary

  • add an automatic archive duration picker under Settings → Archive, defaulting to Never
  • require explicit confirmation before enabling automatic archiving
  • sweep inactive chats on startup, hourly, when the app returns to the foreground, and when the setting changes
  • protect pinned, active, running, windowed, recently active, or draft-bearing chats
  • wait for persisted queues and window snapshots to hydrate before archiving
  • preserve worktrees and branches during automatic archival
  • isolate per-session failures and safely handle paged-out sessions
  • add English and Spanish copy plus preference, safety, selection, and UI coverage

Testing

  • pnpm check
  • pnpm typecheck
  • 233 focused Vitest tests
  • pre-push hooks: tauri-check, clippy, fmt-check, check

Prior review

Port of squareup/berd#1137, including all human, Builderbot, and adversarial-review follow-up fixes.

NickTitle and others added 5 commits August 13, 2026 12:59
Co-authored-by: Goose <opensource@block.xyz>
Co-authored-by: Goose <opensource@block.xyz>
Co-authored-by: Goose <opensource@block.xyz>
Co-authored-by: Goose <opensource@block.xyz>
Co-authored-by: Goose <opensource@block.xyz>
@NickTitle
NickTitle requested a review from a team August 13, 2026 17:33
@kalvinnchau kalvinnchau changed the title Add automatic archiving for inactive unpinned chats feat: add automatic archiving for inactive unpinned chats Aug 13, 2026
@NickTitle
NickTitle merged commit b140cdf into main Aug 13, 2026
10 checks passed
@NickTitle
NickTitle deleted the nesposito/auto-archive-unpinned-block branch August 13, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants