User request\n\nFix E2E failures where returns . Initiator should be auto-included.
Context\n
Agents E2E run failing: https://github.com/agynio/agents/actions/runs/26379450519\nError originates from threads CreateThread validation.
Current behavior\n
service rejects if the initiator identity is present in /participants ().
Expected behavior\n
Initiator should be automatically included in the thread and it should be valid for clients to include the initiator in the participants list (or at least it should not hard-fail E2E flows).\n\nThis is important for E2E clients that construct participant lists including the initiator.
Tasks\n
- Adjust CreateThread validation to allow initiator in participant list (dedupe instead of reject), while still ensuring initiator is included exactly once.\n- Update tests accordingly.\n- Confirm Gateway/CreateThread E2E flows succeed.
User request\n\nFix E2E failures where returns . Initiator should be auto-included.
Context\n
Agents E2E run failing: https://github.com/agynio/agents/actions/runs/26379450519\nError originates from threads CreateThread validation.
Current behavior\n
service rejects if the initiator identity is present in /participants ().
Expected behavior\n
Initiator should be automatically included in the thread and it should be valid for clients to include the initiator in the participants list (or at least it should not hard-fail E2E flows).\n\nThis is important for E2E clients that construct participant lists including the initiator.
Tasks\n