AGENTS.md@packages/remote-control · git:20260819.2b42e2d · 2026-08-19 · sha256 c0db66732e39345b

AGENTS.md@packages/remote-control git:20260819.2b42e2dA

Immutable. This exact content never changes and is served at /api/v1/blob/c0db66732e39345b.

# Team: Runtime

This package owns the platform-neutral remote control wire contract and connection state machine.

- Production code must not import application packages, Electron, Android, Node I/O, Cloudflare APIs, or Coding Agent product implementations.
- Validate every untrusted frame before it reaches connection state.
- Protocol changes require contract tests for invalid input, ordering, duplicate delivery, timeout, cancellation, and reconnect behavior.
- Logs must contain diagnostic metadata only. Never log credentials, prompts, file contents, or raw payloads.
- Screen streaming and input injection remain outside this package.