docs: tick report hygiene and bench header (commits 7485d78, b8ea723)

Both docs/IRIS_TODO.md's night bullets and docs/RUST.md's queue items
covered by the two client-core/iris-android-app commits above.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
irisandClaude Fable 5.1 committed 2026-09-07 22:26:49 -04:00
1 parent b8ea723718
commit 3eb0e033d5
2 files changed
+48 -25

No files matched your search

+27 -7
View File
@@ -719,13 +719,33 @@ closes it.
- [ ] Catch-a-fling: down during a fling stops it at the down and drags
with no slop (docs/IRIS_TODO.md, night). Opus, next slot; uses the
layer-1 harness.
- [ ] Report hygiene: ring takes Debug only from iris targets, Copy
report always copies and trims the log (docs/IRIS_TODO.md, night).
Sonnet, with the header item below (same file, `bench_client.rs`).
- [ ] Bench app header: four controls no longer fit at 1080px and the
devlog agent shrank the label type 18 -> 13 to make room (UI_RULES:
never shrink text to fit). Put the controls in two rows or make the
header wrap; restore the size. Sonnet.
- [x] **Report hygiene (done 2026-09-07).** Ring takes Debug only from
`iris`/`client_core` targets, Copy report always copies and trims the
log. `client_core::log_ring::ring_accepts` is the one filter (Info+
from anywhere; Debug/Trace only from this app's own targets, and only
while `iris::diagnostics::trace_enabled()` says tracing is on) --
`RingLogger` takes that as a plain `fn() -> bool` rather than depending
on `iris` directly, since `client-core` sits below it; `app_log.rs`
wires `iris::diagnostics::trace_enabled` through at install. Fixed the
1339-held/4050-dropped flood from `naga::front`/`wgpu_core`/`jni`
logging at Debug unconditionally. `bench_client.rs`'s `copy_report` no
longer declines when nothing has run: with no benchmark yet it copies
the diagnostics pane's own text instead, with a first line saying so,
and always appends `LogRing::tail_text(COPY_REPORT_TAIL_LINES = 150)`
(a first line naming how many older lines were left out) rather than
the whole ring. `client-core`'s tests cover the filter and the trim;
the copy path was checked on the emulator (immediate `Copy report` tap
with no prior button press now logs "copied to clipboard").
- [x] **Bench app header (done 2026-09-07).** Four controls no longer fit
at 1080px at `HEADER_TEXT = 18`, and a previous agent had shrunk it to
13 to make room -- UI_RULES: never shrink text to fit. Restored to 18
and split `bench_controls` into two rows (`Dir::DOWN` of two
`Dir::RIGHT` pairs: run+copy, then diagnostics+trace), doubling the
header's own height (`HEADER_ROW_HEIGHT_DP`) rather than the outer
layout's reserved space, since `top_bar` sizes to its own content.
Checked on the emulator: `ui-trace show ... --field box` confirms two
clean rows with no overlap, and a screenshot shows the restored size
reading clearly.
- [x] **Bench app crash-loops on this checkout's emulator (done
2026-09-07).** Not the surface lifecycle at all, and not "once
backgrounded" -- a build with the **default features** (no