feat(pilot): mount ProposalBanner + wire implicit signals

Replaces the task-lane SuggestedFix card with the ProposalBanner docked
above the chat composer. Wires:
- Resolve-while-verifying auto-marks applied_success (one-click resolve).
- Escalate-while-verifying opens EscalateInterceptDialog to capture the
  real outcome (default: didn't work) before handoff.
- 3+ post-apply engineer messages trigger the passive Nudge banner.
- AI [FIX_OUTCOME] proposals surface in the AIConfirming state; one-click
  confirm applies the outcome.

Banner state resets on session switch via resetSessionDerivedState.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-23 15:58:06 -04:00
parent 075b0fc1d8
commit bdb238a274
2 changed files with 214 additions and 49 deletions

View File

@@ -36,7 +36,7 @@ export interface ProposalBannerProps {
collapsed?: boolean
onToggleCollapsed?: () => void
/** Silence the nudge without collapsing it (Task 11 wires this). */
onSilenceNudge?: () => void
onSilenceNudge: () => void
}
export function ProposalBanner(props: ProposalBannerProps) {