Skip to content

fix: preserve dev server background task classification - #50

Merged
asfires merged 1 commit into
mainfrom
t3code/fix-dev-server-agent-classification
Aug 19, 2026
Merged

fix: preserve dev server background task classification#50
asfires merged 1 commit into
mainfrom
t3code/fix-dev-server-agent-classification

Conversation

@asfires

@asfires asfires commented Aug 18, 2026

Copy link
Copy Markdown
Owner

What Changed

Preserve task identity and classification across sparse lifecycle events, server restarts, and recovery notifications. Background tasks such as dev servers now retain their background status instead of being promoted to the agent roster by contradictory or incomplete completion events.

Added focused server and client-runtime tests covering identity recovery and background-task exclusion.

Why

Provider recovery events may omit task metadata or contain stale classification fields after a restart. Previously, these events could cause background shell tasks to appear as interactive agents. Task classification is now anchored to the original task.started activity, while missing identity fields are recovered from persisted task activities.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

- Recover task identity from persisted lifecycle activities after restart
- Prevent contradictory recovery events from promoting background tasks to agents
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:L labels Aug 18, 2026
@github-actions

Copy link
Copy Markdown

Thread transfer impact

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

This comment will update automatically after the next completed run.

@asfires
asfires merged commit 966e375 into main Aug 19, 2026
6 of 11 checks passed
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