Add disabled Lantern planning bridge and private tunnel #51

Merged
cameron merged 1 commit from hermes/infrastructure:feat/lantern-planning-bridge into main 2026-10-12 13:15:33 -04:00
Contributor

Summary

Integrates the prior Lantern planning-bridge work on top of 796a9c1, preserving the latest Discord and Forgejo PAT configuration.

  • Adds a bounded authenticated loopback MCP mailbox, with exactly two planning-message tools, pause control, retry deduplication, and a private escaped transcript.
  • Adds a disabled-by-default NixOS module and manually started private tunnel with a checksum-pinned tunnel-client 0.0.16 package.
  • Keeps runtime credentials outside the Nix store through systemd LoadCredential; no real credentials are added.
  • Includes deployment instructions and tests. No flake inputs or lock changes.

Verified locally

  • Four Nix configuration tests passed.
  • Five mailbox/MCP tests passed.
  • Tunnel-client package builds; version/help exercised.
  • NixOS derivation evaluates, including enabled configuration in tests.
  • Staged whitespace and added-line security checks passed.
  • Independent review: no security or logic blockers. Nonblocking note: transcript rendering precedes SQLite commit; SQLite remains authoritative.

Deployment boundary

This PR does not deploy, start services, open firewall ports, or activate an external tunnel. The mailbox defaults to paused, and neither service autostarts. Real systemd credential loading, signed-provenance review, live tunnel authorization, intended-session delivery, automatic human-message relay, and shared archival retrieval remain acceptance gates. This is a transport/configuration draft, not a completed ChatGPT-to-Hermes connection.

## Summary Integrates the prior Lantern planning-bridge work on top of 796a9c1, preserving the latest Discord and Forgejo PAT configuration. - Adds a bounded authenticated loopback MCP mailbox, with exactly two planning-message tools, pause control, retry deduplication, and a private escaped transcript. - Adds a disabled-by-default NixOS module and manually started private tunnel with a checksum-pinned tunnel-client 0.0.16 package. - Keeps runtime credentials outside the Nix store through systemd LoadCredential; no real credentials are added. - Includes deployment instructions and tests. No flake inputs or lock changes. ## Verified locally - Four Nix configuration tests passed. - Five mailbox/MCP tests passed. - Tunnel-client package builds; version/help exercised. - NixOS derivation evaluates, including enabled configuration in tests. - Staged whitespace and added-line security checks passed. - Independent review: no security or logic blockers. Nonblocking note: transcript rendering precedes SQLite commit; SQLite remains authoritative. ## Deployment boundary This PR does not deploy, start services, open firewall ports, or activate an external tunnel. The mailbox defaults to paused, and neither service autostarts. Real systemd credential loading, signed-provenance review, live tunnel authorization, intended-session delivery, automatic human-message relay, and shared archival retrieval remain acceptance gates. This is a transport/configuration draft, not a completed ChatGPT-to-Hermes connection.
cameron approved these changes 2026-10-12 13:15:22 -04:00
cameron deleted branch feat/lantern-planning-bridge 2026-10-12 13:15:33 -04:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
cameron/infrastructure!51
No description provided.