Skip to content

[refactor] application: 删 dead Application wrapper + 补 v5/v6/v7/workplace accessor + 独立 feature 门控 #312

Description

@foxzool

What to build

deep-module 审查确认 ApplicationService 是一个浅/不连贯入口:只 v1() 可达,v5/v6/v7/workplace 不可达;Application wrapper 是死 pass-through(service.rs 已直接构造 ApplicationV1,wrapper 只起误导作用);当前 v5/v7 搭 v1 feature 车编译/消失(基于无关 flag),是 bug。

按优先级修复:(1) 删 dead Application wrapper(deletion-test 通过,无引用);(2) 给 ApplicationServicev5()/v6()/v7()/workplace() accessor,对齐 v1() 模式,使"统一入口"名副其实;(3) 各版本独立 feature 门控(Cargo.toml 显式 v5/v6/v7 feature,不再搭车 v1);(4) 版本入口形状自洽——要么各版本都有 entry struct,要么都用 bare pub mod,统一一种约定。

Acceptance criteria

  • dead Application wrapper 删除
  • ApplicationService 暴露 v1/v5/v6/v7/workplace accessor,文档"统一入口"为真
  • v5/v6/v7 在 Cargo.toml 各自独立 feature 门控
  • 版本入口形状自洽(struct vs bare mod 二选一)
  • cargo build/test -p openlark-application --all-features 通过

Blocked by

None - can start immediately

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agentFully specified, ready for an AFK agenttype:refactor架构或接口收敛性重构

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions