From bbc6fe2a61c66bd1f0574ac872c942cd13ff469e Mon Sep 17 00:00:00 2001 From: serversdown Date: Tue, 20 Oct 2026 19:03:03 -0400 Subject: [PATCH] docs(spec): serial-less requests keep today's shapes; phase 1 splits into 1a/1b/1c Nothing breaks between phases: the shared models apply when a request names the unit by serial, and the legacy Series-3 path stays as it is until the webapp (1c) and watch_unit.sh move over. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44 --- .../specs/2026-10-20-sfm-series4-parity-design.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/superpowers/specs/2026-10-20-sfm-series4-parity-design.md b/docs/superpowers/specs/2026-10-20-sfm-series4-parity-design.md index 4de12c0..1c4bb69 100644 --- a/docs/superpowers/specs/2026-10-20-sfm-series4-parity-design.md +++ b/docs/superpowers/specs/2026-10-20-sfm-series4-parity-design.md @@ -133,8 +133,10 @@ the fields both series have under the same names and units: record mode, sample rate, record time, histogram interval, trigger levels, the notes as label → value. Model-specific fields go under `detail`. -**Existing Series-3 response shapes change to the shared models.** The webapp -is updated in the same phase; Terra-View does not call `/device/*`. The +**Requests that include `serial` get the shared models; requests without it +keep today's Series-3 shapes, unchanged.** Nothing breaks in between: the +webapp moves to `serial` in phase 1c, and the old path retires after that and +after `watch_unit.sh` moves. Terra-View does not call `/device/*`. The emergency endpoints (`stop_monitoring_*`, `rescue`, `events/erase`) are not touched and stay Series-3 only; a `UM` serial gets 501. @@ -325,8 +327,10 @@ Each safety piece arrives with its first real use, so nothing sits untested. 1. **One contract, reads only.** `device_access.py`, the two adapters, the shared models, series selection, the per-unit lock, the error mapping, and sessions with ring safety. Rows 1–5 for **both** series through the same - endpoints. **No writes.** - - 1b. **The webapp:** serial + address, and the same read panels for both + endpoints. **No writes.** Split into three plans: + - 1a. The foundation plus identify / status / settings for both series. + - 1b. Event list and download for both series (rows 4–5). + - 1c. **The webapp:** serial + address, and the same read panels for both series. 2. **Encoder + opcode guard + dry run + frame-reproduction tests.** Still nothing sent.