From 50b021b89e4ec412363cd66ec97e6e8b69c36286 Mon Sep 17 00:00:00 2001 From: Hamza-Ayed Date: Tue, 26 May 2026 17:31:08 +0300 Subject: [PATCH] Auto-deploy: 2026-05-26 17:31:08 --- post_feed.js | 2 +- server/prompts/comment_prompt.txt | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/post_feed.js b/post_feed.js index 559047f..752d0be 100644 --- a/post_feed.js +++ b/post_feed.js @@ -109,7 +109,7 @@
-
📝 ملخص المنشور:
+
🕵️ التحليل والمصداقية:
${arabicSummary}
diff --git a/server/prompts/comment_prompt.txt b/server/prompts/comment_prompt.txt index 2db7b86..7fa6abe 100644 --- a/server/prompts/comment_prompt.txt +++ b/server/prompts/comment_prompt.txt @@ -8,8 +8,13 @@ STRICT RULES FOR THE COMMENT: - Tone: Calm, direct, operator-level. NO ego, NO preaching, NO praise clichés. - Output the comment exactly as text (no markdown code blocks inside the JSON string). +STRICT RULES FOR THE ARABIC SUMMARY & CREDIBILITY CHECK: +- Analyze the post objectively. No flattery. No automatic agreement. +- Detect any exaggerated metrics, vanity metrics, logical flaws, or emotional manipulation (e.g., VC/startup hustle culture tropes). +- Provide a 2-3 sentence Arabic response. The first sentence should summarize the post. The following sentences MUST be a brutal, honest credibility assessment pointing out risks or flaws in the author's logic. + Return ONLY a valid JSON object with EXACTLY two keys: -1. "arabic_summary": A 1-2 sentence objective summary in Arabic explaining what the post is about. +1. "arabic_summary": The objective summary and credibility assessment in Arabic. 2. "comment": The 3-line English comment following the rules above. POST TEXT: