Why: establish the authorized task workspace and its initial baseline.
Evidence: preserved precheck receipt in .task/feature-cli-agent-fallback-chain.md; R0=d2035c76dc1cb15e01d2c184af5155d9d773cd9f.
Impact: task metadata only; the feature workspace starts at d2035c76dc.
Refs: .task/feature-cli-agent-fallback-chain.md
Why: record goal, scope and plan before dispatching the implementation unit
Evidence: smoke runs of the three new model IDs (SELF, see card)
Impact: task card only
Refs: .task/feature-cli-agent-fallback-chain.md
Co-authored-by: Cursor <cursoragent@cursor.com>
Why: track the agent-exec receipt and validate evidence for the routing change
Evidence: make agent-exec-validate (SELF, in card)
Impact: task card only
Refs: .task/feature-cli-agent-fallback-chain.md
Co-authored-by: Cursor <cursoragent@cursor.com>
Why: track the agent-exec receipt and validate evidence for the routing change
Evidence: make agent-exec-validate (SELF, in card)
Impact: task card only
Refs: .task/feature-cli-agent-fallback-chain.md
Co-authored-by: Cursor <cursoragent@cursor.com>
Why: track the agent-exec receipt and validate evidence for the routing change
Evidence: make agent-exec-validate (SELF, in card)
Impact: task card only
Refs: .task/feature-cli-agent-fallback-chain.md
Co-authored-by: Cursor <cursoragent@cursor.com>
Why: keep the sync evidence with the branch before the governance suite
Evidence: make task-sync (SELF, in card)
Impact: task card only
Refs: .task/feature-cli-agent-fallback-chain.md
Co-authored-by: Cursor <cursoragent@cursor.com>
Why: card carries the verification summary and host review before the PR opens
Evidence: make test-governance and make agent-exec-validate (SELF, in card)
Impact: task card only
Refs: .task/feature-cli-agent-fallback-chain.md
Co-authored-by: Cursor <cursoragent@cursor.com>
Why: card tracks the delivery window before the final sync
Evidence: #518 comment 8226
Impact: task card only
Refs: .task/feature-cli-agent-fallback-chain.md
Co-authored-by: Cursor <cursoragent@cursor.com>
Why: include the current integration baseline before verification.
Evidence: fetched origin/main=f1866dc3bb4537ac6446fdd26e696cb636b543ef.
Impact: integrate upstream changes without rewriting task history.
Refs: task-sync
Why: keep the window sync evidence with the candidate
Evidence: make task-sync (SELF, in card)
Impact: task card only
Refs: .task/feature-cli-agent-fallback-chain.md
Co-authored-by: Cursor <cursoragent@cursor.com>
Why: card records the window sync result and revalidation
Evidence: make agent-exec-validate (SELF, in card)
Impact: task card only
Refs: .task/feature-cli-agent-fallback-chain.md
Co-authored-by: Cursor <cursoragent@cursor.com>
Why: close the task card inside its own PR so landing it needs no post-merge backfill or separate close PR.
Evidence: .task/feature-cli-agent-fallback-chain.md -> .task/archive/feature-cli-agent-fallback-chain.md; status 已完成(合入前闭合); PR #648https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Dev/pulls/648.
Impact: task metadata only; the card is archived within PR #648 and lands with its merge commit.
Refs: task.sh close --self
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.
Why: 用户要求 CLI Agent 安全失败后自动换下一候选、不询问;候选为 cursor(auto)、agy(Gemini 3.8 Flash)、pi(GLM-5.3-flash)、pi(MiniMax-M3),Codex(GPT-6.1-Sol) 必须最后;每候选 3 次,全部失败后暂停询问是否重试。
Evidence: 任务卡
.task/feature-cli-agent-fallback-chain.md证据表(make agent-exec-validate、make task-sync、make test-governance,均 SELF);测试通过以本 PR HEAD 的 CI 为准。Impact:
AGENT-EXECUTION.md四个角色候选改为五档链(新增pi-glm,Codex 由单次应急档改为每个角色最后的正常候选,去掉emergency_profile,agy/codex 指定模型);policy/delivery.md、policy/governance.md、policy/tool-adaptation-matrix.md同步规则文字。不改 DM 控制器,fail-stop 语义不变。Refs: .task/feature-cli-agent-fallback-chain.md