<feed xmlns='http://www.w3.org/2005/Atom'>
<title>octosentry.git/octosentry/PersistenceStore.swift, branch 0.4.0</title>
<subtitle>macos menu bar app. github security alerts in one feed.
</subtitle>
<id>http://git.krz.sh/krz/octosentry.git/atom?h=0.4.0</id>
<link rel='self' href='http://git.krz.sh/krz/octosentry.git/atom?h=0.4.0'/>
<link rel='alternate' type='text/html' href='http://git.krz.sh/krz/octosentry.git/'/>
<updated>2026-07-17T21:41:52+00:00</updated>
<entry>
<title>Add persistence, multi-repo watch list, and background polling</title>
<updated>2026-07-17T21:41:52+00:00</updated>
<author>
<name>Christian Cleberg</name>
<email>hello@cleberg.net</email>
</author>
<published>2026-07-17T21:41:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.krz.sh/krz/octosentry.git/commit/?id=2f72d3d0736a6fac306d4e5d9406cb33b08bc2a0'/>
<id>urn:sha1:2f72d3d0736a6fac306d4e5d9406cb33b08bc2a0</id>
<content type='text'>
Closes #1-#5 (milestones 0.2.0, 0.3.0).

- Flat JSON persistence (PersistedState/PersistenceStore) in Application
  Support, chosen over SwiftData since the dataset is small and the
  existing model types are plain Codable value types passed across actor
  boundaries.
- Repo watch list, per-event seen-state, and last-fetch timestamps are
  now persisted instead of living only in memory.
- Configurable minimum severity filter, applied from a cached raw fetch
  so changing it doesn't require a network round-trip.
- Multi-repo support: SecurityEventStore now loops over a persisted watch
  list instead of one hardcoded repo, with an in-popover UI (gear button)
  to add/remove repos.
- Background polling every 15 minutes, layered on top of the existing
  refresh-on-open and manual refresh, so the feed stays fresh even while
  the popover is closed.
</content>
</entry>
</feed>
