interp: serialize runtime values without recursive JSON nesting
This commit is contained in:
1 parent
6353ab5f5d
commit
c9064418bd
6 files changed
+422
-55
No files matched your search
@@ -427,4 +427,10 @@ The [Q-060 runtime value-size increment](../design/runtime-value-depth-audit.md#
|
||||
|
||||
Units/format checks, test-extended and all 1,789 ordinary conformance cases pass; the deep allocation and new pair also pass per-step collection. Ten new-pair quota records and 426 generated allocation-oracle runs match the old interpreter exactly. The earlier full per-step collector suite remains in progress. No normative/bundle/feature/code change or accepted-depth limit; Q-060 remains open for serialization, and Phase 6/contract gates remain open. No fresh Claude review was available.
|
||||
|
||||
## Runtime value JSON serialization (2026-10-10)
|
||||
|
||||
The [Q-060 JSON increment](../design/runtime-value-depth-audit.md#runtime-value-json-repair) emits nested values through explicit sequence continuations and one outer raw-value boundary, preserving field order, escaping, whitespace/options, integer bytes and opaque handles. Host traversal metadata is released on error or completion; Aji authority, payload ownership, fuel, collection and verifier rules are unchanged. Tests cover 112 option combinations, mixed 32,768-level codec values, outer nesting at the stringify boundary and writer/allocation failures. A new AIR/source enum/record/array result pair pins the existing run-record shape, and the original deep verified return now produces a complete record in deterministic and hosted profiles.
|
||||
|
||||
Units/format checks, test-extended and all 1,791 current ordinary conformance cases pass; the added pair also passes per-step collection in Debug. Forty-four old/new shallow records are byte-identical. The prior full Debug collector run has no completion result (785 passing records); its process disappeared, and a replacement full ReleaseSafe per-step run is in progress, retaining safety checks. No incomplete run is counted as a pass. There is no normative/bundle/feature/code change or new depth limit. Q-060's closing call-path audit and Q-059's uncached nominal queries remain open; the cache-free public runtime entry concern is inspection-only. Phase 6/contract gates remain open. No fresh Claude review was available.
|
||||
|
||||
Both new copy cases also pass with collection before every instruction; their shallow sharing-preserving GC behavior is covered separately from the retained deep collector failure.
|
||||
Reference in new issue
Block a user