<?xml version="1.0" encoding="UTF-8"?>
<!--
  Public-pages sitemap for melaya.org.

  Routes listed (all crawlable):
    /                              — marketing landing
    /home                          — explicit landing route (auth shell)
    /product/agentic-framework     — drag-drop AI agents
    /product/agentic-trading-crew  — seven-persona AI traders
    /product/trading-engine        — Rust algorithmic trading engine
    /login, /register              — auth entry points
    /docs                          — public docs root
    /legal/{terms,privacy,security}

  Authenticated app routes (/overview, /projects/*, /tracing, /eval,
  /assistant, /builder, /tools, /subagents, /connectors, /trading,
  /predictions, /admin) are EXCLUDED — they're JWT-gated and embed
  user-scoped data. They're also explicitly Disallowed in robots.txt.

  `lastmod` reflects the most recent meaningful content/structural
  change on the corresponding page. Bump when the SoftwareApplication
  feature list, hero copy, or pricing changes.

  `priority` is a per-sitemap-relative weight (0.0 to 1.0). Google
  doesn't use it directly but Bing, Yandex, and DuckDuckGo do.

  Each <url> carries `xhtml:link` for hreflang completeness, even
  though we only ship English. x-default declares "this is the
  canonical baseline" to international crawlers and prevents locale
  splitting.
-->
<urlset
    xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
    xmlns:xhtml="http://www.w3.org/1999/xhtml"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 https://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"
>

    <!-- ── Marketing landing (highest priority) ────────────────────── -->
    <url>
        <loc>https://melaya.org/</loc>
        <lastmod>2026-06-16</lastmod>
        <changefreq>weekly</changefreq>
        <priority>1.0</priority>
        <xhtml:link rel="alternate" hreflang="en" href="https://melaya.org/" />
        <xhtml:link rel="alternate" hreflang="x-default" href="https://melaya.org/" />
    </url>
    <url>
        <loc>https://melaya.org/home</loc>
        <lastmod>2026-06-16</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.9</priority>
        <xhtml:link rel="alternate" hreflang="en" href="https://melaya.org/home" />
        <xhtml:link rel="alternate" hreflang="x-default" href="https://melaya.org/home" />
    </url>

    <!-- ── Product deep-dives ────────────────────────────────────────
         These three routes are the main /product/* surfaces; each
         registers its own SoftwareApplication + FAQPage + Breadcrumb
         JSON-LD via PageSEO. -->
    <url>
        <loc>https://melaya.org/product/agentic-framework</loc>
        <lastmod>2026-06-16</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.9</priority>
        <xhtml:link rel="alternate" hreflang="en" href="https://melaya.org/product/agentic-framework" />
        <xhtml:link rel="alternate" hreflang="x-default" href="https://melaya.org/product/agentic-framework" />
    </url>
    <url>
        <loc>https://melaya.org/product/agentic-trading-crew</loc>
        <lastmod>2026-06-16</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.9</priority>
        <xhtml:link rel="alternate" hreflang="en" href="https://melaya.org/product/agentic-trading-crew" />
        <xhtml:link rel="alternate" hreflang="x-default" href="https://melaya.org/product/agentic-trading-crew" />
    </url>
    <url>
        <loc>https://melaya.org/product/trading-engine</loc>
        <lastmod>2026-06-16</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.9</priority>
        <xhtml:link rel="alternate" hreflang="en" href="https://melaya.org/product/trading-engine" />
        <xhtml:link rel="alternate" hreflang="x-default" href="https://melaya.org/product/trading-engine" />
    </url>

    <!-- ── Auth entry points (lower priority) ───────────────────────── -->
    <url>
        <loc>https://melaya.org/login</loc>
        <lastmod>2026-06-16</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.5</priority>
    </url>
    <url>
        <loc>https://melaya.org/register</loc>
        <lastmod>2026-06-16</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.5</priority>
    </url>

    <!-- ── Documentation (public) ──────────────────────────────────── -->
    <url>
        <loc>https://melaya.org/docs</loc>
        <lastmod>2026-06-16</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.8</priority>
    </url>

    <!-- ── Legal pages ─────────────────────────────────────────────── -->
    <url>
        <loc>https://melaya.org/legal/terms</loc>
        <lastmod>2026-06-16</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.4</priority>
    </url>
    <url>
        <loc>https://melaya.org/legal/privacy</loc>
        <lastmod>2026-06-16</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.4</priority>
    </url>
    <url>
        <loc>https://melaya.org/legal/security</loc>
        <lastmod>2026-06-16</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.4</priority>
    </url>

</urlset>
