---
name: "Thinking traces visible in Agents panel in release builds only"
---

# Bug 227: Thinking traces visible in Agents panel in release builds only

## Description

Thinking traces from extended-thinking blocks are visible in the Agents panel in release builds but not in debug builds. The frontend code correctly ignores "thinking" events in the AgentPanel switch statement (they hit the default no-op case), so this may be a timing/buffering issue where release-mode speed causes events to be processed differently, or a stale frontend bundle issue.

## How to Reproduce

1. Build backend and frontend in release mode
2. Start an agent on a story
3. Observe the Agents panel in the web UI

## Actual Result

Thinking traces are visible in the Agents panel output in release builds.

## Expected Result

Thinking traces should be hidden from the Agents panel in all build modes. Only regular output, status changes, and errors should be displayed.

## Acceptance Criteria

- [ ] Thinking traces are not visible in the Agents panel in release builds
- [ ] Thinking traces are not visible in the Agents panel in debug builds
