Recover a mixed-field CLEAR #820

Manually merged
binjovi-bot merged 2 commits from mixed-clear-proof-20261119 into trunk 2026-11-19 20:52:48 +00:00
Owner

Recover a mixed-field CLEAR

A whole-structure CLEAR of character and packed fields can compile to a
literal image store. The image store has the width of the entire structure;
it must not be declared as an overlapping first subfield. The reader now
accepts the measured complete statement shape only when a direct padded store
proves the first character field and every byte of the image is covered by
proved character or packed defaults. Other types, gaps, overlaps, non-default
images, ambiguous widths, partial statements and SQL remain refused.

The small and large public synthetic controls recompile to matching objects;
both default and non-default initial values are covered. RESET controls keep
their existing output. The public webhook example recovers its CLEAR but
still has two unresolved statements, so it is not a whole-program match.

Gate

== a. development emits (dev-hash)
p1 same
p2 same
p3 same
p4 same
p5 same
== b. L10-test direction
L10-test unchanged
== c. committed twins (emit-bytes-diff)
emit-bytes-diff: identical
== d. captures (capture-emit-diff)
clear-assigned base=[5,1,4] head=[5,5,0] CHANGED fail-lines=0
clear-nondefault base=[5,1,4] head=[5,5,0] CHANGED fail-lines=0
clear-large base=[7,6,1] head=[7,7,0] CHANGED fail-lines=0
l10-web-marketing-group-rpgle-webhooks-1 base=[12,9,3] head=[12,10,2] CHANGED fail-lines=2
capture-emit-diff: 24 cases, 4 changed, 17 with no failure line in the head emit
== e. source agreement (agree)
suspect        base=6 head=6
conflict       base=0 head=0
params_wrong   base=0 head=0
decl_missing   base=0 head=0
decl_extra     base=0 head=0
type_unmarked  base=0 head=0
== f. host round trips (both binaries)
cases to round-trip: 17
l10-scout2/l10-andymalo43-ibelieve-2026-db2-for-i-u/l10-andymalo43-ibelieve-2026-db2-for-i-u-1 base=match head=match
packed-public-proof-20261119/packed-range-above    base=different head=different
packed-public-proof-20261119/packed-range-below    base=match head=match
packed-public-proof-20261119/packed-range-both     base=match head=match
packed-public-proof-20261119/packed-round-factor-half base=different head=different
packed-public-proof-20261119/packed-round-factor-truncate base=different head=different
packed-scale-proof-20261119/scaled-round-extra-place base=different head=different
packed-scale-proof-20261119/scaled-round-field-half base=different head=different
packed-scale-proof-20261119/scaled-round-field-truncate base=different head=different
packed-scale-proof-20261119/scaled-round-literal-half base=match head=match
packed-field-qualification-20261119/packed-field-rounded base=match head=match
retained-text-proof-20261119/retained-text-absent  base=match head=match
retained-text-proof-20261119/retained-text-unused  base=match head=match
retained-text-proof-20261119/retained-text-used    base=match head=match
clear-assigned-public-20261119/clear-assigned      base=different head=match
clear-reset-controls-20261119/clear-nondefault     base=different head=match
clear-large-public-20261119/clear-large            base=different head=match
gate: PASS
## Recover a mixed-field CLEAR A whole-structure `CLEAR` of character and packed fields can compile to a literal image store. The image store has the width of the entire structure; it must not be declared as an overlapping first subfield. The reader now accepts the measured complete statement shape only when a direct padded store proves the first character field and every byte of the image is covered by proved character or packed defaults. Other types, gaps, overlaps, non-default images, ambiguous widths, partial statements and SQL remain refused. The small and large public synthetic controls recompile to matching objects; both default and non-default initial values are covered. `RESET` controls keep their existing output. The public webhook example recovers its `CLEAR` but still has two unresolved statements, so it is not a whole-program match. ## Gate ``` == a. development emits (dev-hash) p1 same p2 same p3 same p4 same p5 same == b. L10-test direction L10-test unchanged == c. committed twins (emit-bytes-diff) emit-bytes-diff: identical == d. captures (capture-emit-diff) clear-assigned base=[5,1,4] head=[5,5,0] CHANGED fail-lines=0 clear-nondefault base=[5,1,4] head=[5,5,0] CHANGED fail-lines=0 clear-large base=[7,6,1] head=[7,7,0] CHANGED fail-lines=0 l10-web-marketing-group-rpgle-webhooks-1 base=[12,9,3] head=[12,10,2] CHANGED fail-lines=2 capture-emit-diff: 24 cases, 4 changed, 17 with no failure line in the head emit == e. source agreement (agree) suspect base=6 head=6 conflict base=0 head=0 params_wrong base=0 head=0 decl_missing base=0 head=0 decl_extra base=0 head=0 type_unmarked base=0 head=0 == f. host round trips (both binaries) cases to round-trip: 17 l10-scout2/l10-andymalo43-ibelieve-2026-db2-for-i-u/l10-andymalo43-ibelieve-2026-db2-for-i-u-1 base=match head=match packed-public-proof-20261119/packed-range-above base=different head=different packed-public-proof-20261119/packed-range-below base=match head=match packed-public-proof-20261119/packed-range-both base=match head=match packed-public-proof-20261119/packed-round-factor-half base=different head=different packed-public-proof-20261119/packed-round-factor-truncate base=different head=different packed-scale-proof-20261119/scaled-round-extra-place base=different head=different packed-scale-proof-20261119/scaled-round-field-half base=different head=different packed-scale-proof-20261119/scaled-round-field-truncate base=different head=different packed-scale-proof-20261119/scaled-round-literal-half base=match head=match packed-field-qualification-20261119/packed-field-rounded base=match head=match retained-text-proof-20261119/retained-text-absent base=match head=match retained-text-proof-20261119/retained-text-unused base=match head=match retained-text-proof-20261119/retained-text-used base=match head=match clear-assigned-public-20261119/clear-assigned base=different head=match clear-reset-controls-20261119/clear-nondefault base=different head=match clear-large-public-20261119/clear-large base=different head=match gate: PASS ```
Regenerate the operations legend
All checks were successful
binjovi/ci Binjovi completed the frozen plan
993fa9e27f
binjovi-bot manually merged commit 993fa9e27f into trunk 2026-11-19 20:52:48 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
sean/sourcerer!820
No description provided.