Skip to content

Commit 96a2f0e

Browse files
backnotpropclaude
andcommitted
fix: use fresh=true for Octarine saves to prevent content duplication
Octarine's create action appends by default. If auto-save fires on plan arrival and the user then approves within the same minute, the same path gets hit twice — doubling the content. Using fresh=true replaces instead. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e2c8a49 commit 96a2f0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/server/integrations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ export async function saveToOctarine(config: OctarineConfig): Promise<Integratio
355355
const frontmatter = generateOctarineFrontmatter(tags);
356356
const content = `${frontmatter}\n\n${plan}`;
357357

358-
const url = `octarine://create?path=${encodeURIComponent(path)}&content=${encodeURIComponent(content)}&workspace=${encodeURIComponent(workspace)}&openAfter=false`;
358+
const url = `octarine://create?path=${encodeURIComponent(path)}&content=${encodeURIComponent(content)}&workspace=${encodeURIComponent(workspace)}&fresh=true&openAfter=false`;
359359

360360
await $`open ${url}`.quiet();
361361

0 commit comments

Comments
 (0)