Debian Codegraph @

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

raw symbols SCIP
1 id: SYS-REQ-084
2 version: 1
3 status: review
4 priority: shall
5 category: functional
6 req_type: guarantee
7 fretish: the parser shall always satisfy !objecteach_input_is_truncated_mid_structure | returns_error_for_objecteach_truncated_structure
8 description: When ObjectEach is called on input truncated mid-structure where the object or a nested structure is not closed, the parser shall return an error without panicking.
9 formalization_strategy: fretish
10 informal_verification:
11 method: ""
12 evidence: ""
13 verified: false
14 component: parser
15 rationale: ObjectEach iterates entries by calling Get for each value. Truncated mid-structure input can produce sentinel values from blockEnd that affect iteration.
16 tags:
17 - objecteach
18 - truncation
19 - structure
20 variables:
21 - objecteach_input_is_truncated_mid_structure
22 - returns_error_for_objecteach_truncated_structure
23 traces:
24 satisfies:
25 - STK-REQ-004
26 verified_by_extra:
27 - deep_spec_test.go
28 documented_by_extra:
29 - README.md
30 reviewed_at: "2026-04-27T06:25:19.383321Z"
31 reviewed_by: human:leonidbugaev
32 verification:
33 assurance_level: E
34 formalization_status: valid
35 review:
36 status: approved
37 reviewer: human:leonidbugaev
38 reviewed_at: "2026-04-23T00:00:00Z"
39 ai_generated: false
40 history:
41 created_by: agent:claude
42 created_at: "2026-04-14T18:00:00Z"
43 last_modified_by: agent:claude
44 last_modified_at: "2026-04-14T18:00:00Z"
45 obligation_class: truncated_mid_structure
46 lifecycle:
47 change_history:
48 - date: "2026-04-14T18:00:00Z"
49 from: draft
50 to: review
51 reason: Added truncated-mid-structure error requirement for ObjectEach.
52 changed_by: agent:claude