feat(learning): feed corpus-measured ratios to the writer (P2 #7, structural half) #345
Reference in New Issue
Block a user
Delete Branch "worktree-corpus-ratios-writer"
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?
הפער שנסגר
יחסי-הזהב נמדדו מהקורפוס (
measure_corpus_ratios) אך מעולם לא הגיעו לכותב — הוא השתמש רק ב-STRUCTURE_GUIDANCEהקשיח. המבנה-היעד היה קפוא, והטיוטות סטו (למשל בלוק-דיון 10% מול יעד 40-47%) ללא סיגנל-תיקון.התיקון
_structure_guidance_with_corpus(outcome, practice_area)מצרף עכשיו את היחסים המדודים-מהקורפוס ל-structure_guidance בשני אתרי-הכותב (write_block + get_block_context) דרך helper יחיד (G2). מכיוון ש-measure_corpus_ratiosקורא מ-style_corpus— שגדל בכל סופי (ראה #343) — המבנה-היעד של הכותב משקף את ההתפלגות האמיתית הנוכחית של דפנה ומשתפר ככל שהקורפוס גדל. דטרמיניסטי (ללא LLM); best-effort.הסתייגות (היקף #7)
זהו החצי המבני של חידוש-פרופיל-הקול. החצי הנותר — חידוש פרוזת ה-voice-fingerprint ע"י LLM מהקורפוס (מגודר-יו"ר) — הוא יוזמה גדולה ונפרדת, נדחתה במכוון ולא נדחפה בחיפזון בסוף סשן-מרתון.
Invariants
py_compile נקי.
🤖 Generated with Claude Code