Skip to content

Fix five more bugs: agy doubled text, empty-area background panic, ~ at partial names, week delta, restarted tasks - #108

Merged
LudaLunizz merged 1 commit into
Silvertree2010:mainfrom
LudaLunizz:103-five-more-fixes
Nov 30, 2026
Merged

LudaLunizz merged 1 commit into
Silvertree2010:mainfrom
LudaLunizz:103-five-more-fixes

Conversation

@LudaLunizz

Copy link
Copy Markdown
Collaborator

Closes #103
Closes #104
Closes #105
Closes #106
Closes #107

The five findings left over from the bug hunt behind #101, each with a test:

Checked locally: cargo fmt --check, clippy -D warnings (no-default + all-features, Linux and x86_64-pc-windows-gnu), cargo doc, cargo test (128 tests, 5 new).

🤖 Generated with Claude Code

…at partial names, week delta after slash commands, restarted tasks

- agy: a closing event whose full text starts with whitespace no longer
  appends the whole answer to itself (compare with the trimmed text).
- Backgrounds (matrix, rain, snow, stars): skip painting when the area
  is 0 wide or 0 high instead of panicking on % 0 / clamp(0, -1).
- ~ shortening: new sys::tilde() only shortens at a folder boundary,
  so /home/alice is no longer shown as ~ice with HOME=/home/al (live
  view paths and the codex/opencode/agy folder).
- Turn summary: a passed-through slash command now records the weekly
  usage at send time, and a new live session starts it as unknown, so
  "+N% week" no longer counts from 0 or from an older turn.
- task_started for a task that already exists resets its start and end
  time and keeps the description on one line.

Tests for each fix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 30, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1a901c0b-0796-482e-b30b-e832778d2444
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@LudaLunizz
LudaLunizz merged commit 60b06b3 into Silvertree2010:main Nov 30, 2026
5 checks passed
@LudaLunizz LudaLunizz mentioned this pull request Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant