Skip to content

Repair scatter export with a versioned XOR-normalized boundary - #3273

Merged
Mister-Meeseeks merged 2 commits into
CrocSwap:mainfrom
petalas:research/20261017-batch2-worker-1-fresh
Oct 17, 2026
Merged

Mister-Meeseeks merged 2 commits into
CrocSwap:mainfrom
petalas:research/20261017-batch2-worker-1-fresh

Conversation

@petalas

@petalas petalas commented Oct 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Add an opt-in occurrence-semantics successor to the selected bit scatter boundary:

scatter lists
  validate typed slots and helper ranges
  reduce each slot multiplicity modulo two
  run authenticated full symbolic checker
  run authenticated exporter on the same private snapshot
  check emitted ADD/COPY/ERASE counts

research/xor-scatter-boundary/ contains the proof, executable boundary, exact sources, deterministic receipt, rejecting controls and registered replay. The proof permits retained aliases but keeps every COPY/ERASE pair separately charged. This is a distinct executable alternative to PR2992's rejecting simple-support schema, not production adoption.

Credit PR2977's mismatch, PR2992, PR3004's parity/count contract, PR3099, PR3128/3222's alias qualifications, PR3210's native controls and the retained eumemic/DreamingOfClouds/Dylan Crow word/checker/exporter lineage. Canonical predecessor discussion. No new Discussion post was made under the session's communication restriction.

Evidence

  • Before: the raw exporter disagrees with the full symbolic checker on the paired-absent duplicate fixture.
    After: normalization exports all three selected baseline artifacts byte-identically. Existing odd duplicates also preserve baseline artifacts; a wrong odd-absent endpoint still fails the actual checker before export.
  • Four accepted full fixtures pass the actual checker/exporter and independent word/record comparison on all 661 dirty input columns. The aliased-slot fixture retains all 10 COPY/ERASE pairs. The selected 527 scatter ADDs and 27234 records are unchanged.
  • All 29511 bounded alias comparisons and nine behavioral groups pass. Controls include source corruption, schema/capacity/gzip errors, output preservation, timeout cleanup, omitted ADDs and a wrong-destination ADD that preserves counts.
  • Registered CPython 3.12.15 replay, normal/optimized CPython 3.13.5 checks, Ruff 0.17.1, metadata/source pins and all 11 committed-byte comparisons pass. A read-only Git-free committed export passes on Python 3.13.5 without foreign Git objects. Linux x86_64; standard library only.
python3.12 -B scripts/research_package.py --package research/xor-scatter-boundary

Scientific base and refreshed canonical main are 463113d675af7410ac91d53a4fed51ec6494eb9a, priority revision 6. Final source head is 2e0408a03e770c85a7e59b9ade547dcbbaea7e73. All live dependencies are canonical-main blobs. The closing overlap snapshot covers 316 open PRs and 2108 Discussion records with complete pagination; only this package matches the normalization-specific query. Metadata search is not proof of novelty. Open next questions and exact limitations are in the README.

This is a scoped compiler-boundary repair, not a new decoder, supplier, kappa or complete multiplication theorem. Fresh native C++ replay, complete selected cold ancestry, physical hosting, precision/tape and all-size transfer remain unrun. Hosted checks are separate from these local results.

Merge Danger

Door: two-way

Blast Radius: isolated

Only one new opt-in package. No frozen-source, shared-checker, selected-frontier or producer-schema change. Filesystem export copying is not transactional; an I/O error can leave a partial new output directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants