Skip to content

UX cleanup + consensus engine hardening#10

Merged
msitarzewski merged 3 commits intomainfrom
ux-cleanup
Feb 19, 2026
Merged

UX cleanup + consensus engine hardening#10
msitarzewski merged 3 commits intomainfrom
ux-cleanup

Conversation

@msitarzewski
Copy link
Owner

Summary

  • Thread detail collapse defaults — all sections collapsed on load except decision (with dissent collapsed inside)
  • max_tokens 4096 -> 16384 for propose/challenge/revise phases, with token budget communicated to LLMs in system prompts
  • Truncation detectionfinish_reason checked after each phase, truncated flag sent via WebSocket, amber warning in PhaseCard UI
  • Cross-provider challenger selection — prefers one model per different provider for genuine intellectual diversity
  • Glass-styled export dropdowns — both ConsensusComplete and ExportMenu menus match design system
  • PDF export crash fix — missing bold-italic (BI) TTF font variant caused crash when dissent markdown had bold text

Test plan

  • Load a completed thread — all rounds collapsed, decision open, dissent inside decision collapsed
  • Run a consensus question — verify challengers are from different providers when available
  • Check export dropdown styling matches glass design
  • Export PDF with dissent containing bold markdown — no crash
  • Verify long responses don't truncate (16384 token budget)

🤖 Generated with Claude Code

msitarzewski and others added 3 commits February 19, 2026 01:05
… detection, PDF fix

- Thread detail: all sections collapsed by default, decision stays open
- Consensus max_tokens bumped 4096 -> 16384 with budget note in system prompts
- Truncation detection: finish_reason checked, truncated flag sent via WebSocket
- Challenger selection prefers cross-provider diversity
- Export dropdown menus use glass styling
- PDF export: add missing bold-italic (BI) TTF font variant

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@msitarzewski msitarzewski merged commit 2a72c45 into main Feb 19, 2026
3 checks passed
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