Vyasa Extension Refactor Audit and Execution Plan

Mechanical Migration PlanURL copied

Phase 16: Move Documents And Document KindsURL copied

Goal:

  • Post/PDF/tree document rendering becomes extension-compatible.

Steps:

  1. Create documents extension.
  1. Move document_pages.py.
  1. Move document route composition from content_routes.py.
  1. Add document kind registry.
  1. Create pdf_document extension from PDF branch.
  1. Create tree_document extension from .tree branch.
  1. Register actions from Slides and Bookmarks through hooks.

Acceptance:

  • New document kind can be added without editing core routes.