You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Show the full SQL in harness permission rows, not just the title #786
Severity: P1. The user can approve a write without seeing what it does.
What happens
Open http://localhost:1420/?mock=connected, click AI, then Start Claude Agent.
Send "Please update the old shipments".
A permission row appears reading "Run run_write on Local dev: UPDATE shop.orders SET status = 'delivered'" with Allow once / Always allow / Reject.
The statement's WHERE status = 'shipped' AND placed_at < '2026-09-01' line is in the event's detail and never shown, so the row looks like an unbounded update (or, in general, hides whatever follows the first line). "Always allow" has the same primary styling as "Allow once".
Cause
src/components/agent/AgentPanel.tsx:89: PermissionRow renders only item.title. item.detail, which agent-transcript.ts stores, is ignored.
Fix
Render item.detail under the title in a monospace, scrollable <pre>. Style "Always allow" as a secondary button so the one-off choice is the obvious one.
Activity
fix(agent): show full request in permission rows
release: 1.4.0 (#871)