/** * MELANO INC — CURSOR MASTER EXECUTION PLAN * MODE: AUTONOMOUS IMPLEMENTATION * SCOPE: CORPORATE WEBSITE * * OBJECTIVE: * Transform the current website into a premium, credible and conversion-oriented * corporate presence for MELANO INC, preserving all working integrations. * * COMPLETION RULE: * The task is complete only when lint, typecheck, build, responsive checks, * accessibility checks and critical navigation tests return GREEN. */ // ====================================================== // 0. EXECUTION POLICY // ====================================================== const EXECUTION_POLICY = { mode: "implement-and-verify", principles: [ "Inspect before modifying", "Reuse the existing architecture and components", "Preserve every working integration", "Make focused and reversible changes", "Do not fabricate information", "Do not expose internal infrastructure", "Do not mark the task complete while critical checks fail" ], forbiddenActions: [ "Rebuild the entire project without technical justification", "Replace the framework or package manager", "Delete environment variables", "Delete analytics or tracking integrations", "Change production endpoints", "Invent clients, testimonials, certifications or results", "Expose credentials, internal URLs or infrastructure details", "Publish or deploy without explicit authorization" ] } // ====================================================== // 1. PROJECT DISCOVERY // ====================================================== const project = inspectRepository({ detect: [ "framework", "language", "router", "packageManager", "stylingSystem", "componentLibrary", "formProvider", "analytics", "seoImplementation", "deploymentConfiguration" ], scan: { include: [ "src/**", "app/**", "pages/**", "components/**", "public/**", "styles/**", "lib/**", "hooks/**" ], exclude: [ "node_modules/**", ".next/**", "dist/**", "build/**", "coverage/**", ".git/**" ] } }) const entryPoints = findEntryPoints(project) const currentRoutes = mapRoutes(project) const currentSections = mapPageSections(project) const currentIntegrations = detectIntegrations(project) const existingBrandTokens = detectDesignTokens(project) // Stop if the project cannot be safely identified. assert(project.framework, "Project framework could not be identified") assert(entryPoints.length > 0, "No valid application entry point found") // ====================================================== // 2. PRE-IMPLEMENTATION BASELINE // ====================================================== const baseline = runBaselineChecks({ commands: detectAvailableCommands([ "lint", "typecheck", "test", "build" ]), capture: [ "existingErrors", "existingWarnings", "currentRoutes", "currentMetadata", "workingForms", "externalLinks", "analytics", "responsiveState" ] }) // Existing errors must be documented separately from errors introduced by this task. recordBaseline(baseline) // ====================================================== // 3. PRESERVATION RULES // ====================================================== preserveCriticalAssets({ domains: [ "https://luxia.melanoinc.com", "https://brunomelano.com" ], functionality: [ "Contact forms", "Form validation", "Form submission handlers", "Analytics", "Tracking pixels", "SEO metadata", "Environment variables", "Authentication, if present", "API routes", "Webhooks", "Existing accessibility behavior" ], assets: [ "Official MELANO INC logo", "Approved photographs", "Favicons", "Social sharing images", "Existing legal pages" ] }) // Never display infrastructure details publicly. // Internal integrations may remain in the code when required. hideInternalImplementationDetails({ publicUIOnly: true, terms: [ "Supabase", "n8n", "webhook", "API status", "debug", "environment", "build info", "database status", "internal tool", "development mode" ], preserveCodeDependencies: true }) // ====================================================== // 4. CONTENT INTEGRITY // ====================================================== removeInvalidContent({ items: [ "Lorem ipsum", "Placeholder copy", "Fake testimonials", "Fake metrics", "Fake customer logos", "Unverified claims", "Duplicated sections", "Broken buttons", "Empty cards", "Debug UI", "Internal labels exposed to users" ], rules: { removeOnlyWhenVerified: true, preserveLegitimateBusinessContent: true, doNotInventReplacementData: true } }) // ====================================================== // 5. BRAND SYSTEM // ====================================================== applyBrandSystem({ company: { name: "MELANO INC", positioning: "Firma de inteligencia artificial, automatización e infraestructura digital", founder: "Bruno Melano", founderRole: "Fundador y CEO", statement: "No seguimos el futuro. Lo rediseñamos." }, voice: { attributes: [ "Ejecutiva", "Corporativa", "Clara", "Tecnológica", "Directa", "Premium" ], avoid: [ "Promesas exageradas", "Lenguaje de gurú", "Jerga técnica innecesaria", "Tono de vendedor", "Frases genéricas", "Uso de la palabra ayuda", "Enfoque negativo innecesario" ] }, visualTokens: { colors: { black: "#0B0B0B", navy: "#0F2D52", silver: "#C0C7D1", white: "#FFFFFF", accent: "#C9A96E" }, typography: { primary: "Montserrat", fallback: "system-ui, sans-serif" }, style: [ "Premium corporate", "Minimal", "High contrast", "Clear visual hierarchy", "Subtle motion", "Mobile-first", "Generous spacing" ] }, accessibility: { minimumContrast: "WCAG AA", respectReducedMotion: true, visibleFocusStates: true, keyboardNavigation: true } }) // ====================================================== // 6. INFORMATION ARCHITECTURE // ====================================================== rewritePageStructure("home", { order: [ "header", "hero", "operational-context", "solutions", "luxia", "sectors", "method", "ecosystem", "company", "projects", "founder", "contact", "footer" ], navigationIds: { solutions: "soluciones", sectors: "sectores", method: "metodo", ecosystem: "ecosistema", company: "empresa", contact: "contacto" }, requirements: [ "Use semantic HTML", "Maintain a single H1", "Use a logical heading hierarchy", "Ensure every navigation link resolves", "Avoid duplicate CTAs with conflicting actions", "Keep all sections readable without JavaScript animations" ] }) // ====================================================== // 7. HEADER // ====================================================== createOrUpdateSection("header", { brand: "MELANO INC", navigation: [ { label: "Soluciones", href: "#soluciones" }, { label: "Sectores", href: "#sectores" }, { label: "Método", href: "#metodo" }, { label: "Ecosistema", href: "#ecosistema" }, { label: "Empresa", href: "#empresa" }, { label: "Contacto", href: "#contacto" } ], cta: { label: "Solicitar diagnóstico", href: "#contacto" }, behavior: { sticky: true, mobileMenu: true, closeMenuAfterNavigation: true, keyboardAccessible: true } }) // ====================================================== // 8. HERO // ====================================================== createOrUpdateSection("hero", { eyebrow: "MELANO INC · INTELIGENCIA ARTIFICIAL Y AUTOMATIZACIÓN", title: "Sistemas de IA y automatización que convierten estrategia en ejecución.", description: "Diseñamos e implementamos soluciones comerciales, operativas y digitales para empresas que necesitan ordenar, conectar y escalar.", ctas: [ { type: "primary", label: "Solicitar diagnóstico", href: "#contacto" }, { type: "secondary", label: "Conocer nuestras soluciones", href: "#soluciones" } ], trustMessage: "Estrategia, arquitectura e implementación conectadas en un mismo sistema.", requirements: [ "Do not use fake statistics", "Do not use generic stock imagery when approved assets exist", "Prioritize clarity on mobile", "Keep primary CTA visible above the fold" ] }) // ====================================================== // 9. OPERATIONAL CONTEXT // ====================================================== createOrUpdateSection("operational-context", { eyebrow: "EL DESAFÍO OPERATIVO", title: "Cuando la operación crece, también aumenta la complejidad.", description: "Procesos desconectados, información dispersa y tareas manuales reducen la capacidad de decisión y ejecución.", items: [ { title: "Información dispersa", description: "Datos comerciales y operativos distribuidos entre diferentes canales." }, { title: "Seguimientos incompletos", description: "Oportunidades que pierden continuidad por falta de estructura." }, { title: "Tareas manuales repetitivas", description: "Tiempo operativo destinado a acciones que pueden sistematizarse." }, { title: "Falta de visibilidad", description: "Decisiones tomadas sin una visión clara del estado de la operación." } ] }) // ====================================================== // 10. SOLUTIONS // ====================================================== createOrUpdateSection("solutions", { id: "soluciones", eyebrow: "SOLUCIONES", title: "Sistemas construidos alrededor de la operación real.", description: "Integramos estrategia, inteligencia artificial, automatización e infraestructura digital según la estructura y los objetivos de cada empresa.", blocks: [ { title: "Ventas y atención inteligente", description: "Captación, calificación, atención, seguimiento y conversión conectados." }, { title: "Automatización de operaciones", description: "Flujos que reducen tareas manuales y sostienen la continuidad operativa." }, { title: "Infraestructura digital", description: "Sistemas, integraciones y entornos preparados para operar y escalar." }, { title: "Agentes de inteligencia artificial", description: "Agentes especializados para funciones comerciales, operativas y estratégicas." } ] }) // ====================================================== // 11. FEATURED SOLUTION — LUXIA // ====================================================== createOrUpdateSection("luxia", { eyebrow: "SOLUCIÓN DESTACADA", title: "Luxia: atención, seguimiento y conversión conectados.", description: "Una solución comercial diseñada para centralizar oportunidades, sostener conversaciones y organizar cada próxima acción.", sectors: ["Real Estate", "Turismo", "Agro"], cta: { label: "Conocer Luxia", href: "https://luxia.melanoinc.com", external: true }, requirements: [ "Do not expose the underlying technology stack", "Do not claim capabilities that are not currently available", "Open external link safely", "Use rel='noopener noreferrer' when required" ] }) // ====================================================== // 12. SECTORS // ====================================================== createOrUpdateSection("sectors", { id: "sectores", eyebrow: "SECTORES", title: "Tecnología aplicada a operaciones con desafíos concretos.", items: [ { name: "Real Estate", description: "Captación, seguimiento comercial, atención y gestión de oportunidades." }, { name: "Turismo", description: "Consultas, reservas, coordinación y continuidad de atención." }, { name: "Agro", description: "Procesos comerciales, información operativa y seguimiento de relaciones." } ] }) // ====================================================== // 13. METHOD // ====================================================== createOrUpdateSection("method", { id: "metodo", eyebrow: "MÉTODO MELANO", title: "De la necesidad operativa a un sistema implementado.", steps: [ { number: "01", title: "Diagnóstico", description: "Analizamos la operación, sus objetivos y los puntos de fricción." }, { number: "02", title: "Arquitectura", description: "Definimos la estructura funcional, tecnológica y operativa." }, { number: "03", title: "Implementación", description: "Construimos y configuramos la solución acordada." }, { number: "04", title: "Integración", description: "Conectamos canales, datos, herramientas y responsables." }, { number: "05", title: "Optimización", description: "Medimos el funcionamiento y ajustamos el sistema." } ] }) // ====================================================== // 14. MELANO INC ECOSYSTEM // ====================================================== createOrUpdateSection("ecosystem", { id: "ecosistema", eyebrow: "ECOSISTEMA MELANO INC", title: "Inteligencia especializada dentro de una misma arquitectura.", description: "Cada solución cumple una función específica y opera bajo una estructura compartida de estrategia, control e implementación.", items: [ { name: "Luxia", role: "Atención, seguimiento y conversión" }, { name: "Melania", role: "Inteligencia estratégica ejecutiva" }, { name: "Alenya", role: "Captación y calificación de prospectos" }, { name: "Neuron", role: "Tokenización y activos digitales" }, { name: "AMA", role: "Arquitectura de automatización" }, { name: "Tonio", role: "Auditoría del ecosistema" }, { name: "Nader", role: "Identidad y coherencia de marca" }, { name: "Adminia", role: "Organización y coordinación administrativa" } ], rules: [ "Do not describe Melania as the operating system", "MELANO OS is the operating system", "Do not include Auditia", "Do not invent public availability for internal agents", "Differentiate commercial solutions from internal governance agents" ] }) // ====================================================== // 15. COMPANY // ====================================================== createOrUpdateSection("company", { id: "empresa", eyebrow: "LA EMPRESA", title: "MELANO INC", statement: "No seguimos el futuro. Lo rediseñamos.", description: "MELANO INC diseña e implementa sistemas de inteligencia artificial, automatización e infraestructura digital para transformar estrategia en capacidad real de ejecución.", signature: "Desde MELANO INC" }) // ====================================================== // 16. PROJECTS // ====================================================== createOrUpdateSection("projects", { title: "Proyectos y soluciones", rules: [ "Show only real and approved projects", "Do not use placeholder projects", "Do not publish internal experiments", "Do not fabricate performance metrics", "Hide the entire section when no approved projects are available" ] }) // ====================================================== // 17. FOUNDER // ====================================================== createOrUpdateSection("founder", { eyebrow: "FUNDADOR Y CEO", name: "Bruno Melano", description: "Fundador de MELANO INC y responsable de su visión estratégica, arquitectura de soluciones y dirección tecnológica.", cta: { label: "Conocer a Bruno Melano", href: "https://brunomelano.com", external: true }, rules: [ "Use only an approved photograph", "Position Bruno as CEO, not as a salesperson", "Do not invent awards or credentials" ] }) // ====================================================== // 18. CONTACT // ====================================================== createOrUpdateSection("contact", { id: "contacto", eyebrow: "CONTACTO", title: "Conversemos sobre tu operación", description: "Contanos qué proceso necesitás ordenar, conectar u optimizar. Analizaremos el contexto para definir el próximo paso.", fields: [ { name: "nombre", label: "Nombre y apellido", type: "text", required: true, autocomplete: "name" }, { name: "empresa", label: "Empresa", type: "text", required: true, autocomplete: "organization" }, { name: "sector", label: "Sector", type: "select", options: [ "Real Estate", "Turismo", "Agro", "Otro" ], required: true }, { name: "email", label: "Email corporativo", type: "email", required: true, autocomplete: "email" }, { name: "whatsapp", label: "WhatsApp", type: "tel", required: true, autocomplete: "tel" }, { name: "proceso", label: "¿Qué proceso necesitás mejorar?", type: "textarea", required: true }, { name: "objetivo", label: "¿Qué resultado esperás conseguir?", type: "textarea", required: true } ], submit: { label: "Solicitar diagnóstico", loadingLabel: "Enviando solicitud…", successMessage: "Recibimos tu solicitud. Nuestro equipo revisará la información para definir el próximo paso.", errorMessage: "No pudimos enviar la solicitud. Revisá los datos o intentá nuevamente." }, requirements: [ "Preserve the existing form handler", "Validate required fields", "Prevent duplicate submissions", "Display accessible inline errors", "Do not log personal data in the browser console", "Do not expose the submission endpoint", "Include privacy consent when a privacy policy exists" ] }) // ====================================================== // 19. FOOTER // ====================================================== createOrUpdateFooter({ company: "MELANO INC", message: "Inteligencia artificial, automatización e infraestructura digital.", internalLinks: [ { label: "Soluciones", href: "#soluciones" }, { label: "Sectores", href: "#sectores" }, { label: "Método MELANO", href: "#metodo" }, { label: "Ecosistema", href: "#ecosistema" }, { label: "Empresa", href: "#empresa" }, { label: "Contacto", href: "#contacto" } ], externalLinks: [ { label: "Luxia", href: "https://luxia.melanoinc.com" }, { label: "Bruno Melano", href: "https://brunomelano.com" } ], legalLinks: [ "Política de privacidad", "Términos y condiciones" ], copyright: `© ${new Date().getFullYear()} MELANO INC. Todos los derechos reservados.`, rules: [ "Only render legal links when their routes exist", "Do not create broken links", "Use safe external link attributes" ] }) // ====================================================== // 20. SEO AND STRUCTURED DATA // ====================================================== updateSEO({ title: "MELANO INC | Inteligencia Artificial y Automatización para Empresas", description: "Diseñamos sistemas de inteligencia artificial, automatización e infraestructura digital para ordenar, conectar y escalar operaciones empresariales.", canonical: detectProductionCanonicalUrl(), openGraph: { type: "website", title: "MELANO INC | Inteligencia Artificial y Automatización", description: "Sistemas que convierten estrategia en capacidad real de ejecución.", image: useExistingApprovedSocialImage() }, twitter: { card: "summary_large_image" }, schema: [ { type: "Organization", validated: true }, { type: "WebSite", validated: true } ], rules: [ "Use one canonical URL", "Do not invent social profiles", "Do not invent addresses or telephone numbers", "Avoid duplicate metadata", "Validate JSON-LD syntax" ] }) // ====================================================== // 21. PERFORMANCE AND ACCESSIBILITY // ====================================================== optimizeExperience({ images: [ "Use responsive image sizes", "Define width and height", "Use modern formats when compatible", "Lazy-load below-the-fold images", "Prioritize only the real LCP image" ], fonts: [ "Avoid render-blocking font loading", "Use font-display swap", "Prevent unnecessary font weights" ], motion: [ "Use subtle transitions", "Disable non-essential motion when prefers-reduced-motion is active" ], accessibility: [ "Semantic landmarks", "Descriptive alternative text", "Keyboard-accessible navigation", "Visible focus styles", "Associated form labels", "Accessible error messages", "Sufficient color contrast", "No horizontal overflow" ] }) // ====================================================== // 22. RESPONSIVE VALIDATION // ====================================================== validateResponsive({ widths: [320, 375, 430, 768, 1024, 1280, 1440], checks: [ "No horizontal overflow", "No clipped headings", "No overlapping elements", "Readable body text", "Usable navigation", "Minimum touch target size", "Visible primary CTA", "Correct card stacking", "Correct form layout", "Footer links remain accessible" ] }) // ====================================================== // 23. FUNCTIONAL VALIDATION // ====================================================== validateCriticalFlows([ { name: "Primary hero CTA", expected: "Scrolls to #contacto" }, { name: "Secondary hero CTA", expected: "Scrolls to #soluciones" }, { name: "Header navigation", expected: "Every link resolves to an existing section" }, { name: "Luxia external link", expected: "Opens the correct production URL" }, { name: "Bruno Melano external link", expected: "Opens the correct production URL" }, { name: "Contact form validation", expected: "Invalid submissions are blocked with accessible feedback" }, { name: "Contact form submission", expected: "Existing production handler remains functional" }, { name: "Mobile menu", expected: "Opens, closes and supports keyboard navigation" } ]) // ====================================================== // 24. QUALITY GATES // ====================================================== const qualityResults = runQualityGates({ useExistingPackageManager: true, commands: [ "lint", "typecheck", "test-if-available", "build" ], validations: [ "No new TypeScript errors", "No new lint errors", "No broken internal links", "No broken approved external links", "No console errors", "No hydration errors", "No exposed technical UI", "No placeholder content", "No fake claims", "No secrets committed", "Production build succeeds" ] }) // ====================================================== // 25. CONTROLLED FIX LOOP // ====================================================== while (qualityResults.hasCriticalFailures) { const failure = qualityResults.nextCriticalFailure() diagnoseFailure(failure) applyMinimumSafeFix(failure) rerunAffectedChecks(failure) if (failure.requiresCredentials || failure.requiresBusinessDecision) { documentBlocker(failure) stopWithoutInventingValues() } } // ====================================================== // 26. DEFINITION OF DONE // ====================================================== assertAllGreen({ lint: true, typecheck: true, build: true, responsive: true, criticalNavigation: true, accessibility: true, contactForm: true, noTechnicalLeaks: true, noPlaceholderContent: true }) // ====================================================== // 27. FINAL REPORT // ====================================================== generateFinalReport({ include: [ "Detected stack", "Files modified", "Sections created", "Sections updated", "Content removed", "Integrations preserved", "SEO changes", "Accessibility improvements", "Responsive results by viewport", "Lint result", "Typecheck result", "Test result", "Build result", "Remaining warnings", "Blocked items requiring credentials or approval" ], format: "concise-markdown", finalStatus: { green: "Implementation completed and all critical checks passed.", partial: "Implementation completed with documented non-critical warnings.", blocked: "Implementation stopped because a required credential or business decision is missing.", failed: "Implementation is not complete because one or more critical checks failed." } })