6b2fd562ae8e046053a6fbf55357d45c48944dc3
extract() routes to _extract_via_panel when HALACHA_PANEL_REGIME_ENABLED: the 3-model panel proposes → votes/score → approval rule → dedup vs corpus (known links as citation, frees a cap slot) → cap HALACHA_PANEL_MAX_NEW genuinely-new principles/decision (by score), rest dropped. Replaces single-model auto-approve; legacy path kept as <2-judge fallback. db.store_panel_principles persists the pre-decided verdict + source-aware canonical create/link (G9 reviewer=panel:...). Dry-run validated on 29468-08-23: ~18 → 4 principles. 6 new tests; full suite 422 green. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
feat(principles): canonical_statement synthesis service + throttled backfill (Phase E groundwork, #152)
feat(principles): canonical_statement synthesis service + throttled backfill (Phase E groundwork, #152)
Description
AI Legal Decision Drafting System — MCP server, web upload, RAG search
Languages
Python
65%
TypeScript
32.9%
JavaScript
1.1%
Shell
0.7%
CSS
0.2%