Repository navigation
Type a direct send into any loop whose session is up - #1018
Merged
Merged
Conversation
node send staged a message to memory whenever the loop's state was not running/idle/waiting, unless it had succeeded or failed with a live session. Stopped, stalled, blocked and awaiting-input loops with a live session were never typed into, and a remote project's finished loops were always staged because the local zmx listing cannot see remote sessions. A direct send now types into any loop whose session is up, read through presence over ssh for a remote project, and stages only when there is no session. The loop's state is untouched. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: scgopi <[email protected]>
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
graphcode node sendstaged a message to memory whenever the target was not running, idle or waiting, unless it had succeeded or failed with a live session. Two cases never reached a live session:zmx lscannot see remote sessions and answers absent for all of them.A direct send now types into any loop whose session is up, whatever its state, and leaves the state untouched. For a remote project the session is read through presence over ssh. A message is staged only when there is no session to type into.
Broadcasts are unchanged: they still stage for stopped, stalled and blocked loops.
Tests
RED: xcodebuild test -only-testing:graphcodeTests/GoalResolutionFollowUpTests with main's GraphStore.swift -> aMessageToAStoppedLoopWithALiveSessionIsTypedInAndLeavesItStopped failed with 2 issues, exit 65
GREEN: xcodebuild test -only-testing:graphcodeTests/GoalResolutionFollowUpTests with this branch -> 8 tests passed, exit 0
REGRESSION: xcodebuild test -only-testing GoalResolutionFollowUpTests, FollowUpMessageTests, MessageAndSpawnTests -> 29 tests in 3 suites passed, exit 0