docs: phase 1c -- the webapp by serial, and the Series-3 guard on legacy writes
- CLAUDE.md: a 1c entry under Where things stand (serial mode, what follows the unit's own answer, writes off until phases 4-5, the Node-run page tests) and the legacy-route guard in the REST API notes, with why the stop tools are exempt. - Spec: the 1c build status; the ring-path Runs A/B are still owed before serial mode is used on a unit that calls home to THOR; which parked 1c items the page settles (CORS: same origin; the S4 mic is not shown). 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
c4cb979dfb
commit
073284fc88
2 files changed
+60
-1
No files matched your search
@@ -490,6 +490,30 @@ Each safety piece arrives with its first real use, so nothing sits untested.
|
||||
address answer 503 + `Retry-After` until it expires, and
|
||||
`POST /device/hangup` clears it, with its length taken from Run A. If
|
||||
THOR gets the call anyway, no cool-down is needed.
|
||||
- **Built 2026-10-29** (plan `docs/superpowers/plans/2026-10-28-sfm-phase1c-webapp.md`).
|
||||
A Serial field beside host/port; with one, identify, status, settings
|
||||
(read-only), events (a Download per row) and audited start/stop go
|
||||
through the serial routes for both series, and Hang up shows for a
|
||||
Series 4. Series-specific controls follow the unit's own `/device/info`
|
||||
answer and drop when the serial, host or port is edited; config and
|
||||
call-home writes are off for both series until phases 5 and 4;
|
||||
Diagnostics needs a confirmed Series 3. Without a serial the page reads
|
||||
as before. The rules are pure functions in one marked block, tested
|
||||
through Node (`tests/test_webapp_device_routing.py`).
|
||||
**Server side, the same phase:** the legacy Series-3 writes and erase
|
||||
(`/device/config`, `/config/project`, `/events/erase`, `/rescue`,
|
||||
`POST /device/call_home`) refuse 409 before any write unless the unit
|
||||
answers as Series 3 (and as the named unit, given `serial=`). The stop
|
||||
tools stay exempt: 0x96/0x97 mean the same on both series.
|
||||
- ⚠ **The ring-path Runs A/B have not been run.** The page does not poll
|
||||
(every request is a click), SFM hangs up on RADIO RING, and Hang up
|
||||
releases a held line, but whether a call-home reaches THOR while SFM
|
||||
holds the line is unmeasured. Run them before serial mode is used on a
|
||||
unit that calls home to THOR, i.e. before this branch merges.
|
||||
- Of the items parked for 1c below: **CORS ordering** does not bite the
|
||||
page, which SFM serves itself (same origin); the **Series-4 mic** is not
|
||||
shown (the event list shows geophone peaks only). The rest are server-side
|
||||
and stay open.
|
||||
2. **Encoder + opcode guard + dry run + frame-reproduction tests.** Still
|
||||
nothing sent.
|
||||
(2026-10-22) "Dry run" in this phase means the **write plan**: the exact
|
||||
|
||||
Reference in new issue
Block a user