feat(ui): דף /scripts — קטלוג סקריפטים read-only מ-SCRIPTS.md #203

Merged
chaim merged 1 commits from worktree-scripts-catalog-page into main 2026-06-11 19:43:23 +00:00
Owner

מה זה עושה

מוסיף דף /scripts שמציג קטלוג של כל הסקריפטים בתיקיית scripts/ — שם · סוג · תפקיד · תזמון — ישירות מ-scripts/SCRIPTS.md.

זמין ב: https://legal-ai.nautilus.marcusgroup.org/scripts (אחרי deploy).

איך

  • web/app.pyGET /api/scripts/catalog קורא את scripts/SCRIPTS.md בזמן-ריצה ומחזיר {content, filename, bytes, last_modified, gitea_url}. מחקה במדויק את דפוס get_curator_prompt (טאב /training). שגיאה → HTTPException (אין בליעה שקטה).
  • DockerfileCOPY scripts/SCRIPTS.md (הקובץ לא הועתק לקונטיינר עד כה).
  • web-ui — דף /scripts (AppShell + רכיב Markdown הקיים, RTL, רינדור טבלאות GFM) + מודול lib/api/scripts.ts + קישור ניווט תחת "תפעול/אבחון".
  • scripts/SCRIPTS.md — תועד ingest_bulletins.py (היה הקובץ היחיד מ-73 הסקריפטים שלא היה מתועד).

הצהרת invariants

  • G2 — מקור-אמת יחיד: הדף מגיש את SCRIPTS.md verbatim, לא משכפל/מתאר מחדש תוכן. עריכה דרך git.
  • G12 — אין מגע-Paperclip.
  • X6 — UI↔API: endpoint חדש + מודול-API מוקלד בעבודת-יד (כמו CuratorPrompt).

אימות

  • tsc --noEmit — 0 שגיאות בכל הפרויקט.
  • eslint על הקבצים החדשים — נקי.
  • next build מקומי לא רץ ב-worktree (סימלינק node_modules + Turbopack) — שער ה-build הוא ה-Docker build ב-CI.
  • ריקונסיליאציה: 73/73 הסקריפטים בתיקייה מתועדים ב-SCRIPTS.md.

🤖 Generated with Claude Code

## מה זה עושה מוסיף דף **`/scripts`** שמציג קטלוג של כל הסקריפטים בתיקיית `scripts/` — שם · סוג · תפקיד · תזמון — ישירות מ-`scripts/SCRIPTS.md`. זמין ב: https://legal-ai.nautilus.marcusgroup.org/scripts (אחרי deploy). ## איך - **`web/app.py`** — `GET /api/scripts/catalog` קורא את `scripts/SCRIPTS.md` בזמן-ריצה ומחזיר `{content, filename, bytes, last_modified, gitea_url}`. מחקה במדויק את דפוס `get_curator_prompt` (טאב /training). שגיאה → `HTTPException` (אין בליעה שקטה). - **`Dockerfile`** — `COPY scripts/SCRIPTS.md` (הקובץ לא הועתק לקונטיינר עד כה). - **`web-ui`** — דף `/scripts` (`AppShell` + רכיב `Markdown` הקיים, RTL, רינדור טבלאות GFM) + מודול `lib/api/scripts.ts` + קישור ניווט תחת "תפעול/אבחון". - **`scripts/SCRIPTS.md`** — תועד `ingest_bulletins.py` (היה הקובץ היחיד מ-73 הסקריפטים שלא היה מתועד). ## הצהרת invariants - **G2** — מקור-אמת יחיד: הדף מגיש את `SCRIPTS.md` verbatim, לא משכפל/מתאר מחדש תוכן. עריכה דרך git. - **G12** — אין מגע-Paperclip. - **X6** — UI↔API: endpoint חדש + מודול-API מוקלד בעבודת-יד (כמו `CuratorPrompt`). ## אימות - `tsc --noEmit` — 0 שגיאות בכל הפרויקט. - `eslint` על הקבצים החדשים — נקי. - `next build` מקומי לא רץ ב-worktree (סימלינק node_modules + Turbopack) — שער ה-build הוא ה-Docker build ב-CI. - ריקונסיליאציה: 73/73 הסקריפטים בתיקייה מתועדים ב-SCRIPTS.md. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
chaim added 1 commit 2026-06-11 19:43:18 +00:00
feat(ui): דף /scripts — קטלוג סקריפטים read-only מ-SCRIPTS.md
All checks were successful
G12 Leak-Guard / leak-guard (pull_request) Successful in 8s
8651529327
מגיש את scripts/SCRIPTS.md כדף ב-/scripts: שם · סוג · תפקיד · תזמון
לכל סקריפט בתיקיית scripts/. מקור-האמת היחיד נשאר SCRIPTS.md (G2 — אין
מסלול-תוכן מקביל); עריכה דרך git, לא מה-UI.

- web/app.py: GET /api/scripts/catalog קורא את הקובץ בזמן-ריצה (מחקה את
  דפוס get_curator_prompt; HTTPException על כשל — אין בליעה שקטה §6)
- Dockerfile: COPY scripts/SCRIPTS.md (לא הועתק לקונטיינר עד כה)
- web-ui: דף /scripts (AppShell + רכיב Markdown הקיים) + מודול api + קישור ניווט
- SCRIPTS.md: תיעוד ingest_bulletins.py — היה הקובץ היחיד מ-73 שלא תועד

Invariants: G2 (מקור-אמת יחיד), G12 (אין מגע-Paperclip), X6 (UI↔API).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
chaim merged commit e3dc7958b2 into main 2026-06-11 19:43:23 +00:00
chaim deleted branch worktree-scripts-catalog-page 2026-06-11 19:43:24 +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#203