Vyasa Extension Refactor Audit and Execution Plan

File-Level Audit And Target OwnershipURL copied

vyasa/content_tree.pyURL copied

Current:

  • Strong candidate for core.
  • Resolves content entries from filesystem.
  • Still knows fixed document kinds .md, .pdf, .tree.

Target:

  • Core owns content tree contract and generic entry model.
  • Filesystem extension provides default content source.
  • Document kind extensions register suffixes and renderers.

Action:

  • Keep ContentTree in core but make allowed_suffixes come from runtime document kind registry.
  • Move folder note policy to filesystem content source extension if it becomes replaceable.
  • Keep RBAC visibility hook in core.