Record the no-project surfaces 404 task scope
Why: Fix the non-blocking 404 left by the multiuser collaboration follow-ups. Evidence: Root cause traced to store.ts openConversation calling projectSurfaces with an empty id. Impact: Task card only. Refs: .task/archive/fix-multiuser-collab-followups.md Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
- 分支类型:standalone;root_target:main;immediate_target:main;accepting_requirements:false
|
||||
- 需求分流:verdict=NEW;selected_initiative=无;requirement_sha256=1b640acba3dbeaf8c1845b3a0068132de5c8f156ef23871a3b421697195809e5;triage_receipt=/tmp/rdir/ps-triage.json;receipt_sha256=0ea9b03a7448d0a5f3408d3b4e27edf1029df19da8dbbed2cbdad7414cc4f4c4
|
||||
|
||||
- 授权与交付终点:<本次允许的动作与终点;未授权事项写明>
|
||||
- 授权与交付终点:用户 2026-10-20 要求"解决一下非阻塞问题"(fix/multiuser-collab-followups 记录的无项目账号 surfaces 404);终点=Frontend/RDM/Dev PR 经 Review 与当前 HEAD CI 后合入,8788 备份后部署并浏览器复测;路由沿用用户授权(Cursor 额度耗尽→跳过,agy 失败→PI)。未授权:改写历史、分支保护、发布版本。
|
||||
- 交付模式:goal-first(目标、范围和交付终点一次确认;范围内连续推进)
|
||||
- 实施执行:agent-per-unit(配置:AGENT-EXECUTION.md)
|
||||
- 合入执行:agent(已授权交付范围内,Review 通过、冲突解决且当前 HEAD 的 CI 通过后合入)
|
||||
@@ -15,7 +15,12 @@
|
||||
|
||||
## 目标与非目标
|
||||
|
||||
<预期结果、受影响入口/模块/契约;明确不做什么。>
|
||||
来源:`.task/archive/fix-multiuser-collab-followups.md` 非阻塞简记。
|
||||
|
||||
- 根因:Frontend `src/store.ts` `openConversation` 无当前项目时仍以空 projectId 调 `api.projectSurfaces('')`,请求 `/api/projects//surfaces` 被 Backend 路由清洗为 `/api/projects/surfaces` 而 404。
|
||||
- 修复:无当前项目时不发该请求(`projectSurfaces` 已在同函数内置空);有项目时行为不变。RDM `pins/agent-system-frontend` 与 Dev `modules/frontend` 固定到新 frontend 后部署 8788。
|
||||
|
||||
非目标:不改 Backend 路由与错误码、不改其他 surfaces 入口、不做 UI 改动。
|
||||
|
||||
## Agent 实施收据
|
||||
|
||||
|
||||
Reference in New Issue
Block a user