- scripts/smoke/helpers.mjs — spawn-pi (via python3 pty.spawn), wait-for-port,
fetch, WebSocket helpers; createSmokeHome/removeSmokeHome for isolated HOME
- scripts/smoke/smoke.mjs — 6 node:test assertions:
GET /manifest.json → 200 + JSON shape
GET /icon.svg → 200 + <svg body
GET / (with token) → 302→200 + HTML marker
GET / (no token) → 403
WS /ws (with token) → 101 upgrade
pi process alive check
- scripts/smoke/README.md — usage, design notes, extension guide
- package.json: add 'smoke' script
- docs/SYNC.md: add scripts/smoke/** ownership row + History entry
All 6 tests pass in ~1.4 s locally.
Key finding: pi requires a PTY to enter interactive mode and fire
session_start. Spawning without a TTY causes immediate exit. Workaround:
python3 pty.spawn() — allocates a PTY with no additional deps.
|
||
|---|---|---|
| .. | ||
| reference | ||
| NEXT-STEPS.md | ||
| PHASE-0-spike-stream.md | ||
| PHASE-0.5-spike-tmux-control-mode.md | ||
| PHASE-1-sidecar.md | ||
| PHASE-2-ios-mvp.md | ||
| PHASE-3-ios-augmentation.md | ||
| README.md | ||
| SYNC.md | ||
README.md
Implementation Docs
This folder drives the implementation work for the pi-remote iOS app and
its sidecar. Background / spec / audit material lives in
reference/.
Start here when resuming work: NEXT-STEPS.md.
| File | Purpose |
|---|---|
NEXT-STEPS.md |
Resume pointer — state of play, next orchestrator actions, open questions. Read first. |
PHASE-0-spike-stream.md |
Stream PoC — verify tmux + pipe-pane + WebSocket. ~1 day, single agent. Done, see reference/PHASE-0-report.md. |
PHASE-0.5-spike-tmux-control-mode.md |
Follow-up spike: tmux control mode (-CC) vs pipe-pane + watchdog. Decides Phase 1 streaming path. ~2h, single agent. |
PHASE-1-sidecar.md |
Sidecar production-ready: all S-features, multi-agent parallel work. Blocked on Phase 0.5. |
PHASE-2-ios-mvp.md |
iOS app MVP — Groups A, B, C-01/02, D, E, F. Multi-agent parallel. |
PHASE-3-ios-augmentation.md |
iOS feature polish — slash palette, voice, thumbnails, search, etc. |
SYNC.md |
Live multi-agent coordination — claims, file ownership, contract changes. |
Order of work
- Phase 0 first, single agent.
- Phase 1 starts after Phase 0 green-lights; multi-agent parallel.
- Phase 2 starts after Phase 1 is production-ready; multi-agent parallel.
- Phase 3 is continuous after Phase 2 MVP ships.
See SYNC.md for the current state.