Debian Codegraph @

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

raw symbols SCIP
1 id: SYS-REQ-026
2 version: 1
3 status: approved
4 priority: shall
5 category: functional
6 req_type: guarantee
7 fretish: the parser shall always satisfy !malformed_input_outside_addressed_token | !addressed_token_can_be_isolated | returns_best_effort_lookup_result
8 description: When the input is malformed outside the addressed token path but the parser can still isolate a complete addressed token or determine that the path is absent, Get shall preserve the corresponding best-effort success or not-found result instead of requiring full-document rejection.
9 formalization_strategy: fretish
10 informal_verification:
11 method: ""
12 evidence: ""
13 verified: false
14 component: parser
15 rationale: The current implementation intentionally tolerates some malformed-document cases for performance, and that externally visible behavior should be either specified or explicitly retired from the contract.
16 tags:
17 - decomposition
18 - get
19 - malformed-tolerance
20 variables:
21 - malformed_input_outside_addressed_token
22 - addressed_token_can_be_isolated
23 - returns_best_effort_lookup_result
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.26264Z"
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:8e8fb94e991e484f07ac601edc36b2d2d4c7aa31e680c8e0d1645f42e7ad1080
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: malformed_input
51 lifecycle:
52 change_history:
53 - date: "2026-04-14T00:00:00Z"
54 from: draft
55 to: review
56 reason: Added explicit tolerated malformed-input behavior for Get.
57 changed_by: human:cli