April 28, 2026

XML Markup Cutover Complete: Goodbye Blocks

The system underwent a major migration, replacing the previous block protocol with XML markup format across all message frames

The system underwent a major migration, replacing the previous block protocol with XML markup format across all message frames. This involved deleting the BlocksRenderService and related components.

  • Replaced blocks array with content XML string in all message frames.

  • Removed the rich_render ability and dropped related references from various processors.

  • Introduced strict XML rules into the LLM prompt, explicitly forbidding markdown and fenced blocks.

  • Implemented logic to set xml_migrated=1 on all transcript inserts to prevent re-processing on boot.

  • Improved security by tightening URL sanitization to prevent protocol-relative open-redirects.

  • Added a DOMParser fallback for robust XML and HTML entity decoding in plaintext extraction.