feat: show live session activity for running tasks#96672
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed July 11, 2026, 3:17 AM ET / 07:17 UTC. Summary PR surface: Source +1017, Tests +667, Docs +3, Generated 0. Total +1687 across 35 files. Reproducibility: yes. at source level for the PR defect: Review metrics: 1 noteworthy metric.
Stored data model Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Mantis proof suggestion Risk before merge
Maintainer options:
Next step before merge
Maintainer decision needed
Security Review findings
Review detailsBest possible solution: Rebase onto current main, build the chat strip on the existing task summary/event contract, route tool events through Do we have a high-confidence way to reproduce the issue? Yes, at source level for the PR defect: Is this the best way to solve the issue? No; the user-facing goal is valuable, but the current patch is not the narrowest maintainable solution because it duplicates current-main task contracts and bypasses the canonical session-event matcher. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 4fcee4f4fdc1. Label changesLabel justifications:
Evidence reviewedPR surface: Source +1017, Tests +667, Docs +3, Generated 0. Total +1687 across 35 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
Review history (1 earlier review cycle)
|
f1b398f to
832a1ed
Compare
832a1ed to
32ede41
Compare
|
This pull request has been automatically marked as stale due to inactivity. |
What Problem This Solves
Resolves a problem where the control UI could not reliably know which background work was active for a session, making it hard to show loading state, running task details, or polling-style progress for exec calls, subagents, and other session-scoped work.
Why This Change Was Made
This adds a live session activity surface over the existing gateway WebSocket protocol instead of introducing a separate REST endpoint, so the UI can subscribe to activity changes using the same session state channel. The snapshot aggregates active task-registry entries and live tool calls, includes descendant sessions by default, and exposes metadata-only plugin hooks for other integrations to build on without leaking tool arguments or results.
User Impact
Users can now see when a session has active background work, including exec/tool activity and task activity from subagents or related session work. The control UI can show a loading controller and running task list from the new session activity stream, while plugin authors get hook events for task and tool lifecycle changes.
Evidence
Focused validation passed: