<?xml version="1.0" encoding="UTF-8"?>
<!--
  Public routes only. /auth and /dashboard are intentionally excluded
  (authenticated surfaces, nothing to index).

  Two sources to keep in sync:
    - SPA routes    -> the <Route> list in src/App.tsx
    - Static routes -> site/src/pages/**  (Astro content layer)
  The build prints the static routes it emitted; see scripts/merge-astro.mjs.
-->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://writerswithai.com/</loc>
    <lastmod>2026-07-26</lastmod>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
  </url>
  <!-- /tools/inner-dramaturg and /tools/truby-validator are NOT listed: they
       are authenticated surfaces that redirect anonymous visitors to /auth,
       which Google reads as a soft 404. /tools/ itself is public. -->
  <!-- Static content layer (Astro) — the only genuinely indexable pages until
       the SPA routes are migrated. -->
  <url>
    <loc>https://writerswithai.com/voice/</loc>
    <lastmod>2026-07-26</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.9</priority>
  </url>
  <url>
    <loc>https://writerswithai.com/voice/study/</loc>
    <lastmod>2026-07-26</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.9</priority>
  </url>
  <url>
    <loc>https://writerswithai.com/features/</loc>
    <lastmod>2026-07-26</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://writerswithai.com/tools/</loc>
    <lastmod>2026-07-26</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://writerswithai.com/resources/</loc>
    <lastmod>2026-07-27</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.7</priority>
  </url>
  <!-- Posts. Each needs a route in src/App.tsx, a ROUTES entry in
       scripts/prerender.mjs, and a card in the posts array in
       src/pages/Resources.tsx. -->
  <url>
    <loc>https://writerswithai.com/resources/dramatica-four-throughlines/</loc>
    <lastmod>2026-07-28</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://writerswithai.com/resources/we-killed-our-best-feature/</loc>
    <lastmod>2026-07-27</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://writerswithai.com/resources/chubbuck-technique/</loc>
    <lastmod>2026-07-27</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://writerswithai.com/resources/why-ai-ignores-your-story-bible/</loc>
    <lastmod>2026-07-27</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://writerswithai.com/resources/truby-seven-steps/</loc>
    <lastmod>2026-07-27</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://writerswithai.com/pricing/</loc>
    <lastmod>2026-07-26</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>
  <url>
    <loc>https://writerswithai.com/about/</loc>
    <lastmod>2026-07-26</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
  </url>
  <url>
    <loc>https://writerswithai.com/contact/</loc>
    <lastmod>2026-07-27</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
  </url>
  <url>
    <loc>https://writerswithai.com/privacy/</loc>
    <lastmod>2026-07-26</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.3</priority>
  </url>
</urlset>
