Skip to content

fix(check): stop the presenter and CLAUDE.md loading from corrupting output#149

Merged
RobbieMcKinstry merged 2 commits into
trunkfrom
fix-presenter-tui-corruption
Jul 1, 2026
Merged

fix(check): stop the presenter and CLAUDE.md loading from corrupting output#149
RobbieMcKinstry merged 2 commits into
trunkfrom
fix-presenter-tui-corruption

Conversation

@RobbieMcKinstry

Copy link
Copy Markdown
Contributor

The inline TUI is the sole terminal writer for a multi check run, but two
things fought it for control: long evidence text got clipped instead of
wrapped when flushed into scrollback (ratatui buffers don't auto-wrap like a
real terminal), and any tracing::info!/debug! fired mid-run wrote raw
bytes straight over its cursor-managed viewport. The presenter now word-wraps
everything it flushes and registers itself as tracing's active sink for the
run's duration, folding log lines into scrollback plus a small live pane
instead of letting them leak to stdout.

Also wires the project's CLAUDE.md hierarchy into the check agent's system
prompt via cersei-memory, so per-project instructions are no longer ignored.

Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com

RobbieMcKinstry and others added 2 commits July 1, 2026 17:16
…output

The inline TUI is the sole terminal writer for a `multi check` run, but two
things fought it for control: long evidence text got clipped instead of
wrapped when flushed into scrollback (ratatui buffers don't auto-wrap like a
real terminal), and any `tracing::info!`/`debug!` fired mid-run wrote raw
bytes straight over its cursor-managed viewport. The presenter now word-wraps
everything it flushes and registers itself as tracing's active sink for the
run's duration, folding log lines into scrollback plus a small live pane
instead of letting them leak to stdout.

Also wires the project's CLAUDE.md hierarchy into the check agent's system
prompt via cersei-memory, so per-project instructions are no longer ignored.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.

1 participant