iterate.com / ui

git clone https://git.iterate.com/repos/ui

Agent chat: the feed draws no check-in of a call #1

merged hide-call-check-in was squashed into main as f7eb903 by jonas, 2026-11-27 11:45 UTC. jonas opened it 2026-11-27 11:45 UTC.

Jonas, 27 Nov 2026, in a Meet call: "make it so I don't see this like transcript fragment here every one minute when you, when you roll up the transcript into some sort of internal prompt. I don't need to see that here on the Meet UI."

While people talk in a call, the mind's code writes the agent a check-in about once a minute: an `agent/context-added` of role `user` with `callNote.kind: "check-in"`. It starts a turn, so the feed drew its whole prompt as a person's bubble. The reducer now draws it nowhere. The turn that it starts is drawn as any turn, and the Events tab and the turn's trace show the prompt. The call's quiet notes stay one "N messages came in" row: in the Dash that row is the one place that shows what was said.

Tests: `pnpm check` passes (1,249 tests); new test "a call's check-in is drawn nowhere, and the call's quiet notes and a person's words still are".

Card: tasks/meet-and-dash-chat-hide-the-call-s-transcript-check-in-inputs.md
Session: claude 54816317-8638-4f04-a7ff-dd2e968c9348 on beelink

πŸ€– Generated with [Claude Code](https://claude.com/claude-code)

Conversation

Nobody has said anything yet.

Sign in to comment or to merge.

Files

2 files changed

M src/components/agent-chat/agent-ui-reducer.test.ts
@@ -136,6 +136,29 @@
   ]);
 });
 
+test("a call's check-in is drawn nowhere, and the call's quiet notes and a person's words still are", () => {
+  const quiet = { llmRequestPolicy: { behaviour: "dont-trigger-request" } };
+  const note = (offset: number, content: string, more: object) =>
+    fact(offset, "agent/context-added", {
+      role: "user",
+      actor: { type: "user" },
+      content,
+      ...more,
+    });
+  const state = reduceAll([
+    note(1, '[call] Ada said: "hello"', { ...quiet, callNote: { kind: "said", text: "hello" } }),
+    note(2, "[call] Check-in: 1 new line was said in the call…", {
+      callNote: { kind: "check-in", lines: 1 },
+    }),
+    said(3, "what did I miss?"),
+  ]);
+  expect(state.items).toMatchObject([
+    { kind: "background", messages: [{ text: '[call] Ada said: "hello"' }] },
+    { kind: "user", text: "what did I miss?" },
+  ]);
+  expect(state.items).toHaveLength(2);
+});
+
 test("streams thinking and response deltas into the live llm step", () => {
   const state = reduceAll([
     said(1, "count the inputs"),
M src/components/agent-chat/agent-ui-reducer.ts
@@ -565,6 +565,11 @@
       const text = readString(event, "content");
       // oxlint-disable-next-line iterate/simple-truthiness-check -- empty content is a real message: a person can send files alone
       if (text == null || role === "assistant" || role === "system") return state;
+      // A CALL'S CHECK-IN is a prompt that the mind's code writes to the agent about once a minute
+      // while people talk (`callNote.kind: "check-in"`), and no person's words: it is drawn nowhere
+      // (Jonas, 27 Nov 2026: "I don't need to see that here"). The turn that it starts is drawn as
+      // any turn, and the Events tab and that turn's trace show the prompt.
+      if (readRecord(event, "callNote")?.kind === "check-in") return state;
       // THE AGENT'S TRANSCRIPTION of a raw fact (agent-facts.ts): the bubble is the raw fact's
       const transcribed = role === "user" ? transcribedFactOf(event) : undefined;
       const fromRaw = transcribed && reduceTranscription(state, event, transcribed, items);