Files
geo/docs/worklogs/2026-04-20-legacy-plugin-design-status.md
T
root 5ff2e2e74c refactor(tenant): drop legacy plugin_installations, migrate monitoring to desktop_clients
Hard cutover from the browser-extension plugin flow to desktop clients:
remove plugin_installations/plugin_sessions tables and related service,
handler, router, and generated model code; migrate monitoring quotas
and collector types to desktop_clients (UUID primary_client_id);
recreate platform_access_snapshots keyed by client_id; update dev-seed
and callback types accordingly; mark legacy design docs as historical.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-20 13:52:35 +08:00

1.4 KiB

2026-04-20 Legacy Plugin Design Status

背景

2026-04-20 这次代码与数据库清理,已经移除了旧浏览器插件链路中的 plugin_installationsplugin_sessions 及其主要业务引用,并将监控主链路切换到 desktop_clients / desktop client 体系。

决策

本次不删除历史设计文档。

保留原因:

  • 作为架构演进的工作记录,方便回溯旧方案的边界、假设和历史实现背景
  • 便于对照为什么当前实现从 browser extension 迁移到 desktop client
  • 避免后续排查历史字段、旧迁移、旧接口时失去上下文

本次文档处理方式

对明显描述旧插件执行模型的文档,统一补充“旧版设计”标识;对仍有其他参考价值的综合架构文档,补充“相关章节为旧版设计”的说明,而不删除正文内容。

已标记文档

  • docs/media-publisher-extension-runtime-v1.md
  • docs/media-binding-and-publish-v1.md
  • docs/ai-brand-monitoring-tech-design-v4.md
  • docs/ai-brand-monitoring-tech-design-v5.md
  • docs/geo-platform-ops-admin-tech-architecture-v1.md

当前口径

当前实现以 desktop client 架构为准,旧插件设计文档仅用于历史追溯,不再作为新开发或现状判断依据。

建议优先参考:

  • docs/superpowers/specs/2026-04-18-electron-desktop-client-design.md
  • 代码中的 desktop_clients/api/desktop/*、监控与发布最新实现