From 7f4ea7e8fd340fa1a235fb942dc8f17819276697 Mon Sep 17 00:00:00 2001 From: iris <2+iris@noreply.localhost> Date: Mon, 7 Sep 2026 12:22:47 -0400 Subject: [PATCH] docs/TODO.md: Compose app crash from Iris's phone log export, reversed AnnotatedString range in ToolInput.highlighted Co-Authored-By: Claude Fable 5.1 --- docs/TODO.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/TODO.md b/docs/TODO.md index 1f9dcde..8ae96b0 100644 --- a/docs/TODO.md +++ b/docs/TODO.md @@ -33,3 +33,14 @@ one in place when it turns out to need a decision. that would work today, for Claude sessions, and it is the option that was not chosen. + +## From Iris's phone log export, 2026-09-07 (Compose app) + +- [ ] **Crash on 2026-09-03 11:40, `IllegalArgumentException: Reversed + range is not supported`** at `ToolInput.kt:200` (`highlighted`, inside + `ToolInputView` -> `RawBlock` -> `ToolCard`). An `AnnotatedString` + range was built with end before start while highlighting a tool + input. Found in the per-package system log she exported; the tool + input that triggered it is not in the log. Reproduce by fuzzing + `highlighted` with inputs whose token boundaries collapse, and guard + the range construction.