Repository navigation
Conversation
The Manager now reads agent records from what the Runner sends over the link, and asks the Runner for each edit as a link command. An edit settles once the Runner saved it and the Manager shows it. A new agent shows its type's defaults until the Runner sends a record for it, and an unchanged record keeps its identity. The Runner, which owns records, now forgets those no membership keeps itself, once the Manager has sent a full list it has not forgotten by before. A list sent before native's list is read forgets nothing. Co-authored-by: Larry <627498bd4bd1f281a16431e3c6cce3b5c25b6692798c78672298aefbf2f8f8b5@buzz.block.builderlab.xyz> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Logan Johnson <loganj@squareup.com>
The owner save now answers over the Runner link, so the queued write can be refused before the save resolves. Attach the expectation first so the refusal is never briefly unhandled. Co-authored-by: Larry <627498bd4bd1f281a16431e3c6cce3b5c25b6692798c78672298aefbf2f8f8b5@buzz.block.builderlab.xyz> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Logan Johnson <loganj@squareup.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.
🤖 This is step 9 of the Manager/Runner split for agents. It is an inert refactor: the Agents screens show and save the same settings as before.
Summary
The app splits its agent code into two parts. The Manager serves the screens and agent management. The Runner runs agents and owns their saved state. They talk over a link that carries only JSON, so the Runner can later move to a hidden page.
Each agent has a saved record: its settings, what it pays attention to, and its timers. The Runner owns these records. Until now the Manager read and changed them with direct calls. Now:
Details
Tests
🤖 Generated with Claude Code