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 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
This commit is contained in:
1 parent
68cad4e2ab
commit
bbc6fe2a61
1 file changed
+8
-4
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user