Skip to content

fix(prime): make child live activity truthful - #31

Merged
rynfar merged 1 commit into
pylonfrom
fix/prime-agent-live-activity
Aug 14, 2026
Merged

fix(prime): make child live activity truthful#31
rynfar merged 1 commit into
pylonfrom
fix/prime-agent-live-activity

Conversation

@rynfar

@rynfar rynfar commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

Problem

Prime child agents can be actively thinking or using tools while the privacy-bounded Live activity stream contains no assistant text. The web and mobile empty state described that as no assistant activity, and invisible watcher events could exhaust the bounded initialization buffer before any renderable update arrived.

Fix

  • present the safe status aggregates already visible in the agent roster while labeling an empty snapshot as No assistant text yet
  • explain that tool arguments, results, and reasoning remain hidden, with matching web and mobile behavior
  • discard watcher events that cannot change the sanitized public snapshot before initialization admission
  • document Prime 0.7.2's attach-time streaming limitation without relying on private APIs

Verification

  • vp test run apps/server/src/provider/prime/PrimeAgentDaemonSessionRuntime.test.ts apps/web/src/components/AgentsPanel.test.tsx packages/client-runtime/src/state/sessionAgentLiveActivity.test.ts apps/mobile/src/features/threads/sessionAgentMenu.test.ts — 78 tests passed
  • targeted lint passed for every changed TypeScript/TSX file
  • server, web, client-runtime, and mobile typechecks passed
  • two independent code reviews completed with no remaining findings
  • integrated web verification passed for the truthful empty snapshot and long-content overflow state; the activity region scrolls while the footer remains visible
  • integrated iOS Simulator verification passed for the same safe summary, empty-state copy, and privacy explanation
  • the iOS pass exposed two unrelated pre-existing mobile thread runtime errors; their isolated correction is PR fix(mobile): remove stray composer text #32

Model: GPT-5.6; Harness: Prime Agent.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith with what you need. Autofix is disabled.

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:L labels Aug 14, 2026
@github-actions

Copy link
Copy Markdown

Thread transfer impact

⚠️ The latest CI run did not produce a thread transfer result for 215771e.

This comment will update automatically after the next completed run.

@rynfar
rynfar merged commit 6e26a9c into pylon Aug 14, 2026
11 checks passed
@rynfar
rynfar deleted the fix/prime-agent-live-activity branch August 14, 2026 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant