Metadata
| Status | done |
|---|---|
| Assigned | agent-1482 |
| Agent identity | f51439356729d112a6c404803d88015d5b44832c6c584c62b96732b63c2b0c7e |
| Created | 2026-05-02T02:12:52.664582967+00:00 |
| Started | 2026-05-02T02:14:21.119410416+00:00 |
| Completed | 2026-05-02T02:36:13.919100933+00:00 |
| Tags | bug, wg-html, android, firefox, font, rendering, eval-scheduled |
| Eval score | 0.88 |
| └ blocking impact | 0.95 |
| └ completeness | 0.85 |
| └ coordination overhead | 0.90 |
| └ correctness | 0.90 |
| └ downstream usability | 0.85 |
| └ efficiency | 0.88 |
| └ intent fidelity | 0.87 |
| └ style adherence | 0.92 |
Description
Investigate and fix wg html dependency graph misalignment on Android Firefox. User reports box-drawing/fixed-width edge alignment problems on Android Firefox, while Linux Firefox and Chrome look correct. Leading hypothesis: Android Firefox selects/falls back to a bad monospace/box-drawing font or mixes glyph fallback inside .viz-pre/.edge spans. Use bug-wg-html-box-drawing-glyph-alignment.md as related context. Tasks: reproduce or reason from Android Firefox font behavior; verify computed fonts/fallback for box-drawing glyphs; test CSS forcing .viz-pre and descendants to a known-good font stack; consider bundling a webfont with complete box-drawing coverage; add regression/smoke guidance if feasible. Deliver a concrete fix or a precise implementation plan.
Depends on
Required by
Log
- 2026-05-02T02:14:18.113080480+00:00 Lightweight assignment: agent=Careful Programmer (f5143935), exec_mode=full, context_scope=task, reason=Careful Programmer role with proven track record (0.80 score, 528 tasks) best fits debugging and CSS/font-stack implementation; Careful tradeoff emphasizes correctness critical for subtle rendering bugs.
- 2026-05-02T02:14:21.119419824+00:00 Spawned by coordinator --executor claude --model opus
- 2026-05-02T02:14:38.975018654+00:00 Starting investigation. Reading context bug doc and current html.rs to understand current font-stack handling.
- 2026-05-02T02:17:46.766622593+00:00 Bundled JetBrains Mono Regular subset (ASCII + box-drawing U+2500-25FF + arrows U+2190-21FF + geometric symbols), 9.2KB WOFF2. SIL OFL 1.1 license file co-bundled. Verified all 26 representative glyphs (─│┐┘├└┬┴┼←→═║╗╝●◇ etc.) present, all advance widths == 600 (pure monospace). Updating build pipeline + CSS + smoke test next.
- 2026-05-02T02:33:11.405757105+00:00 Implemented fix: bundled JetBrains Mono Regular subset (9.2KB WOFF2) via include_bytes!, added @font-face declaration with unicode-range covering U+2500-257F (box-drawing), expanded .viz-pre font-family stack with Android-friendly fallbacks ('Roboto Mono', 'Noto Sans Mono', 'Droid Sans Mono'), and added text-size-adjust:100% to defeat Android mobile text-inflation. Live wg html smoke shows JetBrainsMono-viz.woff2 + JetBrainsMono-OFL.txt emitted. New integration test bundles_jetbrains_mono_webfont_for_box_drawing_alignment passes. New smoke scenario wg_html_font_bundle.sh PASSES. Existing wg_html_box_drawing_alignment.sh + wg_html_ascii_viz.sh still PASS. Pre-existing test failure description_html_is_escaped is unrelated XSS in markdown rendering (also fails on main; will create follow-up task).
- 2026-05-02T02:35:46.974813008+00:00 Committed: 4b7833d42 — pushed to remote (branch wg/agent-1482/fix-android-firefox-wg-html-font-fallback). Validated: cargo build + cargo test --test integration_html (35 unrelated tests pass; 1 pre-existing XSS-test failure on main, follow-up task fix-xss-in created). Smoke gate: wg_html_font_bundle.sh PASS, wg_html_box_drawing_alignment.sh PASS, wg_html_ascii_viz.sh PASS.
- 2026-05-02T02:36:13.919113025+00:00 Task pending eval (agent reported done; awaiting `.evaluate-*` to score)
- 2026-05-02T02:38:59.256683279+00:00 PendingEval → Done (evaluator passed; downstream unblocks)