Implement Ito MVP vertical slice#1
Draft
arteeh wants to merge 4 commits into
Draft
Conversation
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.
Motivation
mvp.md: a WebXR client, a recorded (mock) robot driver, and a mock visual processor that connect via direct WebRTC.clientanddrivers/mock-robotsubmodules could not be fetched in this environment, so a vendored, in-tree implementation is required to produce a reviewable, runnable MVP.GET /descriptor,POST /webrtcSDP signaling, video on media tracks, and JSON messages oncontrol/status/sceneDataChannels.Description
client/using Three.js andPLYLoaderthat discovers descriptors, offers raw and processed modes, createscontrol/status/sceneDataChannels, streams pose updates at ~30 Hz, and reassembles/renders PLY scenes received from the processor.drivers/mock-robot/using FastAPI andaiortc, looping a mounted video viaMediaPlayerandMediaRelay, exposing a descriptor onGET /, accepting offers onPOST /webrtc, acceptingcontrol/statuschannels, validating control sequence/enabled, and running a 500 ms watchdog that triggerssafe_stopwith a stop acknowledgement overstatus.processors/mock-mono/using FastAPI andaiortc, exposing a descriptor, accepting the clientPOST /webrtc, accepting drivervideo-sourceinfo overstatus, establishing a direct recv-only connection to the driver, counting frames to reportready/stale, validating and splitting the mounted PLY into safe-sized chunks, and sending a JSON header + sequential binary chunks over a reliablescenechannel with support for aresend-scenerequest.compose.yaml(host networking to surface WSL host ICE candidates),clientHTTPS dev hosting via checked-in startup cert,.env.example,tests/compose-smoke.sh, componentrequirements.txtandDockerfiles, and a PR log atpr-logs/2026-06-12-mvp-vertical-slice.mddocumenting implementation decisions.Testing
python -m py_compile drivers/mock-robot/app/*.py processors/mock-mono/app/*.py— succeeded.(cd drivers/mock-robot && pytest -q tests/test_control.py)— 2 passed.(cd processors/mock-mono && pytest -q tests/test_scene.py)— 2 passed.node --test client/tests/protocol.test.js— 1 passed.node --check client/src/main.js && node --check client/src/protocol.js— syntax checks succeeded.git submodule update --init --recursivefailed due to blocked GitHub access (HTTP 403),npm installfailed due to registry access restrictions (HTTP 403), and Docker/docker compose upcould not be run in this environment; these limitations and the related implementation decisions are recorded inpr-logs/2026-06-12-mvp-vertical-slice.md.Codex Task