[#366] 🤖 - Add repository locale and safe request adaptation - #366
Conversation
|
To preview the documentation for this pull request, visit the following URL:
|
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #366 +/- ##
===========================================
+ Coverage 90.94% 91.73% +0.79%
===========================================
Files 135 633 +498
Lines 6251 15973 +9722
Branches 1338 4082 +2744
===========================================
+ Hits 5685 14653 +8968
- Misses 172 530 +358
- Partials 394 790 +396
🚀 New features to boost your workflow:
|
🤖 Bugbot status
Current state
Findings
Coverage
Pull request · Verified commit · Workflow run Technical detailsProjection: partial · Analyzed head: 8251c00 · Digest: 61a64f8c No pending operations. Written by vypdev/copilot for commit 8251c0005c14d53779ced5a78030bdccb49ffef0. This will update automatically on new commits. |
|
/copilot recheck |
✨ Feature Actions
Debug log🚀 Happy coding! Made with ❤️ by vypdev/copilot |

📌 Summary
Adds canonical repository locale support with English (
en-US) as the default, while allowing issue and pull-request locale overrides to inherit or replace it.Reworks addressed-comment translation into one non-mutating language-adaptation step that preserves human-authored comments and technical tokens.
🎯 Related Issues / Tickets
🧩 Scope of Changes
🛠️ Technical Details
repository-locale; explicit overrides remain authoritative.Intl, accepting underscore forms such aspt_BRduring migration and emittingpt-BR.🔍 How to Test
pnpm install.pnpm test,pnpm run typecheck, andpnpm run lint.pnpm run buildand verify the generated bundles.pnpm run validate:documentationpnpm run validate:workflowspnpm run validate:specifications🧪 Test Coverage
Verification covers 416 test suites and 3,596 tests.
📸 Screenshots / Recordings (UI changes only)
Not applicable.
🚀 Deployment Notes
Details: Existing locale variables remain supported as explicit issue and pull-request overrides. Empty values now inherit
repository-locale.🔒 Security Considerations
Locale configuration is validated before workflow execution. User comments and model output remain untrusted, bounded, and sanitized. Unsafe adaptation fails closed without mutation.
📈 Performance Impact
Replaces the previous language-check and translation sequence with one bounded adaptation call.
📝 Notes for Reviewers
Please pay particular attention to:
✅ Checklist
📚 Additional Context
This is the first implementation increment for the semantic GitHub publication and repository localization SDDs. Verification includes TypeScript, ESLint, production bundles, documentation contracts, workflow validation, specification validation, and graphify updates.