chore(i18n): CI guard blocks new raw JSX placeholder strings #924
No reviewers
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks!924
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "dev/911"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Diff-based
i18n-string-check(justrecipe + CI job) flags anyplaceholder="human phrase"literal added vsorigin/mainin non-test.tsxfiles, blocking new un-migrated strings while leaving the existing pilot backlog untouched.Exceptions (all-caps identifiers,
e.g.hints,https://URLs,(meta)syntax, test files) are codified indocs/i18n.md § CI — raw-string guard.Test plan
just i18n-string-checkpasses on current tree (no new violations)placeholder="Search foo bar"to a.tsxfile triggers the guardplaceholder="FORGEJO_TOKEN"/placeholder="e.g. abc"/placeholder="(none)"are not flaggedCloses #911
Regex logic correct —
[a-z]{3,}naturally gates ALL_CAPS,[[:space:]]requires multi-word,-vexclusions cover e.g./URL/meta-syntax. CI green.