Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

refactor([issue-733]): drop unused replacementStrategy from fix context

[._.]/ Adam Eivy00a010c83353
diff --git a/server/services/pipeline/manuscriptFix.js b/server/services/pipeline/manuscriptFix.js
index 87e068f389..bd76be6ca4 100644
--- a/server/services/pipeline/manuscriptFix.js
+++ b/server/services/pipeline/manuscriptFix.js
@@ -319,10 +319,10 @@ export async function generateManuscriptFix(seriesId, { commentId, providerOverr
problem: comment.problem,
suggestion: comment.suggestion,
anchorQuote: comment.anchorQuote,
- replacementStrategy: comment.replacementStrategy,
- // Boolean mirror for Mustache's section tags (it can't compare strings) so
- // the fix prompt can branch on whether `suggestion` is a full-page rewrite
- // (substitute it directly) or delta advice (synthesize the edit).
+ // Boolean mirror of `replacementStrategy` for Mustache's section tags (it
+ // can't compare strings) so the fix prompt can branch on whether
+ // `suggestion` is a full-page rewrite (substitute it directly) or delta
+ // advice (synthesize the edit).
isFullPage: comment.replacementStrategy === 'full-page',
},
};