Summary
Ensure foundational utilities are well-tested before deeper migration work.
Scope
- Add tests for config loader, translation key handling, and output formatter/security helpers.
Implementation Notes
- Follow long-term modernization rules in
docs/plans/2026-02-21-refactor-long-term-modernization-backlog-plan.md.
- Do not add short-term hardening if replacement is the target architecture.
- Keep changes PR-sized and reversible.
Acceptance Criteria
- Missing keys/config errors handled predictably.
- Escaping/sanitization utilities covered with edge cases.
Test Requirements (Mandatory)
- Unit test suite with invalid configs, missing translation keys, and injection payload fixtures.
Dependencies
Definition of Done
References
- Plan:
docs/plans/2026-02-21-refactor-long-term-modernization-backlog-plan.md
- Backlog ID: MB-0503
Summary
Ensure foundational utilities are well-tested before deeper migration work.
Scope
Implementation Notes
docs/plans/2026-02-21-refactor-long-term-modernization-backlog-plan.md.Acceptance Criteria
Test Requirements (Mandatory)
Dependencies
Definition of Done
References
docs/plans/2026-02-21-refactor-long-term-modernization-backlog-plan.md