id: SYS-REQ-069 version: 1 status: review priority: shall category: functional req_type: guarantee fretish: the parser shall always satisfy !set_target_is_nested_in_existing_structure | set_performs_nested_mutation_correctly description: When Set is called with a multi-level path where intermediate levels exist but the leaf does not, the parser shall correctly create the missing nested structure and insert the value at the correct location. formalization_strategy: fretish informal_verification: method: "" evidence: "" verified: false component: parser rationale: Nested mutation through createInsertComponent exercises depth-tracking logic that determines whether to append inside an existing structure or overwrite. This is a distinct behavior from flat key insertion. tags: - set - nested - mutation variables: - set_target_is_nested_in_existing_structure - set_performs_nested_mutation_correctly traces: satisfies: - STK-REQ-005 verified_by_extra: - deep_spec_test.go documented_by_extra: - README.md reviewed_at: "2026-04-27T06:25:19.345303Z" 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: nested_mutation lifecycle: change_history: - date: "2026-04-14T18:00:00Z" from: draft to: review reason: Added explicit nested-mutation correctness requirement for Set. changed_by: agent:claude