mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-22 20:29:18 +01:00
feat: return completed handoffs to Agent Chat (#14408)
Return completed Agent Chat handoffs through a durable outbox and scope each generated update to its supplied tasks. Add recovery, browser delivery, result access, and calibrated quality coverage. Validated with two consecutive ten-case Claude/Codex campaigns, all CI checks, and a 5/5 review. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
3b4b270650
commit
83076d7e7c
59 files changed
+2696
-83
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import { firstTaskUserRequest } from "./first-task-transcript.js";
|
||||
import { isBlockedUnstartedWake, isTerminalUnstartedWake } from "./non-execution-wake.js";
|
||||
import { firstTaskRejectionReplyRecorded, isFirstTaskRejectionCancellation } from "./first-task-rejection.js";
|
||||
import { answerableRuntimeRunIds } from "./runtime-question-readiness.js";
|
||||
@@ -601,7 +602,7 @@ export async function runFirstTaskFlow(input: {
|
||||
const children = (await api.get<Row[]>(tasksPath)).filter(t => t.parentId === issue.id);
|
||||
expect(children).toHaveLength(1);
|
||||
const completion = await observeCompletionUpdate({ ...input, sourceId: issue.id, workerId: children[0]!.id,
|
||||
marker: scenario.marker, allRuns });
|
||||
marker: scenario.marker, fixtureRequest: firstTaskUserRequest(e), allRuns });
|
||||
e.runtimeSettings!.completionRenderedLinks = completion.renderedLinks ?? [];
|
||||
await snapshot("finished");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user