ADR: Search engines are told about every post
Status: accepted, 2026-11-20, at 1.0.5.143. The blog's sitemap at /sitemap-blog.xml, its line in robots.txt, /llms.txt written with every post, the IndexNow ping after a post is saved, and what he knows and where he studied on his Person node ship at 1.0.5.143. The list's post titles become links to each post's own address in the version after it, and the blog filters' case and back-button checks after that.
In plain words
The goal is traffic. Sixteen posts were on the blog on 20 November and no search engine had been told about one of them: the sitemap listed the documents and no post, llms.txt never said the word blog, and the list drew each post's title as plain text with a button beside it, so a crawler reading the page found no address for most posts. When a manager or an AI search tool looks for ".NET AI code quality" or for Steven Stout, the posts should be what comes back.
Context
- Each post already has its own head on the server (
render/heads.ts): its title, its summary and a canonical link to /?view=blog&post=<slug>, with no tagged code.
- Posts reach the store from outside the repository: the operator saves them through
POST /api/admin/blog/posts, and blog-post.yml saves a body again from data/blog/<slug>.md. A list written into a file at build time is out of date with the first post saved after the build.
public/sitemap.xml is held to the document catalogue in both directions by PublicFaceTests, so a post cannot go there.
Decision
- The addresses stay as they are. A post's address is
/?view=blog&post=<slug>, with a canonical link to itself; a query address with a self canonical is indexable, and the head is already right per post. No /blog/<slug> path routes.
- The blog has a sitemap of its own, written from the store.
GET /sitemap-blog.xml lists /?view=blog and every published post once, each <loc> the post's canonical exactly as the head writes it (& escaped as &) and its <lastmod> the day it was published; the blog's own entry is dated by its newest post. It is read when it is asked for, so a post the operator saves is listed with no commit. A root path, because a sitemap may only list addresses at or under its own. It is kept like the RSS feed: no edge copy, the browser asks each time.
- robots.txt names both sitemaps. A second
Sitemap: line for /sitemap-blog.xml; public/sitemap.xml stays as it is, the documents only.
- llms.txt is the API's.
/llms.txt is the site's own words from data/llms.txt with a ## Blog section read from the store: one line per post, - [Title](canonical): its summary, before the Optional section the format keeps last. The file left public/, because a file in the web root wins the route and could only be as current as the last build. A store that cannot be read leaves the section out and the rest stands.
- IndexNow is told after a save. The key is a 32-character hex string, public by design, served as
public/<key>.txt holding the key. blog-post.yml posts the post's canonical and /?view=blog to https://api.indexnow.org/indexnow after the body reads back on both names; an answer other than 200 or 202 is a warning and never fails the run. The workflow's indexnow_only input sends the ping alone, to prove it is answered. No Google Indexing API: it covers job postings and livestreams only.
- The list's titles are links. Each title on the list, the full post's
<h2> and every short card's <h3>, holds an <a href> to the post's own address (postLink), drawn on the server, so the HTML a crawler reads carries one address per post. It looks exactly as the title did, with an underline only on hover; a plain click still opens the post in place, a modified click opens the address.
- His Person node says what he knows and where he studied.
knowsAbout (.NET, C#, Azure, React, TypeScript, SQL Server, Software architecture, AI-assisted development, Code quality) and alumniOf the University of Missouri, on the home page and on /about; both are on his resume and his profile. Nothing else in the node changes.
a post is saved (the operator, or blog-post.yml)
|
+--> the store --> GET /sitemap-blog.xml (read at request time; robots.txt names it)
| --> GET /llms.txt (the Blog section, read at request time)
| --> GET /?view=blog (each title an <a href> drawn on the server)
|
+--> blog-post.yml, after the read-back --> POST api.indexnow.org (the post and the blog)
|
search engines and AI tools <----------------------------+ crawl the sitemaps, the list and llms.txt
Why
- The store is the only list that is never stale. A post is saved without a commit, so anything written at build time misses it.
- The canonical is written once. The sitemap and llms.txt write the address the head names, against the public address the configuration gives (
Azure:Resources:PublicSite, which a test holds equal to the head's SITE; no name of the deployment is written in the code), so a crawler never meets two addresses for one post.
- A link a crawler can follow is worth more than a sitemap entry. The sitemap says a page exists; a link on a page says it matters, and the list is the one page every post is on.
Consequences
- What stops being true: that
public/llms.txt is the file /llms.txt serves (it is data/llms.txt, written with the posts), and that the Person node names only his name, title, profiles and city.
- Search Console is told of
/sitemap-blog.xml by Steve; nothing here signs in to it.
- What holds it:
BlogSitemapTests (every post once at its canonical, no r=, valid XML, the root path, the head's site; the Blog section before Optional; a store that cannot be read), PublicFaceTests (both Sitemap lines, the IndexNow key file and the workflow's key, the home page's Person), DiagramPageTests (the Person on /about), DockerBuildInputsTests (no public/llms.txt to hide the route) and PageStatusTests (the sweep reads both files at every roll).
Where it sits
Two read-only routes in the API's Blog slice, each asking the feed's own query handler (ReadFeedHandler) in the Application ring: nothing new in the rings under it. The words of llms.txt are a file beside the dataset, read through HostPaths. The ping is the workflow's, outside the app.
Addendum, 2026-12-01 (1.0.5.240): every document at its page, the posts as articles, and the resume's text
The goal is the same, traffic, measured in a read of the live site on 1 December as Googlebot sees it (lane seo1201): the sitemap listed 212 addresses, 207 of them under /api/docs/, and 192 of those were documents served as markdown, with no title, no description, no canonical and no link to the author or the resume. The page each one opens on, /?doc=<slug>, is drawn on the server with the whole document in it, but its head was the build's: the title "Steven Stout, Lead / Staff .NET engineer" and a canonical to /, so a search engine read every document as a copy of the home page. A post previewed as a website, not an article, and the resume's text held "Sta\uFB00" where a recruiter's search types "Staff".
- A document's page has its own head. The rendering service reads the document the address names beside the first load (render/page.ts,
keptDoc, at most once every fifteen seconds an origin), and headFor writes its H1 as the title (" | Steven Stout"), its first paragraph of prose (not a heading, list, quote, table, fence, picture or the record's Status line), as plain text cut at a word under 160 characters, as the description, and /?doc=<slug> as the canonical, in every tag an unfurler reads (render/docHead.ts). A document the API cannot read keeps the catalogue's title and its own address. /?doc=author stays About Steven and /?doc=quality keeps its own words. /?view=stack gets its own head too.
- The markdown names its page.
/api/docs/<slug> and /api/docs/bicep still answer markdown for AI tools and llms.txt, and send Link: <https://theyard.stevenstout.biz/?doc=<slug>>; rel="canonical", against the public address in configuration (CanonicalSite, which moved from the Blog slice to Shared/Instance so the documents can name it; ADR-114's table lists it). Nothing is marked noindex. Each diagram page keeps its own address, and gains a description and a canonical to itself.
- The sitemap lists pages.
public/sitemap.xml lists every catalogue document at /?doc=<slug> in place of /api/docs/<slug>, the author's at /?view=about, keeps the fifteen diagram pages, adds /?view=recommendations, /?view=stack and the resume at /resume?pdf=1 (the address the home page links), and drops /?view=admin, whose canonical is home. 214 addresses: 191 documents, 15 diagrams, 8 pages.
- A post is an article. A post's head says
og:type article, with article:published_time and article:modified_time and one article:tag per tag from the blog's store, and carries a BlogPosting: headline, description, both days, the picture its preview carries (og:image), its address as url and mainEntityOfPage, its tags as keywords and its author by the Person's id, https://theyard.stevenstout.biz/about#steven-stout. The store keeps no time a post was last changed (a body saved again is the same post), so the modified day is the published day.
- Home's tab carries the words a search is made of. Its title is "Steven Stout, Lead / Staff .NET Engineer (C#, Azure)"; the h1, og:title and twitter:title keep the hero's words.
- One h1 a page. The no-JavaScript summary's "TheYard, by Steven Stout" is a paragraph at the size an h1 has there, so it looks as it did; when a document's window opens over home, the claim behind it steps down to an h2, so the document's title is the page's one h1.
- His Person names his GitHub profile (
https://github.com/SteveStout) beside LinkedIn and the repository, on home and on /about; the badge photographs on home's tiles say what they show.
- The resume's text. The CSS the resume is printed from (J:\resume-design\style.css) turns ligatures off, so Chrome writes "ff", "fi" and "fl" as two letters; the 1 December file of record was drawn again with it (same words, same two pages) and is the file
/resume serves (ADR: The resume has an address, the addendum of this version). Its PDF keeps the Title it had: no PDF library is in the build to write Author, Subject or Keywords, and none was added for it.
What stopped being true: that public/sitemap.xml lists the documents at their markdown addresses and lists Admin; that every address but the six named in render/heads.ts keeps the build's head; that a post previews as a website; that the home page's tab reads its hero's words. What holds it: heads.test.ts and render.test.ts (each document's head, the stack's, home's tab, the article and its BlogPosting, one h1 under a document and on the noscript summary, the Person's sameAs), PublicFaceTests (the sitemap at pages both ways, no markdown address but the diagrams, the pages and the resume listed, Admin not), DocumentationCatalogTests (the Link header on every document, no X-Robots-Tag), DiagramPageTests (each diagram's description and canonical, /about's sameAs) and ResumeTextTests (no ligature in the served resume's text, and "Staff").
Addendum, 2026-12-01 (1.0.5.241): the paragraph that says what a document is
Read live on 1.0.5.240 across all 191 documents, 13 descriptions were the first paragraph but not one that says what the document is: a reading ("Date: 2026-08-31 Status: Accepted", "Current level: 0"), a dateline ("Read on 1 December 2026."), a lead-in to a list ("For Steve, when he is fresh, in this order:") or an italic pointer to another page (Architecture's). What stopped being true: that the description is the first paragraph that is not a heading, list, quote, table, fence, picture or Status line. It is now the first paragraph of at least 40 characters of text that is not a reading (a capitalised word or two and a colon), does not end in a colon and is not set wholly in italics; a document with none keeps the first paragraph of prose, as before. heads.test.ts holds each of the five shapes.
Addendum, 2026-12-03 (1.0.5.268): the feed, the ping and the pages read without JavaScript
What stopped being true: that the sitemap and llms.txt are the only places a crawler finds a new post. On 3 December Steve asked that the pages scanners read always carry his newest posts ("make sure our scanner pages are always scanned for my lattest blogs"), and a raw read that morning found /feed.xml and /rss.xml at 404 and no post linked from /about or from the plain HTML of / and /?view=review.
From this version /feed.xml carries the newest twenty posts read per request, /rss.xml moves to it, every page's head names it, llms.txt has a Feed line, /about lists the newest five after Why I write, the no-JavaScript summary lists the newest three, and a save pings IndexNow. The decision and its reasons are their own record, ADR: A feed and a ping for every post.
Enforced by
4 rules in the rulebook cite this record, each held by a test on every release.