id: SYS-REQ-108 version: 1 status: review priority: shall category: functional req_type: guarantee fretish: the parser shall always satisfy !parsestring_input_has_standard_escapes | parsestring_roundtrip_preserves_semantics description: When ParseString is called on a byte slice containing standard JSON escape sequences (backslash-n, backslash-t, double backslash, backslash-solidus, backslash-doublequote, backslash-uXXXX), the decoded Go string shall contain the correct Unicode codepoints such that re-encoding to JSON would produce semantically equivalent escape sequences. formalization_strategy: fretish informal_verification: method: "" evidence: "" verified: false component: parser rationale: Encoding safety for ParseString ensures that the decode path does not lose information. The decoded string must represent the same semantic content as the original JSON encoding. tags: - parsestring - encoding_safety variables: - parsestring_input_has_standard_escapes - parsestring_roundtrip_preserves_semantics traces: satisfies: - STK-REQ-007 verified_by_extra: - obligation_property_test.go documented_by_extra: - README.md reviewed_at: "2026-04-27T06:25:19.433955Z" reviewed_by: human:leonidbugaev verification: assurance_level: E formalization_status: valid review: status: approved reviewer: human:leonidbugaev reviewed_at: "2026-04-21T00:00:00Z" ai_generated: false history: created_by: agent:claude created_at: "2026-04-21T00:00:00Z" last_modified_by: agent:claude last_modified_at: "2026-04-21T00:00:00Z" obligation_class: encoding_safety lifecycle: change_history: - date: "2026-04-21T00:00:00Z" from: draft to: review reason: Added encoding-safety obligation for ParseString. changed_by: agent:claude