docs(architecture): 宏观工程设计基线与规则落盘 - #2065
Merged
Merged
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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. Comment |
Co-authored-by: Codex <codex@vectorcontrol.tech>
DeliciousBuding
force-pushed
the
docs/macro-engineering-design
branch
from
August 29, 2026 06:17
ac74763 to
bf6b87d
Compare
This was referenced Aug 29, 2026
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
目标
把上一轮「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.md284 行(<300 行预算);新架构文档 140 行。明确未做(不是本次完成)