feat: route and secure hosted connections - #16
Merged
Conversation
ByteTrue
added a commit
that referenced
this pull request
Sep 3, 2026
21/21 ITEM integrated across 5 waves (PR #16-#20 merged with exact-head CI green). Stable conclusions graduated to Project Spec: timeline restore and session import in agent-conversation, revision resume/paste/activity in terminal, new workspace.md (branch/push state, hover agents, agent naming), new connection.md (release channel routing, hosted HTTPS guard, pairing hostname). Epic spec marked closed with final delivery index.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Linked issue
N/A — approved CodeStable Epic
002-o-retained-capabilities-delivery, Wave 1 (ITEM-01–ITEM-03).Type of change
Reasoning
BySpace stable and prerelease builds need to stay on separate hosted App and Relay channels. Hosted HTTPS clients must not attempt plaintext LAN Direct connections, and Relay pairing links need a readable host name so deep-link pairing does not default to an opaque server ID.
This wave implements those three connected remote-connection requirements together while preserving custom endpoint overrides, existing Relay/TLS behavior, old pairing offers, old clients, and host identity semantics.
Goals
app.byspace.cc.cd+relay.byspace.cc.cd:443app-beta.byspace.cc.cd+relay-beta.byspace.cc.cd:443hostnameto V2 pairing offers and choose labels as explicit/probed label → trimmed offer hostname → server ID.v: 2.Non-goals
QA
Automated behavior evidence:
ws://192.168.1.20:6767/wsbefore the fix.Repository gates:
Review evidence:
Platforms and limitations:
Checklist
npm run typecheckpassesnpm run lintpassesnpm run formatpasses