diff --git a/.changeset/fn-7325-activity-live-expand.md b/.changeset/fn-7325-activity-live-expand.md
new file mode 100644
index 0000000000..0daa710711
--- /dev/null
+++ b/.changeset/fn-7325-activity-live-expand.md
@@ -0,0 +1,7 @@
+---
+"@runfusion/fusion": patch
+---
+
+summary: Rename task Activity Current to Live and allow expanding all Activity segments.
+category: feature
+dev: Keeps legacy Activity `current`, `chat`, and `logs` routing compatibility while sharing the expand control across Live, Feed, and Raw Logs.
diff --git a/docs/dashboard-guide.md b/docs/dashboard-guide.md
index 06725f1910..9ba2066979 100644
--- a/docs/dashboard-guide.md
+++ b/docs/dashboard-guide.md
@@ -1041,7 +1041,7 @@ Inspect task definition, logs, review feedback, comments, artifacts, workflow ou
- Editable tasks with descriptions show **Summarize as title** beside the read-mode title; it asks AI to generate a concise title from the description and saves it without opening the edit form.
- The **Summary** tab appears first for `done` tasks and is their default landing tab. It shows the recorded completion summary, changed-file/merge stats when available, completed steps, workflow results, retry counts, and a token usage & cost section broken down by model from the already-loaded task detail; unpriced models show cost as unavailable rather than `$0`. Non-`done` tasks still open on **Activity** by default.
-- The **Activity → Current** segment includes an expand/collapse control that lets the transcript and composer fill the task-detail modal, then restores the normal header, tabs, and action footer when collapsed.
+- The **Activity → Live**, **Feed**, and **Raw Logs** segments share an expand/collapse control that lets the active Activity segment fill the task-detail modal, then restores the normal header, tabs, and action footer when collapsed.
- The top-level **Chat** tab appears immediately after **Activity** and starts a task-scoped planner-model conversation. It uses the task's effective planning model, persists messages in a resumable chat session, and sends bounded server-built task context so the planner can answer current status, progress, recent activity, dependency, and task definition questions without polluting visible chat history. It shows starter prompts for common planning questions, can render structured planner questions, and converts only explicit operator steering intent through the scoped steering tool. Activity remains the primary operational transcript/feed/raw-log surface.
- Task-detail Activity steering comments are persisted as user comments/steering guidance and surfaced to every relevant agent lane: live executor sessions receive steering injection, while planner, reviewer (spec/plan/code), and merger agents (standard and clean-room AI merge/review) receive the latest user comments in their next prompt/pass.
- The priority chip in task metadata is an inline picker: you can change priority directly without entering full edit mode.
@@ -1118,10 +1118,10 @@ Recommended workflow: ordinary chains stay as `Blocks N` so noise stays low, hig
### Activity → Raw Logs view
-
-The **Activity** tab is the first task-detail tab and presents a segmented control for **Current**, **Feed**, and **Raw Logs**. Current contains the live, chat-styled transcript of task agent output. Consecutive entries are grouped by role and labeled as Planner, Executor, Reviewer, or Merger; legacy log rows without an agent role use the neutral Agent fallback. Agent group headers and user message headers show a small muted relative timestamp (for example, “just now”, “1m ago”, or “2h ago”) based on the transcript timestamp, while agent group metadata still includes the entry count. Consecutive text/message chunks inside a role group render as one continuous markdown bubble, while consecutive tool/tool-result/tool-error rows collapse into one expandable, compact tool-call summary that stays collapsed by default and mirrors regular Chat's dense treatment; the summary stays single-line/ellipsis-friendly on desktop and mobile, counts tool invocations, lists deduped tool names with overflow, and shows an error count when failures are present, while the expanded body pairs each call with its result or error in dense entry cards. Thinking entries render in a collapsible block that starts expanded. The transcript opens at the latest output whenever the tab loads or becomes active, then follows new live output when you are already near the bottom while preserving your scroll position when you review older messages. When older task-agent history exists, scrolling to the top or selecting **Load previous messages** prepends earlier transcript entries without moving the message you were reading. When you scroll away from the bottom of a populated transcript, a sticky **Latest** button appears inside the transcript so you can jump back to the newest message and resume live follow. For non-`done` tasks, the **Steering comment** composer sends guidance through the same steering path used by comments, including active planning/triage, `in-progress`, and `in-review` sessions, plus live CLI-agent sessions reported by the session bridge; an `in-review` Activity Current message or Comments-tab task comment re-engages an executor unless an open PR blocks moving the task back, and other messages are still saved as queued guidance when no session is currently live. Feed and Raw Logs do not show a steering composer. On a `done` task, the composer switches to **Refinement request** copy; sending starts a refinement task using the typed text as feedback and shows a success toast with the new task ID, while the current task detail modal remains on the completed task. The task-detail Activity Current segment keeps the composer pinned and visible on mobile and desktop while the transcript scrolls internally; its textarea placeholder reads “Steer the currently executing agent” for steering mode and switches to refinement copy for completed tasks, with the same inline, icon-only send affordance to the right of the input at every breakpoint. In the composer, plain **Enter** sends, **Shift+Enter** inserts a newline, and **Cmd/Ctrl+Enter** remains a supported send shortcut.
+
+The **Activity** tab is the first task-detail tab and presents a segmented control for **Live**, **Feed**, and **Raw Logs**. Live contains the live, chat-styled transcript of task agent output. Consecutive entries are grouped by role and labeled as Planner, Executor, Reviewer, or Merger; legacy log rows without an agent role use the neutral Agent fallback. Agent group headers and user message headers show a small muted relative timestamp (for example, “just now”, “1m ago”, or “2h ago”) based on the transcript timestamp, while agent group metadata still includes the entry count. Consecutive text/message chunks inside a role group render as one continuous markdown bubble, while consecutive tool/tool-result/tool-error rows collapse into one expandable, compact tool-call summary that stays collapsed by default and mirrors regular Chat's dense treatment; the summary stays single-line/ellipsis-friendly on desktop and mobile, counts tool invocations, lists deduped tool names with overflow, and shows an error count when failures are present, while the expanded body pairs each call with its result or error in dense entry cards. Thinking entries render in a collapsible block that starts expanded. The transcript opens at the latest output whenever the tab loads or becomes active, then follows new live output when you are already near the bottom while preserving your scroll position when you review older messages. When older task-agent history exists, scrolling to the top or selecting **Load previous messages** prepends earlier transcript entries without moving the message you were reading. When you scroll away from the bottom of a populated transcript, a sticky **Latest** button appears inside the transcript so you can jump back to the newest message and resume live follow. For non-`done` tasks, the **Steering comment** composer sends guidance through the same steering path used by comments, including active planning/triage, `in-progress`, and `in-review` sessions, plus live CLI-agent sessions reported by the session bridge; an `in-review` Activity Live message or Comments-tab task comment re-engages an executor unless an open PR blocks moving the task back, and other messages are still saved as queued guidance when no session is currently live. Feed and Raw Logs do not show a steering composer. On a `done` task, the composer switches to **Refinement request** copy; sending starts a refinement task using the typed text as feedback and shows a success toast with the new task ID, while the current task detail modal remains on the completed task. The task-detail Activity Live segment keeps the composer pinned and visible on mobile and desktop while the transcript scrolls internally; its textarea placeholder reads “Steer the currently executing agent” for steering mode and switches to refinement copy for completed tasks, with the same inline, icon-only send affordance to the right of the input at every breakpoint. In the composer, plain **Enter** sends, **Shift+Enter** inserts a newline, and **Cmd/Ctrl+Enter** remains a supported send shortcut.
-The adjacent top-level **Chat** tab opens the planner-model conversation for the same task instead of posting steering comments. Each send includes server-built, bounded context for the task id, status/column/progress/current step, dependencies, recent activity/comment excerpts, prompt/plan content, and available source/review state; unavailable sections are labeled so the planner states uncertainty rather than inventing execution evidence. When no planner-chat history has loaded yet, Chat shows a guided empty state with starter prompts for recent activity, current status/blockers, next best action, and plan/definition review; selecting one sends that prompt as an ordinary chat message through the task-context-aware planner-chat composer/stream path. The starter prompts disappear while history is loading or after conversation history exists, so Activity Current, Feed, Raw Logs, and the steering composer remain separate.
+The adjacent top-level **Chat** tab opens the planner-model conversation for the same task instead of posting steering comments. Each send includes server-built, bounded context for the task id, status/column/progress/current step, dependencies, recent activity/comment excerpts, prompt/plan content, and available source/review state; unavailable sections are labeled so the planner states uncertainty rather than inventing execution evidence. When no planner-chat history has loaded yet, Chat shows a guided empty state with starter prompts for recent activity, current status/blockers, next best action, and plan/definition review; selecting one sends that prompt as an ordinary chat message through the task-context-aware planner-chat composer/stream path. The starter prompts disappear while history is loading or after conversation history exists, so Activity Live, Feed, Raw Logs, and the steering composer remain separate.
The **Raw Logs** segment is designed for debugging long-running and tool-heavy sessions, while legacy links that requested the former top-level Logs tab land on Activity → Feed:
diff --git a/packages/dashboard/app/components/TaskChatTab.tsx b/packages/dashboard/app/components/TaskChatTab.tsx
index ab491c903e..fda32aa0fd 100644
--- a/packages/dashboard/app/components/TaskChatTab.tsx
+++ b/packages/dashboard/app/components/TaskChatTab.tsx
@@ -594,7 +594,7 @@ export function TaskChatTab({ task, projectId, active, addToast, onTaskUpdated,
const isDoneTask = task.column === "done";
/*
* FNXC:TaskDetailActivity 2026-06-30-21:51:
- * Activity → Current is the operational steering surface for task execution. Show an explicit steering-comment affordance here while keeping the future top-level planner-model Chat tab out of scope; Feed and Raw Logs remain read-only Activity segments without this composer.
+ * Activity → Live (legacy `current`) is the operational steering surface for task execution. Show an explicit steering-comment affordance here while keeping the top-level planner-model Chat tab separate; Feed and Raw Logs remain read-only Activity segments without this composer.
*/
const composerLabel = isDoneTask
? t("taskChat.refinementComposerLabel", "Refinement request")
@@ -851,11 +851,11 @@ export function TaskChatTab({ task, projectId, active, addToast, onTaskUpdated,
type="button"
className="btn btn-icon btn-sm task-chat-expand-toggle task-chat-expand-toggle--overlay"
onClick={onToggleExpanded}
- aria-label={expanded ? t("taskChat.collapseChat", "Collapse chat") : t("taskChat.expandChat", "Expand chat to full modal")}
+ aria-label={expanded ? t("taskChat.collapseActivity", "Collapse activity") : t("taskChat.expandActivity", "Expand activity to full modal")}
aria-pressed={expanded}
data-testid="task-chat-expand-toggle"
>
- {/* FNXC:TaskChat 2026-06-13-00:00: FN-6425 refines FN-6405 by keeping the task-chat expand affordance icon-only and pinned to the chat view corner so transcript scrolling never removes access to expansion controls. */}
+ {/* FNXC:TaskDetailActivity 2026-06-30-23:55: The legacy TaskChatTab expand affordance now uses Activity-wide copy when a caller still renders it; TaskDetailModal owns the visible Activity-level toggle across Live, Feed, and Raw Logs. */}
{expanded ? : }
) : null}
diff --git a/packages/dashboard/app/components/TaskDetailModal.css b/packages/dashboard/app/components/TaskDetailModal.css
index 35651a7cc2..3a34370e0a 100644
--- a/packages/dashboard/app/components/TaskDetailModal.css
+++ b/packages/dashboard/app/components/TaskDetailModal.css
@@ -128,8 +128,8 @@ Task detail workflow badges share the board badge's slight token-based icon-to-l
overflow-y: hidden;
}
-/* Activity → Current mirrors the Raw Logs fill-height layout: the modal body does not scroll;
- the transcript owns internal scrolling while the composer stays visible. */
+/* Activity → Live and expanded Activity mirror the Raw Logs fill-height layout: the modal body does not scroll;
+ each segment owns internal scrolling while composers and controls stay visible. */
.detail-body--chat {
display: flex;
flex-direction: column;
@@ -818,6 +818,9 @@ Expanded chat should take over the modal except for the task title row, so users
FNXC:TaskDetailChat 2026-06-22-13:27:
Expanded chat must also cover the task metadata row — priority, execution mode, provenance/Created by, and Created/Updated timestamps — so the chat grows all the way up to the title row instead of stopping below secondary metadata controls.
+
+FNXC:TaskDetailActivity 2026-06-30-23:55:
+The same expanded-mode chrome collapse now applies to all Activity segments: Live, Feed, and Raw Logs. Keep the legacy `--chat-expanded` class for test and styling compatibility while treating it as Activity-expanded behavior.
*/
.task-detail-content--chat-expanded .detail-meta {
display: none;
@@ -849,6 +852,19 @@ Expanded chat must also cover the task metadata row — priority, execution mode
margin-top: 0;
}
+.task-detail-content--chat-expanded .detail-activity {
+ display: flex;
+ flex: 1;
+ flex-direction: column;
+ min-height: 0;
+}
+
+.task-detail-content--chat-expanded .detail-activity-list {
+ flex: 1;
+ min-height: 0;
+ overflow-y: auto;
+}
+
.detail-spec-edit-trigger {
display: flex;
@@ -2355,9 +2371,17 @@ FNXC:TaskDetailTabs 2026-06-26-00:35:
/* === Activity Segmented Control === */
/*
-FNXC:TaskDetailActivity 2026-06-30-22:15:
-The Activity top-level tab owns Current, Feed, and Raw Logs as an in-content segmented control. Keep this selector visually quieter than the top-level tab strip and horizontally reachable on narrow modal and embedded task-detail surfaces.
+FNXC:TaskDetailActivity 2026-06-30-23:55:
+The Activity top-level tab owns Live (internal `current`), Feed, and Raw Logs as an in-content segmented control. Keep this selector visually quieter than the top-level tab strip and horizontally reachable on narrow modal and embedded task-detail surfaces; the Activity-wide expand control must sit beside it on every segment.
*/
+.activity-toolbar {
+ display: flex;
+ align-items: flex-start;
+ justify-content: space-between;
+ gap: var(--space-sm);
+ margin-bottom: var(--space-md);
+}
+
.activity-segmented-control {
display: inline-flex;
max-inline-size: 100%;
@@ -2366,7 +2390,6 @@ The Activity top-level tab owns Current, Feed, and Raw Logs as an in-content seg
border: var(--border-width) solid var(--border);
border-radius: var(--radius-md);
padding: calc(var(--space-xs) / 4);
- margin-bottom: var(--space-md);
overflow-x: auto;
overflow-y: hidden;
overscroll-behavior-inline: contain;
@@ -2406,6 +2429,13 @@ The Activity top-level tab owns Current, Feed, and Raw Logs as an in-content seg
box-shadow: var(--shadow-sm);
}
+.activity-expand-toggle {
+ flex: 0 0 auto;
+ min-inline-size: var(--space-2xl);
+ min-block-size: var(--space-2xl);
+ padding: 0;
+}
+
.detail-log-loading {
display: flex;
align-items: center;
@@ -2419,6 +2449,19 @@ The Activity top-level tab owns Current, Feed, and Raw Logs as an in-content seg
}
@media (max-width: 768px) {
+ .activity-toolbar {
+ align-items: stretch;
+ }
+
+ .activity-segmented-control {
+ flex: 1 1 auto;
+ }
+
+ .activity-expand-toggle {
+ min-inline-size: calc(var(--space-2xl) + var(--space-sm));
+ min-block-size: calc(var(--space-2xl) + var(--space-sm));
+ }
+
.detail-log-loading {
min-height: calc(var(--space-2xl) + var(--space-lg));
}
diff --git a/packages/dashboard/app/components/TaskDetailModal.tsx b/packages/dashboard/app/components/TaskDetailModal.tsx
index 60c9236f89..c633a6d7e4 100644
--- a/packages/dashboard/app/components/TaskDetailModal.tsx
+++ b/packages/dashboard/app/components/TaskDetailModal.tsx
@@ -1,7 +1,7 @@
import "./TaskDetailModal.css";
import React, { Suspense, lazy, useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
import { useTranslation } from "react-i18next";
-import { Pencil, Bot, X, ChevronDown, ChevronRight, GitBranch, ArrowLeft, Zap, Loader2, AlertTriangle, Sparkles, Maximize2 } from "lucide-react";
+import { Pencil, Bot, X, ChevronDown, ChevronRight, GitBranch, ArrowLeft, Zap, Loader2, AlertTriangle, Sparkles, Maximize2, Minimize2 } from "lucide-react";
import { useModalResizePersist } from "../hooks/useModalResizePersist";
import { useMobileScrollLock } from "../hooks/useMobileScrollLock";
import { useOverlayDismiss } from "../hooks/useOverlayDismiss";
@@ -200,13 +200,16 @@ FNXC:TaskDetailActivityTab 2026-06-30-00:00:
The existing task activity/steering surface keeps the stable internal `chat` tab id for deep-link/plugin compatibility, but its top-level user-facing label is Activity. Activity is the implicit default for active task columns; done tasks keep Summary as their omitted-initial-tab landing surface so completed work still opens on the completion report while Activity remains first in tab order.
FNXC:TaskDetailPlannerChat 2026-06-30-22:30:
-Task detail now separates Activity from planner-model Chat. `chat` remains the legacy Activity id for old links and Activity → Current/Feed/Raw Logs/steering, while `planner-chat` is the new top-level Chat tab for task-aware planning conversation and must render immediately after Activity.
+Task detail now separates Activity from planner-model Chat. `chat` remains the legacy Activity id for old links and Activity → Live (internal `current`)/Feed/Raw Logs/steering, while `planner-chat` is the new top-level Chat tab for task-aware planning conversation and must render immediately after Activity.
FNXC:TaskDetailActivity 2026-06-30-15:50:
-Only an omitted initial tab is the implicit default. Preserve explicit `initialTab="chat"` requests from plugins and task-detail entrypoints so existing links continue to open Activity → Current. Legacy `initialTab="logs"` now routes to Activity → Feed, and Raw Logs remains an Activity segment.
+Only an omitted initial tab is the implicit default. Preserve explicit `initialTab="chat"` requests from plugins and task-detail entrypoints so existing links continue to open Activity → Live (internal `current`). Legacy `initialTab="logs"` now routes to Activity → Feed, and Raw Logs remains an Activity segment.
FNXC:TaskDetailActivity 2026-06-30-21:55:
-The first Activity segment keeps the stable Current label for legacy segment tests and links, but its embedded composer labels the operational steering-comment affordance explicitly. Do not reuse this segment as planner-model Chat conversation; that belongs to the `planner-chat` top-level tab.
+The first Activity segment keeps the stable internal `current` id for legacy segment tests and links, but its embedded composer labels the operational steering-comment affordance explicitly. Do not reuse this segment as planner-model Chat conversation; that belongs to the `planner-chat` top-level tab.
+
+FNXC:TaskDetailActivity 2026-06-30-23:55:
+The first Activity segment is user-facing Live while legacy internals remain `current` and explicit `initialTab="chat"` continues landing there for compatibility.
*/
function resolveDefaultTab(initialTab: TabId | undefined, column: ColumnId): TabId {
if (initialTab === "retries") {
@@ -532,7 +535,7 @@ export function TaskDetailContent({
const fileBrowser = useFileBrowser();
const [activeTab, setActiveTab] = useState(() => resolveDefaultTab(initialTab, task.column));
const [activitySegment, setActivitySegment] = useState(() => resolveDefaultActivitySegment(initialTab));
- const [chatExpanded, setChatExpanded] = useState(false);
+ const [activityExpanded, setActivityExpanded] = useState(false);
// ── CLI agent session (U11) ────────────────────────────────────────────────
const [cliSession, setCliSession] = useState(null);
@@ -844,10 +847,14 @@ export function TaskDetailContent({
const [isEditing, setIsEditing] = useState(false);
useEffect(() => {
- if (activeTab !== "chat" || activitySegment !== "current" || isEditing) {
- setChatExpanded(false);
+ if (activeTab !== "chat" || isEditing) {
+ setActivityExpanded(false);
}
- }, [activeTab, activitySegment, isEditing]);
+ }, [activeTab, isEditing]);
+
+ useEffect(() => {
+ setActivityExpanded(false);
+ }, [task.id]);
const [editTitle, setEditTitle] = useState(task.title || "");
const [editDescription, setEditDescription] = useState(task.description || "");
@@ -2610,12 +2617,12 @@ export function TaskDetailContent({
const autoMergeEnabled = autoMergeEnabledProp ?? (settings?.autoMerge ?? false);
const effectiveAutoMerge = resolveEffectiveAutoMerge({ autoMerge: task.autoMerge }, { autoMerge: autoMergeEnabled });
const isManualPrFlow = mergeStrategy === "pull-request" && !effectiveAutoMerge;
- const isChatExpanded = chatExpanded && activeTab === "chat" && !isEditing;
+ const isActivityExpanded = activityExpanded && activeTab === "chat" && !isEditing;
/*
- FNXC:TaskDetailChat 2026-06-30-23:30:
- Maximized Activity chat should reserve the detail surface for the header context and chat only. Do not mount branch-group chrome in this mode so its expand/promote controls are not hidden-but-focusable, while normal and embedded task details keep the BranchGroupCard behavior.
+ FNXC:TaskDetailActivity 2026-06-30-23:55:
+ Maximized Activity applies to Live, Feed, and Raw Logs, not only the legacy `current` chat segment. Reserve the detail surface for header context and Activity content, and do not mount branch-group chrome in this mode so expand/promote controls are not hidden-but-focusable.
*/
- const shouldShowBranchGroupCard = Boolean(task.branchContext?.groupId && !isChatExpanded);
+ const shouldShowBranchGroupCard = Boolean(task.branchContext?.groupId && !isActivityExpanded);
const taskActionMenuModel = useMemo(() => buildTaskActionMenuModel({
task,
@@ -2733,7 +2740,7 @@ export function TaskDetailContent({
return (
@@ -2813,7 +2820,7 @@ export function TaskDetailContent({
)}
-
+
{isEditing ? (
) : activeTab === "chat" ? (
-
+
{/*
FNXC:TaskDetailPlannerChat 2026-06-30-22:30:
Activity owns the existing steering/current view, Feed, and Raw Logs inside one segmented control. The stable Activity tab id remains `chat`, legacy `logs` callers land on Feed, and Raw Logs is the only segment that enables raw agent-log fetching. Planner-model conversation belongs to the separate `planner-chat` tab and must not route into steering comments.
- FNXC:TaskDetailActivity 2026-06-30-21:55:
- The first Activity segment keeps the stable Current label for legacy segment tests and links, but its embedded composer labels the operational steering-comment affordance explicitly. Do not reuse this segment as planner-model Chat conversation.
+ FNXC:TaskDetailActivity 2026-06-30-23:55:
+ The first Activity segment is user-facing Live but keeps the legacy `current` segment id. Activity expansion is segment-wide, so the same reachable toggle must remain present on Live, Feed, and Raw Logs without fetching Raw Logs outside the Raw Logs segment.
*/}
-