amos 8b7616bfd8 Batch 22 (20261027-C-hwe-hard-22): add 63 calibrated HWE hard-design tasks
From the 101 lk/man/pth code-gen sources: 63 tasks (C11 36, C++17 27,
11 canonical families), 38 skipped for scope or duplication. Each task
has at least one independent contract-edge defect, boundary types
rotate, and public docs state trap clauses as plain contract prose.
Claude reviewed 63/63 USABLE against current digests. Difficulty is
unmeasured.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 16:14:57 +08:00

781 B

Socket journal console

This C11 program replays an offline stream connection journal. It uses scripted ports and does not open network sockets.

Build with make and run ./socket-console < smoke.txt. Successful builds and normal input EOF return zero. The output is one JSON observation per input line. Diagnostics may appear on stderr.

The library behavior must conform to every clause of docs/stream.md and docs/console.md. The delivered files are stream.h, state.c, transmit.c, and receive.c. Only these files are collected and scored; additional files are not collected. Their public signatures and structures remain compatible with the supplied console and adapter. The grader rebuilds these files with its own copies of the console, adapter, and Makefile.