Vyasa Extension Refactor Audit and Execution Plan

Mechanical Migration PlanURL copied

Phase 10: Move Default LayoutURL copied

Goal:

  • Core does not render page shell.

Steps:

  1. Move layout_page.py into default_layout/render.py.
  1. Move layout_helpers.py into default_layout/config.py.
  1. Move nav_views.py into default_layout/nav.py.
  1. Move layout-owned parts of sidebar_helpers.py.
  1. Register slot:layout.
  1. Register global layout CSS/JS bundles.
  1. Replace core layout() with runtime slot lookup only.

Acceptance:

  • rg "_default_layout|render_layout|navbar_view" vyasa/core.py returns no feature implementation, only slot invocation.