Skip to content

Net: documentation, resources in initialize, wire key cnp (network play, step 6) - #264

Merged
cjus merged 1 commit into
mainfrom
claude/net-docs
Nov 5, 2026
Merged

cjus merged 1 commit into
mainfrom
claude/net-docs

Conversation

@cjus

@cjus cjus commented Nov 5, 2026

Copy link
Copy Markdown
Owner

Step 6 of docs/network-play.md (#209); the specification half is cjus/chess-node-protocol#24 (merged).

  • Book chapter 22, "Network play" (new Part VI) and a README section.
  • CNP pin moved to the spec revision with the network transport (3.2, 3.3) and resources in initialize.
  • initialize reports resources (threads, hashMb): unit test, and a test through the real binary with and without --threads/--hash.
  • Wire key cnp instead of cb2026 for the pairing and discovery messages, as the spec has them (nothing shipped used the old key).
  • Design doc and status updated. Filed Network play: try it between two computers, then decide whether releases carry it (#209) #263 for Carlos: try it on two real computers, and decide whether release binaries carry --features net.

Licence notices need no change (scripts/notices.sh already includes the TLS stack).

No functional change; bench 767812. scripts/check.sh passed locally.

🤖 Generated with Claude Code

…k play, step 6)

- Book chapter 22, "Network play": the open-port problem, fingerprint pinning, pairing, the
  idle timeout that couldn't exist, limits, discovery and its abuse, how to try it, exercises.
- README section for using cb2026 from another computer; design doc and status brought up to date.
- The CNP pin moves to the specification that now has the network transport (sections 3.2 and
  3.3) and `resources` in initialize (cjus/chess-node-protocol#24). initialize now reports the
  node's threads and hash (--threads, --hash), tested through the real binary.
- The pairing and discovery messages use the key "cnp" instead of "cb2026", as the spec has them,
  so another node or client can use them.
- Needs-carlos issue #263: a try between two real computers, and whether releases carry the
  feature.

No functional change.

Bench: 767812

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@cjus
cjus merged commit 5f03a21 into main Nov 5, 2026
1 check passed
@cjus
cjus deleted the claude/net-docs branch November 5, 2026 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant