Debian Codegraph @

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

raw symbols SCIP
1 id: SYS-REQ-059
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_at_int64_max_plus_one | returns_overflow_at_int64_max_plus_one
8 description: When ParseInt receives an integer token that is exactly one beyond the int64 range (9223372036854775808 for max+1, -9223372036854775809 for min-1), the parser shall return OverflowIntegerError.
9 formalization_strategy: fretish
10 informal_verification:
11 method: ""
12 evidence: ""
13 verified: false
14 component: parser
15 rationale: The boundary between valid and overflow is where off-by-one errors hide. The max+1 and min-1 cases must be specified explicitly.
16 tags:
17 - parse
18 - int
19 - boundary
20 - overflow
21 variables:
22 - raw_int_token_is_at_int64_max_plus_one
23 - returns_overflow_at_int64_max_plus_one
24 traces:
25 satisfies:
26 - STK-REQ-007
27 verified_by_extra:
28 - deep_spec_test.go
29 documented_by_extra:
30 - README.md
31 reviewed_at: "2026-04-27T06:25:19.324929Z"
32 reviewed_by: human:leonidbugaev
33 verification:
34 assurance_level: E
35 formalization_status: valid
36 review:
37 status: approved
38 reviewer: human:leonidbugaev
39 reviewed_at: "2026-04-23T00:00:00Z"
40 ai_generated: false
41 history:
42 created_by: agent:claude
43 created_at: "2026-04-14T18:00:00Z"
44 last_modified_by: agent:claude
45 last_modified_at: "2026-04-14T18:00:00Z"
46 obligation_class: boundary
47 lifecycle:
48 change_history:
49 - date: "2026-04-14T18:00:00Z"
50 from: draft
51 to: review
52 reason: Added explicit int64-boundary+1 overflow requirement for ParseInt.
53 changed_by: agent:claude