Skip to content

feat(ui-mcp): pipeline SDD UI sin MCP, pantallas heurísticas y cascade W2 - #540

Merged
kreodevs merged 16 commits into
masterfrom
feat/ui-sdd-pipeline-no-mcp
Aug 4, 2026
Merged

feat(ui-mcp): pipeline SDD UI sin MCP, pantallas heurísticas y cascade W2#540
kreodevs merged 16 commits into
masterfrom
feat/ui-sdd-pipeline-no-mcp

Conversation

@OscarRubioSevilla

Copy link
Copy Markdown
Collaborator

Summary

  • Añade defaults de design system, detección de superficies web y pipeline de pantallas heurísticas (ui-mcp) sin depender de MCP, con tareas Frontend acotadas a rutas/pantallas válidas.
  • Endurece generación y conformidad (Blueprint, tablas GFM, agent governance, reparaciones en cascade W2) y mejora la UX del Workshop (progreso de cascade en chat, Design MD, gates de Pantallas).
  • Integra master reciente (hidratación Ariadne tasks v1) resolviendo conflicto en generateLogicFlows (reintentos + baseline determinista + fallback LLM).

Test plan

  • Generar deliverables en proyecto LEGACY/GREENFIELD con superficies web y verificar tab Pantallas + tareas Frontend por ruta.
  • Ejecutar cascade W2 y confirmar progreso solo en panel de chat y re-apertura tras reload si el job sigue activo.
  • Revisar Blueprint/conformidad con tablas GFM (sin reintentos falsos por separadores).
  • npm test / suites tocadas en api (ui-mcp, conformance, tasks-heuristic) y web (deliverablesCascadeUi, design-system-utils).

Introduce detectWebSurfaces, stack presets with fillSemanticTokens, and
resolveDeliverableWaves so MEDIUM cascades include ui_screens_sync when
the constitution declares a web/SPA surface.
Add buildHeuristicScreensFromPlan fallback, Layout/Responsive columns in
pantallas markdown, and remove cascade early-return so W2b always persists
uiScreensContent when the plan has routes.
Detect web surfaces for preflight, heuristic plans, upstream repair, and
cross-artifact trace gaps; update doc consumption guide for adapter/responsive.
Ignore negated API-only lines when detecting web surfaces so CLI-only
§2 text does not emit false positives. Prefer Tailwind + Radix UI when
MDD declares Radix instead of defaulting to shadcn.
Match API path segments for entity routes (/admin/keys), gate /chat on
MDD product signals, fix login/inicio de sesión routing, and use
detectWebSurfaces from MDD §2 for governance instead of CLI-only labels
when React is declared. Emit design-system-ui skill for web projects.
Resolve nested {primitives.*} refs in preview/playground, fix ??/|| in
DesignMdPreview color defaults, and show the Pantallas workshop tab when
detectWebSurfaces finds React/web in MDD or Blueprint.
Apply the same proc-cap/gestion route filter to v1 in-scope pantalla
paths so Frontend task heuristics skip infrastructure placeholders.
Score API path matches by final segment so keys maps to KeysPage, login
uses auth endpoints with Form components, /chat stays gated on MDD, and
the catalog appendix lists only v1 table routes without ghost paths.
Heuristic planner now attaches surface, responsive, DS refs and apps/web
target paths from pantallas rows, and the Frontend layer prompt enforces
design-system plus pantallas context when web surfaces are declared.
Prefer backend stack from MDD §2 over task markdown noise, filter NestJS/
Prisma task excerpts for Spring projects, and resolve Radix/Tailwind labels
in blueprint §9 instead of hardcoding shadcn/ui.
The API table separator check only matched document start and missed
aligned rows like | :----- | :--- |, triggering a ~7min LLM retry
that blocked W2 cascade progress on Blueprint. Auto-repair separators
before the quality gate, cap retries with fallback persist, and emit
parallel wave progress when steps start and complete.
fetchGenerationStatus now attaches to active cascade/repair jobs and
polls deliverables-jobs so agentProgress stays in sync after refresh.
Also show the checklist in the top banner and derive cascadeRunning from
generation-status, not only local loadingReason.
Remove WorkshopAgentProgressPanel from the top generation banner so the
step checklist appears only in the chat sidebar. The banner keeps a short
status line and the cancel button; attachToActiveDeliverablesJob is unchanged.
After the first API LLM response, 12 extra §4 endpoints triggered a
second ~7min generation with no logs while the UI showed logic_flows.
Run programmatic reconcile before the quality gate, cap retries with
fallback persist, add deliverable LLM hard timeout, and log step completion.
Resuelve conflicto en generateLogicFlows combinando reintentos con
línea base determinista y fallback LLM de master.
Rename semanticFromPrimitives first argument to _p so noUnusedLocals
passes; the parameter documents the preset primitives at call sites
but is not read when building semantic token references.
@kreodevs
kreodevs merged commit 8195e31 into master Aug 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants