fix: remove synthetic agent status fallback

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
David Kaya
2026-03-21 13:10:17 +01:00
co-authored by Copilot
parent 9dfdb03f6f
commit b28a955271
4 changed files with 8 additions and 29 deletions
+2 -8
View File
@@ -125,15 +125,10 @@ describe('session activity helpers', () => {
});
test('builds rows for all agents with sensible defaults', () => {
expect(buildAgentActivityRows(undefined, agents, true)).toEqual([
expect(buildAgentActivityRows(undefined, agents)).toEqual([
{
key: 'architect',
agentName: 'Architect',
activity: {
agentId: 'architect',
agentName: 'Architect',
activityType: 'thinking',
},
},
{
key: 'reviewer',
@@ -157,7 +152,6 @@ describe('session activity helpers', () => {
},
},
agents,
true,
),
).toEqual([
{
@@ -183,7 +177,7 @@ describe('session activity helpers', () => {
});
test('formats contextual activity labels and state flags', () => {
expect(formatAgentActivityLabel(undefined)).toBe('Waiting…');
expect(formatAgentActivityLabel(undefined)).toBe('No status yet');
expect(
formatAgentActivityLabel({
agentId: 'reviewer',