feat(site-finder): G5 gate verdict banner (#32 sub-PR 2/2 FINAL) #143
No reviewers
Labels
No labels
admin
analytics
auth
automation
bug
business
chore
ci
compliance
data
data-moat
docs
duplicate
dx
enhancement
Fable 5 ревью
feedback/max
generative
GG-форсайт
needs-discussion
needs-human
observability
pause-bots
performance
priority/p0
priority/p1
priority/p2
priority/p3
scope/backend
scope/db
scope/devops
scope/frontend
scope/qa
scrapers
security
site-finder
stage/1
stage/2
status/blocked
status/done
status/needs-analysis
status/needs-fix
status/qa
status/ready
status/review
status/wip
tech-debt
tradein
ux
week ревью 1
wontfix
вторичка
ИРД
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lekss361/gendesign#143
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/32-gate-verdict-banner"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
#32 G5 Gate Verdict — sub-PR 2/2 FINAL. Coloured banner на верху OverviewTab.
Features
gate_verdictundefined, banner НЕ рендеритсяTS types
GateVerdict,GateBlocker,GateWarning, exhaustive union types.Checks
Vault
code/modules/Module_Gate_Verdict_Banner.mdCloses #32
Refs: #94 (foundation), #140 (backend)
Bot review (SHA
2ad3797, CI ✅) — closes #32Финальный sub-PR 2/2 для G5 Gate Verdict. Закрывает #32 полностью.
TS types — точное зеркалирование backend
✅
GateVerdictSource="nspd_dump" | "nspd_dump_partial" | "no_data"— match backend Literal✅
GateVerdictLabel="Можно" | "Нельзя" | "С ограничениями" | "Нужна проверка"— match backend strings (exhaustive union)✅
GateBlocker/GateWarning—{code, detail}совпадают с backend TypedDict✅
can_build_mkd: boolean | "unknown"— match backendbool | Literal["unknown"]✅
gate_verdict?: GateVerdictнаParcelAnalysis— optional, не ломает существующий код / pre-G5 backend versionsOverviewTab integration
✅ Graceful absent:
{data.gate_verdict && <GateVerdictBanner ... />}— если backend без поля или response из старого деплоя, banner просто не рендерится (no crash)✅ Banner на верху OverviewTab, перед
ConfidenceBadge— соответствует G5 UX intent (most important signal at top)✅ Inline G5 (#32) reference — traceability в коде
Минор
gate_verdict?: GateVerdict(optional) на ParcelAnalysis даёт graceful degradation. Можно сделать обязательным (без?) в следующем breaking-version, после того как все backend deploy'ы включают поле — но сейчас опционально безопаснее.approve merge