"use client"; import type { ForeshadowSuggestion } from "@/lib/review/sse"; interface ForeshadowSuggestionsProps { suggestions: ForeshadowSuggestion[]; // 审项是否未完成(incomplete)。 incomplete: boolean; } // 伏笔建议区(UX §6.4 ②):planted「新埋待确认」/ resolved「疑似回收」,只读建议。 // 不静默写库(不变量#3):仅展示,登记/回收经伏笔看板显式确认。 export function ForeshadowSuggestions({ suggestions, incomplete, }: ForeshadowSuggestionsProps) { return (

伏笔 (foreshadow-analyst)

{incomplete ? (

◌ 未完成

) : suggestions.length === 0 ? (

无伏笔建议。

) : ( )}
); }