Skip to content

fix(mods): stop modPageTitle cutting headlines mid-phrase - #356

Merged
NathanAB merged 1 commit into
search-recoveryfrom
claude/search-cutoff-titles-eeadaf
Nov 30, 2026
Merged

NathanAB merged 1 commit into
search-recoveryfrom
claude/search-cutoff-titles-eeadaf

Conversation

@NathanAB

Copy link
Copy Markdown
Owner

Why

Ticket #353, part of spec #351. Live mod titles end mid-phrase, as in "Context Meter mod: Know when" and "Session HUD mod: Notice when Claude Code is". When the headline doesn't fit in 60 characters, modPageTitle cut it at the last phrase break. A cut at a word like "to" or "on" leaves a sentence that stops partway through.

  • Severity: a searcher sees a title that stops mid-sentence and trusts the result less (spec user story 1). No data or install breaks.
  • Likelihood: every page whose headline doesn't fit. That is 41 of 94 live pages today, measured below.

What changed

  • modPageTitle (src/mods/page-meta.ts) no longer cuts a headline. If <Name> <lead>: <headline> doesn't fit in 60 characters (with or without the brand), the title falls back to the plain title, such as Context Meter — Claude Code mod | statuslin.es. Theme plugins fall back to their own wording (— Claude Code Themes, — Claude Desktop Theme, and so on). leadingPhrases and PHRASE_BREAK are deleted.
  • The page copy prompt (src/content/page-copy-prompt.ts) asks for a headline that says in plain words what the mod does, and for FAQ questions a reader would have. It no longer asks for "the words someone would search". Existing copy is not regenerated. CLAUDE.md's note on mod copy and the comments in page-meta.ts and src/content/types.ts now say the same.

Scope

Only titles whose headline was cut change: 41 of the 94 live mod and theme plugin pages (12 mods, 29 theme plugins). The other 53 are byte-identical. og:title reads the same function, so it changes on the same 41 pages.

The 41 changed titles
Page Before After
/mods/ascii-wallpapers ASCII Wallpapers Claude Desktop themes: Animated wallpapers ASCII Wallpapers — Claude Desktop Themes | statuslin.es
/mods/backdrops Backdrops Claude Desktop themes: Animated wallpapers Backdrops — Claude Desktop Themes | statuslin.es
/mods/brie-mine Brie Mine Claude Desktop themes: Cute pink and cream theme Brie Mine — Claude Desktop Themes | statuslin.es
/mods/catppuccin Catppuccin themes: Pastel Mocha and Latte themes Catppuccin — Claude Code Themes | statuslin.es
/mods/cc-looks cc-looks Claude Desktop themes: Animated backgrounds cc-looks — Claude Desktop Themes | statuslin.es
/mods/chat-sidecar chat-sidecar mod: See what Claude Code is doing chat-sidecar — Claude Code mod | statuslin.es
/mods/context-meter Context Meter mod: Know when Context Meter — Claude Code mod | statuslin.es
/mods/dracula-theme Dracula Theme Claude Desktop themes: Dracula colors Dracula Theme — Claude Desktop Themes | statuslin.es
/mods/enso Enso Claude Desktop themes: Visual focus timer Enso — Claude Desktop Themes | statuslin.es
/mods/flightdeck Flightdeck mod: Monitor Claude Code agents Flightdeck — Claude Code mod | statuslin.es
/mods/forge Forge Claude Desktop themes: Ambient forge fire that reacts Forge — Claude Desktop Themes | statuslin.es
/mods/gotham-night Gotham Night Claude Desktop theme: Gotham night city theme Gotham Night — Claude Desktop Theme | statuslin.es
/mods/holo-damascus Holo Damascus Claude Desktop themes: Holographic light Holo Damascus — Claude Desktop Themes | statuslin.es
/mods/kindling Kindling Claude Desktop themes: Animated wallpapers Kindling — Claude Desktop Themes | statuslin.es
/mods/leitstand Leitstand mod: Disk space and context warnings Leitstand — Claude Code mod | statuslin.es
/mods/look-gruvbox Gruvbox Dark Look Claude Desktop theme: Gruvbox dark theme Gruvbox Dark Look — Claude Desktop Theme | statuslin.es
/mods/look-gruvbox-light Gruvbox Light Look Claude Desktop theme: Gruvbox light theme Gruvbox Light Look — Claude Desktop Theme | statuslin.es
/mods/look-nord Nord Look Claude Desktop theme: Nord dark theme Nord Look — Claude Desktop Theme | statuslin.es
/mods/look-nord-snow Nord Snow Look Claude Desktop theme: Light Nord theme Nord Snow Look — Claude Desktop Theme | statuslin.es
/mods/look-one-dark One Dark Look Claude Desktop theme: One Dark theme One Dark Look — Claude Desktop Theme | statuslin.es
/mods/look-rose-pine Rosé Pine Look Claude Desktop theme: Rosé Pine dark theme Rosé Pine Look — Claude Desktop Theme | statuslin.es
/mods/mod-gallery Mod Gallery mod: Browse and install Claude Code mods Mod Gallery — Claude Code mod | statuslin.es
/mods/multiverse Multiverse mod: Animated Claude critter scenes Multiverse — Claude Code mod | statuslin.es
/mods/neon-city Neon City Claude Desktop theme: Cyberpunk color theme Neon City — Claude Desktop Theme | statuslin.es
/mods/nk-claude-themes NK Claude Themes themes: More color themes NK Claude Themes — Claude Code Themes | statuslin.es
/mods/one-dark One Dark themes: Atom-style dark and light themes One Dark — Claude Code Themes | statuslin.es
/mods/pinboard Pinboard Claude Code & Desktop themes: Scrapbook theme Pinboard — Claude Code & Desktop Themes | statuslin.es
/mods/pink-and-cute Pink and Cute Claude Code & Desktop themes: Cute pink theme Pink and Cute — Claude Code & Desktop Themes | statuslin.es
/mods/prismantis Prismantis mod: Render mermaid diagrams and tables Prismantis — Claude Code mod | statuslin.es
/mods/prompt-rail Prompt Rail mod: Jump back to an earlier prompt Prompt Rail — Claude Code mod | statuslin.es
/mods/rainy-window Rainy Window Claude Desktop themes: Rainy day room theme Rainy Window — Claude Desktop Themes | statuslin.es
/mods/sakura-petals Sakura Petals Claude Desktop themes: Cherry blossom theme Sakura Petals — Claude Desktop Themes | statuslin.es
/mods/session-hud Session HUD mod: Notice when Claude Code is Session HUD — Claude Code mod | statuslin.es
/mods/solarized Solarized Claude Desktop themes: Solarized palette Solarized — Claude Desktop Themes | statuslin.es
/mods/spazio-tema Carbon Claude Desktop themes: Dark graphite theme Carbon — Claude Desktop Themes | statuslin.es
/mods/stark-lab Stark Lab Claude Desktop theme: JARVIS holographic lab theme Stark Lab — Claude Desktop Theme | statuslin.es
/mods/time-machine Time Machine mod: Roll back Claude Code changes Time Machine — Claude Code mod | statuslin.es
/mods/token-weather-usage Token Weather Usage mod: Watch Claude Code limits, cache Token Weather Usage — Claude Code mod | statuslin.es
/mods/tokyo-night Tokyo Night Claude Desktop themes: Tokyo Night theme Tokyo Night — Claude Desktop Themes | statuslin.es
/mods/usage-band CC Usage Band mod: Watch Claude Code's 5-hour CC Usage Band — Claude Code mod | statuslin.es
/mods/vague Vague Claude Desktop theme: Low-contrast dark theme Vague — Claude Desktop Theme | statuslin.es

Tradeoffs

  • Every cut headline falls back, not only the ones that read as broken. That is what this ticket says ("A title that would be cut falls back"). The spec's wording ("cut mid-phrase", "change nothing else that Google already knows") reads narrower. The cost: 7 indexed mods whose cut title read as whole lose their headline words: chat-sidecar, leitstand, mod-gallery, multiverse, prismantis, prompt-rail and time-machine. The other 29 changes are theme plugin pages, which Keep repeat and unreviewed pages out of Google's index #352 makes noindex (production has 48, the spec's count).
  • Rejected: fall back only when the cut drops an "and …" tail or ends on a word like "when" or "is". Measured on the 41, it changes 6: context-meter, session-hud, usage-band, token-weather-usage, holo-damascus, plus flightdeck, which reads fine. It keeps the other 35. It wasn't chosen because it is a word list, the same kind of rule that cut "Know when", and a future headline can end on a word the list misses. If the maintainer prefers fewer changes, it is one small commit on this branch.
  • Shortening headlines so more of them fit was rejected: that rewrites copy, which the spec rules out before the December core update.

Blast Radius

modPageTitle feeds the <title> and og:title of /mods/<slug> only. Status line titles, theme preview pages and /themes don't use it. The prompt change affects copy generated from now on.

Verification

  • test/mods/page-meta.test.ts: the fallback for a mod (Context Meter, Session HUD, Cache Tax), a terminal theme plugin and a Desktop theme, plus a headline that fills exactly 60 characters and stays whole. Planted breaks: < for <= on the unbranded fit turns the 60-character test red, and <= 61 turns the fallback test red. Reverting the fix turns both fallback tests red.
  • Before/after list: read every /mods/<slug> page in /sitemap.xml and /marketplace.json (94) from production, took the H1 as the name and the subtitle as the headline, and confirmed the old modPageTitle reproduces all 94 live titles exactly (0 unmatched). Then ran the new one on the same inputs. The table above is its output.
  • Running app (verify instance, two mods seeded with page copy): /mods/context-meter with the headline "Know when to /compact a Claude Code session" serves <title>Context Meter — Claude Code mod | statuslin.es</title> and the same og:title, with the headline still under the H1. /mods/cache-tax with "Keep Claude Code's prompt cache warm" keeps Cache Tax mod: Keep Claude Code's prompt cache warm.
  • bun run check: 438 test files passed, 3 skipped (4268 tests passed, 13 skipped), lint and typecheck clean, exit 0. After it, two comments changed (no code); typecheck, lint and the title and content tests (117) passed again.

🤖 Generated with Claude Code

A headline too long for the 60-character title was cut at its last
phrase break, which left live titles like "Context Meter mod: Know when".
Now a headline that doesn't fit whole gives way to the plain title,
"<Name> — Claude Code mod | statuslin.es" or the theme wording. Titles
whose headline fits are unchanged.

The page copy prompt now asks for a headline and FAQ questions that say
what the mod does in plain words, not the words someone would search.

Refs #353

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@NathanAB NathanAB mentioned this pull request Nov 30, 2026
4 tasks
@NathanAB
NathanAB merged commit 1235b5a into search-recovery Nov 30, 2026
2 checks passed
NathanAB added a commit that referenced this pull request Nov 30, 2026
…od titles (#359)

* fix(mods): stop modPageTitle cutting headlines mid-phrase (#356)

A headline too long for the 60-character title was cut at its last
phrase break, which left live titles like "Context Meter mod: Know when".
Now a headline that doesn't fit whole gives way to the plain title,
"<Name> — Claude Code mod | statuslin.es" or the theme wording. Titles
whose headline fits are unchanged.

The page copy prompt now asks for a headline and FAQ questions that say
what the mod does in plain words, not the words someone would search.

Refs #353

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

* docs(deploy): record the daily Google traffic drop alert (#357)

PostHog now emails the maintainer when Google-referred pageviews over the
last 2 complete days fall below 40% of the same 2 days a week before. A
replay of November 2026 fires on Nov 23 and on no day before the Nov 21
drop. docs/deploy.md records the query, the threshold and why, and
CLAUDE.md points search and traffic questions at the Search Console
script and the Composio Search Console and PostHog query tools.

Refs #354

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

* feat(sitemap): keep repeat and unreviewed pages out of Google's index (#358)

* feat(mods): keep unreviewed mod pages out of the index and the sitemap

The unreviewed-mods pilot ends early: 0 search impressions in 18 days,
and Google never crawled these pages. Each page is now noindex, follow
and leaves the sitemap; it still loads and Request a review still works.

Refs #352

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(gallery): index only the facet pages searchers chose

Most facet pages repeat each other. A fixed list of five facets
(token-usage, themed, quota, git, cost: 3 or more Google clicks in the
90 days to 2026-11-28) may be indexed; every other facet page is
noindex, follow and leaves the sitemap, while it still loads and stays
linked from breadcrumbs, More ways to browse and llms.txt.

isIndexableFacet is now the list AND the inventory threshold, and reads
the head and the sitemap alike. The threshold alone is isPromotedFacet,
which drives the site's own links.

Refs #352

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(compare): keep the comparison pages out of the index and the sitemap

The six /alternatives and /compare pages repeat the gallery's listings.
Each is now noindex, follow and leaves the sitemap; they still load for
visitors. The sitemap's best page keeps its date, now from the top ten
cards alone, and liveComparePages, which only dated the comparison
pages, is gone.

Refs #352

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(mods): keep theme plugin pages out of the index and the sitemap

A theme plugin's page repeats what /themes and its palette pages show.
It is now noindex, follow and leaves the sitemap; the page still loads
and installs as before. Reviewed mods stay indexed and listed.

Refs #352

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(themes): keep palette pages with no reviewed theme out of the index

A palette page of unreviewed themes alone offers nothing to install.
It is now noindex, follow and leaves the sitemap; the page still loads.
One helper, reviewedPalettePages, now feeds the sitemap and both llms
files, so the three can't disagree about which palette pages count.

Refs #352

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(gallery): stop listing numbered gallery pages in the sitemap

/?page=N repeats the home page's listings. The sitemap no longer lists
those pages, and sitemapResponse loses its pageCount parameter. The
pages still load and keep their self-canonical.

Refs #352

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(ui): keep related cards out of a page's search snippet

PageSection takes a nosnippet flag that puts data-nosnippet on its
section. More status lines, Related mods and More like this pass it, so
cards describing other pages no longer write this page's snippet.
Nothing visitors see changes.

Refs #352

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(gallery): say a facet page is in the sitemap only when indexable

Refs #352

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(adr): record the unreviewed-mods pilot's early end in ADRs 0011 and 0014

The group /mods/unreviewed/* had 0 Google impressions in 18 days and
Google crawled none of its pages. Every unreviewed page, and every
palette page of unreviewed themes alone, leaves search and stays up.
deploy.md no longer says a hidden unreviewed page drops a sitemap line.

Refs #352

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs: give the real reason in the new noindex comments

Comparison and theme plugin pages share most of their text with each
other; a palette page of unreviewed themes alone describes code nobody
here read (ADR 0014).

Refs #352

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

* docs(verify): add a search indexing feature and correct the themes sitemap line

The verify map had no feature for what search engines are told about each
page, and themes.md still said theme packs are in the sitemap (#358 made
them noindex). Driven on the shared branch on 2026-11-30.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.

1 participant