Repository navigation
test(copy): check every TaintSource kind has taintFrom copy in both locales - #161
Merged
juancguerrerodev merged 1 commit intoNov 28, 2026
Conversation
10 of 16 tasks
…ocales Signed-off-by: Santino Fuentes <santinofuentesAI@users.noreply.github.com>
juancguerrerodev
force-pushed
the
test/copy-taint-kinds
branch
from
November 28, 2026 23:25
8f646a7 to
743d83a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
Follow-up to @dbejarano820's review note on #134 (for #85).
Adds a test in
packages/copy/test/copy.test.tschecking that everyTaintSource["kind"]inpackages/core/src/types.tshas anHM-APPR-01.taintFrom.<kind>entry in bothpackages/copy/locales/en.jsonandes-419.json, sopnpm --filter @hermit/copy testcatches a missingtaintFromkey right away when a new taint kind is added.Verified locally that temporarily renaming
HM-APPR-01.taintFrom.botinen.jsonmakes the new test fail before reverting the temporary edit.Vision fit
Serves Principle 5 ("Spanish and English, first-class") and Principle 7 ("Small, typed and tested").
Non-negotiables
Checklist
acceptedproposal. (Follow-up test requested in feat(cage): add bot taint kind and untrusted botInput wrapper #134's review.)pnpm check:privacy,pnpm typecheck,pnpm lint,pnpm testandnode scripts/guard/check.mjs --base origin/main --patterns scripts/guard/patterns.txt.packages/copy, in es-419 and en, with matching keys and placeholders, and no em or en dashes. (n/a: test-only change.)Model path
packages/model,agent,skillsoreval, the prompt, the router, tool descriptions, normalizers, examples or the model file.Screenshots
New dependencies and network calls
n/a
AI agents
packages/copy/test/copy.test.ts, verified it fails on a missing key, ran all five gates againstorigin/main(6f0d47e), and drafted this PR description.