docs(architecture): the live-sync socket is 229 lines, not the 140 the section was written at #2363
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jaylouisw/packetforge!2363
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "docs/1121-0417"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
docs/ARCHITECTURE.mdsection The live-sync socket saidserver/ws.jsis "about 140 lines". Measured at this tree:wc -l server/ws.js= 229 (176 non-comment lines).The sentence was written in
6bc3e511, when the file was 181 lines total / 144 code lines - so "about 140" was a code-line count that the same commit's 73 added lines had already outgrown.8eb6c10c(the #1527 Origin check) took it to 229, and the number was never revisited.Change: one number in one sentence, 140 -> 230 (
aboutkept, since 229 is the reading). The behaviour described beside it (one client message,E_NO_TOPOLOGY/E_UNKNOWN_TYPE/E_BAD_MESSAGE, 1002/1009 framings, half-openend) was checked againstserver/ws.jsandserver/index.js(1478-1502) and is unchanged.Guards, before and after:
scripts/syntax-check.js514 files OK; docs-show-commands 73 forms / 146 commands / 96 device refusals, 7 passed; docs-cli-transcript 9 passed; help-completeness 8 passed (102 advertised commands, 19 mechanisms, 16 show views); help-key-works-in-every-prompt 10 passed; doc-catalog-counts 43 passed; check-control-bytes clean. No test pins a line count, so nothing moved.