Skip to content

fix: paired devices reach only what recording needs - #29

Merged
nodemode-ai merged 3 commits into
mainfrom
fix/owner-decisions-2026-11-29
Nov 30, 2026
Merged

nodemode-ai merged 3 commits into
mainfrom
fix/owner-decisions-2026-11-29

Conversation

@gbarnai

@gbarnai gbarnai commented Nov 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Paired devices on the local network now reach only pairing and the recording room (its page, its status and sending a take); every other route is available only from the desktop window.
  • The network gate and the window guard share one allow-list, so a window key or agent header sent through the network listener opens nothing more.
  • A paired device asking for any other page is redirected to the recording room.
  • New tests check device access one route group at a time (backend/tests/test_device_reach.py); README and SECURITY.md describe the narrower access.

Tests

  • Each change has tests that fail on the code before it.
  • The repo's CI commands were run locally on macOS; every local failure also fails on main in the same environment. Please rely on this PR's CI for Linux and Windows.

How to ship

  • Follows the earlier hardening PR, already merged. Independent of other repos. No version bump.

A device paired in Settings > Devices on this network now reaches what
recording on it needs: the pairing page and call, the recording room's
page, its status and sending a take. Every other route, including Nyquist
code, opening a session by its path, saving over a session, providers,
models, media, render, cloud and shared editing, is the desktop window's.
Both the network gate and the window guard hold the same list, so a window
key or agent header sent through the network listener opens nothing more.
A paired device asking for any other page is sent to the recording room.
…ts WebSockets

Requests through the network listener whose method or path is close to the
recording room's routes (a trailing slash, another method, dot segments, a
backslash) are refused or sent to the room page, and a WebSocket from a
paired device is closed before it is accepted.
A paired device now reaches pairing and the recording room only, so the
Devices on this network row no longer offers it as a remote. The new words
have an entry in all 25 languages. The agent guides name remote.DEVICE_PATHS
beside remote.GUEST_PATHS.
@gbarnai
gbarnai requested a review from nodemode-ai as a code owner November 29, 2026 21:20
@nodemode-ai
nodemode-ai merged commit 9f1b74a into main Nov 30, 2026
9 checks passed
@nodemode-ai
nodemode-ai deleted the fix/owner-decisions-2026-11-29 branch November 30, 2026 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants