Vyasa Extension Refactor Audit and Execution Plan

Mechanical Migration PlanURL copied

Phase 14: Move Annotations FullyURL copied

Goal:

  • Annotations owns routes, store, layout attrs, and assets.

Steps:

  1. Move core store cache into extension store object.
  1. Register storage namespace.
  1. Register API routes.
  1. Register layout main attrs provider:
    • data-annotations-enabled
    • data-annotation-path
    • data-annotation-author
  1. Register document-scoped or layout-scoped asset bundle.
  1. Move JS/CSS.

Acceptance:

  • layout_page.py or default layout has no annotation-specific code.
  • core.py does not import annotations.