Oct 8 review workspace fixes #37

Merged
zhanghongming merged 5 commits from codex/oct8-feedback-fixes into dev 2026-10-12 15:44:13 +08:00
Collaborator

What changed

  • keep large review segment lists scrollable without changing the timeline
  • highlight invalid captions for QC and final acceptance review views
  • narrow task progress revision queries to permission-filtered task IDs
  • add one-click random review claim entry for QC and final acceptance while preserving annotator requestId idempotency

Validation

  • release local checks: release tests, web lint, web build, targeted API tests (isolated GOCACHE)
  • Fanyu release oct8-feedback-20261008 deployed and infrastructure verified read-only
  • public HTTP /api/health and / smoke checks returned 200

Safety

  • no Mongo, object storage, workflow, customer task, or customer data mutations
  • old image digest recorded for rollback in the release journal
  • business role/login and task-write acceptance remain unverified because no isolated write-test scope was authorized in this request
## What changed - keep large review segment lists scrollable without changing the timeline - highlight invalid captions for QC and final acceptance review views - narrow task progress revision queries to permission-filtered task IDs - add one-click random review claim entry for QC and final acceptance while preserving annotator requestId idempotency ## Validation - release local checks: release tests, web lint, web build, targeted API tests (isolated GOCACHE) - Fanyu release `oct8-feedback-20261008` deployed and infrastructure verified read-only - public HTTP `/api/health` and `/` smoke checks returned 200 ## Safety - no Mongo, object storage, workflow, customer task, or customer data mutations - old image digest recorded for rollback in the release journal - business role/login and task-write acceptance remain unverified because no isolated write-test scope was authorized in this request
zhanghongming added 10 commits 2026-10-09 01:11:13 +08:00
Owner

@zhanghongming 已完成基线 bd253016 → 99e9e25a 的审查,覆盖全部 18 个文件。实际范围还包括角色手册、capture_reprocess.py 和返工方案文档;返工方案仍是设计,未当作已实现功能。

Standards

确认以下规范问题:迟到领取响应缺少作用域保护、批量重处理数量承诺不准确、手册恢复了已废止的送检门禁(具体见下方 Spec)。另外 [P2] scripts/capture_reprocess.py:88,96-98 支持 --password 明文命令行参数,凭据可能进入进程参数和 shell 历史,不符合 AGENTS.md 要求从环境变量/非跟踪文件读取凭据。建议移除该参数或改为安全交互输入,文档避免把真实密码写进命令。合成测试只用了虚构凭据。

Spec

  1. [P2] 迟到领取覆盖新项目。 AnnotationOperations.tsx:4185-4203:在 A 发起随机领取、响应前切换 B,旧回调仍把 A 的任务写入当前池并将 URL 切回 A。实际 handler 的延迟 Promise 复现成立。建议复用相邻领取函数的 reviewActionScopeRef/selection 检查,catch/finally 也按作用域处理。
  2. [P2] 随机入口未启动约定的连续审查。 同文件:4186-4191 未调用 reviewEntryIntent.mark。实际 handler 与 readiness effect 合成执行后 start=0,对照标记 intent 后为 1。与 review-problem-flow/spec.md 第10条不符;领取成功、作用域有效后应先标记 intent 再导航。
  3. [P2] “我的任务”页随机领取误报无任务。 同文件:4169-4179 的候选取自当前 visiblePoolItems,切到 mine 后都是已分配任务,被 !assignedUserId 全部过滤;按钮却仍启用,提示可领取池为空。建议只在可领取页提供入口,或单独查询已授权的 available 池。
  4. [P2] 标注手册使用过期送检规则。 docs/manuals/annotator-manual.zh-CN.md:66 要求连续动作全部填写描述或标无效;ADR-0002 的 9月22日裁决已允许部分/全部留空。现有 blank-actions HTTP/交付测试八个场景通过。应删除此强制要求,保留边界/覆盖合法性校验。
  5. [P2] 批量脚本并不能一次处理全部1830条。 capture-reprocess-api.zh-CN.md:84 如此承诺,但脚本:114-124只读一次接口,该接口最多200条;--limit 也是取回后客户端截断。无网络 mock 运行仅1次GET、200次POST并退出成功。建议修正文档范围,或提供可靠分页/显式 recordId 清单;不能承诺 --go 自动覆盖全部积压。

验证:两条 PR 各自 lint:web/build:web 通过;过滤修订读取的隔离/空范围合成检查通过;release 25项通过。临时组合版本定向 Go、23项前端通过;全量前端638项中624通过、14失败,失败集合与基线637项中的14失败一致。上述行为复现使用合成函数/内存Store,未对生产执行领取、重处理或业务验收。

#36 已合并为3ce70068,本 PR 在 AnnotationOperations.tsx 随机领取控件处发生冲突。已准备并测试本地整合:保留两边功能,终审 available 页保留 #36 入口,其他审核页使用 #37 入口,避免同页重复按钮。当前 PR 仍须提交冲突解决后才能合并;以上 P2需后续跟进,本次不部署。

@zhanghongming 已完成基线 bd253016 → 99e9e25a 的审查,覆盖全部 18 个文件。实际范围还包括角色手册、capture_reprocess.py 和返工方案文档;返工方案仍是设计,未当作已实现功能。 ### Standards 确认以下规范问题:迟到领取响应缺少作用域保护、批量重处理数量承诺不准确、手册恢复了已废止的送检门禁(具体见下方 Spec)。另外 **[P2] scripts/capture_reprocess.py:88,96-98 支持 --password 明文命令行参数**,凭据可能进入进程参数和 shell 历史,不符合 AGENTS.md 要求从环境变量/非跟踪文件读取凭据。建议移除该参数或改为安全交互输入,文档避免把真实密码写进命令。合成测试只用了虚构凭据。 ### Spec 1. **[P2] 迟到领取覆盖新项目。** AnnotationOperations.tsx:4185-4203:在 A 发起随机领取、响应前切换 B,旧回调仍把 A 的任务写入当前池并将 URL 切回 A。实际 handler 的延迟 Promise 复现成立。建议复用相邻领取函数的 reviewActionScopeRef/selection 检查,catch/finally 也按作用域处理。 2. **[P2] 随机入口未启动约定的连续审查。** 同文件:4186-4191 未调用 reviewEntryIntent.mark。实际 handler 与 readiness effect 合成执行后 start=0,对照标记 intent 后为 1。与 review-problem-flow/spec.md 第10条不符;领取成功、作用域有效后应先标记 intent 再导航。 3. **[P2] “我的任务”页随机领取误报无任务。** 同文件:4169-4179 的候选取自当前 visiblePoolItems,切到 mine 后都是已分配任务,被 !assignedUserId 全部过滤;按钮却仍启用,提示可领取池为空。建议只在可领取页提供入口,或单独查询已授权的 available 池。 4. **[P2] 标注手册使用过期送检规则。** docs/manuals/annotator-manual.zh-CN.md:66 要求连续动作全部填写描述或标无效;ADR-0002 的 9月22日裁决已允许部分/全部留空。现有 blank-actions HTTP/交付测试八个场景通过。应删除此强制要求,保留边界/覆盖合法性校验。 5. **[P2] 批量脚本并不能一次处理全部1830条。** capture-reprocess-api.zh-CN.md:84 如此承诺,但脚本:114-124只读一次接口,该接口最多200条;--limit 也是取回后客户端截断。无网络 mock 运行仅1次GET、200次POST并退出成功。建议修正文档范围,或提供可靠分页/显式 recordId 清单;不能承诺 --go 自动覆盖全部积压。 验证:两条 PR 各自 lint:web/build:web 通过;过滤修订读取的隔离/空范围合成检查通过;release 25项通过。临时组合版本定向 Go、23项前端通过;全量前端638项中624通过、14失败,失败集合与基线637项中的14失败一致。上述行为复现使用合成函数/内存Store,未对生产执行领取、重处理或业务验收。 #36 已合并为3ce70068,本 PR 在 AnnotationOperations.tsx 随机领取控件处发生冲突。已准备并测试本地整合:保留两边功能,终审 available 页保留 #36 入口,其他审核页使用 #37 入口,避免同页重复按钮。当前 PR 仍须提交冲突解决后才能合并;以上 P2需后续跟进,本次不部署。
zhanghongming added 1 commit 2026-10-12 15:44:05 +08:00
zhanghongming merged commit aadfeb4a87 into dev 2026-10-12 15:44:13 +08:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: longtao.wu/droboticflow#37
No description provided.