id: SYS-REQ-047 version: 1 status: review priority: shall category: functional req_type: guarantee fretish: the parser shall always satisfy !path_segment_is_negative_array_index | returns_not_found_for_negative_array_index description: When the current path segment is a negative array index (e.g., "[-1]"), Get shall return the defined not-found result because negative indexing is not supported by the JSON path syntax. formalization_strategy: fretish informal_verification: method: "" evidence: "" verified: false component: parser rationale: Negative array indices are not part of the documented path syntax. The parser should deterministically handle them rather than producing undefined behavior. tags: - array-index - edge-case variables: - path_segment_is_negative_array_index - returns_not_found_for_negative_array_index traces: satisfies: - STK-REQ-001 verified_by_extra: - deep_spec_test.go documented_by_extra: - README.md reviewed_at: "2026-04-27T06:25:19.302895Z" reviewed_by: human:leonidbugaev verification: assurance_level: E formalization_status: valid review: status: approved reviewer: human:leonidbugaev reviewed_at: "2026-04-23T00:00:00Z" ai_generated: false history: created_by: agent:claude created_at: "2026-04-14T18:00:00Z" last_modified_by: agent:claude last_modified_at: "2026-04-14T18:00:00Z" obligation_class: negative_array_index lifecycle: change_history: - date: "2026-04-14T18:00:00Z" from: draft to: review reason: Added explicit negative-array-index behavior for Get. changed_by: agent:claude