Implement DL-14: Relationship CRUD and state tag operations for Neo4j entities#65
Closed
Copilot wants to merge 3 commits into
Closed
Implement DL-14: Relationship CRUD and state tag operations for Neo4j entities#65Copilot wants to merge 3 commits into
Copilot wants to merge 3 commits into
Conversation
| \nTests not detected in this PR. Please add/confirm coverage where applicable. |
Co-authored-by: spuentesp <112034353+spuentesp@users.noreply.github.com>
Co-authored-by: spuentesp <112034353+spuentesp@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Implement CRUD operations for relationships and state tags
Implement DL-14: Relationship CRUD and state tag operations for Neo4j entities
Dec 28, 2025
Owner
|
Closing stale draft PR - conflicts with current master. Will regenerate from current state when ready to implement. |
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.
Adds typed relationship management between entities and atomic state tag operations for entity instances.
Changes
Schemas (
relationships.py)MEMBER_OF,OWNS,ALLY_OF,ENEMY_OF,LOCATED_IN,PARTICIPATED_IN,DERIVES_FROMNeo4j Operations (
neo4j_tools.py)neo4j_create_relationship: Creates typed edge, validates both entities existneo4j_get_relationship: Returns relationship by Neo4j internal IDneo4j_list_relationships: Filters by entity, type, direction with paginationneo4j_update_relationship: Updates properties only (from/to/type immutable)neo4j_delete_relationship: Removes edgeneo4j_update_state_tags: Alias forneo4j_set_state_tags(API consistency)neo4j_get_state_tags: Returns tags without full entity dataAuthority (
auth.py)Tests (
test_relationship_tools.py)Usage
Implementation Notes
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.