mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-12-03 03:36:57 +01:00
Restore initial communication guidance across legacy execution paths
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
38cfd21765
commit
0deee9ed4d
12 files changed
+98
-36
No files matched your search
@@ -26,6 +26,7 @@ import {
|
||||
resolveLegacyPaperclipDesiredSkillNames,
|
||||
resolvePaperclipDesiredSkillNames,
|
||||
selectPaperclipTaskMarkdown,
|
||||
selectInitialCommunicationGuidance,
|
||||
runningProcesses,
|
||||
runChildProcess,
|
||||
sanitizeSshRemoteEnv,
|
||||
@@ -3061,6 +3062,9 @@ describe("selectPaperclipTaskMarkdown", () => {
|
||||
paperclipWake: wake("issue_commented"),
|
||||
};
|
||||
expect(selectPaperclipTaskMarkdown(context)).toContain("Saved initial guidance");
|
||||
expect(selectInitialCommunicationGuidance({ paperclipTaskCommunicationGuidance: " Slack preference " })).toBe("Slack preference");
|
||||
expect(selectInitialCommunicationGuidance(context, { resumedSession: true })).toBe("");
|
||||
expect(selectInitialCommunicationGuidance({})).toBe("");
|
||||
expect(selectPaperclipTaskMarkdown(context, { resumedSession: true })).toBe(compactMarkdown);
|
||||
expect(selectPaperclipTaskMarkdown(context, { includeCommunicationGuidance: false })).toBe(fullMarkdown);
|
||||
context.paperclipWake = { ...wake("issue_monitor_recovery"), recovery: { cause: "process_lost" } } as typeof context.paperclipWake;
|
||||
|
||||
Reference in new issue
Block a user