| 1 | id: SYS-REQ-070 |
| 2 | version: 1 |
| 3 | status: review |
| 4 | priority: shall |
| 5 | category: functional |
| 6 | req_type: guarantee |
| 7 | fretish: the parser shall always satisfy !set_called_without_path | set_returns_error_without_path |
| 8 | description: When Set is called without any key path, the parser shall return KeyPathNotFoundError because Set requires at least one path segment to identify the mutation target. |
| 9 | formalization_strategy: fretish |
| 10 | informal_verification: |
| 11 | method: "" |
| 12 | evidence: "" |
| 13 | verified: false |
| 14 | component: parser |
| 15 | rationale: Set without a path is a distinct edge case from Delete without a path (which returns empty). Set returns an error, Delete returns empty document. Both no-path behaviors must be explicitly specified. |
| 16 | tags: |
| 17 | - set |
| 18 | - edge-case |
| 19 | - no-path |
| 20 | variables: |
| 21 | - set_called_without_path |
| 22 | - set_returns_error_without_path |
| 23 | traces: |
| 24 | satisfies: |
| 25 | - STK-REQ-005 |
| 26 | verified_by_extra: |
| 27 | - deep_spec_test.go |
| 28 | documented_by_extra: |
| 29 | - README.md |
| 30 | reviewed_at: "2026-04-27T06:25:19.34706Z" |
| 31 | reviewed_by: human:leonidbugaev |
| 32 | verification: |
| 33 | assurance_level: E |
| 34 | formalization_status: valid |
| 35 | review: |
| 36 | status: approved |
| 37 | reviewer: human:leonidbugaev |
| 38 | reviewed_at: "2026-04-23T00:00:00Z" |
| 39 | ai_generated: false |
| 40 | history: |
| 41 | created_by: agent:claude |
| 42 | created_at: "2026-04-14T18:00:00Z" |
| 43 | last_modified_by: agent:claude |
| 44 | last_modified_at: "2026-04-14T18:00:00Z" |
| 45 | obligation_class: no_path_provided |
| 46 | lifecycle: |
| 47 | change_history: |
| 48 | - date: "2026-04-14T18:00:00Z" |
| 49 | from: draft |
| 50 | to: review |
| 51 | reason: Added explicit Set no-path error requirement. |
| 52 | changed_by: agent:claude |