AAventa Developer

Theme Development Checklist

主题包的 typed presentation、资源、选择、fallback 和权限边界。

Docs 0.1.0-dev.1Updated 2026-08-30PUBLIC

# 包声明

  • package_type 为 theme-presentation
  • 调用 themeProvider() 并声明 scope
  • 所有 templates/assets 先在 manifest 声明
  • OVERRIDE 仅用于命名 target
  • SLOT contribution id 与 priority 稳定

# 数据边界

  • 业务 owner/provider 生成 PresentationViewModel
  • Theme 不查询业务私有数据
  • RenderContext 只含结构化、最小化数据
  • model key 严格为 type@version

# 运行时与 fallback

  • enabled 与 effective 分开测试
  • 选择失效时回退 Core default
  • 多个 override 歧义会失败
  • 资源路径不逃逸 package root
  • 移动端和无脚本场景可用