Vyasa Extension Refactor Audit and Execution Plan

Current Contract ViolationsURL copied

Cytograph Extension Does Not Own Cytograph RenderingURL copied

Observed in vyasa/extensions_builtin/cytograph/__init__.py:

from ..markdown.renderer import _render_cytograph_block

Required:

  • Move _render_cytograph_block, _parse_cytograph_body, _clean_scalar, and Cytograph source resolution helpers into the Cytograph extension.
  • Keep only generic content URL/path resolver contracts in core.
  • Move Cytograph JavaScript and CSS out of global static files.
  • Register route or asset needs through the extension app.