Skip to content

[feature] Resolve trusted targets for automatic sessions #302

@marwannettour

Description

@marwannettour

Parent epic: #300

Summary

Add target resolution for automatic trusted sessions, mapping stable ClientId values to connected ClientInstanceId values.

Scope

  • Resolve each requested target ClientId to an online client instance.
  • Reject offline targets.
  • Reject ambiguous targets when several instances are online for the same ClientId in the MVP.
  • Enforce the session member limit server-side.
  • Return structured failure reasons.

Acceptance criteria

  • A server-side service or handler resolves automatic session targets.
  • Offline targets return a deterministic failure.
  • Ambiguous online instances return a deterministic failure.
  • The creator cannot target its own stable ClientId.
  • The current session member limit is enforced.
  • Unit tests cover success, offline, ambiguous, self-target, and too-many-members cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions