| 1 | id: SYS-REQ-008 |
| 2 | version: 1 |
| 3 | status: review |
| 4 | priority: shall |
| 5 | category: functional |
| 6 | req_type: guarantee |
| 7 | fretish: the parser shall always satisfy !multipath_requests_are_provided | eachkey_callback_receives_found_values | missing_multipath_request_does_not_emit_callback | eachkey_malformed_input_returns_error | eachkey_completes_requested_scan |
| 8 | description: When EachKey is called with one or more requested key paths, the parser shall emit callback results for found paths, omit found-value callbacks for missing paths, surface malformed-input errors, and complete the requested multi-path scan. |
| 9 | formalization_strategy: fretish |
| 10 | informal_verification: |
| 11 | method: "" |
| 12 | evidence: "" |
| 13 | verified: false |
| 14 | component: parser |
| 15 | rationale: EachKey is the documented single-pass multi-path lookup helper and needs explicit contract coverage for both found and missing path behavior. |
| 16 | tags: [] |
| 17 | variables: |
| 18 | - multipath_requests_are_provided |
| 19 | - eachkey_callback_receives_found_values |
| 20 | - missing_multipath_request_does_not_emit_callback |
| 21 | - eachkey_malformed_input_returns_error |
| 22 | - eachkey_completes_requested_scan |
| 23 | traces: |
| 24 | satisfies: |
| 25 | - STK-REQ-004 |
| 26 | verified_by_extra: |
| 27 | - mcdc_supplement_test.go |
| 28 | - parser_error_test.go |
| 29 | - parser_test.go |
| 30 | documented_by_extra: |
| 31 | - README.md |
| 32 | reviewed_at: "2026-04-27T06:25:19.228499Z" |
| 33 | reviewed_by: human:leonidbugaev |
| 34 | verification: |
| 35 | assurance_level: E |
| 36 | formalization_status: valid |
| 37 | review: |
| 38 | status: approved |
| 39 | reviewer: human:leonidbugaev |
| 40 | reviewed_at: "2026-04-23T00:00:00Z" |
| 41 | ai_generated: false |
| 42 | history: |
| 43 | created_by: human:cli |
| 44 | created_at: "2026-04-13T17:10:56Z" |
| 45 | last_modified_by: human:cli |
| 46 | last_modified_at: "2026-04-13T17:14:56Z" |
| 47 | obligation_class: nominal |
| 48 | lifecycle: |
| 49 | change_history: |
| 50 | - date: "2026-04-13T17:14:56Z" |
| 51 | from: draft |
| 52 | to: review |
| 53 | reason: "" |
| 54 | changed_by: human:cli |