[comp] Production Deploy

Merged
GI
5mo ago
+136-6

This is an automated pull request to release the candidate branch into production, which will trigger a deployment.
It was created by the [Production PR] action.


Summary by cubic

Fixes the policy editor showing published content when opening a draft via Versions > Edit. The editor now loads the selected draft’s content on mount, so saved edits appear and aren’t accidentally overwritten.

  • Bug Fixes
    • Seed initial editor content from the version matching initialVersionId using resolveInitialPolicyContent.
    • Fall back to published content only when no version is selected; handle single-node vs array content and respect empty drafts.
    • Added unit tests for resolve behavior and edge cases.