You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AI-Chat reports a task assigned after writing a stray custom:assignee property #3705
An AI-Chat can report a task as assigned when nothing about the assignment changed. In a real session the user asked the chat to assign a task to themselves. The chat called update_node with {"field_values": {"custom:assignee": "Michael Libio"}, "id": "<task>"}, the tool returned is_error=false, and the chat replied that the task was assigned. The task's assignee is a relationship (a tasks edge to the person node), so that edge still pointed at the previous person. The call wrote a stray text property, custom:assignee, on the task instead.
Why it happens
update_node accepts any key the type does not declare and stores it under custom:, by design (the code and its test describe it as "stored under custom: and said so, not refused"). Here the key names a relationship the type does declare, so the write succeeds, changes nothing the user sees, and leaves junk data behind. The chat then describes the outcome as the intent, not as what was stored.
Questions this issue should settle
Can the chat set a relationship at all? Which tool does it, and is it in the 10-tool surface the chat gets?
Should update_node refuse an undeclared key whose name matches a declared relationship on the type (and say which tool or field to use), rather than store it under custom:?
Should the chat's reply be derived from what the tool reported was stored, so "stored as custom:assignee" cannot be described as "assigned"?
Acceptance Criteria
Asking the chat to assign a task to a person changes the task's assignee relationship, or the chat says it cannot.
update_node does not store a custom: property that shadows a declared relationship; the refusal names the correct way to set it.
A test reproduces the reported call and pins the new outcome.
Activity
Ground project lookups and refuse relationship names as field values;…