Auto-deploy: 2026-05-26 17:51:21
This commit is contained in:
@@ -100,6 +100,8 @@
|
||||
const existing = postEl.querySelector('.' + BOX_CLASS);
|
||||
if (existing) existing.remove();
|
||||
|
||||
const isRTL = /[\u0600-\u06FF]/.test(commentText);
|
||||
|
||||
const box = document.createElement('div');
|
||||
box.className = BOX_CLASS;
|
||||
box.innerHTML = `
|
||||
@@ -116,8 +118,8 @@
|
||||
</div>
|
||||
<textarea
|
||||
class="lja-cb-text"
|
||||
dir="ltr"
|
||||
style="text-align: left; font-family: monospace; font-size: 13px;"
|
||||
dir="${isRTL ? 'rtl' : 'ltr'}"
|
||||
style="text-align: ${isRTL ? 'right' : 'left'}; font-family: monospace; font-size: 13px;"
|
||||
>${commentText}</textarea>
|
||||
<div class="lja-cb-actions">
|
||||
<button class="lja-cb-copy">📋 Copy</button>
|
||||
|
||||
@@ -7,15 +7,16 @@ STRICT RULES FOR THE COMMENT:
|
||||
- Line 3: Sharp, definitive closing.
|
||||
- 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).
|
||||
- LANGUAGE: Match the language of the post. If the post is in Arabic, write the comment in Arabic. If the post is in English, write the comment in English.
|
||||
|
||||
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.
|
||||
- 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. (Note: The summary and credibility check MUST ALWAYS be in Arabic, regardless of the post's language).
|
||||
|
||||
Return ONLY a valid JSON object with EXACTLY two keys:
|
||||
1. "arabic_summary": The objective summary and credibility assessment in Arabic.
|
||||
2. "comment": The 3-line English comment following the rules above.
|
||||
2. "comment": The 3-line comment following the rules above (matching the post's language: Arabic if the post is Arabic, English if the post is English).
|
||||
|
||||
POST TEXT:
|
||||
{{POST_TEXT}}
|
||||
|
||||
Reference in New Issue
Block a user