id: SYS-REQ-057 version: 1 status: review priority: shall category: functional req_type: guarantee fretish: the parser shall always satisfy !raw_boolean_literal_is_partial | returns_error_for_partial_boolean_literal description: When ParseBoolean receives a partial boolean literal (e.g., "tru", "fals", "t", "f"), the parser shall return MalformedValueError because the token does not match either "true" or "false" exactly. formalization_strategy: fretish informal_verification: method: "" evidence: "" verified: false component: parser rationale: Partial boolean literals are a distinct malformed-input subclass that exercises the bytes.Equal comparison boundary. Truncated network payloads commonly produce these. tags: - parse - boolean - partial-literal variables: - raw_boolean_literal_is_partial - returns_error_for_partial_boolean_literal traces: satisfies: - STK-REQ-007 verified_by_extra: - deep_spec_test.go documented_by_extra: - README.md reviewed_at: "2026-04-27T06:25:19.321415Z" 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 explicit partial-boolean-literal rejection behavior for ParseBoolean. changed_by: agent:claude