Skip to content

fix: clear busy flags on idle + static text + v1.6.1 - #110

Merged
four-bytes-robby merged 1 commit into
mainfrom
fix/109-stuck-scanning-pulse
Jun 8, 2026
Merged

four-bytes-robby merged 1 commit into
mainfrom
fix/109-stuck-scanning-pulse

Conversation

@four-bytes-robby

@four-bytes-robby four-bytes-robby commented Jun 8, 2026 •

Copy link
Copy Markdown
Member

Closes #109

Root Cause

updateStatus("success"/"warning"/"error") sets phase: "idle" but doesn't clear scanning/searching/ingesting flags. write() merges with currentStatus, so these flags persist. TUI handler checks data.scanning BEFORE phase === "idle" → never reaches idle display.

Fixes

  • Clear all three flags in success/warning/error/ready write() calls
  • Status text always uses static textMuted (only <Spinner> pulses)
  • AGENTS.local.md: mandatory version bump rule
  • v1.6.1 (patch)

Summary by cubic

Fixes the stuck scanning pulse by clearing busy flags when returning to idle and making status text static. Bumps @four-bytes/four-opencode-brain to v1.6.1. Fixes #109.

  • Bug Fixes
    • Clear scanning, searching, and ingesting on success/warning/error/ready so idle state shows and the spinner stops.
    • Always use textMuted for status text; only the <Spinner> pulses.

Written for commit eb52906. Summary will update on new commits.

Review in cubic

- status.ts: clear scanning/searching/ingesting on success/warning/error/ready
- tui.tsx: status text always uses static textMuted (only spinner pulses)
- AGENTS.local.md: mandatory version bump rule
- package.json: 1.6.1
@four-bytes-robby four-bytes-robby self-assigned this Jun 8, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

Re-trigger cubic

@four-bytes-robby
four-bytes-robby merged commit 46920ed into main Jun 8, 2026
4 checks passed
@four-bytes-robby
four-bytes-robby deleted the fix/109-stuck-scanning-pulse branch June 8, 2026 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix: stuck scanning state + pulsing text + version bump rule

1 participant