id: SYS-REQ-019 version: 1 status: approved priority: shall category: functional req_type: guarantee fretish: the parser shall always satisfy !json_input_is_empty | !key_path_is_provided | returns_missing_path_result_for_empty_input description: When the input is empty and a key path is provided, the parser shall return the defined not-found result with `NotExist`, offset `-1`, and `KeyPathNotFoundError`. formalization_strategy: fretish informal_verification: method: "" evidence: "" verified: false component: parser rationale: The current Get contract treats empty input as an addressed lookup miss rather than as a parsing error, so that edge case should be modeled explicitly. tags: - decomposition - get - edge-case variables: - json_input_is_empty - key_path_is_provided - returns_missing_path_result_for_empty_input traces: satisfies: - STK-REQ-001 verified_by_extra: - deep_spec_test.go - parser_test.go documented_by_extra: - README.md reviewed_at: "2026-04-27T06:25:19.249794Z" reviewed_by: human:leonidbugaev verification: assurance_level: B formalization_status: valid review: status: approved reviewer: human:leonidbugaev role: system_owner reviewed_at: "2026-04-18T10:12:51Z" comment: 'Dogfooding: Get lookup behavior reviewed and complete' fingerprint: sha256:3d658f1b8e2cdefa3aae556c4dfe1fb1e2f1ec000456e065149b6b263c2308f9 ai_generated: false history: created_by: human:cli created_at: "2026-04-14T00:00:00Z" last_modified_by: human:cli last_modified_at: "2026-04-18T10:12:51Z" obligation_class: empty_input lifecycle: change_history: - date: "2026-04-14T00:00:00Z" from: draft to: review reason: Split out empty-input lookup behavior from the umbrella Get requirement. changed_by: human:cli