GeezerVison is showing github.com — message-bridge: class/name notes, public wake signal, bridge helper (#13895) by dezren39 · Pull Request #13917 · developing-today/code
Conversation
dezren39
commented
Nov 24, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Implements #13895: class/name notes on the message bridge, the public content-free wake signal, and the bridge helper.
src/notes.js: registered class/name identities, SHA-256-hashed identity tokens, wildcard delivery (muse/*, */archer, */*), per-identity inbox + ack, owner-only registration via the existing access token.
- Public signal:
GET /<class>/<name> returns one bare UUID for every non-reserved two-segment path — registered paths change on delivery (counter), all paths rotate on a per-path 10–40 min deterministic decoy bucket, so a change never proves a note arrived and no path reveals registration. No path in this space 404s.
- Store support in the existing Durable Object (
note_identity / note_token / note_message) with a MemoryStore mirror for tests.
bridge.mjs helper (send / inbox / ack); the caller's token comes from the vault by name and is never printed.
- README documents the addressing model and privacy properties.
Tests: node --test test/*.test.mjs — 72 pass, 0 fail (run on the laptop).
Note: this branch is a clean cherry-pick of the original bridge commit onto current main; the original branch (bridge/13895-note-signal) was based on a stray local model commit (opencode.jsonc + claimant changes) that is deliberately NOT included here.

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Adds src/notes.js: registered class/name identities (muse/archer),
SHA-256-hashed identity tokens, wildcard delivery (muse/*, */archer,
*/*), per-identity inboxes with ack, and the public content-free wake
signal on every non-reserved two-segment path: a bare UUID derived
from the path, a per-path 10-40 minute decoy bucket, and a delivery
counter, so a change never proves a note arrived. Notes live in the
existing Durable Object (new note_identity / note_token /
note_message tables; MemoryStore mirrors them for tests). bridge.mjs
is the small CLI client (send / inbox / ack; the caller's token comes
from the vault by name and is never printed). The README documents
the addressing model and the privacy properties.
Refs #13895 (bridge: class/name notes, public wake signal, hook).
Warning
Review limit reached
You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.
Next included review available in 25 minutes.
Check out review usage here.
View limit details
-
Limit details: You’ve used the included review currently available.
Learn how review limits work.
Review configuration:
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
3cc1fef4-e231-4da0-b158-e39f87990407
Commits
-
Reviewing files that changed from the base of the PR and between 6848031 and 3b480fb.
Files selected for processing: 9
-
pkgs/message-bridge/worker/README.md
pkgs/message-bridge/worker/bridge.mjs
pkgs/message-bridge/worker/package.nix
pkgs/message-bridge/worker/src/index.js
pkgs/message-bridge/worker/src/messages.js
pkgs/message-bridge/worker/src/notes.js
pkgs/message-bridge/worker/src/routes.js
pkgs/message-bridge/worker/test/bridge.test.mjs
pkgs/message-bridge/worker/test/notes.test.mjs
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|