| 1 | id: SYS-REQ-014 |
| 2 | version: 1 |
| 3 | status: review |
| 4 | priority: shall |
| 5 | category: functional |
| 6 | req_type: guarantee |
| 7 | fretish: the parser shall always satisfy !raw_string_literal_is_well_formed | returns_parsestring_value |
| 8 | description: When ParseString receives a well-formed raw JSON string literal body, the parser shall return the corresponding decoded Go string value. |
| 9 | formalization_strategy: fretish |
| 10 | informal_verification: |
| 11 | method: "" |
| 12 | evidence: "" |
| 13 | verified: false |
| 14 | component: parser |
| 15 | rationale: ParseString success on valid encoded strings should be specified independently from malformed-string rejection. |
| 16 | tags: |
| 17 | - decomposition |
| 18 | - parse |
| 19 | - string |
| 20 | variables: |
| 21 | - raw_string_literal_is_well_formed |
| 22 | - returns_parsestring_value |
| 23 | traces: |
| 24 | satisfies: |
| 25 | - STK-REQ-007 |
| 26 | verified_by_extra: |
| 27 | - escape_test.go |
| 28 | - mcdc_supplement_test.go |
| 29 | - parser_test.go |
| 30 | documented_by_extra: |
| 31 | - README.md |
| 32 | reviewed_at: "2026-04-27T06:25:19.239504Z" |
| 33 | reviewed_by: human:leonidbugaev |
| 34 | verification: |
| 35 | assurance_level: E |
| 36 | formalization_status: valid |
| 37 | review: |
| 38 | status: approved |
| 39 | reviewer: human:leonidbugaev |
| 40 | reviewed_at: "2026-04-23T00:00:00Z" |
| 41 | ai_generated: false |
| 42 | history: |
| 43 | created_by: human:cli |
| 44 | created_at: "2026-04-13T17:21:50Z" |
| 45 | last_modified_by: agent:codex |
| 46 | last_modified_at: "2026-04-14T15:45:00Z" |
| 47 | obligation_class: nominal |
| 48 | lifecycle: |
| 49 | change_history: |
| 50 | - date: "2026-04-13T17:27:00Z" |
| 51 | from: draft |
| 52 | to: review |
| 53 | reason: "" |
| 54 | changed_by: human:cli |
| 55 | - date: "2026-04-14T15:45:00Z" |
| 56 | from: review |
| 57 | to: review |
| 58 | reason: Separated ParseString success behavior from malformed-token failure behavior. |
| 59 | changed_by: agent:codex |