Debian Codegraph @

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

raw symbols SCIP
1 id: SYS-REQ-040
2 version: 1
3 status: review
4 priority: shall
5 category: functional
6 req_type: guarantee
7 fretish: the parser shall always satisfy raw_int_token_is_well_formed | raw_int_token_overflows_int64 | returns_parseint_malformed_error
8 description: When ParseInt receives a non-integer or otherwise malformed token that is not an overflow case, the parser shall return the documented malformed-value error.
9 formalization_strategy: fretish
10 informal_verification:
11 method: ""
12 evidence: ""
13 verified: false
14 component: parser
15 rationale: Malformed-token rejection is an externally visible ParseInt outcome and should be specified independently from valid integer parsing and overflow detection.
16 tags:
17 - decomposition
18 - parse
19 - int
20 - edge-case
21 variables:
22 - raw_int_token_is_well_formed
23 - raw_int_token_overflows_int64
24 - returns_parseint_malformed_error
25 traces:
26 satisfies:
27 - STK-REQ-007
28 verified_by_extra:
29 - parser_test.go
30 documented_by_extra:
31 - README.md
32 reviewed_at: "2026-04-27T06:25:19.290496Z"
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: agent:codex
44 created_at: "2026-04-14T15:45:00Z"
45 last_modified_by: agent:codex
46 last_modified_at: "2026-04-14T15:45:00Z"
47 obligation_class: malformed_input
48 lifecycle:
49 change_history:
50 - date: "2026-04-14T15:45:00Z"
51 from: draft
52 to: review
53 reason: Added explicit malformed-token behavior for ParseInt.
54 changed_by: agent:codex