Roo-Code/src/core
Roo Code eb256220e7 fix: persist permissions in HistoryItem and add ReDoS mitigation
1. Persist taskPermissions in HistoryItem so permissions survive task
   restarts. Added taskPermissions field to historyItemSchema, included
   it in taskMetadata output, and restored it in the Task constructor
   when loading from history.

2. Add ReDoS mitigation for model-provided regex patterns:
   - isSafeRegex() heuristic rejects nested quantifiers like (a+)+
     and overlapping alternations in repeated groups like (a|a)+
   - Max pattern length capped at 200 characters
   - Both checks enforced at schema validation time via Zod refinements
   - 11 new tests covering ReDoS detection and persistence round-trips
2026-05-12 06:17:03 +00:00
..
assistant-message fix: three bugs in task permissions - parser, deniedTools exemption, pattern merging 2026-05-12 05:51:37 +00:00
auto-approval Reapply Batches 3-4: Skills, browser removal, provider removals (6 major-conflict cherry-picks) (#11475) 2026-02-14 22:06:24 -07:00
checkpoints Remove all telemetry (#12324) 2026-05-11 17:34:58 -04:00
condense Remove all telemetry (#12324) 2026-05-11 17:34:58 -04:00
config Remove Roo Code Cloud and evals (#12328) 2026-05-11 22:43:45 -04:00
context/context-management Reapply Batches 3-4: Skills, browser removal, provider removals (6 major-conflict cherry-picks) (#11475) 2026-02-14 22:06:24 -07:00
context-management Remove all telemetry (#12324) 2026-05-11 17:34:58 -04:00
context-tracking feat(condense v2.1): add smart code folding (#10942) 2026-01-27 18:47:24 -05:00
diff refactor: remove legacy XML tool calling code (getToolDescription) (#10929) 2026-01-23 19:13:55 -05:00
environment Reapply Batches 3-4: Skills, browser removal, provider removals (6 major-conflict cherry-picks) (#11475) 2026-02-14 22:06:24 -07:00
ignore Follow symlinks in rooignore checks (#7405) 2025-08-26 10:12:20 -04:00
mentions feat: expose skills as slash commands with skill fallback execution (#11834) 2026-03-02 15:10:32 -07:00
message-manager Revert to pre-AI-SDK state (January 29, 2026) (#11462) 2026-02-13 16:45:18 -05:00
message-queue Move message queue to the extension host (#7604) 2025-09-02 19:12:18 -07:00
prompts feat: add model-driven permission control for subtasks (Phase 3b) 2026-05-12 05:30:39 +00:00
protect fix(cli): streaming deltas, task ID propagation, cancel recovery, and misc fixes (#11736) 2026-02-24 23:29:50 -08:00
task fix: persist permissions in HistoryItem and add ReDoS mitigation 2026-05-12 06:17:03 +00:00
task-persistence fix: persist permissions in HistoryItem and add ReDoS mitigation 2026-05-12 06:17:03 +00:00
tools fix: harden task permissions - anchor regex patterns, validate at schema level, simplify validation code 2026-05-12 06:04:41 +00:00
webview feat: add model-driven permission control for subtasks (Phase 3b) 2026-05-12 05:30:39 +00:00