id: SYS-REQ-018 version: 1 status: approved priority: shall category: functional req_type: guarantee fretish: the parser shall always satisfy !json_input_is_well_formed | key_path_is_provided | returns_root_value_without_key_path description: When the JSON input is well formed and no key path is provided, the parser shall return the closest complete root JSON value according to the API contract, including complete object, array, string, number, boolean, or null values. formalization_strategy: fretish informal_verification: method: "" evidence: "" verified: false component: parser rationale: Get has special root-extraction behavior when no key path is provided, so that contract should be modeled independently from addressed lookup. tags: - decomposition - get variables: - json_input_is_well_formed - key_path_is_provided - returns_root_value_without_key_path 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.247711Z" 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:df2e01eb3d84cd876a6b1d8952507fb07c9f45fbb61d3c30075ea68a62de7373 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: nominal lifecycle: change_history: - date: "2026-04-14T00:00:00Z" from: draft to: review reason: Split out no-key-path root extraction behavior from the umbrella Get requirement. changed_by: human:cli