feat(style-acq T7): מדד מרחק-סגנון — סוגר את ה-MVP #76

Merged
chaim merged 1 commits from worktree-style-acquisition-mvp into main 2026-06-06 17:33:52 +00:00
Owner

רקע

המדד שמוכיח התכנסות לדפנה (INV-LRN4) — דטרמיניסטי, ללא LLM. סוגר את ה-MVP (T0 פרופיל לכותב + T4/T5 לולאת-למידה + T7 מדד) + T15 (הכותב צורך הכל).

מה כולל

  • lessons.ANTI_PATTERNS — אנטי-דפוסים נמדדים מ-daphna-voice-fingerprint.md §3 (המתוקן): מספרים-ידניים, רשימת-מיני (1)..(2), כותרות markdown, תבליטים.
  • services/style_distance.py — 3 רכיבים: golden_ratio_adherence (סטיית אחוזי-סעיפים מ-GOLDEN_RATIOS), anti_pattern_hits, draft_to_final_diff (change_percent מ-draft_final_pairs). מקור-אמת אחד עם lessons.py.
  • MCP tool style_distance(case_number).

אימות

  • syntax OK (3 קבצים); imports קיימים; מקור-אמת אחד (GOLDEN_RATIOS/ANTI_PATTERNS).
  • פריסה: MCP מקומי — restart.

Invariants

INV-LRN4 · G9.

🤖 Generated with Claude Code

## רקע המדד שמוכיח התכנסות לדפנה (INV-LRN4) — דטרמיניסטי, ללא LLM. **סוגר את ה-MVP** (T0 פרופיל לכותב + T4/T5 לולאת-למידה + T7 מדד) + T15 (הכותב צורך הכל). ## מה כולל - **`lessons.ANTI_PATTERNS`** — אנטי-דפוסים נמדדים מ-`daphna-voice-fingerprint.md` §3 (המתוקן): מספרים-ידניים, רשימת-מיני `(1)..(2)`, כותרות markdown, תבליטים. - **`services/style_distance.py`** — 3 רכיבים: `golden_ratio_adherence` (סטיית אחוזי-סעיפים מ-GOLDEN_RATIOS), `anti_pattern_hits`, `draft_to_final_diff` (change_percent מ-`draft_final_pairs`). מקור-אמת אחד עם lessons.py. - **MCP tool `style_distance(case_number)`**. ## אימות - [x] syntax OK (3 קבצים); imports קיימים; מקור-אמת אחד (GOLDEN_RATIOS/ANTI_PATTERNS). - פריסה: MCP מקומי — restart. ## Invariants INV-LRN4 · G9. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
chaim added 1 commit 2026-06-06 17:33:22 +00:00
סוגר את ה-MVP (T0+T4+T5+T7): מטא-אות על בריאות-הלמידה (INV-LRN4),
דטרמיניסטי וללא LLM.

- lessons.ANTI_PATTERNS — אנטי-דפוסים נמדדים (מ-voice-fingerprint §3 המתוקן):
  מספרים-ידניים, רשימת-מיני (1)..(2), כותרות markdown, תבליטים.
- services/style_distance.py — 3 רכיבים: golden_ratio_adherence (סטיית
  אחוזי-סעיפים מ-GOLDEN_RATIOS), anti_pattern_hits, draft_to_final_diff
  (change_percent מפנקס-ההתאמה). מקור-אמת אחד עם lessons.py.
- MCP tool style_distance(case_number).

INV-LRN4. G9.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
chaim merged commit dd46ffb3e3 into main 2026-06-06 17:33:52 +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#76