Debian Codegraph @

specs/system/requirements/SYS-REQ-092.req.yaml

raw symbols SCIP
1 id: SYS-REQ-092
2 version: 1
3 status: review
4 priority: shall
5 category: functional
6 req_type: guarantee
7 fretish: the parser shall always satisfy !getstring_input_has_escaped_unicode | getstring_decodes_and_preserves_semantics
8 description: When GetString is called on a JSON string containing escaped Unicode sequences (e.g., \u00e9, \uD83D\uDE00), the parser shall decode them to the correct Go string runes, preserving round-trip semantic equivalence with the original Unicode codepoints.
9 formalization_strategy: fretish
10 informal_verification:
11 method: ""
12 evidence: ""
13 verified: false
14 component: parser
15 rationale: Encoding safety ensures that escaped Unicode in JSON is faithfully decoded to Go strings. This is critical for internationalized payloads.
16 tags:
17 - getstring
18 - encoding_safety
19 - unicode
20 variables:
21 - getstring_input_has_escaped_unicode
22 - getstring_decodes_and_preserves_semantics
23 traces:
24 satisfies:
25 - STK-REQ-002
26 verified_by_extra:
27 - obligation_property_test.go
28 documented_by_extra:
29 - README.md
30 reviewed_at: "2026-04-27T06:25:19.401217Z"
31 reviewed_by: human:leonidbugaev
32 verification:
33 assurance_level: E
34 formalization_status: valid
35 review:
36 status: approved
37 reviewer: human:leonidbugaev
38 reviewed_at: "2026-04-21T00:00:00Z"
39 ai_generated: false
40 history:
41 created_by: agent:claude
42 created_at: "2026-04-21T00:00:00Z"
43 last_modified_by: agent:claude
44 last_modified_at: "2026-04-21T00:00:00Z"
45 obligation_class: encoding_safety
46 lifecycle:
47 change_history:
48 - date: "2026-04-21T00:00:00Z"
49 from: draft
50 to: review
51 reason: Added encoding-safety obligation for GetString.
52 changed_by: agent:claude