| 1 | id: SYS-REQ-027 |
| 2 | version: 1 |
| 3 | status: approved |
| 4 | priority: shall |
| 5 | category: functional |
| 6 | req_type: guarantee |
| 7 | fretish: the parser shall always satisfy !addressed_token_shape_is_invalid | returns_value_type_error |
| 8 | description: When the addressed token cannot be classified as string, object, array, number, boolean, or null, Get shall return a value-type error instead of a successful classification. |
| 9 | formalization_strategy: fretish |
| 10 | informal_verification: |
| 11 | method: "" |
| 12 | evidence: "" |
| 13 | verified: false |
| 14 | component: parser |
| 15 | rationale: Unknown token classification is an externally visible error path in Get and should not be hidden inside a generic parse-failure bucket. |
| 16 | tags: |
| 17 | - decomposition |
| 18 | - get |
| 19 | - type |
| 20 | variables: |
| 21 | - addressed_token_shape_is_invalid |
| 22 | - returns_value_type_error |
| 23 | traces: |
| 24 | satisfies: |
| 25 | - STK-REQ-001 |
| 26 | verified_by_extra: |
| 27 | - deep_spec_test.go |
| 28 | - parser_test.go |
| 29 | documented_by_extra: |
| 30 | - README.md |
| 31 | reviewed_at: "2026-04-27T06:25:19.264516Z" |
| 32 | reviewed_by: human:leonidbugaev |
| 33 | verification: |
| 34 | assurance_level: B |
| 35 | formalization_status: valid |
| 36 | review: |
| 37 | status: approved |
| 38 | reviewer: human:leonidbugaev |
| 39 | role: system_owner |
| 40 | reviewed_at: "2026-04-18T10:12:52Z" |
| 41 | comment: 'Dogfooding: Get lookup behavior reviewed and complete' |
| 42 | fingerprint: sha256:59298826dec2ca7db7c1f195d87d0ea4d2119f4a771466d48a7073a9bcc1f5d6 |
| 43 | ai_generated: false |
| 44 | history: |
| 45 | created_by: human:cli |
| 46 | created_at: "2026-04-14T00:00:00Z" |
| 47 | last_modified_by: human:cli |
| 48 | last_modified_at: "2026-04-18T10:12:52Z" |
| 49 | obligation_class: type_mismatch |
| 50 | lifecycle: |
| 51 | change_history: |
| 52 | - date: "2026-04-14T00:00:00Z" |
| 53 | from: draft |
| 54 | to: review |
| 55 | reason: Added explicit invalid-token-shape behavior for Get. |
| 56 | changed_by: human:cli |