Skip to content

feat(relay): add authenticated WSS routing and hosted device enrollment #31

Closed as not planned

Description

@abruption

Current roadmap — 2026-10-13 KST

This section supersedes older milestone/version/priority statements below. Existing acceptance criteria, evidence limits and historical records remain applicable. Versioned milestones are provisional planning targets, not committed dates or implementation/live-test/merge/release authorization. P1 means a milestone prerequisite/current-release item; P2 a planned extension/research track; P3 later dependent work.


Python endpoints support direct/relay/auto routing, relay admission files or saved device login, enrollment and bounded reconnects. TS has none of these. This issue implements endpoint interoperability with an existing service, not a production service deployment.

Scope and completion criteria

  • Implement device login/enroll and reviewed admission-token handling compatible with the existing control API, including browser/no-browser authorization, expiration and 429/slow_down backoff.
  • Add --device-route auto|direct|relay and --relay-admission-file/--relay-login with pinned end-to-end device identity; the Relay must not gain plaintext access.
  • Race authenticated readiness only, then choose one application path. Reconnect/probe may recover connectivity but must never resend an uncertain native operation.
  • Keep credential state private and redact errors; bound frames, connection attempts, deadlines and opt-in diagnostics. Correlated transport counters are not consumption evidence.
  • Validate against isolated Python Relay/control fixtures, including token expiry/replay, receiver reconnect, route failure and lost response. Use separate approval for any hosted deployment or real account changes.

Dependencies and priority

Dependencies: #29, #30

Planning priority: P2 (P1 = foundational/common workflow; P2 = subsequent or optional capability). Milestone is a planning group, not a release or deployment approval.

Evidence

Compared Python 1.0.2 (47c2371) with TS 0.1.0 (0edc4f8), both main heads verified on 2026-09-27.

Activity

  1. added
    enhancement
    on Sep 27, 2026
  2. added
    priority:P3
    on Oct 13, 2026
  3. abruption commented on Oct 19, 2026

    @abruption
    OwnerAuthor

    계획 취소 — 2026-10-20

    사용자 결정에 따라, 현재 Python Relay/paired-device 기능의 실사용 수요가 없다는 판단을 근거로 TypeScript 상호운용 작업을 추진하지 않습니다. 공통 설계와 이에 의존하는 endpoint·routing/enrollment·recovery 계획인 #29–#32를 함께 취소합니다.

    이 이슈는 구현·검증 완료가 아닌 **계획 취소(not planned)**로 닫습니다. 0.8.0은 취소된 계획이며, 이 처리로 해당 기능이 구현되거나 릴리스됐다는 의미는 없습니다. 향후 구체적인 수요가 생기면 범위와 우선순위를 다시 검토할 수 있습니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority:P3

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions