mirror of
https://github.com/morluto/rea
synced 2026-10-27 14:42:18 -04:00
78cf6100f3
Use the validated DOM's character-data key names for both identity and prototype omission. Replace first-child reinterpretation with canonical, collision-free aliases inside the pinned decoder boundary; restore names through the existing dictionary projection. Alias every spelling of the same name to preserve duplicate assignment order. Handle empty key spellings and keep scalar key elements outside aliasing. Preserve value text and bytes. Adapt @thangldw's tests and proposal from PR #3426. Avoid the proposal's closing-content scanner and re-escaping source names. Add duplicate, empty, alias-collision, scalar-key, native fallback and Interface Builder controls. Validation: 180 focused checks across 20 files pass, including built CLI and actual stdio MCP, build, check:fast and docs:check. Baseline public inspection truncates main to ma. 24 tiny completed CLI cost controls preserve ordinary XML/binary full replies and Evidence IDs byte for byte. No statistical speed claim, heavy profiling, investigated-target or real deep-provider execution. Fixes #3371