| 1 | id: SYS-REQ-001 |
| 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 | !addressed_path_exists | returns_existing_path_lookup_result |
| 8 | description: When the JSON input is well formed, a key path is provided, and the addressed path exists, the parser shall return the addressed value slice, the corresponding value type classification, the end offset of that value, and no error. |
| 9 | formalization_strategy: fretish |
| 10 | informal_verification: |
| 11 | method: "" |
| 12 | evidence: "" |
| 13 | verified: false |
| 14 | component: parser |
| 15 | rationale: The exported Get API is the fundamental primitive that all typed accessor helpers build on, so successful addressed lookup should be specified independently from not-found, empty-input, incomplete-input, no-key-path behavior, and lower-level path interpretation rules. |
| 16 | tags: [] |
| 17 | variables: |
| 18 | - json_input_is_well_formed |
| 19 | - key_path_is_provided |
| 20 | - addressed_path_exists |
| 21 | - returns_existing_path_lookup_result |
| 22 | traces: |
| 23 | satisfies: |
| 24 | - STK-REQ-001 |
| 25 | verified_by_extra: |
| 26 | - parser_error_test.go |
| 27 | - parser_test.go |
| 28 | documented_by_extra: |
| 29 | - README.md |
| 30 | reviewed_at: "2026-04-27T06:25:19.210461Z" |
| 31 | reviewed_by: human:leonidbugaev |
| 32 | verification: |
| 33 | assurance_level: B |
| 34 | formalization_status: valid |
| 35 | review: |
| 36 | status: approved |
| 37 | reviewer: human:leonidbugaev |
| 38 | role: system_owner |
| 39 | reviewed_at: "2026-04-18T10:12:51Z" |
| 40 | comment: 'Dogfooding: Get lookup behavior reviewed and complete' |
| 41 | fingerprint: sha256:0b4e9233a90a0fe164758eff40d9108ad6cf45330df61cb93d7d5f02add82bb9 |
| 42 | ai_generated: false |
| 43 | history: |
| 44 | created_by: human:cli |
| 45 | created_at: "2026-04-13T16:22:41Z" |
| 46 | last_modified_by: human:cli |
| 47 | last_modified_at: "2026-04-18T10:12:51Z" |
| 48 | obligation_class: nominal |
| 49 | lifecycle: |
| 50 | change_history: |
| 51 | - date: "2026-04-13T16:25:24Z" |
| 52 | from: draft |
| 53 | to: review |
| 54 | reason: "" |
| 55 | changed_by: human:cli |