Vyasa Extension Refactor Audit and Execution Plan

Current Contract ViolationsURL copied

VyasaExtensionApp Does Not ExistURL copied

Observed:

  • Extensions receive raw ExtensionRuntime.
  • runtime.markdown_fences[...] = ... is done directly.
  • Slots are bare attributes like runtime.layout_renderer.
  • Asset bundles are registered through runtime.register_bundle(...), when used at all.

Required:

  • Build a restricted app object.
  • Extensions call app.markdown.fence(...), app.routes.add(...), app.assets.bundle(...), etc.
  • The app validates that registrations match ExtensionMeta.provides.