id: SYS-REQ-079 version: 1 status: review priority: shall category: functional req_type: guarantee fretish: the parser shall always satisfy !getboolean_addressed_value_is_partial_literal | returns_getboolean_error_for_partial description: When GetBoolean addresses a value that appears to be a partial boolean literal (e.g., the addressed token is "tru" or "fals" due to truncation), the parser shall return an error from the type-classification or ParseBoolean step. formalization_strategy: fretish informal_verification: method: "" evidence: "" verified: false component: parser rationale: Partial boolean literals can occur when input is truncated at a token boundary. The getType function uses tokenEnd to find the token end, and if the token is partial, it may be classified as Unknown rather than Boolean. tags: - getboolean - partial-literal variables: - getboolean_addressed_value_is_partial_literal - returns_getboolean_error_for_partial traces: satisfies: - STK-REQ-003 verified_by_extra: - deep_spec_test.go documented_by_extra: - README.md reviewed_at: "2026-04-27T06:25:19.366484Z" 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: partial_literal lifecycle: change_history: - date: "2026-04-14T18:00:00Z" from: draft to: review reason: Added partial-literal error requirement for GetBoolean. changed_by: agent:claude