Skip to content

Run the Hermes social digest collector on nixnuc - #734

Merged
genebean merged 1 commit into
mainfrom
feature/hermes-social-digest-nixnuc
Sep 27, 2026
Merged

genebean merged 1 commit into
mainfrom
feature/hermes-social-digest-nixnuc

Conversation

@genebean

Copy link
Copy Markdown
Owner

Summary

  • Adds hermes-social-digest-pipeline as a flake input and enables services.hermes-social-digest-collect on nixnuc via the new nixosModules.default from that repo
  • Co-located with social-reader-mcp's HTTP listener on the same host (loopback URL) — no LAN/Tailscale hop for this consumer
  • Dedicated system user, separate from social-reader-mcp's, with a narrowly-scoped secret (hermes_social_digest_mcp_token, bearer token only — not the same file that also carries Mastodon/Bluesky/Nostr credentials)
  • Only automates the deterministic collect/catch-up half of the pipeline. Turning candidates into a delivered digest still needs an actual agent invocation — separate, more deliberate work later

Test plan

  • nix flake check
  • Full nixnuc closure build
  • deploy-rs --dry-activate --skip-checks against nixnuc — confirmed hermes_social_digest_mcp_token would be added and both hermes-social-digest-collect/hermes-social-digest-catchup units would start
  • Real deploy + confirm timers fire and reach social-reader-mcp on schedule

🤖 Generated with Claude Code

Adds hermes-social-digest-pipeline as a flake input and enables
services.hermes-social-digest-collect on nixnuc, co-located with the
existing social-reader-mcp HTTP listener (loopback URL — no LAN/Tailscale
hop). Runs as its own dedicated system user with strict systemd
hardening, separate from social-reader-mcp's user and from the
hermes_social_digest_mcp_token secret (which carries only the bearer
token this collector needs, not the platform credentials
social_reader_mcp_env also holds).

This only automates the deterministic collect/catch-up half of the
pipeline. Turning collected candidates into a delivered digest still
needs an actual agent invocation, which is a separate, more deliberate
piece of foundation work (a scoped Hermes coordinator identity) rather
than something to fold in here.

Verified with `nix flake check`, a full nixnuc closure build, and
`deploy-rs --dry-activate --skip-checks` against nixnuc, which confirmed
the new secret and both systemd units activate as expected.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@genebean
genebean force-pushed the feature/hermes-social-digest-nixnuc branch from 697f1ab to 9851726 Compare September 27, 2026 01:41
@genebean
genebean enabled auto-merge September 27, 2026 01:41
@genebean
genebean merged commit 2ad8b05 into main Sep 27, 2026
7 checks passed
@genebean
genebean deleted the feature/hermes-social-digest-nixnuc branch September 27, 2026 01:47
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