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
{{ message }}
Repository navigation
test: canonical form cases for \r and backslash #110
The B2 baseline test compares each record file under .memory/corrections/ with the canonical form of core ADR-0081: JSON.stringify(record, null, 2) + "\n". #108 made the Go serializer write the same bytes as JSON.stringify. A read-only cross-review of #108 (reviewer openai/gpt-6.1-sol, merge of #108) found the serializer correct, but the table near internal/baseline/repository_baseline_test.go:603 has no explicit case for 2 escapes:
a carriage return: JSON.stringify writes \r
a backslash: JSON.stringify writes \\
Severity: low, not blocking. No byte-format defect was seen. The gap is test coverage only.
Acceptance
The table in internal/baseline/repository_baseline_test.go has a case where a field holds a carriage return in canonical form (\r): it passes.
It has a case with the same field in a non-canonical form (for example \u000d or \u000D): it fails with "not in canonical form".
It has a case where a field holds a backslash in canonical form (\\): it passes.
Activity