Chaim
701efab726
feat(mcp): FU-14 GAP-51 — איחוד אוצר-המילים של תוצאת-תיק (set_outcome SSoT)
הכרעת-יו"ר: קנוני = 3 תוצאות אמיתיות (rejection/partial_acceptance/full_acceptance);
betterment_levy יוצא מהיותו "תוצאה" ועובר ל-override לפי practice_area.
+ עקרון "אנגלית-ב-DB, עברית-ב-UI": מפת-תוויות SSoT אחת.
lessons.py:
- VALID_OUTCOMES = 3 (הוסר betterment_levy).
- OUTCOME_LABELS_HE (SSoT לתצוגה) + LEGACY_OUTCOME_MAP + canonical_outcome().
- PRACTICE_AREA_OVERRIDES["betterment_levy"] מרכז את כל ה-guidance שהיה מפתוח כ-outcome
(golden_ratios/opening/summary/discussion/template).
- get_lessons_for_outcome(outcome, practice_area) + format_ratios_comment(..., practice_area)
מחילים override + מנרמלים legacy.
block_writer.py: STRUCTURE_GUIDANCE קנוני + תווית מ-OUTCOME_LABELS_HE + override betterment.
workflow.set_outcome: קנוני 3 + מיפוי-legacy סלחני; תווית מ-SSoT.
drafting.py: טבלת יחסי-זהב + get_decision_template מודעי-practice_area (override).
web-ui case.ts: הסרת betterment_levy מ-expectedOutcomes (הוא practice_area).
server.py: docstrings קנוניים.
מיגרציה: migrate_gap51_outcomes.py — 9 שורות נורמלו (rejected→rejection וכו'),
גיבוי ב-data/audit/. הקוד canonicalize בקריאה ⇒ backward-compatible גם בלי מיגרציה.
אומת: py_compile (5 קבצים) + בדיקות-יחידה offline (override/legacy/labels) + אימות-DB.
עודכנו X9 §3 + gap-audit (GAP-51 ✅).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-06 15:34:49 +00:00
..
2026-05-26 08:34:40 +00:00
2026-05-04 06:38:47 +00:00
2026-04-12 23:29:16 +00:00
2026-06-06 15:34:49 +00:00
2026-06-01 04:34:23 +00:00
2026-05-17 12:57:54 +00:00
2026-05-03 18:43:41 +00:00
2026-04-04 14:19:17 +00:00
2026-06-06 13:08:21 +00:00
2026-04-30 14:54:21 +00:00
2026-04-04 14:19:17 +00:00
2026-04-12 23:29:16 +00:00
2026-04-28 16:41:25 +00:00
2026-04-28 16:41:25 +00:00
2026-04-28 16:41:25 +00:00
2026-05-17 16:29:58 +00:00
2026-04-27 07:26:45 +00:00
2026-05-17 16:29:58 +00:00
2026-05-10 05:58:52 +00:00
2026-04-09 14:33:27 +00:00
2026-04-12 23:29:16 +00:00
2026-04-12 23:29:16 +00:00
2026-04-12 23:29:16 +00:00
2026-06-03 12:30:38 +00:00
2026-06-06 13:08:21 +00:00
2026-04-04 14:27:07 +00:00
2026-04-04 14:27:07 +00:00
2026-04-15 10:44:42 +00:00
2026-04-30 18:23:32 +00:00
2026-04-04 14:19:17 +00:00
2026-04-26 19:38:17 +00:00
2026-05-03 20:16:13 +00:00