docs: #19 工具链上下文四层改造方案 #4
Closed
pangtong-fujunshi
wants to merge 39 commits from
docs/19-toolchain-context-layers-only into main
pull from: docs/19-toolchain-context-layers-only
merge into: sanguo:main
sanguo:main
sanguo:docs/20-issue-centric-orchestration
sanguo:impl/17-issue-assigned-git-steps
sanguo:docs/17-issue-assigned-git-steps
sanguo:impl/17-ci-deploy-steps-branching
sanguo:docs/19-fix-delivery-mode
sanguo:docs/17-ci-deploy-steps-branching
sanguo:fix/91-ci-lint-ensurepip
sanguo:impl/19-s6-deprecated-cleanup
sanguo:docs/19-cron-config-design
sanguo:fix/spawner-get-task-info-must-haves
sanguo:docs/skill-lifecycle-design
sanguo:fix/spawner-event-type-missing
sanguo:design/mail-verify-prompt-fix
sanguo:feat/runaway-guard
sanguo:fix/mention-duplicate-mail-race-doc-sync
sanguo:feat/l0-l2-prompt-improvements
sanguo:feat/toolchain-from-to-filter
sanguo:fix/task-sort-desc
sanguo:refactor/toolchain-to-settings
sanguo:fix/cd-push-trigger-yaml
sanguo:ci/add-frontend
sanguo:feat/toolchain-tab
sanguo:refactor/api-split-expand
sanguo:docs/18-api-refactor-design
sanguo:docs/rewrite-s26-conventions
sanguo:feat/gitea-conventions
sanguo:impl/16-knowledge-injection
sanguo:docs/16-knowledge-injection-v2
sanguo:docs/16-knowledge-injection
sanguo:fix/ci-pip-upgrade
sanguo:feat/17-toolchain-handler-impl
sanguo:fix/17-toolchain-mail-separation
sanguo:fix/17-on-failure-redesign
sanguo:feat/17-toolchain-handler-enforcement
sanguo:feat/17-action-mail-type
sanguo:fix/docs-path-ref-15
sanguo:fix/pr-synchronize-dispatch
sanguo:docs/design-renumber
sanguo:fix/g2-agent-error-reason-map
sanguo:feat/mail-notify-v2
sanguo:chore/docs-merge-mail-failure
sanguo:chore/docs-rename-watchdog
sanguo:chore/docs-merge-3-batch
sanguo:chore/docs-merge-2-3
sanguo:chore/docs-merge-1-review-to-archive
sanguo:chore/docs-cleanup
sanguo:chore/g1-comment-fix
sanguo:fix/is-pr-detection
sanguo:docs/25-sync-help-keywords
sanguo:feat/25-gitea-mention-toolchain
sanguo:fix/auto-deploy-self-kill
sanguo:feat/43-auto-deploy-on-merge
sanguo:fix/39-review-merge-reminder
sanguo:docs/38-toolchain-design-update
sanguo:fix/toolchain-event-type-registration
sanguo:fix/toolchain-synchronize-fallback-and-merge-notify
sanguo:fix/24-compact-detection-v4
sanguo:fix/compact-detection-v3
sanguo:feat/pr-lifecycle-events
sanguo:fix/lint-cleanup
sanguo:fix/sync-to-gitea
sanguo:feat/step5-engine-integration
sanguo:feat/task-type-handlers-step2-4
sanguo:docs/s-fixes
sanguo:docs/task-type-architecture
sanguo:docs/merge-19-into-13
sanguo:fix/frontend-null-vs-undefined
sanguo:fix/e2e-collection-crash
sanguo:fix/deploy-workflow
sanguo:fix/lint-regression
sanguo:fix/ci-dedup-and-notify-fix
sanguo:docs/19-toolchain-context-layers-v2
sanguo:fix/toolchain-review-dedup-ci-cooldown
sanguo:docs/19-toolchain-context-layers
sanguo:feat/webhook-test
No Reviewers
Dismiss Review
Are you sure you want to dismiss this review?
No Label
Milestone
No items
No Milestone
Projects
Clear projects
No project
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sanguo/sanguo_moziplus_v2#4
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "docs/19-toolchain-context-layers-only"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
审查结论:APPROVED(附建议)
PR #4 拆分后只新增
docs/design/19-toolchain-context-layers.md(372 行设计方案),其余文件改动与 PR #3(已 APPROVED)完全重叠。建议 PR #3 先合并,再合并 PR #4,避免冲突。✅ 设计方案审查通过
🟡 建议(不阻断,待实现时关注)
S1. [§3.2] extract_mentions 前缀模糊匹配
@z会不确定地匹配zhaoyun-data或zhangfei-dev(dict 遍历顺序不确定)。建议前缀匹配要求 ≥3 字符。S2. [§4.2] 工具链 Mail 全改 request 的影响面
Review 请求改 request 没问题。但 CI 失败、部署失败等通知改 request 后,Agent 必须回复否则标 failed。建议按事件类型区分:
review_request+issue_assigned→ request,其他保持 inform。S3. 模板中硬编码 IP
gitea_api: "http://192.168.2.154:3000/api/v1"出现在多个模板示例,建议用环境变量,和代码中_GITEA_BASE保持一致。⚠️ 合并顺序
PR #3 先合并,PR #4 再合并。否则 PR #4 的 diff 包含大量已审查的 bug fix 改动,合并时可能产生冲突。
✅ 确认项:
Approve
[CI] 失败
分支: 4
触发 commit:
8085a71d9fd0e8c383fa98216d934f4996c650f8请检查 CI 日志并修复。
[CI] 失败
分支: 4
触发 commit:
4ea13dc9c88a12ab3443c851bb1cd44b5ab2dcbf请检查 CI 日志并修复。
[CI] 失败
分支: 4
触发 commit:
42cc6e859a59fbf1ab5dca7633ee6c78503b9662请检查 CI 日志并修复。
[CI] 失败
分支: 4
触发 commit:
34641c2ba03bc2473eae37542a4601868bc6b710请检查 CI 日志并修复。
34641c2ba0to3b78aceeaf[CI] 失败
分支: 4
触发 commit:
3b78aceeaff9ab6fcc262b3b7b433ba0531a8f19请检查 CI 日志并修复。
[CI] 失败
分支: 4
触发 commit:
51f8c68204c0d453aa746a97792a805c60e02d27请检查 CI 日志并修复。
[CI] 失败
分支: 4
触发 commit:
bdd18f4e3b4884cc3b001fc131cfae09111be67c请检查 CI 日志并修复。
[CI] 失败
分支: 4
触发 commit:
bdd18f4e3b4884cc3b001fc131cfae09111be67c请检查 CI 日志并修复。
[CI] 失败
分支: 4
触发 commit:
da354061cccd5320d66f77604758b5e6fc1f7288请检查 CI 日志并修复。
[CI] 失败
分支: 4
触发 commit:
8f4b4b67a84e18986d19c7f4949614ee4cadb0c8请检查 CI 日志并修复。
Pull request closed