Debian Codegraph @

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

raw symbols SCIP
1 id: SYS-REQ-093
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_unicode_edge_cases | getstring_handles_unicode_edges_safely
8 description: When GetString is called on JSON containing Unicode edge cases such as BOM characters, zero-width joiners, or multi-byte sequences at string boundaries, the parser shall decode correctly or return a well-defined error without panicking.
9 formalization_strategy: fretish
10 informal_verification:
11 method: ""
12 evidence: ""
13 verified: false
14 component: parser
15 rationale: Unicode edge cases (BOM, ZWJ, emoji sequences) are common in real-world JSON from international APIs and must not cause undefined behavior.
16 tags:
17 - getstring
18 - edge_case
19 - unicode
20 variables:
21 - getstring_input_has_unicode_edge_cases
22 - getstring_handles_unicode_edges_safely
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.402978Z"
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: edge_case
46 lifecycle:
47 change_history:
48 - date: "2026-04-21T00:00:00Z"
49 from: draft
50 to: review
51 reason: Added Unicode edge case obligation for GetString.
52 changed_by: agent:claude