arch-design-agent-skill-das.../design/domains/design/01-domain-overview.md

1.3 KiB
Raw Blame History

架构设计领域Design

职责

定义 minimal-design-template 中所有设计文件对应的实体模型、值对象、约束规则。是整个系统的核心领域,被其他所有业务模块依赖。

核心概念

  • 28 种设计实体Capability、Module、Entity、ValueFlow、UserJourney、Integration、DataFlow、TraceabilityLink、DesignDocument、ExternalSystem、RuntimeComponent、TechnologySelection、Environment、ScopeAndGoals、SystemContext、SolutionLayer、ApiContract、CodebaseAlignment、ModuleBoundaryRule、DataSecurity、RuntimeTopology、OperationalBaseline、ReleasePlan、ChangeLogEntry、ADR、SharedTerm、Domain、UbiquitousTerm、Scenario、DomainModule、DomainEntity
  • FileStatus 值对象ok / sparse / missing / template-residue / placeholder-heavy
  • ArchitectureLayer 值对象business / application / data / technology
  • ModuleLayer 值对象domain / application / infrastructure / interfaces

约束规则

  • 每个 Capability 至少关联一个 Module
  • 每个 Entity 必须有一个 owner Module
  • TraceabilityLink 中引用的 ID 必须在对应实体列表中存在
  • DesignDocument 的 upstream/downstream 引用的文件必须存在

边界

  • 只定义模型和规则,不负责文件 I/O
  • 不负责图结构
  • 纯 Python零框架依赖