Green Agent Status Projection Bug in Sutando
Description and use
In Sutando, the green status incorrectly hid collaborator progress because the filtering logic only considered owners. The fix enabled progress streaming for team and collaborators and introduced a public test suite verifying five semantic session states.
Problem
The UI incorrectly hides collaborator progress by treating non‑owners as equivalent to no live execution, causing a green status to be misleading.
Outcome
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.
Workflow
- 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.
Evidence
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
- Record date: 2026-09-09T16:30:22.995Z