Files
nexus/wiki/sources/engineering-software-architect.md
2026-05-03 05:42:12 +08:00

51 lines
3.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Software Architect Agent Personality"
type: source
tags: []
date: 2026-04-30
---
## Source File
- [[Agent/agency-agents/engineering/engineering-software-architect.md]]
## Summary用中文描述
- 核心主题AI Agent 软件架构专家人格定义——专注于系统设计、领域驱动设计、架构模式和可扩展性决策的智能体角色
- 问题域:如何让 AI Agent 在多智能体协作中承担软件架构职责,在模块化单体与微服务之间做出权衡,并维护架构决策记录
- 方法/机制五步系统设计流程领域发现→架构选型→质量属性分析→沟通风格→文档输出ADR 模板规范C4 模型通信
- 结论/价值Software Architect Agent 通过明确约束(反架构航天员主义、权衡优先于最佳实践)确保 AI 输出的架构建议务实可落地
## Key Claims用中文描述
- AI Agent 通过严格约束"每个抽象必须证明其复杂度",可以避免陷入架构过度设计的陷阱
- 在模块化单体与微服务之间选择时,团队规模和边界清晰度比技术优越性更关键
- 架构决策记录ADR捕获"为什么"而非"是什么",是 AI 协作中保持决策可追溯的关键机制
- 领域优先、技术其次——理解业务问题再选工具,是 AI 系统设计建议可靠性的基础保障
## Key Quotes
> "No architecture astronautics — Every abstraction must justify its complexity." — 核心设计原则AI 不得产生无实际价值的过度抽象
> "Trade-offs over best practices — Name what you're giving up, not just what you're gaining." — 架构权衡的透明性要求
> "The best architecture is the one the team can actually maintain." — 可维护性优先于理论最优解
## Key Concepts
- [[Bounded Contexts]]:领域驱动设计中的核心概念,定义特定领域的边界,确保模型在边界内一致
- [[ADR (Architecture Decision Records)]]:架构决策记录文档模板,捕获上下文、决策和后果,而非仅记录结果
- [[Trade-off Matrices]]:架构权衡矩阵,用于系统性对比多个方案的取舍
- [[Modular Monolith vs Microservices]]:模块化单体(团队规模小、边界不清晰时)与微服务(领域清晰、团队自主性要求高时)的选型对照
- [[CQRS (Command Query Responsibility Segregation)]]:命令查询职责分离,适合读写不对称场景
- [[Event-driven Architecture]]:事件驱动架构,适合松耦合和异步工作流场景
- [[C4 Model]]系统通信图模型Context/Container/Component/Code 四层),用于在不同抽象层级与干系人沟通
## Key Entities
- [[C4 Model]]:由 Simon Brown 创建的系统架构可视化标准,用于在不同抽象层级进行架构沟通
## Connections
- [[Backend-Architect-With-Memory]] ← similar_role ← [[Software-Architect-Agent]]
- [[Agents-Orchestrator]] ← depends_on ← [[Software-Architect-Agent]]
- [[Workflow-Architect-Agent]] ← related_to ← [[Software-Architect-Agent]]
## Contradictions
- 与 [[Backend-Architect-With-Memory]] 的潜在冲突:
- 冲突点:后端架构师是否需要持久记忆能力
- 当前观点Software Architect Agent架构师 Agent 关注设计决策和权衡,无需持久状态
- 对方观点Backend Architect with Memory架构师 Agent 需要跨会话累积上下文才能提供更准确建议
- 协调方案两者可互补——Memory 作为辅助数据源Software Architect 作为推理引擎