Debian Codegraph @

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

raw symbols SCIP
1 id: SYS-REQ-017
2 version: 1
3 status: approved
4 priority: shall
5 category: functional
6 req_type: guarantee
7 fretish: the parser shall always satisfy !input_is_incomplete_during_lookup | returns_parse_error_for_incomplete_lookup
8 description: When the JSON input is incomplete or truncated before addressed lookup or no-key-path extraction can complete, including incomplete addressed strings, arrays, objects, or missing value tokens, the parser shall return a parse-related error and shall not report a successful lookup result.
9 formalization_strategy: fretish
10 informal_verification:
11 method: ""
12 evidence: ""
13 verified: false
14 component: parser
15 rationale: Incomplete or truncated input is a distinct externally visible failure mode in Get and should be modeled independently from successful lookup, empty-input, tolerated malformed-input, or not-found behavior.
16 tags:
17 - decomposition
18 - get
19 - edge-case
20 variables:
21 - input_is_incomplete_during_lookup
22 - returns_parse_error_for_incomplete_lookup
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.246158Z"
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:1b4a26025095c5d8f53df35c16151a8d36ac70ab8f95d96be005771cf8646bd2
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: malformed_input
50 lifecycle:
51 change_history:
52 - date: "2026-04-14T00:00:00Z"
53 from: draft
54 to: review
55 reason: Split out incomplete-input behavior from the umbrella Get requirement.
56 changed_by: human:cli