Vyasa Extension Refactor Audit and Execution Plan

Architecture Decision FrameworkURL copied

Deepening OpportunitiesURL copied

8. Static Build ModuleURL copied

Files:

  • vyasa/build.py
  • vyasa/core.py
  • vyasa/assets.py
  • extension asset registrations

Problem:

  • Static build reimplements shell assumptions.
  • Extension assets and routes are not first-class in static build.

Solution:

  • Static build must consume the same frozen runtime as live server.
  • It asks route/layout/document/search providers for pages.
  • It copies registered asset bundles.
  • It does not import extension implementation files directly.

Benefits:

  • Leverage: live and static output share extension ownership.
  • Locality: adding an extension requires one registration path.
  • Tests: parity test compares live HTML and static HTML for selected pages.