CodePulse v2.3.97 — UltraPlan URL Regex Hardening
Hardened URL extraction regexes in UltraPlan, eliminated a double card edit race condition, and added a runtime guard against malformed plan responses.
Bug Fixes (TAB-580)
- URL regex hardening — The regexes that extract URLs from Claude's plan responses were too greedy, matching partial URLs and markdown syntax as part of the URL. Tightened the patterns to correctly handle parentheses, query strings, and fragment identifiers.
- Double card edit race eliminated — When a plan response arrived while a previous card edit was still in flight, both edits could land out of order, showing stale content. Added a serialization queue for card edits.
- Runtime guard for malformed plans — Added validation for the plan response structure before attempting to render a card. Malformed responses now show a clear error card instead of crashing the card renderer.