From abea0cd8fa8615f5ec4f43013a898eba7cdd340d Mon Sep 17 00:00:00 2001 From: Rene Fichtmueller Date: Fri, 3 Apr 2026 00:51:59 +0200 Subject: [PATCH] fix: remove orphaned floating text causing TypeScript build error in fo-blog-pipeline Dead code leftover from STEP4_MASTER_DRAFT rewrite was sitting outside any template literal, causing compilation failure. Removed duplicate CONTEXT DATA RULES block and orphaned `{{OUTLINE}}`/`{{CONTEXT_DATA}}` placeholders that were not wrapped in a string. --- packages/api/src/llm/fo-blog-pipeline.ts | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/packages/api/src/llm/fo-blog-pipeline.ts b/packages/api/src/llm/fo-blog-pipeline.ts index 34985b2..640ef1d 100644 --- a/packages/api/src/llm/fo-blog-pipeline.ts +++ b/packages/api/src/llm/fo-blog-pipeline.ts @@ -364,20 +364,6 @@ Context data from Flexoptix database (verified — use exactly as provided): Outline: {{OUTLINE}}`; -CONTEXT DATA RULES (read before writing a single word): -The context below contains REAL data from the Flexoptix product database. -- Lines starting with [PRODUCT] = real products. Use their exact names, form factors, speeds. -- Lines starting with [VERIFIED PRICE] = real prices observed in our DB. You MAY cite these. -- Lines with [NO VERIFIED PRICE IN DB] = no price data exists. Write "see flexoptix.net for current pricing" — NEVER invent a number. -- Lines with [NO PRODUCT DATA AVAILABLE] = DB returned nothing. Use technology class names only. -- ANY price, part number, or product name you write that is NOT in the context below is an invention. Inventions are HARD FAILS in QA. - -Outline: -{{OUTLINE}} - -Context data from Flexoptix database (verified — use exactly as provided): -{{CONTEXT_DATA}}`; - // ═══════════════════════════════════════════════════════ // STEP 5: REALITY INJECTION // ═══════════════════════════════════════════════════════