fix(hive): restore company VM agents in native channel picker - #74
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
📝 WalkthroughPriority Level: P4/NIT No P0–P3 issues found. The changes correctly combine managed-agent and verified company-agent keys for native channel-add eligibility while preserving bot-role membership and excluding unrelated relay agents. Focused tests cover the admission behavior. Optional: retain the pending installed-proof and post-merge channel verification to validate the behavior in the deployed environment; this is not required based on the source review. WalkthroughThe change unifies normalized managed and company agent pubkeys for channel-add eligibility, exposes company pubkeys from the relay-agent query, updates member filtering, and adds coverage for verified company and unrelated relay agents. Confidence: 98%. ChangesChannel agent eligibility
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant MembersSidebar
participant useRelayAgentsQuery
participant getChannelAddableAgentPubkeys
participant addCandidate
useRelayAgentsQuery-->>MembersSidebar: companyAgentPubkeys
MembersSidebar->>getChannelAddableAgentPubkeys: managedAgentPubkeys and companyAgentPubkeys
getChannelAddableAgentPubkeys-->>MembersSidebar: normalized addableAgentPubkeys
MembersSidebar->>addCandidate: exclude identities in addableAgentPubkeys
Possibly related issues
Suggested reviewers: ✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
Independent exact-head semantic review: PASS on Coverage:
Findings: none. No P0/P1 or realistic supported-path P2 blocker. This review proves source semantics on the exact head only; installed proof remains pending after merge in the refreshed cumulative canary. |
Closes #39
Installed failure
On cumulative Internal Canary head
820be3cbd139cf716cec5c20390ba40e541e5c99, ATRIS replied in a fresh native DM but nativegeneralchannel member search returnedNo matching people or agentsfor ATRIS.Change
Focused proof
agentAutocompleteEligibility.test.mjs: 21/21 passProof boundary
This is source/focused-test proof only. Exact-head CI, independent semantic review, merge, refreshed cumulative artifact, and installed channel add/mention/remove proof remain separate gates.