Commit Graph
29 Commits
Author SHA1 Message Date
serversdownandClaude Opus 5.5 1ded70fcd9 docs: the MiniMate re-run -- every in-page event verifies; the 'reboot' was our bare 0x02 checksum
Series-III reference: a 2026-10-26 row (5A checksum escape, measured), and the
2026-10-25 row's guessed cause of the mid-download reboot (battery, firmware)
retracted in place -- it was our request.  CRLF kept.  Spec: the re-run, item
by item, and what is still owed.  CLAUDE.md: the phase-1b bullet brought up to
date.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-26 01:19:46 -04:00
serversdownandClaude Opus 5.5 f34f5c3376 test(minimateplus): pin the BE9441 bodies and files byte for byte, and the TERM's header skip
Re-review of 64273c0: nothing pinned the TERM skip -- a TERM cut one byte off
loses a byte after the END record, invisible to every decode and peak check.
Golden sha256 of both fixtures' bodies and written files (event 0's file is
byte-identical to the one SFM stored at the bench before any fix; event 1's is
the bench's 25,810 bytes plus the 2 recovered), and a TERM moved to 0x1002.
The clipped-blast test now sits two steps past full scale (32032 counts), so it
needs the carve-out.  Spec: the TOOL_VERSION reason corrected (no stored file
is affected); a MicL-only waveform is now refused -- failing safe, bench-check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-25 19:01:36 -04:00
serversdownandClaude Opus 5.5 64273c07d3 docs(spec): the MiniMate fixes' review -- the changelog's operational note, a behaviour change, a bench-first item
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-25 18:52:42 -04:00
serversdownandClaude Opus 5.5 3898d03236 docs: the first MiniMate bench run -- four bugs found, what remains of the check
Series-III reference: the 0x15 serial is a C string (BE9441's "BE9441\x00?"),
A5 replies echo their address at data[2:6] (metadata pages only on the
event-1 walk), the unit boots on serial-port open (banner ~3 s, answered 8.8 s
after a reboot's banner), one mid-download reboot, and 24 index entries vs 20
listed events (inferred: monitor-log entries).  Spec: the MiniMate check's
first run, item by item, and what is still owed.  CLAUDE.md: the phase-1b
"unproven" line retracted in place, with the four bugs and the re-run owed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-25 18:19:14 -04:00
serversdownandClaude Opus 5.5 4b911b1c0c docs: the first commands this project originated -- start/stop on UM20147
Bench, 2026-10-25, Brian's go per send: 0x96 acked in 464 ms and read back
monitoring at the first 2 s poll (during the sensor check); 0x97 acked in
116 ms, then 0x49 read a new value 0x01 for ~18 s (inferred: the unit's
call-home attempts after a stop) before idle; two stops to an idle unit acked
in 10 ms and changed nothing.  Retracts "no command has ever been originated"
in place in CLAUDE.md and the reference's untested list; answers the spec's
stop-while-stopped question.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-25 15:56:18 -04:00
serversdownandClaude Opus 5.5 b1c87ecccd docs(spec): what the phase 3 review left open, and why
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-23 19:36:36 -04:00
serversdownandClaude Opus 5.5 144d3779a1 docs(plan): phase 3 -- start/stop monitoring, the first live write, through the safety layer
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-23 00:47:12 -04:00
serversdownandClaude Opus 5.5 c6f7b5c031 docs(spec): the ring cool-down is test-first -- bench procedure for the ring path and retries
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-23 00:20:08 -04:00
serversdownandClaude Opus 5.5 75b7694983 docs(spec): phase-3 write preconditions and the measured Series-3 verdict
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-22 17:48:52 -04:00
serversdownandClaude Opus 5.5 2a6acae259 docs(plan): Series-4 write path phase 2 -- encoder, opcode gate, write plans, dry run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-22 00:14:30 -04:00
serversdownandClaude Opus 5.5 7a6c74266b docs: phase 1b re-review residuals -- bench scope gains the already-stored check, parked items corrected
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 17:59:25 -04:00
serversdownandClaude Opus 5.5 67a0fece34 docs(spec): park two more phase 1b items -- a lost 0C in a list, the walk retry
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 17:45:04 -04:00
serversdownandClaude Opus 5.5 a5ebe8d4b1 docs(spec): park the phase 1b review's open items; scope the owed MiniMate bench check
- New section "Left open by the phase 1b review (2026-10-21)", after the
  1a one: twelve one-line items, each naming the phase it matters to
  (retry re-running a whole download, last_used after a kept-line error,
  verified:null's two meanings, mic naming + the S4 0x0C mic denormal,
  500 detail text, the serial as a directory name, no server-level ring
  test, S3 stored record_type, a fresh S4 download's gaps, orphan files,
  same-second collisions, 423 Retry-After).
- The 1b bullets now give the owed MiniMate bench check's scope: a 3+
  event list (1F(browse) after 1E(arm) without 1F(arm)), a non-first
  event, a histogram (capture its 0C), an event past 64 KB (the named
  502), a stale id (no 5A), and a dropped reply via mm_link-style fault
  injection.
- The 1b "Download" bullet's "refreshes the row" is retracted in place:
  the final review changed it to "returns the row, writes nothing".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 17:42:24 -04:00
serversdownandClaude Opus 5.5 ff7188a034 docs(plan): SFM device access phase 1b -- events for both series
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 16:45:50 -04:00
serversdownandClaude Opus 5.5 6b4161ddfb docs(spec): phase 1b decisions -- header-only MiniMate list, download stores, event_id
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 16:40:31 -04:00
serversdownandClaude Opus 5.5 89433c1fdb docs(spec): every phase lands on this branch; one merge to dev at the end
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 15:35:26 -04:00
serversdownandClaude Opus 5.5 e1af35e1d0 docs(spec): park the phase 1a review's minor findings in the spec
They were recorded only in the plan's scratch ledger, which is deleted
when the plan finishes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 01:59:42 -04:00
serversdownandClaude Opus 5.5 080e8f4704 docs: serial parameter, settings/hangup endpoints, single-worker rule, cool-down prerequisite for 1c
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-21 01:45:33 -04:00
serversdownandClaude Opus 5.5 8eab5f9479 docs(plan): SFM device access phase 1a -- foundation plus identify/status/settings for both series
Ten tasks, test-first: the is_open fix, two client reads, core types, the
per-unit lock, both adapters, Series-4 sessions with ring safety,
DeviceAccess with the reaper and the contract tests, the endpoints, and a
read-only bench check on UM20147.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-20 19:10:15 -04:00
serversdownandClaude Opus 5.5 bbc6fe2a61 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
2026-10-20 19:03:03 -04:00
serversdownandClaude Opus 5.5 68cad4e2ab docs(spec): monitor logs are their own piece of work -- row 6 moves to the parking lot
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-20 18:54:24 -04:00
serversdownandClaude Opus 5.5 435c1978a0 docs(spec): park setup files and schedules as one open question
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-20 18:42:41 -04:00
serversdownandClaude Opus 5.5 90171996d6 docs(spec): say plainly what 'no PC-side setup library' means
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-20 18:38:56 -04:00
serversdownandClaude Opus 5.5 3215c17e37 docs(spec): one user experience for both series -- the guiding principle, applied
Brian's principle: talking to a Series 3 or a Series 4 unit is identical for
the user; only the serial prefix and each model's settings differ, and the
adapters absorb the rest.

Five places the draft broke it, now fixed: units are named the same way
(serial + address, no-serial kept only as a legacy Series-3 path); one set
of series-neutral response models with series-only fields under `detail`;
one opaque event_id for both; a uniform 501 "not supported for Series N
yet" instead of missing routes; and the webapp brought into scope with the
same screens for both.  Adds an adapter table, contract tests that keep the
two adapters honest, and notes that existing Series-3 response shapes move
to the shared models (the webapp updates with them; Terra-View does not
call /device/*).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-20 18:33:48 -04:00
serversdownandClaude Opus 5.5 1c6aa04687 docs(spec): SFM Series-4 parity and a device safety layer -- design for review
Parity of jobs with Series 3 for regular comms and settings (identify,
status, settings, events, download, monitor log, start/stop, call-home
enable/disable, setup push); Series-4 emergency tools deferred.  A single
device-access layer: series from the serial prefix, identity confirmed
before any write, a per-unit lock, an 0xA2 opcode guard, read-back
verification of every change, distinct error codes, and an audit table.
Series-4 sessions ("stay on the line") now; Series-3 sessions after a bench
test of MiniMate hangup/DCD behaviour.

Includes the fix list found in the 2026-10-19 inventory, the to-be-added
table, and the RX55 container idea as a parking-lot item.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-10-20 17:41:00 -04:00
serversdownandClaude Opus 5 c6fc3d0241 docs: BE12599 incident — the inverted rescue, plus a rescue-listener plan
The wedged_unit_recovery runbook covered exactly one failure mode.  BE12599
turned out to be a second one wearing the same symptoms, and the existing
procedure did not work on it.

Adds a "TWO failure modes" table up front so the next incident branches
correctly, and a full second-incident section covering what the ALEOS serial
debug log revealed: the device repeating a 29-byte AT modem-init string
(ATQ1/ATE0/ATS0=2, no ATD) every 75 s, never getting an OK because the modem
is in TCP data mode, and therefore never entering S3 mode at all.  Inbound
cannot win against that, no matter how well framed.

Also records the two red herrings, since together they cost ~90 minutes:
the RV50 trusted-IP whitelist drops non-listed sources silently (presents as
a connect timeout, and Brian's dynamic dev IP had rotated off the list), and
sfm/server.py returns 502 for BOTH "Protocol error:" and "Connection error:",
so a 502 was misread as "TCP connected, device mute" and a theory built on it.

And the gotchas worth never re-deriving: slow_drip's send_error=null plus a
full duration is not success (only bytes_received > 0 is); stopping monitoring
removes the call-in trigger, so it costs you the channel; --events-only skips
the device-info step, so the serial is never read and ach_state keys on
peer:ephemeral_port, silently breaking dedup and re-downloading the same event
every session.

The plan doc captures the tool Brian wants built out of this — a rescue
listener with a real lifecycle and, critically, a confirmation gate before
shutdown, because leaving the modem's Destination pointed at a dead listener
is worse than never having started.  Open questions are listed rather than
guessed at.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Qcu9ByJfuKBQxmrWb8rSrN
2026-09-17 05:45:26 +00:00
serversdown 23e4f585a8 fix(db): keep reviewed_real out of the Migration-1 rebuild table (positional SELECT *); regression test 2026-08-25 00:31:39 +00:00
serversdownandClaude Opus 4.8 5247e78669 docs(plan): B2-A — reviewed_real + 3-state mirror + twin review-propagation
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YDXjZCr4RqT2U3QvMDhgzf
2026-08-25 00:25:02 +00:00
serversdownandClaude Opus 4.8 eb92b13aac docs(plan): waveform-shape FT detection — Phase A (seismo-relay)
7-task TDD plan: shape DSP module (crest factor + points-near-peak), shape_*
columns + auto-migrate, insert_events persistence, ingest population in the
save paths, backfill script, /db/events exposure + v0.24.0 bump. Phase B
(terra-view scoring/UI/review) gets its own plan once this feed is live.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YDXjZCr4RqT2U3QvMDhgzf
2026-08-21 21:32:59 +00:00