feat(learning): voice-fingerprint corpus-refresh proposal generator (#161, prose half) #348

Merged
chaim merged 1 commits from worktree-voice-fingerprint-refresh into main 2026-06-28 22:26:39 +00:00
Owner

סוגר את #161 (החצי-הפרוזה של חידוש-פרופיל-הקול). ה-voice-fingerprint הוא הערוץ-הראשי (channel A) שהכותב צורך, אך היה קובץ-פרוזה ידני קפוא שמעולם לא חודש מהקורפוס. PR #345 הפשיר את החצי-המבני (ratios); זה החצי-הפרוזה.

scripts/regenerate_voice_fingerprint.py קורא את הקורפוס (style_corpus + מדגם-דוגמאות חסום + יחסים-מדודים) ומבקש מ-Opus (מקומי) להציע חידודים/תוספות ל-fingerprint — STYLE/METHOD/VOICE/LEXICON בלבד, מעוגן בראיות, בלי מהות (INV-LRN5), תוך שימור התובנות האצורות.

שער-יו"ר קשיח (INV-LRN1): פרוזת-הפרופיל היא ידע-קול, לא כלל-סגנון נמוך-סיכון → לא auto. הסקריפט כותב הצעה ל-data/curator-proposals/ (משטח-ההצעות הקיים) ולעולם לא דורס את הקובץ החי; היו"ר סוקרת ומקבעת ידנית — אותו gate שהפרופיל כבר משתמש בו. רץ על המארח (claude CLI).

שימוש-חוזר ב-claude_session + measure_corpus_ratios + curator-proposals (G2 — אין סינתזה/שער מקבילים). SCRIPTS.md + ספ §0.2 עודכנו.

Invariants

  • INV-LRN1 — שער-יו"ר קשיח לפרוזת-ידע-הקול.
  • INV-LRN5 — סינתזת-סגנון בלבד.
  • G2 — שימוש-חוזר בקלטי-הסינתזה ובמשטח-ההצעות.

py_compile נקי.

🤖 Generated with Claude Code

סוגר את **#161** (החצי-הפרוזה של חידוש-פרופיל-הקול). ה-voice-fingerprint הוא הערוץ-הראשי (channel A) שהכותב צורך, אך היה קובץ-פרוזה ידני קפוא שמעולם לא חודש מהקורפוס. PR #345 הפשיר את החצי-המבני (ratios); זה החצי-הפרוזה. `scripts/regenerate_voice_fingerprint.py` קורא את הקורפוס (style_corpus + מדגם-דוגמאות חסום + יחסים-מדודים) ומבקש מ-Opus (מקומי) להציע חידודים/תוספות ל-fingerprint — **STYLE/METHOD/VOICE/LEXICON בלבד**, מעוגן בראיות, בלי מהות (INV-LRN5), תוך שימור התובנות האצורות. **שער-יו"ר קשיח (INV-LRN1):** פרוזת-הפרופיל היא ידע-קול, לא כלל-סגנון נמוך-סיכון → **לא auto**. הסקריפט כותב **הצעה** ל-`data/curator-proposals/` (משטח-ההצעות הקיים) ו**לעולם לא דורס** את הקובץ החי; היו"ר סוקרת ומקבעת ידנית — אותו gate שהפרופיל כבר משתמש בו. רץ על המארח (claude CLI). שימוש-חוזר ב-claude_session + measure_corpus_ratios + curator-proposals (G2 — אין סינתזה/שער מקבילים). SCRIPTS.md + ספ §0.2 עודכנו. ## Invariants - **INV-LRN1** — שער-יו"ר קשיח לפרוזת-ידע-הקול. - **INV-LRN5** — סינתזת-סגנון בלבד. - **G2** — שימוש-חוזר בקלטי-הסינתזה ובמשטח-ההצעות. py_compile נקי. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
chaim added 1 commit 2026-06-28 22:26:29 +00:00
feat(learning): voice-fingerprint corpus-refresh proposal generator (#161, prose half)
All checks were successful
G12 Leak-Guard / leak-guard (pull_request) Successful in 4s
Lint — undefined names / undefined-names (pull_request) Successful in 11s
9a19db1ec1
The voice-fingerprint (docs/daphna-voice-fingerprint.md) is the PRIMARY abstract
style channel the writer consumes (07-learning §0.2 channel A), but it was
hand-authored and never regenerated from the growing corpus — the "voice" the
writer adapts stayed frozen while finals accumulated. PR #345 unfroze the
structural half (corpus-measured ratios → writer); this is the prose half.

scripts/regenerate_voice_fingerprint.py reads the corpus (style_corpus stats +
a bounded block-level style_exemplars sample + measured section ratios) and asks
Opus (local) to PROPOSE refinements/additions to the fingerprint — STYLE / METHOD
/ VOICE / LEXICON only, grounded in corpus evidence, never case substance
(INV-LRN5), preserving curated insights rather than replacing them.

CHAIR-GATED, HARD (INV-LRN1): the prose profile is voice-knowledge, not a
low-risk style rule, so it does NOT auto-flow. The script writes a PROPOSAL to
data/curator-proposals/ (the existing curator-proposal surface) and NEVER
overwrites the live fingerprint; the chair reviews and hand-commits accepted parts
— the same manual gate the fingerprint already uses. Runs on the host (claude CLI).

Reuses claude_session + measure_corpus_ratios + the curator-proposals dir (G2 —
no parallel synthesis or gate). SCRIPTS.md + spec §0.2 updated.

Invariants: INV-LRN1 (hard chair gate for voice-knowledge prose), INV-LRN5
(style-only synthesis), G2 (reuses existing synthesis inputs + proposal surface).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
chaim merged commit 7a7db6933d into main 2026-06-28 22:26:39 +00:00
chaim deleted branch worktree-voice-fingerprint-refresh 2026-06-28 22:26:39 +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#348