Commit Graph
141 Commits
Author SHA1 Message Date
serversdownandClaude Opus 5.5 cdc6360ec0 fix(sfm): an audit finish that fails on a hang-up path still releases the line
The final fix wave's AuditIncomplete landed in _exchange's `except DeviceError`,
which keeps the line -- so on the nine ring / link-fault paths (and a refusal) a
failed audit write turned a hang-up into a held Series-4 line, blocking a THOR
call-home for up to the 5-minute idle hang-up and making "SFM hung up" false.
AuditIncomplete now carries release_line, set by every finish whose path hangs
up anyway, and _exchange honours it.  Also pins the Series-3 change path's
retry=False again (the rewritten lost-ack test no longer could).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-23 19:36:00 -04:00
serversdownandClaude Opus 5.5 8f68b09f5e fix(sfm): a change that fails after the send says so; the audit row records sent + states; S3 unknown states refused
Final fix wave for phase 3 (start/stop monitoring), per the whole-phase review.

- I1 + M2: every failure after the send has started is a ChangeUnconfirmed
  (audit_id, sent = "acknowledged" | "unknown", the cause's HTTP status) whose
  message says the frame was sent and names the audit record -- the ring in
  place of the ack, the four lost-ack follow-ups, and the three read-back
  paths.  Series4Session releases the line on it.  Every audit finish goes
  through one helper; a finish that fails is AuditIncomplete (500) and still
  says what happened to the unit.  The line is kept.
- I2: device_commands gains `sent` (1 acknowledged, 0 nothing sent, NULL
  unknown) and `states` (before / seen / after), with an idempotent ADD COLUMN
  in _migrate for a table created earlier on this branch.
- M1: a RADIO RING already buffered is caught before 0x96/0x97 goes out
  (pre_send = read_unsolicited, one 10 ms transport read).  That is a
  CallHomeInProgress with sent=0, not ChangeUnconfirmed.
- M3: Series 3 reads the raw 0x1C flag (new MonitorStatus.state_flag); a byte
  other than 0x00/0x10, or a short section, is unknown(...) and refused.
- M8: even_if_already on a unit already in the state notes that the read-back
  proves nothing.
- M10: a scan pins `.protocol.execute(` to sfm/device_access/s4.py; both
  scans fail closed on a file that does not parse.
- M11: docs corrected (CLAUDE.md phase-2 sentence, phase-3 bullet, REST list;
  micromate/protocol.py scope and the 0x49 read_state docstring; s4.py; route
  docstrings).  "No command has ever been originated" is NOT retracted.
- M12: GET /db/device_commands normalises the serial.
- Minors: unused imports, S3 dry-run frames and 120 s timeout pinned, test
  rename, serial-cache and short-0x49 tests, _RUN_STATES comment.

Schema: two NULLable columns on the branch-new device_commands table, added
by _migrate on open; no backfill.  No codec change, TOOL_VERSION unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-23 19:16:45 -04:00
serversdownandClaude Opus 5.5 ac33c8ffa4 fix(sfm): start/stop HTTP status is an allow-list -- only verified, skipped or dry-run is 200
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-23 17:00:31 -04:00
serversdownandClaude Opus 5.5 c3e7e169c0 feat(sfm): start/stop monitoring by serial -- dry run, audit, read-back
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-23 16:57:47 -04:00
serversdownandClaude Opus 5.5 ce5d2cb0d6 feat(sfm): start/stop monitoring for Series 3 through the same safety layer
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-23 16:48:05 -04:00
serversdownandClaude Opus 5.5 78c3d568d5 test(sfm): pin the ring-on-follow-up and calling-home poll exits; narrow the refusal clause
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-23 16:45:02 -04:00
serversdownandClaude Opus 5.5 14ea80f5a4 fix(sfm): a ring or a refusal is never mistaken for a send; fresh serial pinned; unmeasured states refused
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-23 16:39:55 -04:00
serversdownandClaude Opus 5.5 eada7ba767 feat(sfm): start/stop monitoring for Series 4 -- identity, state, dry run, audit, read-back, never retried
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-23 16:29:03 -04:00
serversdownandClaude Opus 5.5 ff0cce1cb2 fix(sfm): an audit row can be finished once, from pending -- anything else raises
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-23 16:24:46 -04:00
serversdownandClaude Opus 5.5 fb9b48f259 feat(sfm): device_commands audit table -- one row per change attempt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-23 16:22:28 -04:00
serversdownandClaude Haiku 5.5 7ff527df07 feat(micromate): read the unit's run state and refresh its serial on demand
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-23 16:20:12 -04:00
serversdownandClaude Opus 5.5 9ed9578d12 test(micromate): an AST scan pins execute() as the only write grant; cover the last mutants
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-23 16:17:04 -04:00
serversdownandClaude Opus 5.5 a90b8158b6 fix(micromate): the write ceiling is enforced at the wire; allowed_writes retired; execute takes only real plans
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-23 16:06:24 -04:00
serversdownandClaude Opus 5.5 8daf413fe3 feat(micromate): execute(plan) -- the only write path, one call's permission, a start/stop ceiling
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-23 15:58:31 -04:00
serversdownandClaude Opus 5.5 f47b908a27 fix(micromate): fixture metadata separates the measured firmware line from the version
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-22 17:48:20 -04:00
serversdownandClaude Opus 5.5 93349ed040 test(micromate): a checksum landing on any of the four escape bytes is escaped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-22 17:48:04 -04:00
serversdownandClaude Opus 5.5 137aa699c7 fix(micromate): a plan step is immutable once validated; setup push checks each block's own header
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-22 17:47:49 -04:00
serversdownandClaude Opus 5.5 b7b054aee9 fix(micromate): the gate refuses an uncatalogued SUB whatever it is told
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-22 17:47:25 -04:00
serversdownandClaude Opus 5.5 0e46f3d83f fix(micromate): the call-home plan warns when it leaves THOR's observed values
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-22 17:47:07 -04:00
serversdownandClaude Opus 5.5 cbda4b80df fix(micromate): a write plan copies its steps -- nothing can be added after validation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-22 17:26:41 -04:00
serversdownandClaude Opus 5.5 49f8f49ac1 feat(micromate): write plans for start/stop, call-home and setup push -- THOR's frames byte for byte
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-22 17:24:16 -04:00
serversdownandClaude Opus 5.5 c46dd878ff test(micromate): THOR's write sessions as fixtures -- seven captures, paired, with provenance
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-22 17:22:08 -04:00
serversdownandClaude Opus 5.5 9c1c7cec76 fix(micromate): the opcode gate is an allowlist -- unknown SUBs refused; tables read-only
READ_SUBS catalogues every read; a SUB in neither table is refused, and
allowed_writes may only name catalogued writes.  Tables are MappingProxyType,
_send checks the exact bytes it writes, check_transmit documents precedence.
Tests cover unknown opcodes, concatenation smuggling and table immutability.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-22 17:19:52 -04:00
serversdownandClaude Opus 5.5 a3e4e85dfd feat(micromate): one opcode table and a send-side gate -- writes refused unless allowed, 0xA2 always
micromate/opcodes.py holds WRITE_SUBS and the cross-series collision 0xA2.
MicromateProtocol._send reads the SUB of the bytes about to go out
(framing.request_sub) and refuses any write SUB not in allowed_writes, and
0xA2 unconditionally.  Docstrings now say the reads-only policy is enforced.

request_sub also refuses any frame not in canonical form
(stuff(unstuff(body)) == body): an interior unescaped 02/03/04, a 10 XX
outside {02,03,04,10}, or a trailing lone DLE.  What the gate checks is then
exactly what the unit parses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-22 17:10:23 -04:00
serversdownandClaude Opus 5.5 151ba1546f feat(micromate): build_request carries a data section -- reproduces all 251 THOR request frames
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-22 17:07:38 -04:00
serversdownandClaude Opus 5.5 9a6bfa4d90 test: force-add the two Thor event fixtures the device-access tests read
tests/fixtures/ is gitignored, so these were never committed.  Since phase 1b
the test fakes read them, so on a fresh clone every test that builds a fake
Micromate -- phase 1a's included -- failed with FileNotFoundError.  Same
precedent as tests/fixtures/micromate-setup/: UM20147's own bench events.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 17:58:18 -04:00
serversdownandClaude Opus 5.5 a130107fdf fix(sfm): a Series-4 record whose timestamp did not decode is not called stale
Mirrors the Series-3 fix (F3): an unreadable 0C timestamp is a decode or
comms fault, not proof the unit was erased.  Nothing is downloaded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 17:58:18 -04:00
serversdownandClaude Opus 5.5 2a70faf7b5 docs(sfm): state the held-line invariant, pin the hang-up on a library error, correct the README
- Series4Session's docstring now states which errors keep the line: an
  op raises a DeviceError only for a verdict on a healthy link (not
  found, stale, unnameable), and _exchange keeps the line for those; any
  library error means the link is suspect and hangs up.  DecodeMismatch
  is a library error and hangs up -- conservative.  Later ops must keep
  to it.
- Test: a micromate TimeoutError mid-download, on a fresh DeviceAccess
  (no retry path), is NoAnswer, closes the client once and leaves no held
  line.  It pins existing behaviour; a mutation that keeps the line on
  library errors makes it fail.
- README, event rows corrected in place: another unit's id is 422 (not
  409); a stale id is 409 without downloading, both series; an event
  already stored -- including by THOR's watcher -- returns its row and
  changes nothing (detail.already_stored); MiniMate lists give
  record_type null, on the normal timeout, and fail on a lost reply.

No code behaviour change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 17:41:26 -04:00
serversdownandClaude Opus 5.5 4e1e6a9d5c fix(sfm): Series-3 events list with no record type, not a wrong one
minimateplus's _extract_record_type returns "Waveform" for every 0C
record layout -- it cannot tell a histogram -- so a MiniMate histogram
was listed as "waveform".  The fake's "Histogram" was a value the real
client never produces, which is why no test saw it.

- _s3_ref: record_type is always None, with
  detail.record_type_note = "Series 3's event record does not say
  waveform or histogram; not decoded yet".
- default_s3_events(): both events "Waveform", as the real client gives.
- The shared-shape contract test allows exactly {"record_type"} to be
  None for Series 3 and nothing for Series 4.

Rows SFM stores for Series 3 still carry "Waveform" from the decode (the
same as the legacy blastware_file route); parked in the spec.  No codec,
store or DB change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 17:40:26 -04:00
serversdownandClaude Opus 5.5 59dff06f1c fix(sfm): the Series-3 header walk fails loudly, and listing uses the normal timeout
One lost 1F reply made the list return 1 of 3 events as a 200, and on a
download gave a false 404.  The list also ran on the 120 s download
timeout, so each lost reply stalled the walk 120 s with the unit locked.

- get_events() strict mode (headers_only, or only_key): a lost 0A reply,
  a lost 1F(browse) reply on the success path and on the partial-record
  path all re-raise their ProtocolError; a 1F that hands back a key
  already walked raises ProtocolError("event chain did not advance ...").
  Legacy calls (none of the new options) behave exactly as before --
  pinned by tests of the same three faults under get_events().
- Series3Adapter.list_events runs on the default timeout (10 s on TCP);
  download_event keeps 120 s.
- FakeProto gains optional lost-reply injection; its default is unchanged.

The repeat-key guard sits at the loop head, which is reached only for a
non-null key -- equivalent to checking each 1F's key, in one place.

Read-only; nothing new on the wire.  No codec, store or DB change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 17:39:54 -04:00
serversdownandClaude Opus 5.5 01b9188f25 fix(sfm): a stale Series-3 id is refused before the full download, not after
Series3Adapter.download_event compared the timestamp only after
download_event_by_key had run the whole 5A.  A stale id cost a full
download of the wrong event (minutes on cellular), could surface the
64 KB-page 502 instead of 409, and a lost 0C reply was reported as "the
unit was erased".

- get_events() gains only_key_timestamp: with only_key, if the target's 0C
  says another time (or none), the target takes the existing bypass --
  no 1F(arm), no POLL, no 5A.  A new branch only; it adds no command.
- download_event_by_key(key4, *, expected_timestamp=None) passes it on.
- The adapter converts the id's stamp to that ISO form and checks, in
  order: no event -> 404; no readable 0C timestamp -> 502 MalformedReply
  ("could not read ... record (0C)"); a different time -> 409 StaleEvent;
  no frames -> 502.
- The fake's download mirrors the real walk (no frames on a mismatch) and
  records what it was asked for.
- Legacy get_events() (none of the new options) is pinned by a test of
  its exact call sequence and 5A arguments, written before the change.

Read-only; nothing new on the wire.  No codec, store or DB change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 17:38:34 -04:00
serversdownandClaude Opus 5.5 157fcc51a7 fix(sfm): a fresh Series-4 download keeps the unit's own PVS and sensor location
Without Thor's TXT report, save_imported_idf fills only the three PPVs.
The unit's 0x0C record -- already read for the list and the stale check --
also gives the peak vector sum and the sensor location, and they were
dropped: Terra-View showed a blank PVS, and find_twins (which matches on
PVS) could not link the event to its histogram twin.

persist_download now overlays DownloadedEvent.record onto the bridged
event before insert_events, filling only fields the file left empty
(creating PeakValues / ProjectInfo when absent).  Not the mic: its 0x0C
decode reads a denormal, parked.

The sidecar is written by save_imported_idf before the overlay, so it
still has no vector sum; the DB row does.  No schema change, no migration.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 17:36:15 -04:00
serversdownandClaude Opus 5.5 ef096e3082 fix(sfm): a download never downgrades a stored event -- an existing row is returned, nothing written
THOR's watcher (and Blastware's ACH) store every event through
/db/import/idf_file and /db/import/blastware_file, with the paired report.
Storing a download of the same event afterwards overwrote that richer copy:
on Series 4 the file, .h5 and sidecar were rewritten (extensions dropped);
on Series 3 the row lost PVS, project strings and ZC frequencies and was
repointed at a second, review-less file set.

persist_download now looks up (serial, timestamp) first.  A row there is
returned as it stands -- inserted false, detail.already_stored true -- with
no store call, no insert_events and no sidecar write.  Never merge.

- DownloadedEvent gains `timestamp` (the unit's own event time) and
  `record` (Series 4's 0x0C fields); both adapters set them.
- The Series-3 `event is None` guard now runs before backfill/save, with a
  message that is true there ("nothing was stored").
- Tests build the watcher's state exactly as the import endpoints do and
  prove the row dict, the sidecar bytes and the file mtimes are unchanged.

No schema change, no migration, no codec change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 17:35:23 -04:00
serversdownandClaude Sonnet 5.5 39e0d312e5 feat(sfm): list and download events by serial for both series
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 17:07:42 -04:00
serversdownandClaude Opus 5.5 d84204f533 feat(sfm): store a downloaded event -- one ingest for both series
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 17:04:44 -04:00
serversdownandClaude Haiku 5.5 9e2d8b62c3 feat(sfm): DeviceAccess lists and downloads events for both series
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 17:02:19 -04:00
serversdownandClaude Haiku 5.5 0a01a8d2db feat(sfm): Series-4 events -- chain-walk list, download at THOR's cursor
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 16:59:55 -04:00
serversdownandClaude Opus 5.5 b79309eb72 feat(sfm): Series-3 events -- header list, one-event download, stale ids refused
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 16:57:26 -04:00
serversdownandClaude Opus 5.5 c85244e0fe feat(sfm): event models and event_id -- serial, key and timestamp
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 16:54:53 -04:00
serversdownandClaude Opus 5.5 83d1a98c1c feat(micromate): fetch_event returns the bytes with the checked decode
get_event() now delegates to fetch_event(), which returns (blob, result).
The same peak-vector-sum self-check applies, so a DecodeMismatch still stops
the bytes from being stored. get_event() keeps its signature and behaviour.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 16:52:43 -04:00
serversdownandClaude Opus 5.5 d5484d10c0 feat(minimateplus): list events from headers, download one without the rest
list_event_headers() walks every event's 0A/1E/0C/1F without starting a 5A.
download_event_by_key() downloads one event in full and walks past the others
without their 5A, stopping once it has it. Both ride two new keyword options on
get_events() (headers_only, only_key); the default path is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 16:50:26 -04:00
serversdownandClaude Opus 5.5 278921796a fix(sfm): any request taking the legacy path is refused beside a held line
The /device guard let every non-UM serial through before its held-line
check.  FastAPI drops an undeclared `serial`, so `?serial=BE18193` on a
legacy route still ran Series-3 code at an address holding a Series-4
line -- the hole the guard exists to close.  Serial-aware routes go
straight to DeviceAccess, which refuses that case itself; everything
else is checked.  baud is no longer parsed (it is not in the address
key, and pydantic's coercion made "38400.0" a second way past).

Also, from the same review:
- RingWatchTransport clears its frame state on every write, so a stray
  STX on an idle line cannot hide the ring that answers the next request.
- Series4Session.is_open reads _client once; held_serial() calls it
  without the unit lock, and a concurrent hang-up between two reads was
  an AttributeError (a 500).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 01:58:57 -04:00
serversdownandClaude Opus 5.5 d393a149f8 fix(sfm): a different UM serial at a held address is refused (409), not swapped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 01:45:17 -04:00
serversdownandClaude Opus 5.5 52ada0215c fix(sfm): RADIO RING detection ignores bytes inside frames
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 01:45:10 -04:00
serversdownandClaude Opus 5.5 82b91835fb fix(sfm): one guard in front of every /device route -- UM serials 501 off the serial-aware routes, held lines 409 serial-less requests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 01:44:35 -04:00
serversdownandClaude Opus 5.5 e7a5a3cce1 feat(sfm): serial-named /device/info, /status, /settings and /hangup for both series
With serial: one contract for Series 3 and 4 through sfm.device_access.  Without it: the legacy Series-3 path, unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 01:26:16 -04:00
serversdownandClaude Opus 5.5 73b6089012 fix(sfm): retry once on a dropped held line; refuse Series-3 beside a held Series-4 line
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 01:23:57 -04:00
serversdownandClaude Opus 5.5 96c7b31f4e feat(sfm): DeviceAccess -- one door, held Series-4 lines, a reaper, and the same answer shape for both series
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 01:17:39 -04:00
serversdownandClaude Opus 5.5 ece9ec79e3 feat(sfm): Series-4 identify, status and settings into the shared models
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 01:15:43 -04:00
serversdownandClaude Opus 5.5 8e7333b899 feat(sfm): Series-4 session -- call up once, stay on the line, release on RADIO RING
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 01:13:34 -04:00