From ecda95d610c9e1a89b70b007206d1eb9326626d1 Mon Sep 17 00:00:00 2001 From: Chaim Date: Thu, 9 Apr 2026 18:00:01 +0000 Subject: [PATCH] Add committee position field to analyst template and fix UI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add "עמדת ועדת הערר" placeholder to legal-analyst agent template for each legal issue, to be filled by the chair as guidance for the writing agent - Fix green checkmark not showing for proofread documents (treat 'proofread' status same as 'completed') - Show time alongside date in local files listing Co-Authored-By: Claude Opus 4.6 (1M context) --- .claude/agents/legal-analyst.md | 6 +++++- web/static/index.html | 6 +++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.claude/agents/legal-analyst.md b/.claude/agents/legal-analyst.md index 97eadf9..f483264 100644 --- a/.claude/agents/legal-analyst.md +++ b/.claude/agents/legal-analyst.md @@ -97,6 +97,7 @@ tools: - **חולשות** — מה חלש? מה לא מגובה בראיות? - **הזדמנויות** — איפה יש פתח? מה הוועדה יכולה להישען עליו? 6. **שאלות משפטיות** — צמד שאלות (ראה שלב 4) +7. **עמדת ועדת הערר** — שדה ריק שיו"ר הוועדה ימלא ידנית. **חובה להוסיף לכל סוגיה!** עמדה זו תשמש כהנחיה מחייבת לסוכן הכתיבה. ### שלב 4: הפקת שאלות מחקר @@ -165,7 +166,7 @@ tools: 1. ... ## 5. טענות סף -[אם קיימות — כולל שאלות משפטיות לכל טענה] +[אם קיימות — כולל שאלות משפטיות + עמדת ועדת הערר לכל טענה] ## 6. סוגיות להכרעה @@ -193,6 +194,9 @@ tools: **תקדימים מהקורפוס הפנימי:** - [אם נמצאו] +**עמדת ועדת הערר:** +[ימולא ע"י יו"ר הוועדה — עמדה/הנחיה לגבי סוגיה זו שתשמש את סוכן הכתיבה] + --- ### סוגיה 2: ... diff --git a/web/static/index.html b/web/static/index.html index a17b5e4..a49cc19 100644 --- a/web/static/index.html +++ b/web/static/index.html @@ -871,7 +871,7 @@ async function loadCaseView(caseNumber) { `; for (const doc of groups[type]) { let statusHtml; - if (doc.extraction_status === 'completed') { + if (doc.extraction_status === 'completed' || doc.extraction_status === 'proofread') { statusHtml = ''; } else if (doc.extraction_status === 'processing') { statusHtml = ''; @@ -891,7 +891,7 @@ async function loadCaseView(caseNumber) { document.getElementById('caseDocsList').innerHTML = html; // Auto-refresh while documents are still processing - if (data.documents?.some(d => d.extraction_status !== 'completed')) { + if (data.documents?.some(d => d.extraction_status !== 'completed' && d.extraction_status !== 'proofread')) { if (!window._docPollTimer) { window._docPollTimer = setInterval(() => loadCaseView(caseNumber), 5000); } @@ -940,7 +940,7 @@ async function loadLocalFiles(caseNumber) {
${FOLDER_LABELS[folder] || folder} (${data[folder].length})
`; for (const f of data[folder]) { const date = new Date(f.modified_at * 1000); - const dateStr = date.toLocaleDateString('he-IL'); + const dateStr = date.toLocaleDateString('he-IL') + ' ' + date.toLocaleTimeString('he-IL', {hour: '2-digit', minute: '2-digit'}); const url = API + '/cases/' + encodeURIComponent(caseNumber) + '/local-files/' + encodeURIComponent(folder) + '/' + encodeURIComponent(f.filename); html += `