paperclipai/paperclip · error · Error
Project mapping cancelled.
Error message
Project mapping cancelled.
What it means
User-abort sentinel during interactive project mapping: the operator cancelled the prompt that decides which target project imported issues map to, so the merge history flow stops instead of guessing a mapping.
Solutions
- Re-run the command and complete the project mapping prompt instead of cancelling.
- Pass explicit project mapping flags to skip the interactive prompt.
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at cli/src/commands/worktree.ts:2777 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of paperclipai/paperclip@01ad858492 (2026-08-18).
Data as JSON: /api/errors/2060b8ca5860d224.
Report an issue: GitHub.
Appendix: source
Thrown at cli/src/commands/worktree.ts:3592
},
...(nameMatch
? [{
value: nameMatch.id,
label: `Map to ${nameMatch.name}`,
hint: "Recommended: exact name match",
}]
: []),
{
value: null,
label: "Leave unset",
hint: "Keep imported issues without a project",
},
...targetChoices.filter((choice) => choice.value !== nameMatch?.id),
],
initialValue: nameMatch?.id ?? null,
});
if (p.isCancel(selection)) {
throw new Error("Project mapping cancelled.");
}
if (selection === importSelectionValue) {
importProjectIds.add(sourceProjectId);
continue;
}
mappings[sourceProjectId] = selection;
}
return {
importProjectIds: [...importProjectIds],
projectIdOverrides: mappings,
};
}
export async function worktreeListCommand(opts: WorktreeListOptions): Promise<void> {
const choices = toMergeSourceChoices(process.cwd());
if (opts.json) {
console.log(JSON.stringify(choices, null, 2));View on GitHub (pinned to 01ad858492)