Debian Codegraph @

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

raw symbols SCIP
1 id: SYS-REQ-018
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_well_formed | key_path_is_provided | returns_root_value_without_key_path
8 description: When the JSON input is well formed and no key path is provided, the parser shall return the closest complete root JSON value according to the API contract, including complete object, array, string, number, boolean, or null values.
9 formalization_strategy: fretish
10 informal_verification:
11 method: ""
12 evidence: ""
13 verified: false
14 component: parser
15 rationale: Get has special root-extraction behavior when no key path is provided, so that contract should be modeled independently from addressed lookup.
16 tags:
17 - decomposition
18 - get
19 variables:
20 - json_input_is_well_formed
21 - key_path_is_provided
22 - returns_root_value_without_key_path
23 traces:
24 satisfies:
25 - STK-REQ-001
26 verified_by_extra:
27 - deep_spec_test.go
28 - parser_test.go
29 documented_by_extra:
30 - README.md
31 reviewed_at: "2026-04-27T06:25:19.247711Z"
32 reviewed_by: human:leonidbugaev
33 verification:
34 assurance_level: B
35 formalization_status: valid
36 review:
37 status: approved
38 reviewer: human:leonidbugaev
39 role: system_owner
40 reviewed_at: "2026-04-18T10:12:51Z"
41 comment: 'Dogfooding: Get lookup behavior reviewed and complete'
42 fingerprint: sha256:df2e01eb3d84cd876a6b1d8952507fb07c9f45fbb61d3c30075ea68a62de7373
43 ai_generated: false
44 history:
45 created_by: human:cli
46 created_at: "2026-04-14T00:00:00Z"
47 last_modified_by: human:cli
48 last_modified_at: "2026-04-18T10:12:51Z"
49 obligation_class: nominal
50 lifecycle:
51 change_history:
52 - date: "2026-04-14T00:00:00Z"
53 from: draft
54 to: review
55 reason: Split out no-key-path root extraction behavior from the umbrella Get requirement.
56 changed_by: human:cli