feat(concept): живой 3D-massing → пересчёт финмодели в «7. Концепция» (#1965 Stage 2b) #2026
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#2026
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/concept-live-massing-1965-stage2b"
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?
#1965 Stage 2b (эпик #1953) — ядро запроса: крутишь этажность/секции в 3D → ТЭП и NPV/IRR пересчитываются вживую. Фронт-онли, без contract-изменений (хук бьёт уже-задеплоенный
/concepts/recompute). code-reviewer ✅ APPROVE.Что
useRecomputeMassing()(concept-api) — TanStack mutation наPOST /concepts/recompute.MassingScene.onModelChange?(model)— колбэк по смене этажности/секций (НЕ по солнцу); no-op без пропа → /ptica-кокпит/preview/дроверы не задеты (regression-safe, проверено по всем 3 консьюмерам).MassingEconomics.tsx— light KPI-полоса: ТЭП (GFA, продаваемая, квартиры, КСИТ факт/цель) + финмодель (выручка, себестоимость, прибыль, ROI, NPV, IRR, цена). Debounce 250мс + latest-wins (monotonic reqId дропает устаревшие success И failure), last-good при ошибке, skeleton на первом расчёте.MassingViewer(dynamic ssr:false, Three.js) + полоса экономики в 2 колонки.Маппинг computeModel → MassingProgram
footprint/floors/sections из
computeModel; site_area ←polygonAreaSqm; КСИТ ←coerceFloat(nspd_zoning.max_far)(fallback 3.5); class/type/цена/source ←financial_estimate.*(price_source пробрасывается — честный флаг); land ←egrn.cadastral_value_rub; centroid-WKT для DB-fallback. КСИТ-over-cap флагается (farActual>maxFar).Качество
Закрывает ядро #1965 (Stage 1 консолидация + Stage 2 живой пересчёт). Остаётся опц. Stage 3 (каталог типовых домов: ConceptInput.building_program). Refs #1965.