id: SYS-REQ-100 version: 1 status: review priority: shall category: functional req_type: guarantee fretish: the parser shall always satisfy !set_applied_twice_with_same_args | set_second_call_produces_same_result description: When Set is called twice on the same input with the same value and key path, the second call shall produce the same output as applying Set once -- the operation is idempotent for existing keys. formalization_strategy: fretish informal_verification: method: "" evidence: "" verified: false component: parser rationale: Set idempotency for existing keys means callers can safely retry mutations without checking whether the first call succeeded. This is important for at-least-once delivery patterns. tags: - set - idempotency variables: - set_applied_twice_with_same_args - set_second_call_produces_same_result traces: satisfies: - STK-REQ-005 verified_by_extra: - obligation_property_test.go documented_by_extra: - README.md reviewed_at: "2026-04-27T06:25:19.418352Z" 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: idempotency lifecycle: change_history: - date: "2026-04-21T00:00:00Z" from: draft to: review reason: Added idempotency obligation for Set. changed_by: agent:claude