Repository navigation
Guard synced agent snapshot aggregation - #13339
AFOliveira wants to merge 2 commits into
Conversation
Reported-by: Rooke Poole
Reported-by: Rooke Poole
Automated AI review
Verified: no problems found in the aggregation change. Colliding names are kept as own keys, and everything the panel reads is unchanged for the snapshot shapes the collectors write. Two test gaps and one small behaviour change are noted below. The base and head functions were extracted from On 2,000 generated snapshot sets in the collectors' shapes (device and account scope, numeric strings, legacy snapshots without Test gapsOptional test improvement: the assertion Optional test improvement: the Qt fixture runs only with Smaller notes
Review informationTest scope: source review of AI process: Opus 5.5 Medium coordination and synthesis, Opus 5.5 Xhigh technical review and final fact check, GPT 6 Sol Xhigh search for related issues, Opus 5.5 Medium editorial check. Opt out: To stop receiving these reviews, reply to this comment saying so. |
|
Thank you! Brought in with your authorship in #14049. |
|
Update: this was pulled back out of #14049. Syncing usage between machines turned out to be more machinery than it's worth for Omarchy, so we're not taking it after all. Thanks for the work regardless. |
Synced provider and model names can collide with inherited JavaScript properties and disrupt Agents aggregation. Use prototype-free maps, own-property lookups, and validated input shapes while preserving device sums, account maxima, and active-date unions.
Focused Node/Qt tests and live desktop checks passed, including sync off/on, invalid-snapshot recovery, and peer-only provider tabs.
./test/clireaches the same VS Code theme-path failure reproduced on the unchanged base.Reported by Rooke Poole.