Skip to content
pi-c Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 634b1ed881a127f71eff1396de17a2e30ba4aa0fe2445d07e4cefc9c833cef5e
Ticket: ed086ebc04cb267b674b2584d3e0bfb6370c6cd5
tether: remote control of pic sessions (phone, browser, other agents)
User & Date: dmestas on 2026-11-21 12:39:52
Changes

  1. comment changed to:
    Plan and survey: https://artifacts.craftdesign.group/v/VIl_NA2YojRMWXH-ARYDV#b58c423bd5c24337074c1cf29492fe0380168665a2e8ac0e632d4033bb51701c
    Core feature. Recommendation: remote control is a property of the journal, with no server inside pic. Every command from any client is a committed journal row (unique key, sender, expiry) before it acts (builds on pic submit KEY + pic run and pic_queued). Clients are replicas that catch up by pic_entry.seq; in-flight text is one overwritten value (mosh-style), last. pic remote is a stateless sibling of the TUI on the shared store (#77): never takes a lease, dials out, never listens. Wire: Pi's RPC commands and events in an envelope (session, seq, key, sync, fetch); ACP later as an editor adapter. Transports: ssh stdio first (no new crypto), then a blind Cloudflare Worker/DO relay with QR pairing and Noise over P-256/HKDF/AES-GCM (BearSSL and WebCrypto). Phone: installed web page, Web Push sent by pic. Approvals: durable questions from a hook's ask that can wait with no process running.
    Stage 1: command inbox plus read-only observer over stdio, crash tests, no network.
    Owner decisions (12 on the page), chiefly: long-lived pic remote vs no daemon; the inbox changing shared-store rule 1; crypto suite and its review; where the relay and phone page live; whether to add durable questions.
    
  2. priority changed to: "High"
  3. status changed to: "Open"
  4. title changed to:
    tether: remote control of pic sessions (phone, browser, other agents)
    
  5. type changed to: "Feature"