Repository navigation
Compose integer labels with checked XOR scatter export - #3346
Merged
Mister-Meeseeks merged 1 commit intoOct 18, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change and mathematical scope
PR3273's XOR boundary still accepts PR3100's fractional-label witness: changing lines[0][1] from 0 to 0.5 passes the symbolic checker but changes exported geometry. PR3100's integer-label guard is composed only with the older simple-scatter contract. This adds integer-xor-scatter-v1: both existing contracts, full symbolic checking before export, and the same private input snapshot throughout. Selected baseline and cancelling-pair exports remain byte-identical to the original exporter.
This is an opt-in correctness repair, not a new bug discovery, supplier admission or kappa improvement. Frozen sources are unchanged.
Task and overlap
Refined supplier-boundary-audit; base 6f100d4, priority revision 6. Exact input blobs and SHA256 pins are in research/integer-xor-scatter-boundary/SOURCES.json; all are available in base history. TASK.json records the scope and limited live overlap search. Nearest work: #2977, #2992, #3100, #3273 and #3326. This composes the repairs instead of repeating their individual audits.
Validation
All pass locally on macOS, CPython 3.12.1. The deterministic audit also agrees under 3.11.6. Five behavioral groups cover malformed encodings, corruption of each authenticated delegate, output preservation, optimized CLI behavior and replacing the original input after validation. A Git-free export of exact committed bytes passed the audit and all five groups under -I -O -Werror -B; all 15 export files remained unchanged.
The audit runs the actual old XOR boundary to reproduce both fractional-only and mixed fractional/duplicate acceptance, then verifies rejection by the composed boundary. Wrong integer geometry and a wrong scalar endpoint are rejected by full checking. No fresh native/Boost, physical hosting, full selected ancestry or all-size theorem replay is claimed. Hosted CI is separate.
Credit
Nick Petalas (#2977/#3273), josecarlosgonzalezroque-design (#3100), Arham Tahir (#2992), and the scalar/native/selected-source lineage detailed in README.md retain credit. Substantial OpenAI Codex assistance across implementation, separate automated adversarial review and writing. Apache-2.0; no independent human review claimed.
Open next questions
README.md and TASK.json name the next step: bind a concrete producer/consumer to the combined contract and replay its complete native/physical invoice. This wrapper does not adopt itself into a production supplier.