Skip to content

E2E mismatch: CreateThread rejects initiator in participants but initiator should be auto-included #35

@rowan-stein

Description

@rowan-stein

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions