fix(desktop): fan out managed agent profiles#2659
Open
AaronGoldsmith wants to merge 1 commit into
Open
Conversation
AaronGoldsmith
marked this pull request as ready for review
July 24, 2026 01:46
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 75bf466a7a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
AaronGoldsmith
force-pushed
the
smarty/2366-profile-fanout
branch
from
July 24, 2026 02:14
75bf466 to
476c632
Compare
Reconcile each successfully started managed-agent runtime pair's kind-0 profile on that community's requested relay authority. Query and publish as the agent, and detach profile repair so relay failures cannot block runtime startup. Co-authored-by: Smarty <200df3a6e10192207329b9b398aabb85b020e8880257cd59835c6e1a994914d6@sprout-oss.stage.blox.sqprod.co> Co-authored-by: npub1yqxl8fhpqxfzquefhxee324mskczp6ygqftu6kvrt3hp4x2fzntqvmcw9s <200df3a6e10192207329b9b398aabb85b020e8880257cd59835c6e1a994914d6@sprout-oss.stage.blox.sqprod.co> Signed-off-by: npub1yqxl8fhpqxfzquefhxee324mskczp6ygqftu6kvrt3hp4x2fzntqvmcw9s <200df3a6e10192207329b9b398aabb85b020e8880257cd59835c6e1a994914d6@sprout-oss.stage.blox.sqprod.co>
AaronGoldsmith
force-pushed
the
smarty/2366-profile-fanout
branch
from
July 24, 2026 04:43
476c632 to
101bcf5
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
Reconcile an existing managed agent's kind-0 profile on each community relay after that agent/community runtime pair starts successfully.
This fills the profile-transfer boundary left intentionally out of the per-community runtime work in #2083 and addresses the missing-name/avatar portion of #2366 without claiming to close the broader issue.
What changed
Behavioral guarantees
Scope boundaries
This PR does not:
Related avatar work remains in #2476 and #2507.
Manual verification
Test plan
origin/mainat76aeae703664a6a6741b82771df67c546886aafd.sadscan,fmt, anddesktop-tauri-fmtpassed.Reviewer guide
Please focus on:
managed_agents/runtime_commands.rs: the success-only, detached fan-out trigger;commands/agents_profile.rs: explicit relay validation and separation of global legacy backfill from relay-local fan-out;relay.rs: agent-authenticated profile query used by reconciliation.Refs #2366.