feat(pipeline): עמידות (LangGraph) ל-final_halacha (P0, X16/INV-DUR1, #114) #178
Reference in New Issue
Block a user
Delete Branch "worktree-langgraph-durable-pipeline"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
מה ולמה
P0 (X16). מביא durable execution לפייפליין-אימות-ההלכות: קריסה/OOM בפאנל הארוך [3] ממשיכה מ-[3] במקום להריץ מחדש את [0]–[2] (מניע: סיכון OOM מ-task-master). תלוי ב-#108 (חילוץ אטומי) שכבר מוזג.
scripts/_pipeline_runtime.py— runtime עמידות משותף (G2): עוטף צעדים-async ב-LangGraphStateGraphליניארי עםAsyncSqliteSaver(checkpoint לכל צעד; resume מדלג על שהושלמו). degradation חיננית — ללא langgraph רץ ליניארי כמו קודם, הכפתור לא נשבר.final_halacha_pipeline.py— 4 הצעדים דרך ה-runtime; CLI זהה +--fresh(ברירת-מחדל auto-resume). thread יציב לכל תיק; dry-run = preview נפרד.pyproject— extradurable(host-only, optional).data/checkpoints/ב-gitignore.גבול (X16 §1): LangGraph כמנוע-פנימי בלבד — לא orchestrator (לא מסלול מקביל ל-Paperclip; G2/G12). HITL נשאר בשערי-היו"ר.
Invariants — הצהרה (חובה)
צ'קליסט — פרוטוקול כתיבת-קוד
אימות
⚠️ הפעלת עמידות בייצור (לא חלק מה-merge):
cd mcp-server && pip install -e ".[durable]"בעץ הראשי (host-only — הפייפליין local-only). עד אז = ריצה ליניארית. הרצת kill/resume מקצה-לקצה על הפייפליין החי (DB+LLM) מומלצת לאחר ההתקנה.🤖 Generated with Claude Code