docs: the .MLG format measured (reference D.4), and the new /db routes

Reference D.4 rewritten from the measurements: the 18-byte prefix,
length-led 292-byte records, the CRC-16/AUG-CCITT (3,329 / 3,329), the
fields, how Blastware writes the files and how a session appears, and
the cross-check against DL2's event files.  The old D.4.1-D.4.3 stay,
marked retracted.  CLAUDE.md gains the five routes and a Where things
stand entry; the spec's footer-CRC note points at dev's 8544e9c.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R9LdWawLzUxwewZGA1
This commit is contained in:
serversdownandClaude Opus 5.5 committed 2026-11-13 13:56:10 -05:00
1 parent 4bc669df4d
commit 35bac40dd5
3 files changed
+153 -10

No files matched your search

@@ -289,10 +289,10 @@ An empty file holds no serial. Take, in order:
- Rewrite the reference's D.4 (`docs/instantel_protocol_reference.md`) with the measured framing,
checksum, fields and file behaviour, keeping the old text as a retraction. Mark D.4.3 solved.
The file is CRLF: edit it with the Edit tool.
- 🔑 **For Brian to pass to the decoder session, not edited here:** the event-file footer's
checksum (D.3.3, open since April) is the same rule. AUG-CCITT over the footer record from its
length `00 1a` through byte 24, stored big-endian. It matches **70,041 / 70,041** DL2 files.
Inferred: every record in the event file's tail chain (D.6.13) carries one.
- 🔑 **The event-file footer's checksum** (D.3.3, open since April) is the same rule:
AUG-CCITT over the footer record from its length `00 1a` through byte 24, stored big-endian,
**70,041 / 70,041** DL2 files. Recorded on `dev` by the decoder session (`8544e9c`,
2026-11-11). Inferred: every record in the event file's tail chain (D.6.13) carries one.
## Testing