Debian Codegraph @

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

raw symbols SCIP
1 id: SYS-REQ-019
2 version: 1
3 status: approved
4 priority: shall
5 category: functional
6 req_type: guarantee
7 fretish: the parser shall always satisfy !json_input_is_empty | !key_path_is_provided | returns_missing_path_result_for_empty_input
8 description: When the input is empty and a key path is provided, the parser shall return the defined not-found result with `NotExist`, offset `-1`, and `KeyPathNotFoundError`.
9 formalization_strategy: fretish
10 informal_verification:
11 method: ""
12 evidence: ""
13 verified: false
14 component: parser
15 rationale: The current Get contract treats empty input as an addressed lookup miss rather than as a parsing error, so that edge case should be modeled explicitly.
16 tags:
17 - decomposition
18 - get
19 - edge-case
20 variables:
21 - json_input_is_empty
22 - key_path_is_provided
23 - returns_missing_path_result_for_empty_input
24 traces:
25 satisfies:
26 - STK-REQ-001
27 verified_by_extra:
28 - deep_spec_test.go
29 - parser_test.go
30 documented_by_extra:
31 - README.md
32 reviewed_at: "2026-04-27T06:25:19.249794Z"
33 reviewed_by: human:leonidbugaev
34 verification:
35 assurance_level: B
36 formalization_status: valid
37 review:
38 status: approved
39 reviewer: human:leonidbugaev
40 role: system_owner
41 reviewed_at: "2026-04-18T10:12:51Z"
42 comment: 'Dogfooding: Get lookup behavior reviewed and complete'
43 fingerprint: sha256:3d658f1b8e2cdefa3aae556c4dfe1fb1e2f1ec000456e065149b6b263c2308f9
44 ai_generated: false
45 history:
46 created_by: human:cli
47 created_at: "2026-04-14T00:00:00Z"
48 last_modified_by: human:cli
49 last_modified_at: "2026-04-18T10:12:51Z"
50 obligation_class: empty_input
51 lifecycle:
52 change_history:
53 - date: "2026-04-14T00:00:00Z"
54 from: draft
55 to: review
56 reason: Split out empty-input lookup behavior from the umbrella Get requirement.
57 changed_by: human:cli