mirror of
https://github.com/morluto/rea
synced 2026-10-25 22:08:11 -04:00
7aa4b98c98
Interpret the validated, depth-bounded DOM directly. Collect source number facts during the same traversal and share them with keyed archives, Interface Builder and native plist projections. Remove the second XML parse, key aliases, source-location rewriting and both duplicate XML numeric scanners. Preserve character references, container/null behavior, safe own-property construction and prototype omission accounting. Decode signed hexadecimal integers and combine real text/CDATA. Retain exact integer identity when a finite integer exceeds even Number's finite range, using the shared scalar projector. Keep unsupported mixed integer syntax conservative and report incomplete metadata. Adapt @apitoagents's hexadecimal regression and literal-parsing proposal from PR #3475. Native plutil controls establish the supported hex/real cases and confirm that the synthetic 401-digit overflow case exceeds native bounds; retaining accepted input does not claim native-format support. Validation: 274 focused checks in 30 files pass, one skipped; build, check:fast and docs:check pass. Built CLI/actual stdio MCP, native plist and Interface Builder controls cover kinds, references, exact digits and digests. Eight baseline checks fail; native binary conversion independently verifies updated CDATA real expectations. 48 tiny completed CLI cost comparisons preserve ordinary XML/binary and all three native replies byte for byte. Two read-only reviews clear. No statistical speed claim, heavy profiler, investigated-target execution or real deep-provider verification. Fixes #3373 Fixes #4042 Fixes #4789