Skip to content

feat: add wl herald command for wanted board notifications#26

Open
fkautz wants to merge 2 commits intogastownhall:mainfrom
fkautz:polecat/rictus-mmhzzy0o
Open

feat: add wl herald command for wanted board notifications#26
fkautz wants to merge 2 commits intogastownhall:mainfrom
fkautz:polecat/rictus-mmhzzy0o

Conversation

@fkautz
Copy link
Copy Markdown

@fkautz fkautz commented Mar 8, 2026

Summary

  • New internal/herald/ package with poll-based wanted board change detection
  • Pluggable Notifier interface for notification dispatch (ships with LogNotifier for stdout)
  • Lister interface for fetching current board state (adapts commons.BrowseWanted)
  • JSON state persistence in XDG data dir for tracking last-seen items
  • Diff() function comparing old/current snapshots
  • New wl herald command with --watch flag for continuous polling and --interval (default 60s)
  • 12 unit tests + 3 integration tests

Closes w-hop-005.

Test plan

  • 12 unit tests pass (Diff, StateStore, Poll, LogNotifier)
  • 3 integration tests pass (first-run, no-changes, not-joined)
  • Full test suite passes (go test ./...)

🤖 Generated with Claude Code

rictus and others added 2 commits March 8, 2026 10:14
Poll-based diffing of the wanted board with pluggable Notifier interface.
Persists snapshot state as JSON in XDG data dir. Supports one-shot and
continuous watch mode with configurable interval.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
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.

1 participant