The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.
TypeScript 3d-modelingagent-frameworkagent-harnessai-agentscadclaude-codecodexcoding-agentsdeveloper-toolsesp32game-developmentmcp-servermulti-agentopen-hardwareopencodeopenharnesspcbroboticsterminaltmux
test(backend): route before a Lead assigns in the #1549 Lead-message tests (#1574)
tony496s8c5dece11f26
diff --git a/backend/src/superTabs/commands.test.ts b/backend/src/superTabs/commands.test.tsindex aa1e41389..49281e2fc 100644--- a/backend/src/superTabs/commands.test.ts+++ b/backend/src/superTabs/commands.test.ts@@ -255,8 +255,11 @@ describe('Super Tab collaboration policy', () => {history.push({ author: { kind: 'agent', id: agentId }, recipients: sent.recipients, id: sent.id })return sent}+ // A Lead routes before it assigns (#1555); a person assigns directly.const assign = (assigner: 'lead' | 'person') => {- const sent = f.run({ type: 'work.assign', conversationId: group, agentId: worker }, assigner === 'lead' ? as(lead) : owner).messages[0]!+ const sent = (assigner === 'lead'+ ? f.run({ type: 'work.assign', conversationId: group, agentId: worker, ...via }, as(lead), decisionIn(group))+ : f.run({ type: 'work.assign', conversationId: group, agentId: worker }, owner)).messages[0]!history.push({ author: { kind: assigner === 'lead' ? 'agent' : 'person', id: assigner === 'lead' ? lead : 'owner' }, recipients: sent.recipients, id: sent.id })return sent}