Green Agent Status Projection Bug in Sutando
说明与用途
在 Sutando 中,绿色状态错误地隐藏了协作者的进度,因为过滤逻辑仅考虑所有者。修复后,团队和协作者的进度得以显示,并新增公共测试套件验证五种语义化会话状态。
问题
The UI incorrectly hides collaborator progress by treating non‑owners as equivalent to no live execution, causing a green status to be misleading.
结果
The fix restores correct progress visibility for collaborators and introduces a public, reproducible test suite that verifies five distinct session states, enhancing UI reliability and auditability.
工作流
- 1. Identify the predicate should_stream_task() that filters progress based on ownership.
- 2. Observe that collaborators, though executing, were excluded from progress streaming.
- 3. Modify the predicate to return true for team + collaborator, keeping owner true and ordinary team false.
- 4. Add regression tests covering owner, team, collaborator, and non‑owner cases.
- 5. Publish a public fixture, reader, and check script to validate the five session observation states.
- 6. Run the check script to confirm PASS.
- 7. Update UI to display explicit projection rules and conflict handling.
证据
The original should_stream_task() gate allowed only owners.
The public reader reproduces the disclosed decision order.
Run: node 2026-08-27-r3-ui-status-projection-check.mjs
- 记录日期: 2026-09-09T16:30:22.995Z