You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core-no-std-plan.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -121,6 +121,7 @@ Current semantics draft:
121
121
- Comments between `:` and the value normalize to entry-prefix comments.
122
122
- Simple lists and variants stay on one line when they are short and comment-free; multiline containers omit commas in canonical output.
123
123
- On the compact owned `Value` core writer, unit variants may be bare only in root/value position; map-key variants stay explicit with `()`.
124
+
- On the compact owned `Value` and typed core writers, empty root maps stay explicit as `{}`, while non-empty root maps remain brace-less even when the first key is composite.
124
125
- On the legacy owned `Value` formatter, unit variants collapse to quoted strings.
125
126
- Exact roundtrip guarantees currently documented:
126
127
- Formatter-core canonical output is idempotent on the tested subset of root maps/lists/values, variants, strings, comments, and composite-root-key shapes.
@@ -152,7 +153,7 @@ Tasks:
152
153
-[ ] Keep identifiers, numbers, comments, and unescaped strings borrowed
153
154
-[ ] Represent escaped strings as raw slice plus "needs decode" metadata
154
155
-[ ] Avoid building owned `Value` trees on the critical path unless requested
155
-
-[] Add tests that prove borrowed paths work across representative inputs
156
+
-[x] Add tests that prove borrowed paths work across representative inputs
156
157
157
158
Exit criteria:
158
159
@@ -455,3 +456,5 @@ Entries:
455
456
-`2026-03-31 | codex1 | WS1/WS8 | Added a short semantics draft to the tracker and tightened the documented exact-roundtrip exclusions: legacy and core keyword map keys canonicalize to strings, legacy unit variants collapse to strings, and fuzz-contract comments now point at tested behavior | next semantics work is to finish the remaining unsupported/tolerated ambiguity list rather than leave it implied`
456
457
-`2026-03-31 | codex1 | WS1/WS8 | Clarified that owned-Value 'exact roundtrip' means Value equality rather than source spelling or numeric storage identity, and marked the value-roundtrip fuzz contract task complete | next semantics work is to review whether any remaining exclusions still need to be promoted from implementation detail to documented non-guarantee`
457
458
-`2026-03-31 | codex2 | WS7/WS9 | Added scripts/run_benchmark_baseline.sh and benchmark-data/README.md with a reproducible local baseline for bench_parse and bench_core_vs_serde at 477118a | next performance slice is release-size tracking or stronger benchmark automation`
459
+
-`2026-03-31 | codex1 | WS1/WS3 | Aligned the compact owned/typed core writers with parser and formatter-core root-map semantics: empty root maps now stay explicit as '{}' and composite first keys no longer force outer braces; added direct regression coverage for both serializers and exact-roundtrip tests for the owned Value path | next semantics work is to review any remaining implementation-tolerated ambiguities that still are not either guaranteed or explicitly excluded`
460
+
-`2026-03-31 | codex1 | WS2 | Added borrowed-slice parser tests in eon_core covering identifiers, numbers, raw escaped strings, and quoted variant heads, so the zero-copy contract is now enforced on representative common tokens | next zero-copy work is the actual allocation audit and deciding whether escaped-string metadata should become more explicit than the current raw-token model`
0 commit comments