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>
8 lines
2.3 KiB
Markdown
8 lines
2.3 KiB
Markdown
# Console protocol and observations
|
|
|
|
C1. Input is ASCII, one command per line, maximum 1023 bytes excluding LF; optional CR before LF is accepted. Blank lines and lines whose first non-space character is # are ignored without consuming a sequence number. Whitespace separates tokens. Tokens containing # are not comments. EOF after an unterminated final line is accepted. Longer lines are rejected once and drained through LF.
|
|
C2. Integers are decimal digits only, with no sign, prefix or suffix. A token's numeric value must be representable as uint64. Leading zeros are accepted. Commands and arities are exact: R; I slot count followed by exactly count words; P slot expected first count followed by exactly count words; D slot expected; E slot input. Unknown commands and any invalid syntax return -4. Slot=0..3, count=1..12, first=0..11, word=0..65535, input=0..4294967295; expected may be any uint64. No extra tokens are allowed.
|
|
C3. Every nonignored line consumes one sequence number starting at 1. R resets state and counters including rejected and returns zeros; sequence numbering does not reset. Every other command with nonzero rc increments rejected once. Commands are processed in order. Normal EOF returns process exit code 0, even if commands were rejected.
|
|
C4. Each processed line emits O sequence rc value retired, then S sequence serial installs patches drops executions writes sync_calls sync_words rejected. Then for slots 0..3 it emits B sequence slot active length generation, D sequence slot followed by that active slot's data words, and X sequence slot followed by that active slot's execution words. Inactive D/X lines have no words. Numbers are decimal and fields separated by single ASCII spaces. One LF ends each observation. No other stdout is emitted; stderr diagnostics are allowed.
|
|
C5. The observation driver reports current public metadata and valid-range word arrays without repair, assertions or expected results. The supported build is `make`, using gcc C11 and the provided support sources; `./code-window < examples/field.txt` replays the one-slot field report. Other allowed streams include all slots, repeated installs/drops, nonzero patch offsets, any instruction operands in range, optimistic conflicts and invalid program edits. A submitted file may use C11 standard library facilities and the public interface, and must build with the supplied sources.
|