Skip to content

fix(agent-interface): preserve absent profile resources#45

Merged
drewstone merged 1 commit into
mainfrom
fix/profile-merge-noop
Jul 12, 2026
Merged

fix(agent-interface): preserve absent profile resources#45
drewstone merged 1 commit into
mainfrom
fix/profile-merge-noop

Conversation

@drewstone

Copy link
Copy Markdown
Contributor

Problem

Applying an empty AgentProfileDiff materialized five absent resource arrays. This made a no-op profile change appear distinct and polluted candidate comparison.

Solution

Use the existing optional-array merge helper for resource lists so absent lists stay absent while explicit and populated lists retain append semantics.

Verification

  • pnpm build
  • pnpm check-types
  • pnpm test (all workspace tests pass; agent-interface 105/105, agent-core 419/419, provider packages 10/10)

@drewstone drewstone marked this pull request as ready for review July 12, 2026 02:47
@drewstone drewstone merged commit 1fc1bc7 into main Jul 12, 2026
1 check passed

@tangletools tangletools left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Auto-approved drewstone PR — da3e1431

This PR was opened by the trusted drewstone account.
The full PR reviewer audit still runs separately and will publish findings if it detects issues.

tangletools · auto-approval · reason: drewstone_author · 2026-07-12T02:47:37Z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants