mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-22 16:51:28 +02:00
Initialize the operational skill for legacy continuation fixtures, verify task attachment bytes, allow Claude’s optional custom-answer field, and distinguish unstarted dependency-blocked wakes from failed provider executions. Co-Authored-By: Paperclip <noreply@paperclip.ing>
6 lines
345 B
TypeScript
6 lines
345 B
TypeScript
/** A queued parent wake can be suppressed while its child still runs. This is
|
|
* not a provider failure: admission never started. Keep it in the evidence. */
|
|
export function isBlockedUnstartedWake(run: Record<string, unknown>) {
|
|
return run.status === "cancelled" && run.errorCode === "issue_dependencies_blocked" && run.startedAt === null;
|
|
}
|