Debian Codegraph @

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

raw symbols SCIP
1 id: SYS-REQ-021
2 version: 1
3 status: approved
4 priority: shall
5 category: functional
6 req_type: guarantee
7 fretish: the parser shall always satisfy !path_segment_is_array_index | !array_index_segment_is_valid | !array_index_is_in_bounds | returns_value_from_in_bounds_array_index
8 description: When the current path segment is a valid in-bounds array index, Get shall resolve the addressed array element and return it through the normal successful lookup contract.
9 formalization_strategy: fretish
10 informal_verification:
11 method: ""
12 evidence: ""
13 verified: false
14 component: parser
15 rationale: Array index path segments are part of the documented public lookup contract and are behaviorally distinct from object-key segments.
16 tags:
17 - decomposition
18 - get
19 - array-index
20 variables:
21 - path_segment_is_array_index
22 - array_index_segment_is_valid
23 - array_index_is_in_bounds
24 - returns_value_from_in_bounds_array_index
25 traces:
26 satisfies:
27 - STK-REQ-001
28 verified_by_extra:
29 - deep_spec_test.go
30 - parser_test.go
31 documented_by_extra:
32 - README.md
33 reviewed_at: "2026-04-27T06:25:19.253121Z"
34 reviewed_by: human:leonidbugaev
35 verification:
36 assurance_level: B
37 formalization_status: valid
38 review:
39 status: approved
40 reviewer: human:leonidbugaev
41 role: system_owner
42 reviewed_at: "2026-04-18T10:12:51Z"
43 comment: 'Dogfooding: Get lookup behavior reviewed and complete'
44 fingerprint: sha256:e803149a7207fb79f74a7bcdc0184781922fa81ed5e6c6a9f98c4055d4c409a8
45 ai_generated: false
46 history:
47 created_by: human:cli
48 created_at: "2026-04-14T00:00:00Z"
49 last_modified_by: human:cli
50 last_modified_at: "2026-04-18T10:12:51Z"
51 obligation_class: nominal
52 lifecycle:
53 change_history:
54 - date: "2026-04-14T00:00:00Z"
55 from: draft
56 to: review
57 reason: Added explicit valid array-index lookup behavior for Get.
58 changed_by: human:cli