id: SYS-REQ-101 version: 1 status: review priority: shall category: functional req_type: guarantee fretish: the parser shall always satisfy !mutation_input_is_nil | mutation_returns_safe_result_for_nil description: When Set or Delete is called with a nil byte slice as input, the parser shall return an error (Set) or the nil/empty slice unchanged (Delete) without panicking. formalization_strategy: fretish informal_verification: method: "" evidence: "" verified: false component: parser rationale: Nil input to mutation helpers must not cause nil-pointer dereference panics. Callers may pass nil when constructing JSON from scratch or when upstream reads fail. tags: - set - delete - nil_safety variables: - mutation_input_is_nil - mutation_returns_safe_result_for_nil traces: satisfies: - STK-REQ-005 verified_by_extra: - obligation_property_test.go documented_by_extra: - README.md reviewed_at: "2026-04-27T06:25:19.420041Z" reviewed_by: human:leonidbugaev verification: assurance_level: E formalization_status: valid review: status: approved reviewer: human:leonidbugaev reviewed_at: "2026-04-21T00:00:00Z" ai_generated: false history: created_by: agent:claude created_at: "2026-04-21T00:00:00Z" last_modified_by: agent:claude last_modified_at: "2026-04-21T00:00:00Z" obligation_class: nil_safety lifecycle: change_history: - date: "2026-04-21T00:00:00Z" from: draft to: review reason: Added nil-safety obligation for Set/Delete. changed_by: agent:claude