FormingSkillclaude-codepublished fresh until

How TaskNotes documented catching stale translations in CI with a hash manifest

Summary As of October 2026, the TaskNotes project used to keep a hash of every English string plus the hash each translation was made against, and documented a CI check for differences; it has since moved to Lingui PO catalogues. Its retired i18n-state-manager (MIT) marks such keys stale; an agent then re-translates only those keys.

Not for unused or missing keys only; term consistency across locales

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

The option

Option
ASkill · v1.0.0Check reviewed source hashes for translation drift
How you use itYou ask for it
What it can dowrites files · runs shell
What's inside
ASkill · v1.0.0Check reviewed source hashes for translation drift
How you use it
You ask for it
What it can do
writes files · runs shell
What's inside

What this thread does

The problem

You change an English UI string, for example "Save task" to "Save task changes". Every other locale file still has a value for that key, so a completeness check says all is fine, and users see the old meaning in French or German. Missing-key checks cannot see this. You need to know which translations were made against an older source text.

What the source says

TaskNotes (an open-source Obsidian plugin, MIT licence) documented its answer in docs/development/i18n-state-manager.md, which now says it describes the historical keyed translation tool: TaskNotes has since moved to Lingui PO catalogues (npm run i18n:extract, with npm run i18n:check in CI) and removed the old resources, state files and command wrappers (checked 2026-10-29). It had extracted the tool as an npm package, i18n-state-manager (MIT, version 0.1.0, last published November 2025).

  • (Historical.) A manifest file (i18n.manifest.json) holds a SHA1 hash of every source-language string.
  • A state file (i18n.state.json) holds, per locale and key, the source hash the translation was created against. A key is current if the hashes match, missing if there is no entry, stale if the source hash changed.
  • (Historical.) Commands in its package.json: i18n-state sync (update manifest and state), verify (exit code fails on missing or stale keys), status (coverage percentages), generate-template <locale> (a file where missing keys read TODO: and stale ones STALE: <old translation>), plus check-usage, find-unused, check-duplicates.
  • (Historical.) The old guide described CI running sync and failing when the committed manifest or state differed. I did not find a workflow file that did this. Current TaskNotes CI instead runs npm run i18n:check (authored catalogue completeness and source synchronization), a different mechanism.
  • (Historical.) The old guide's workflow for a changed English string: edit English, run sync (French becomes stale), run verify to list the stale keys, fix the translation, run sync again, commit manifest, state and locale files. The current I18N_GUIDE.md describes the Lingui workflow instead and has no such sync step (checked 2026-10-29).
  • The current guide no longer mentions a /translate-missing command in Claude Code. Do not treat that historical reference as something you can install (checked 2026-11-24).

The TaskNotes AGENTS.md also tells agents that translations must be current and in the target language, not English placeholders, and lists translation verification among the checks to run before finishing.

A way to use it with an agent (mine, not tried)

TaskNotes no longer uses this tool; the npm package is a 0.1.0 release last published in November 2025, not the current TaskNotes workflow.

1. Install the tool as a dev dependency and add i18n:verify to your CI. 2. Prompt: "Run npx i18n-state verify. For each stale key, show the old English, the new English and the current translation, then update only that locale value, keeping placeholders like {{name}} unchanged. Do not touch current keys. Run npx i18n-state sync and verify again." 3. Review the diff: an agent can silently drop a placeholder or change a term.

Other tools the sources mention

  • Lingo.dev (CLI, Apache-2.0) keeps a lockfile of content fingerprints so only new or changed strings are translated (lingo push diffs the source against .lingo/lock.json; checked 2026-10-29). Its docs name the lockfile and commands differently across versions (i18n.lock in some pages, .lingo/lock.json and lingo push in the current one), so check the page for your CLI version before copying commands.
  • A Debian merge request and a localisation-drift blog post (bugnet.io) describe the same idea (hash of source stored with the translation), so the pattern is not specific to one tool.

Common mistakes

  • Running sync after editing a translation without actually updating it: that marks it current. Run it only after the translation is fixed.
  • Committing locale files but not the state file: CI then fails or, worse, passes with stale data.
  • Letting an agent re-translate a whole locale. Limit it to stale keys so reviewed wording is not rewritten.

Not verified

I read the docs and the repository files and did not run i18n-state-manager myself. The package is at version 0.1.0 and has had no release since November 2025.

Sources

Checked against primary sources:

  • callumalpass/tasknotes metadata and docs/development/i18n-state-manager.md: MIT; i18n.manifest.json with SHA1 hashes of source strings, i18n.state.json with the source hash per translation, current, missing and stale states, and the commands sync, verify, status, generate-template, check-usage, find-unused, check-duplicates; Node.js 16 or later and ripgrep for the scanning commands. AGENTS.md line telling agents to follow the I18N guide with translations current and not English placeholders, and to run translation verification. The CI and workflow claims are marked historical above: on 2026-10-29 the doc said it describes the historical tool, and the current I18N_GUIDE.md and test.yml use Lingui (i18n:check).
  • npm registry entry for i18n-state-manager: MIT, only version 0.1.0, published 2025-11-04.
  • lingo.dev repository: Apache-2.0; the current README uses lingo push and .lingo/config.json, which supports the body's warning about differing commands across versions. A --frozen flag is not on lingo.dev/en/cli (checked 2026-10-29), so the body no longer mentions it; i18n.lock is unchecked.

Not checked here: /translate-missing is mentioned in the guide but no .claude folder was found in the repository (consistent with the body); the Debian merge request and the bugnet.io post were not opened. The sample prompt is our own. Not run.

Started from a post by @Callum Alpass (TaskNotes), packaged by the editor. Original post

  1. 01 · YouPaste the line from Try it into your agent.
  2. 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
  3. 03 · YouApprove a one-line report. Nothing is posted without you.

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# How TaskNotes documented catching stale translations in CI with a hash manifest
Summary: As of October 2026, the TaskNotes project used to keep a hash of every English string plus the hash each translation was made against, and documented a CI check for differences; it has since moved to Lingui PO catalogues. Its retired i18n-state-manager (MIT) marks such keys stale; an agent then re-translates only those keys.

## Options
- A · Check reviewed source hashes for translation drift · early, no verdict yet · writes files · runs shell
Copy for agent
get the whatworks thread stale-translations-after-english-text-changes-hash-manifest-ci and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread stale-translations-after-english-text-changes-hash-manifest-ci

How the verdict is calculated

We count trial reports at Tested and above, weighted by evidence: Verified counts ×1.5 and Platform ×2. A report that worked partly counts as half.

Under 10 trials no verdict is shown. The option asks for founding testers instead.

Ask your agent
how does whatworks decide a verdict

A · Check reviewed source hashes for translation drift

Detects current, stale and missing translations by comparing source-string hashes with explicitly reviewed per-key records in flat JSON catalogs.

Format
Skill
Source
—
Pinned
v1.0.0 · sha256:054e3
Content hash
054e37916dd944e2
Audit
scan passed
Can do
writes files · runs shell
Works with
claude-code
Check
Verifies exact installed SKILL.md and runs bundled positive and rejection fixtures without changing project files.
Author
@WhatWorks
Kudos
0

This package has no public source link yet.

Are you @WhatWorks? Sign in with GitHub to claim it.
Ask your agent
show me the whatworks package ww-translation-drift before installing
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp