Design StarRouter stabilization and StarIntel bridge - #1
Draft
lost-rob0t wants to merge 1 commit into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What changed
Adds a research/design baseline for stabilizing StarRouter and building a durable StarRouter → StarIntel Server bridge.
The new
docs/design/set covers:Why
The current broker is explicitly documented as pre-alpha and the source audit found correctness issues that should be contained before a StarIntel bridge is allowed to amplify traffic. Major verified findings include duplicate dispatch/ACK behavior in
handleMessage,Client.newMessagenot assigning the requested event type, and target routing mutatingnewMsgbut publishingmsg.The bridge design uses StarIntel's documented RabbitMQ
documentsexchange as the native destination. It targets at-least-once durable forwarding with idempotent downstream effects, a local durable outbox, mandatory routing, and Rabbit publisher confirms rather than treating ZeroMQ PUB/SUB or an HTTP 2xx as proof of durable persistence.Developer/operator impact
No production code changes in this PR. This is the design gate for later implementation slices. The proposed first implementation slice is an executable deterministic test harness and
nix flake checkcontract before correctness fixes are made.Validation
Runtime execution was not performed in the current environment because a local checkout could not reach GitHub; the documents explicitly distinguish source-verified findings from runtime hypotheses that the new harness must reproduce.