Open-source SEO, GEO, and marketing skills for AI agents.
fix(qa): ISSUE-001 — keep completed tick chats interactive
Yuting Zhong754cd347fc97
diff --git a/notfair/src/app/(app)/[project]/goals/[agent]/checks/[thread]/page.tsx b/notfair/src/app/(app)/[project]/goals/[agent]/checks/[thread]/page.tsxindex 1986f5aa..73f3529b 100644--- a/notfair/src/app/(app)/[project]/goals/[agent]/checks/[thread]/page.tsx+++ b/notfair/src/app/(app)/[project]/goals/[agent]/checks/[thread]/page.tsx@@ -21,9 +21,9 @@ import { GoalMemoryDialog } from "@/components/goal-memory-dialog";export const dynamic = "force-dynamic";/**- * Read-only transcript of one loop check (tick). Reached from the goal- * screen's Checks list; the composer is disabled — steering happens in- * the goal's own conversation, not inside a check's log.+ * Conversation for one loop check (tick). Reached from the goal screen's+ * Checks list; follow-up turns resume the same harness session so the agent+ * keeps the check's exact context, tools, and transcript.*/export default async function CheckTranscriptPage({params,@@ -69,7 +69,7 @@ export default async function CheckTranscriptPage({Back to goal</Link><h1 className="m-0 min-w-0 truncate text-[14px] font-semibold">- {goal ? goalLabel(goal) : resolved.name} — check log+ {goal ? goalLabel(goal) : resolved.name} — check chat</h1><div className="ml-auto flex shrink-0 items-center gap-2"><GoalContextDialog@@ -103,10 +103,9 @@ export default async function CheckTranscriptPage({threadId={threadId}initialEvents={initialEvents}initialCursor={initialCursor}- composerDisabled- disabledComposerPlaceholder="This check log is read-only — follow up from the goal chat"showCompletedStatusmcpCatalog={mcpCatalog}+ modelOptions={modelOptions}/></div></div>diff --git a/notfair/src/components/live-transcript.tsx b/notfair/src/components/live-transcript.tsxindex af4bea47..a0854ce6 100644--- a/notfair/src/components/live-transcript.tsx+++ b/notfair/src/components/live-transcript.tsx@@ -35,17 +35,7 @@ type Props = {initialEvents: TranscriptEvent[];/** Byte offset *after* `initialEvents` — polls start from here. */initialCursor: number;- /**- * When true, disables the composer. This does not imply that a turn is- * still running; read-only transcript views also disable the composer.- */- composerDisabled?: boolean;- /**- * Optional explanation shown inside a disabled composer. Read-only- * transcript views use this instead of claiming the agent is working.- */- disabledComposerPlaceholder?: string;- /** Keep a static terminal status visible in read-only transcript views. */+ /** Keep a static terminal status visible after a completed turn. */showCompletedStatus?: boolean;/*** Set when the agent's task is parked in `blocked` (e.g., waiting on a@@ -86,8 +76,6 @@ export function LiveTranscript({threadId,initialEvents,initialCursor,- composerDisabled = false,- disabledComposerPlaceholder,showCompletedStatus = false,blockedReason,mcpCatalog,@@ -218,8 +206,7 @@ export function LiveTranscript({(e) => e.kind === "lifecycle" && e.phase === "done",);// Keep the indicator at the bottom of the transcript throughout a live- // turn. Read-only logs can opt into a static completed status, but merely- // disabling the composer must never manufacture a forever-running state.+ // turn. Completed check conversations retain a static terminal status.const showThinking =sendingChat ||remoteTurnActive ||@@ -240,7 +227,6 @@ export function LiveTranscript({{rendered.length === 0 &&!pendingUserMsg &&!sendingChat &&- !composerDisabled &&!blockedReason ? (<TranscriptEmptyState agentDisplayName={agentDisplayName} />) : (@@ -297,16 +283,12 @@ export function LiveTranscript({<div className="bg-gradient-to-t from-background via-background/95 to-transparent pt-2"><div className="mx-auto w-full max-w-3xl px-5 pb-3 sm:px-6"><ChatComposer- disabled={composerDisabled}busy={composerBusy}sendingChat={sendingChat}placeholder={- composerDisabled- ? disabledComposerPlaceholder ??- "The agent is working — the transcript updates live"- : blockedReason- ? "Reply — the agent will see your message"- : "Message this goal's agent… (type / for commands)"+ blockedReason+ ? "Reply — the agent will see your message"+ : "Message this goal's agent… (type / for commands)"}modelOptions={modelOptions}model={model}