Repository navigation
det: refuse COMP-5 / COMP-1/2 bytes of file and sort records by name (Part of #4271) - #5475
Conversation
…(Part of #4271) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #5475 @ be46eda: 2 failed check(s) == full-suite (failure) -- main == full-suite part 1/3 (failure) -- real |
|
No description provided. |
Part of #4271 (next slice after #4571, #4288, #5316, #5377).
What
A file or sort record is named by its FD, so READ, WRITE, REWRITE, SORT USING / GIVING and RETURN reached its bytes without
Gen.field_expr's guard. A record holding a COMP-5 item of 2+ bytes (C7) or a COMP-1 / COMP-2 item (C6) was written in the oracle's byte order and still translated.Gen.check_record_bytesnow refuses it by name (a Hole), with the same messages the other byte uses give. Register C6 already listed "a record written" as refused; this makes that true.Class
Byte observation of a COMP-5 / float item that bypasses
field_expr.Evidence
test_record_io_*(9 cases + sort RETURN + 2 not-refused): 7 fail without the fix, all pass with it.det_port.py check: 122/122 ports unchanged (no burned program writes such a record).pr_gates --fast6/6,--ratchets8/8, tree-wide guards pass, time ratchet 0 over.Cross-repo: none.
🤖 Generated with Claude Code