llm: rule-text source + rules pgvector collection + CLI #595

Closed
opened 2026-08-12 14:51:10 +00:00 by kert · 1 comment
Owner

Component 8. llm.source.iter_rule_docs(store, ...) yielding FR rule full text (TXT attachment preferred) with metadata {doctype:'rule', cms_rule_id, fr_document_number, year}; indexed into new pgvector collection 'rules'; stack llm index --collection rules CLI path.

Spec: docs/superpowers/specs/2026-08-12-cy2026-pfs-proposed-rule-design.md (P36)

Component 8. llm.source.iter_rule_docs(store, ...) yielding FR rule full text (TXT attachment preferred) with metadata {doctype:'rule', cms_rule_id, fr_document_number, year}; indexed into new pgvector collection 'rules'; stack llm index --collection rules CLI path. Spec: docs/superpowers/specs/2026-08-12-cy2026-pfs-proposed-rule-design.md (P36)
kert added this to the P36: CY2026 PFS Proposed Rule — capture, ingest, APM analysis milestone 2026-08-12 14:51:10 +00:00
kert added the llmcli labels 2026-08-12 14:51:10 +00:00
Author
Owner

Merged to main in 53b97b8 (branch p36-cy2026-rule, 17 commits). Done in ad6d3f0 + e85147e. llm.source.iter_rule_docs yields FR rule text (TXT attachment preferred, PDF-extract fallback) with metadata {doctype:rule, cms_rule_id, fr_document_number, year, item_key}; HTML wrapper + inline tags/entities stripped (utf-8, replace); stack llm index --collection rules --key … CLI. Indexed: see #596.

Merged to main in 53b97b8 (branch p36-cy2026-rule, 17 commits). Done in ad6d3f0 + e85147e. llm.source.iter_rule_docs yields FR rule text (TXT attachment preferred, PDF-extract fallback) with metadata {doctype:rule, cms_rule_id, fr_document_number, year, item_key}; HTML wrapper + inline tags/entities stripped (utf-8, replace); stack llm index --collection rules --key … CLI. Indexed: see #596.
kert closed this issue 2026-08-13 20:29:46 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: homelab/stack#595