summaryrefslogtreecommitdiff
path: root/ralph-analysis.md
diff options
context:
space:
mode:
authorsoryu <soryu@soryu.co>2026-01-29 01:10:43 +0000
committersoryu <soryu@soryu.co>2026-01-29 01:10:43 +0000
commit3118b241ccb3fb2d89948726b2f83a82de998cf2 (patch)
tree211a467ee30b023aa828c3258cad6b6ceb240b36 /ralph-analysis.md
parent64b32229c5e890a6916ad79d83279bb89d6dbd84 (diff)
downloadsoryu-3118b241ccb3fb2d89948726b2f83a82de998cf2.tar.gz
soryu-3118b241ccb3fb2d89948726b2f83a82de998cf2.zip
Fix Red Team UI visibility by adding red_team_enabled to ContractSummary
The Red Team toggle was implemented in the frontend but not visible because the backend API's ContractSummary response struct was missing the red_team_enabled field. The frontend relies on this field to: 1. Show the red team badge in the contract list view 2. Show the red team badge and tab in the contract detail view Changes: - Add red_team_enabled field to ContractSummary struct in models.rs - Update list_contracts_for_owner SQL query to include red_team_enabled - Update get_contract_summary_for_owner SQL query to include red_team_enabled - Update all fallback ContractSummary constructions in contracts.rs handler Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'ralph-analysis.md')
0 files changed, 0 insertions, 0 deletions