Skip to content

Conversation

@Scra3
Copy link
Member

@Scra3 Scra3 commented Dec 22, 2025

Summary

  • Add associate tool to link records through one-to-many or many-to-many relations
  • Add dissociate tool to unlink records from relations (without deleting target records)
  • Add associate() and dissociate() methods to agent-client Relation class

Test plan

  • Unit tests for Relation.associate() and Relation.dissociate()
  • Unit tests for associate MCP tool (registration, execution, activity logging)
  • Unit tests for dissociate MCP tool (registration, execution, activity logging)
  • All 429 mcp-server tests pass
  • All 157 agent-client tests pass

🤖 Generated with Claude Code

Add tools to manage record associations through one-to-many and many-to-many relations:
- associate: Link a record to another through a relation
- dissociate: Unlink records from a relation (without deleting them)

Also adds associate() and dissociate() methods to the agent-client Relation class.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@qltysh
Copy link

qltysh bot commented Dec 22, 2025

2 new issues

Tool Category Rule Count
qlty Structure Function with many parameters (count = 4): declareAssociateTool 2

@qltysh
Copy link

qltysh bot commented Dec 22, 2025

Qlty

Coverage Impact

This PR will not change total coverage.

🚦 See full report on Qlty Cloud »

🛟 Help
  • Diff Coverage: Coverage for added or modified lines of code (excludes deleted files). Learn more.

  • Total Coverage: Coverage for the whole repository, calculated as the sum of all File Coverage. Learn more.

  • File Coverage: Covered Lines divided by Covered Lines plus Missed Lines. (Excludes non-executable lines including blank lines and comments.)

    • Indirect Changes: Changes to File Coverage for files that were not modified in this PR. Learn more.

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