feat(citation-verify): frontend "אימות פסיקה" tab (#154) #325

Merged
chaim merged 1 commits from worktree-citation-verify-frontend into main 2026-06-20 18:19:28 +00:00
Owner

החצי-frontend של פאנל-אימות-הפסיקה (backend ב-#323), כטאב השלישי המוסכם ב-/compose — תואם למוקאפ-X17 המאושר 24-citation-verification:

  • lib/api/citation-verification.ts — types + useCitationVerification (query) + useVerifyCitation (mutation, מבטל-תוקף את ה-view).
  • components/compose/citation-verification-panel.tsx — לכל סוגיה: פסיקה תומכת עם צ'יפי-סמכות (אומץ ×N / אובחן ×N), ה-supporting_quote המדויק, פעולות ✓ מאמת / ✗ לא רלוונטי, הערת-יו"ר לכל ציטוט, ו-📡 רדאר per-issue (יומונים לא-מקושרים, מצביע-בלבד). סרגל-סיכום + תזכורות INV-AH/INV-DIG1.
  • דף-קומפוז — טאב שלישי "אימות פסיקה" לצד עורך-הבלוקים / עמדות-וטענות.

ללא api:types (ה-endpoints מחזירים dict מורכב; types נכתבו ידנית לפי קונבנציית lib/api). tsc+eslint נקי.

Invariants: INV-AH (ה-writer מצטט רק מאומתים) · INV-DIG1 (יומון לא מצוטט) · G2 (צורך את ה-view היחיד). העיצוב תואם למוקאפ שאושר בשער.

🤖 Generated with Claude Code

החצי-frontend של פאנל-אימות-הפסיקה (backend ב-#323), כטאב השלישי המוסכם ב-/compose — תואם למוקאפ-X17 המאושר `24-citation-verification`: - **`lib/api/citation-verification.ts`** — types + `useCitationVerification` (query) + `useVerifyCitation` (mutation, מבטל-תוקף את ה-view). - **`components/compose/citation-verification-panel.tsx`** — לכל סוגיה: פסיקה תומכת עם צ'יפי-סמכות (**אומץ ×N / אובחן ×N**), ה-`supporting_quote` המדויק, פעולות **✓ מאמת / ✗ לא רלוונטי**, **הערת-יו"ר** לכל ציטוט, ו-**📡 רדאר** per-issue (יומונים לא-מקושרים, מצביע-בלבד). סרגל-סיכום + תזכורות INV-AH/INV-DIG1. - **דף-קומפוז** — טאב שלישי "אימות פסיקה" לצד עורך-הבלוקים / עמדות-וטענות. ללא `api:types` (ה-endpoints מחזירים dict מורכב; types נכתבו ידנית לפי קונבנציית `lib/api`). tsc+eslint נקי. Invariants: INV-AH (ה-writer מצטט רק מאומתים) · INV-DIG1 (יומון לא מצוטט) · G2 (צורך את ה-view היחיד). העיצוב תואם למוקאפ שאושר בשער. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
chaim added 1 commit 2026-06-20 18:19:22 +00:00
feat(citation-verify): frontend "אימות פסיקה" tab in the decision editor (#154)
All checks were successful
G12 Leak-Guard / leak-guard (pull_request) Successful in 4s
Lint — undefined names / undefined-names (pull_request) Successful in 11s
5108c854cf
Frontend half of the citation-verification panel (backend in #323), as the agreed
third tab in /compose — matching the approved X17 mockup 24-citation-verification:

- lib/api/citation-verification.ts: hand-written types + useCitationVerification
  query + useVerifyCitation mutation (POST verify, invalidates the view).
- components/compose/citation-verification-panel.tsx: per legal argument →
  supporting corpus precedents with the cited_by authority chips (אומץ ×N /
  אובחן ×N), the exact supporting_quote, ✓ מאמת / ✗ לא רלוונטי verify actions, a
  per-citation chair-note field, and the per-issue 📡 radar (unlinked digests,
  pointer-only). Summary strip + INV-AH/INV-DIG1 reminders.
- compose page: third tab "אימות פסיקה" alongside עורך הבלוקים / עמדות וטענות.

No api:types regen needed (endpoints return assembled dicts; types hand-written
per the lib/api convention). tsc + eslint clean.

Invariants: INV-AH (writer cites only verified), INV-DIG1 (digest never cited),
G2 (consumes the one backend view). Visual matches the gate-approved mockup.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
chaim merged commit a3e612f22b into main 2026-06-20 18:19:28 +00:00
chaim deleted branch worktree-citation-verify-frontend 2026-06-20 18:19:28 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ezer-mishpati/legal-ai#325