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
..

Fork ledger

This project is a deterministic user-space ledger for buffered log streams. It models process-local state and shared file descriptions without creating OS children or relying on scheduling.

Build with make and replay the public incident with make smoke. Each nonblank command prints one JSON observation. The last observation currently disagrees with the documented ledger behavior. The display code is an observer; the model is responsible for the state it displays.

Behavior must satisfy all clauses in docs/ledger.md. The API is fork_model.h; model_internal.h describes implementation support and is not a required internal call graph. Implementations may reorganize those helpers. C11 and the POSIX console reader are the only dependencies.

Submit and grade only fork_model.h, model_internal.h, model_store.c, model_buffer.c, model_session.c, and model_lifecycle.c. New files and changes to the observer, Makefile, smoke input, or documentation are not collected. Keep these six files self-contained and buildable with the documented observer.