Skip to content

fix(copy): name the score scale 1 to 5, not 1.0 to 5.0 - #151

Draft
santifer wants to merge 15 commits into
mainfrom
fix/score-scale-name
Draft

santifer wants to merge 15 commits into
mainfrom
fix/score-scale-name

Conversation

@santifer

@santifer santifer commented Oct 9, 2026

Copy link
Copy Markdown
Member

Stacked on #149. Not to be merged before it; planned for Tuesday 20 October at 11:00 UTC.

What this changes

The core names the score scale 1-5 (modes/_shared.md) and reports each score with one decimal. The site was naming the scale itself with decimals, "from 1.0 to 5.0", in 24 places. This renames the scale and leaves every concrete value alone: thresholds such as 4.5 and 4.0 and example scores keep their decimals.

  • Scan guide and glossary, in en, es, fr and de (two places each).
  • src/lib/glossary-data.ts, which mirrors the glossary.
  • The Spanish and French home.
  • /press, /methodology and its FAQPage in schema.ts, and llms-full.txt.

/methodology keeps "Last updated 7 May 2026" and its dateModified: the wording changes, the method does not. Translations are restamped.

How it was checked

Built and served locally on top of #149: schema parity, no future dates and the i18n SEO guard pass on 163 of 163 URLs. No "1.0 to 5.0" is left in content/ or src/.

Merge

This touches the home in two languages, so it is merged by Santiago.

🤖 Generated with Claude Code

santifer and others added 14 commits October 1, 2026 09:40
…llow it

On /de (and /es, /fr) the ⌘K dialog searched the English index. /api/search
already keeps one Orama index per language, with that language's tokenizer:
/api/search?query=bewerbung&locale=de returns 100 German hits, the same query
without locale returns 0. But the dialog takes the locale from Fumadocs'
I18nProvider, and the shared root layout never mounted one, so it sent none
and the server fell back to English.

LocaleRootProvider reads the locale from the path, the same way
FooterLocaleLink and the AI search do, and passes it to RootProvider together
with the ten Fumadocs UI labels for es, fr and de (search placeholder, "On this
page", previous/next page...). It passes no `locales` list on purpose: with
more than one, Fumadocs layouts render their own language picker next to ours.

English is unchanged: locale=en, default labels. No date source is touched
(neither file feeds git-date or home-date), so no lastmod moves.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ared home modules into _home (renames only)

Pure renames, no content change, so every moved file keeps its git history
and, with git-date's --follow --diff-filter=r, its lastmod. Edits come in the
following commits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e server HTML; one home dictionary per language

<html lang> was "en" on every page: the single root layout hardcoded it, and
a script corrected it in the browser, which crawlers that read raw HTML never
see (search-ops D1). Each locale now has its own root layout ((en)/, es/, fr/,
de/), all rendering the same RootShell (providers, footer, analytics) with
their own lang, the content-language meta on translated pages, and a static
locale for the ⌘K search. LangSync and the inline script are gone. Unmatched
URLs get global-not-found.tsx (experimental.globalNotFound), which keeps the
404 the site had: Next's message inside the English shell, noindex. Switching
language is now a full page load, the cost of separate root layouts.

The home dictionary is split: home-dict.tsx keeps the type and helpers, and
each language has its own home-<locale>.tsx. A home's lastmod now depends on
its route, the shared trunk and its own dictionary, so editing the French
home stops moving the English one.

Dates: the English routes moved into (en) in the previous commit as pure
renames, and git-date now runs git log with --follow --diff-filter=r, so a
moved page keeps its last real change as lastmod. The sitemap paths and
home-date follow the new locations.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With one root layout per locale the server HTML carries the right <html lang>
on every page, so a wrong one is a regression. Agreed with search-ops when the
guard landed (#142): flip it in the same PR as the root layouts.

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

# Conflicts:
#	src/components/locale-root-provider.tsx
#	src/components/root-shell.tsx
Moving the home under (en)/ changes the file name Next derives for its
opengraph image (same bytes, new path hash), so the old URL would 404 for
cards cached by social networks and for saved links.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…king after the move into (en)

An adversarial review of this branch reproduced three regressions:

- Every signatory's wide card moved from /manifesto/s/<user>/opengraph-image to
  ...-1xn4ck (Next hashes generated image routes inside a route group). The
  example card on /manifesto and /es/manifesto, the "Download your card: wide"
  link and every card already shared on social sites would 404. A 308 keeps
  the stable path working, and the i18n guard now fails if either old card
  URL stops ending in an image (stable-image, with its selftest sabotage).
- git-date skipped any rename commit, including R<100 ones. PRs land
  squashed, so a move and an edit share one commit and the edit never reached
  the lastmod. -M100% makes only exact renames count as moves.
- .coderabbit.yaml still pointed its homepage rules at src/app/(home)/, which
  no longer exists, so its "visual change needs the maintainer" checks went
  silent. They now cover src/app/**/(home)/ and src/app/_home/.

The outputFileTracingIncludes keys are also written as the escaped picomatch
route globs Next documents. The TTF is traced by static analysis either way.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…he site, and drop founderOf from the Person node

Bylines, the /about descriptions, the home and /methodology author answers, the press boilerplate, llms.txt and llms-full.txt now use the same descriptor as santifer.io and Wikidata. The author paragraphs are rewritten so they do not repeat it, in en, es, fr and de.

/about: Featured in WIRED Greece in the two descriptions, two sentences reworded, Last updated and ProfilePage dateModified set to 9 Oct 2026.
/methodology: bio FAQ wording and role-name correction only; methodology unchanged, dateModified kept.
schema: founderOf removed from the Person node. It is not a schema.org property, and Organization.founder already states the relation.

The signatory bio on the manifesto pages is not touched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The core names the scale 1-5 (modes/_shared.md) and reports individual scores with one decimal. The site was naming the scale with decimals in 24 places. Thresholds and example scores keep their decimals.

Scan guide and glossary in en, es, fr and de, the glossary data file, the Spanish and French home, /press, /methodology and its FAQPage, and llms-full.txt. /methodology keeps its Last updated date: the wording changes, the method does not. Translations restamped.

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

vercel Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
career-ops-docs Ready Ready Preview Oct 9, 2026 7:23am UTC

Request Review

@coderabbitai

coderabbitai Bot commented Oct 9, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@santifer
santifer changed the base branch from i18n/root-layout-per-locale to main October 9, 2026 07:22
@santifer santifer closed this Oct 9, 2026
@santifer santifer reopened this Oct 9, 2026

This branch was successfully deployed

1 active deployment
Preview — 9ecab120 Deployed Oct 9, 2026 by vercel[bot]
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