Repository navigation
fix(web): sessions with live subagents or monitors no longer look stopped - #274
Merged
Merged
Conversation
…pped A session that held an actionable plan was filed under Plan Ready even while its subagents or a monitor loop were still running. Plan Ready also hid the Working/Monitoring badge, so the row read as parked. Background liveness now outranks a held plan for grouping, the work badge, the plan pulse, and tree hoisting. The plan stays visible as the outlined PLAN badge until the work stops. Also remove the violet pulsing row highlight for Plan Ready rows. They now use the default row surface; the PLAN badge and group header still mark them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: unavailable · PR result: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
bk-agent-01
added a commit
that referenced
this pull request
Oct 6, 2026
… shell uses #274's phaseSidebarIsAgentLive picked the bkmain shell's `session` field, which stage's ThreadShell names `runtime`, so the stage merge failed the client-runtime typecheck and the liveness test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
A session that held an actionable plan went to the Plan Ready group even when its subagents or a monitor loop still ran. Plan Ready also hid the Working / Monitoring badge and the running glint. Thus the row looked stopped while the agent still worked. Plan Ready rows also had a violet pulsing row highlight that the user does not want.
Fix
resolvePhaseSidebarPhase(shared inpackages/client-runtime, so web and mobile both get it): background liveness (working/monitoring) now outranks a held plan. The row stays in Implementing or Planning. It goes to Plan Ready only after all work stops. A failure still files a held plan under Plan Ready.resolvePhaseSidebarWorkBadgeno longer hides the Working / Monitoring badge for Plan Ready.phaseSidebarIsAgentLivehelper. The web row uses it for the solid PLAN badge, so a live row shows the outlined "Plan attached, agent still working" badge.Verification
vp test runforPhaseGroupedSidebar.logic.test.ts,PhaseSidebarTree.logic.test.ts,RunningSessionGlint.logic.test.ts(151 passed) and client-runtimephaseSidebar*.test.ts(49 passed).vp run typecheckinapps/webandpackages/client-runtime: clean.scripts/check-fork-markers.ts: passed.bkmain. Merging deploys bkt3 and restarts its live sessions.Done by Claude Opus 5.5 in Claude Code (T3 Code).
🤖 Generated with Claude Code