Repository navigation
commands: a call that waits out the person's stroke keeps its author - #48
Merged
Merged
Conversation
A command that arrives during the person's stroke or transform waits (`afterPerson`) and runs when it ends (`runWaiting`). It now stores who called it (`Host.acted`) and runs inside `Host.actAgain` with that, so an agent's waiting draw records its steps as the agent's, in the agent's run, not as nobody's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Pixi's part of
plans/SHARED_HISTORY_PLAN.mdstep 2 (fizzyedit/fizzy#474, fizzyedit/fizzy#475): a waiting call keeps its author.pixi.draw,pixi.stampandpixi.transformSelectionwait out the person's stroke or open transform (afterPerson) and run once a frame after it ends (runWaiting). Until now they ran with nobody acting, so the steps they made were unattributed, and an agent's draw that happened to arrive mid-stroke wouldn't read as the agent's.File.Waitingstoresacting: sdk.Host.Acting, taken withhost.acted()when the call is put off.runWaitingruns each call insidehost.actAgain(w.acting)/host.endAct: the same author, in the same run (one MCP call of the agent's), as if it had never waited.Already on 0.2.29 (the repin, #47).
Verified:
zig build(sandboxFIZZY_PROFILE),zig build test,zig fmt --check. Not exercised live: it needs an agent's draw to land during a stroke of the person's in a 0.2.29 fizzy.🤖 Generated with Claude Code