Skip to content

docs(architecture): 宏观工程设计基线与规则落盘 - #2065

Merged
DeliciousBuding merged 1 commit into
masterfrom
docs/macro-engineering-design
Aug 30, 2026
Merged

docs(architecture): 宏观工程设计基线与规则落盘#2065
DeliciousBuding merged 1 commit into
masterfrom
docs/macro-engineering-design

Conversation

@DeliciousBuding

Copy link
Copy Markdown
Collaborator

目标

把上一轮「AgentHub 宏观软件工程设计」研究沉淀为可复用的架构基线,并同步到规则与决策入口。本轮只落文档与规则,不实现任何代码行为。

变更

  • 新增 docs/architecture/10-macro-engineering-design.md:双平面目标架构、协议分层(自有 REST/WS / MCP / A2A / AG-UI)、事件一致性合同、最小代理权、OTel GenAI 可观测、差距矩阵与 P0/P1/P2 路线图、anti-goals、来源与证据等级、未验证清单。
  • docs/architecture.md:新增 4 条非协商边界与 owner 链接。
  • docs/architecture/README.md:登记新子文档。
  • docs/decisions.md:新增 ADR-025(双平面正式化)与 ADR-026(协议分层 + 四条 P0 设计合同,设计基线、未实施)。
  • AGENTS.md:新增 §2.5 宏观工程设计基线(常驻指针 + 6 条硬边界);§11 增加 issue-as-spec 字段合同。
  • docs/governance/verifier-map.md:四条新规则登记为“无”机器门禁。

验证

  • python scripts/verify/verify-doc-ssot.py:doc SSOT ok;verifier-map 52 条脚本路径与 44 个 CI 文件检查通过。
  • git diff --check:通过。
  • AGENTS.md 284 行(<300 行预算);新架构文档 140 行。

明确未做(不是本次完成)

@coderabbitai

coderabbitai Bot commented Aug 29, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: cd317e6d-cd3e-4fa7-b175-4a2934a1b5ef

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Co-authored-by: Codex <codex@vectorcontrol.tech>
@DeliciousBuding
DeliciousBuding force-pushed the docs/macro-engineering-design branch from ac74763 to bf6b87d Compare August 29, 2026 06:17
@DeliciousBuding
DeliciousBuding merged commit 64d1aae into master Aug 30, 2026
34 checks passed
@DeliciousBuding
DeliciousBuding deleted the docs/macro-engineering-design branch August 30, 2026 15:51
DeliciousBuding added a commit that referenced this pull request Aug 31, 2026
- edge: README Key Runtime Inputs 补 12 个 flag/env 行并修正 debug 端点鉴权文档(deny-all fail-closed,与 server_auth.go 一致);删除零引用 internal/diff 整包
- hub: requireMember 传播 GetActiveMember 错误(不再零值 role 误判);device.Register 透传请求 ctx(不再 context.Background);seqalloc 锁表改引用计数 GC(不再随 session 无限增长)
- hub: 删除 16 处零引用导出符号(UpdatePassword*/GetSecret/Backfill*/StopWSIPRateLimiter/仓库层 6 个零调用函数/service 层 5 个死方法/errcode 3 个死码)+ 修正 4 处过时注释
- scripts: 删除 14 个零引用孤儿脚本(13 个审计发现 + 连带 verify-token-dance-id-login-readiness.py)及 .env.example 对应段落
- docs: 11-protocol-capability-mapping 精简至 200 行并修 #2065 已合入注记;verify-doc-ssot 为 10/11/known-flaky/ux-benchmark/component-acceptance* 登记行数预算

Co-authored-by: Cursor <cursor@vectorcontrol.tech>
DeliciousBuding added a commit that referenced this pull request Aug 31, 2026
- edge: README Key Runtime Inputs 补 12 个 flag/env 行并修正 debug 端点鉴权文档(deny-all fail-closed,与 server_auth.go 一致);删除零引用 internal/diff 整包
- hub: requireMember 传播 GetActiveMember 错误(不再零值 role 误判);device.Register 透传请求 ctx(不再 context.Background);seqalloc 锁表改引用计数 GC(不再随 session 无限增长)
- hub: 删除 16 处零引用导出符号(UpdatePassword*/GetSecret/Backfill*/StopWSIPRateLimiter/仓库层 6 个零调用函数/service 层 5 个死方法/errcode 3 个死码)+ 修正 4 处过时注释
- scripts: 删除 14 个零引用孤儿脚本(13 个审计发现 + 连带 verify-token-dance-id-login-readiness.py)及 .env.example 对应段落
- docs: 11-protocol-capability-mapping 精简至 200 行并修 #2065 已合入注记;verify-doc-ssot 为 10/11/known-flaky/ux-benchmark/component-acceptance* 登记行数预算

Co-authored-by: Cursor <cursor@vectorcontrol.tech>
DeliciousBuding added a commit that referenced this pull request Aug 31, 2026
- edge: README Key Runtime Inputs 补 12 个 flag/env 行并修正 debug 端点鉴权文档(deny-all fail-closed,与 server_auth.go 一致);删除零引用 internal/diff 整包
- hub: requireMember 传播 GetActiveMember 错误(不再零值 role 误判);device.Register 透传请求 ctx(不再 context.Background);seqalloc 锁表改引用计数 GC(不再随 session 无限增长)
- hub: 删除 16 处零引用导出符号(UpdatePassword*/GetSecret/Backfill*/StopWSIPRateLimiter/仓库层 6 个零调用函数/service 层 5 个死方法/errcode 3 个死码)+ 修正 4 处过时注释
- scripts: 删除 14 个零引用孤儿脚本(13 个审计发现 + 连带 verify-token-dance-id-login-readiness.py)及 .env.example 对应段落
- docs: 11-protocol-capability-mapping 精简至 200 行并修 #2065 已合入注记;verify-doc-ssot 为 10/11/known-flaky/ux-benchmark/component-acceptance* 登记行数预算

Co-authored-by: DeliciousBuding <DeliciousBuding@users.noreply.github.com>
Co-authored-by: Cursor <cursor@vectorcontrol.tech>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant