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

2.9 KiB

Raw observation driver

The driver tools/observe.c only invokes public APIs and prints observations. It has no expected values or assertions. All integers in input are decimal; one command per line. Initial session and catalog are zero initialized. Each generic command prints S status active generation calls transferred selected_id catalog_count catalog_revision.

  • A/R/U id n h w c type layout: add, replace or import one model. X id: remove. O id input_layout configured_layout: select/open/reconfigure. C: close; Z: reset stats.
  • F id and L index: find/get; print M status id n h w c type layout, with a zero-initialized destination. V: copy/validate; print V copy_status validate_status copied_count copied_revision.
  • H: info; print H status id input_layout configured_layout generation calls transferred, with zero-initialized destination outputs.
  • B seed input_capacity output_capacity mode: run current session. D n h w c type input_layout output_layout seed input_capacity output_capacity mode: init and convert a standalone plan. Both allocate separate 8192-byte input and 4096-byte output arrays; only the first 4096 input bytes participate in the bounded tensor protocol. Input byte k is (seed+37*k+11*(k/3)) modulo 256, integer division. Output starts at hex a5. Mode0 uses separate output; mode1 points destination to input+1 to expose overlap. Mode3 replaces the generated input with a repeating 32-byte sequence, rotated by seed modulo32: 00000000 00000080 0000807f 000080ff 0100c07f 0100807f 0000803f ffffffff (hex bytes, little endian float examples). Mode2 changes the local standalone plan's first input stride before conversion; for B the local printed plan changes but the session run remains unchanged. These commands print B/D status init_status elements bytes, then the seven state fields after generic status, then lowercase output and input hex. Hex covers effective bytes if 1..4096, otherwise 32 bytes. A failed D init reports zero plan fields and does not convert. Only effective ranges are compared; unused tails have no defined output requirement.
  • I n h w c layout index: coordinate then offset; output I status inverse_status n h w c offset. Coordinate/offset sentinels start at 99 and remain on error.
  • J n h w c type input_layout output_layout: plan, inverse, chain; output J init_status inverse_status chain_status inverse_input inverse_output chain_input chain_output chain_bytes. Plans start zeroed.

The observer accepts command streams containing valid decimal tokens; unknown commands or missing operands terminate nonzero. Submission may change only the listed library files. The public driver/header/documents provide the formal interface; private verification rebuilds a fresh copy of this same driver and compares raw observations against an independent model. Additional stderr diagnostics are allowed, including arbitrary bytes.