Drop "to every loop" from the broadcast text (#375) - #389
Merged
Merged
Conversation
Every recipient of a broadcast read "[graphcode] to every loop — …" as a cue to address every loop itself, so a single broadcast set the graph talking in circles. A broadcast now reads exactly like a `node send`: "[graphcode] Sender: text", or "[graphcode] text" from a human. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Signed-off-by: scgopi <scgopireddy@gmail.com>
scgopi
force-pushed
the
fix/375-broadcast-prefix
branch
from
September 19, 2026 03:40
137f66d to
e6c947f
Compare
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.
Summary
Drops "to every loop" from the text a broadcast types into each session. Follow-up to #382 (#375).
Changes
graphcode node send:[graphcode] Sender: text, or[graphcode] textwhen a human sends it.[graphcode] to every loop — …, read it as a cue to address every loop itself, and a single broadcast set the whole graph messaging in circles.@allletter per broadcast; only the text typed into sessions changes.Test plan
RED: xcodebuild test -only-testing:graphcodeTests/BroadcastMessageTests with the updated expectations on main's GraphStore.swift -> exit 65, TEST FAILED: delivered text and staged memo still carry "to every loop"
GREEN: xcodebuild test -only-testing:graphcodeTests/BroadcastMessageTests -> exit 0, 6 tests in 1 suite passed
REGRESSION: xcodebuild -scheme graphcode test, graphcoded and graphcode-cli builds, make check, swift test --package-path investigation/spikes/swift-portable -> exit 0, 1895 tests in 199 suites passed; both schemes build; make check clean; portable package passes
Checklist
git commit -s) per the DCOmake test)make check)