amos 9d633e9e67 Batch 15 (20261023-C-hwe-scale-15): 320 HWE-derived repair tasks
One user-space repair task per eligible HWE debug-diag / compile-deploy base
ID: 320 admitted (C 218, C++ 97, build scripts 5), 1 skipped by the content
filter. Each ships a public spec with a check-to-basis table, at least two
defects with single-fix fixtures, a symptom-masking fixture and an alternative
correct implementation. Claude re-checked all 320: structure, the HWE quality
items and trace6 Docker calibration receipts against current digests
(320/320 USABLE). Difficulty is unmeasured. Known follow-up: 212 tasks use 120
ad-hoc family names; the next batch maps them to the canonical list.
The batch's 1,256-line progress log stays in its factory report and the
36-local branch batch15-hwe.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 01:55:56 +08:00
..

Device progress qualification bench

This is a deterministic C++17 software device. It verifies progress publication and payload qualification without threads, real hardware, or timing measurements. make builds progress-demo using g++, make and the standard library only.

Default demonstration:

make
printf '1 17 1 0  0 4 1 19 0\n' | ./progress-demo

A configured demonstration:

printf '2 7 3 6 1  0 3 5 41 1  1 0 2 7 0  0 2 3 99 2\n' | ./progress-demo

The executable accepts one plan on stdin, with whitespace-separated decimal unsigned integers (optional leading + and arbitrary leading zeros). Whitespace is the classic C++ stream whitespace set. No extra tokens are permitted. Header: lanes modulus job_count, then lanes initial register values, then job_count records of lane units stride seed operation. The domain is lanes 1..4, modulus 2..65536, job_count 0..64, initial less than modulus, lane less than lanes, units 0..32, stride 1..31, seed 0..65535, operation 0..2. Validation precedence is documented in docs/device-contract.md.

Only engine.cpp is submitted. The fixed public progress.hpp, observer.cpp, metrics.cpp, certificate.cpp and main.cpp are rebuilt alongside it during verification. Replacing the fixed observer or printing invented records does not implement a device transaction. Implement all clauses of docs/device-contract.md. Stderr is free for arbitrary diagnostic bytes and does not affect a valid stdout protocol.