internal/

directory
v0.24.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2026 License: MIT

Directories

Path Synopsis
Package address implements canonical content URL addressing for the ETL layer (AGENTS #100).
Package address implements canonical content URL addressing for the ETL layer (AGENTS #100).
Потоковая/чанкованная запись корпуса (issue #237): корпус не накапливается в одном срезе — CountCorpus считает leafs, WriteCorpusChunked стримит источники и пишет чанками по size.
Потоковая/чанкованная запись корпуса (issue #237): корпус не накапливается в одном срезе — CountCorpus считает leafs, WriteCorpusChunked стримит источники и пишет чанками по size.
ann
bench
Package bench implements the A/B search benchmark harness (issue #202): a fixed golden-set of queries is run through a search implementation and scored on latency (p50/p95/mean), recall@5/@10 and CPU/RSS.
Package bench implements the A/B search benchmark harness (issue #202): a fixed golden-set of queries is run through a search implementation and scored on latency (p50/p95/mean), recall@5/@10 and CPU/RSS.
rank
Package rank is the cgo-free ranking and CLI parsing for brain search.
Package rank is the cgo-free ranking and CLI parsing for brain search.
Package canon is the conversation-canon evidence layer for the sync-ETL pipeline (epic #88, issue #99).
Package canon is the conversation-canon evidence layer for the sync-ETL pipeline (epic #88, issue #99).
Package config loads the typed 2dph configuration.
Package config loads the typed 2dph configuration.
Package contract — единый контракт записи leaf в Ladybug (2dph).
Package contract — единый контракт записи leaf в Ladybug (2dph).
Package corpus — адаптеры источников корпуса (P-9.3), cgo-free.
Package corpus — адаптеры источников корпуса (P-9.3), cgo-free.
Package watch polls corpus directories for changes and re-runs brain/index.
Package watch polls corpus directories for changes and re-runs brain/index.
Package cron implements periodic extraction → brain ingest daemons.
Package cron implements periodic extraction → brain ingest daemons.
Package docbody enriches gator kind=document Leafs with the text of the PDF body (T12, #310).
Package docbody enriches gator kind=document Leafs with the text of the PDF body (T12, #310).
Package docgraph — коннектор gator kind=document → searchable Leaf (C1 #117, ADR-0013).
Package docgraph — коннектор gator kind=document → searchable Leaf (C1 #117, ADR-0013).
Package dockerctl is a minimal Docker Engine API client over the local unix socket, enough for the index-sync cycle to quiesce and restart the compose brain service: find one container by compose labels, stop it, start it, inspect its running/health state.
Package dockerctl is a minimal Docker Engine API client over the local unix socket, enough for the index-sync cycle to quiesce and restart the compose brain service: find one container by compose labels, stop it, start it, inspect its running/health state.
Package docpipe implements the hybrid PDF handler PoC (epic #219, issue #223): a pdftotext -layout fast path for text-layer PDFs plus the warm liteparse JSON path (docker compose exec via internal/research.Runner) for scans/complex documents, with table reconstruction from text_items geometry (y-buckets → rows, x-sort → cells).
Package docpipe implements the hybrid PDF handler PoC (epic #219, issue #223): a pdftotext -layout fast path for text-layer PDFs plus the warm liteparse JSON path (docker compose exec via internal/research.Runner) for scans/complex documents, with table reconstruction from text_items geometry (y-buckets → rows, x-sort → cells).
Registry maps stable handler keys ("mail", "git", "markdown", "facts", …) to a Handler.
Registry maps stable handler keys ("mail", "git", "markdown", "facts", …) to a Handler.
Package facts is cgo-free evidence rules: D16 contradictions (Adjudicate/CheckFactRow) and L-9.3 formal URL checks (CheckFormal/CanonicalURL, identity/contradiction/excluded_middle).
Package facts is cgo-free evidence rules: D16 contradictions (Adjudicate/CheckFactRow) and L-9.3 formal URL checks (CheckFormal/CanonicalURL, identity/contradiction/excluded_middle).
Package gitgraph — коннектор git-истории → граф 2dph (L-9.4 #233).
Package gitgraph — коннектор git-истории → граф 2dph (L-9.4 #233).
Package gitlog reads commit history with go-git (no git binary).
Package gitlog reads commit history with go-git (no git binary).
Package incubator imports legacy mail corpora (Thunderbird profile dumps, .eml trees) into a docker-mailserver incubator mailbox via doveadm save (issue #252 / epic #250).
Package incubator imports legacy mail corpora (Thunderbird profile dumps, .eml trees) into a docker-mailserver incubator mailbox via doveadm save (issue #252 / epic #250).
Corpus flag/env plumbing for the index-loop CLI (#317): the skills tree is indexed by brain-index --corpus as part of the periodic cycle.
Corpus flag/env plumbing for the index-loop CLI (#317): the skills tree is indexed by brain-index --corpus as part of the periodic cycle.
Package items implements granular content splitting (AGENTS #100): an html/markdown body is decomposed BEFORE insertion into a typed tree of Items (paragraph / heading / table / row / cell / image / link / page).
Package items implements granular content splitting (AGENTS #100): an html/markdown body is decomposed BEFORE insertion into a typed tree of Items (paragraph / heading / table / row / cell / image / link / page).
Type-handler registry for mail attachments, keyed by MIME type + extension.
Type-handler registry for mail attachments, keyed by MIME type + extension.
Package mailgraph — коннектор gator kind=mail → граф 2dph (D-1.3 #260).
Package mailgraph — коннектор gator kind=mail → граф 2dph (D-1.3 #260).
Package synccmd wires the sync library to a CLI: reads .env, parses flags, picks sources, prints stats.
Package synccmd wires the sync library to a CLI: reads .env, parses flags, picks sources, prints stats.
Package network — сеть связей L-9.5 (#234): «с кем и через кого» из mail+commits поверх готового графа (D-1 #257: Message/Person/рёбра; L-9.4 #233: Commit/Person/AUTHORED).
Package network — сеть связей L-9.5 (#234): «с кем и через кого» из mail+commits поверх готового графа (D-1 #257: Message/Person/рёбра; L-9.4 #233: Commit/Person/AUTHORED).
Package ocr runs Tesseract (eng+deu) on images and scanned PDFs.
Package ocr runs Tesseract (eng+deu) on images and scanned PDFs.
Package oohtml builds the branded produktor.io HTML mail template and runs the render-check gate that blocks sending until the draft round-trips with paragraphs, the cid-embedded logo and the signature intact.
Package oohtml builds the branded produktor.io HTML mail template and runs the render-check gate that blocks sending until the draft round-trips with paragraphs, the cid-embedded logo and the signature intact.
Package ooimport — коннектор сети связей → OnlyOffice CRM (N-1.2 #269, epic #267).
Package ooimport — коннектор сети связей → OnlyOffice CRM (N-1.2 #269, epic #267).
Package research holds the liteparse integration primitives shared by the A/B harness (bin/research/ab.go) and the struct-data ETL tool (bin/research/convert.go).
Package research holds the liteparse integration primitives shared by the A/B harness (bin/research/ab.go) and the struct-data ETL tool (bin/research/convert.go).
Package rules — типизированный каталог правил вывода (epic #324).
Package rules — типизированный каталог правил вывода (epic #324).
Package runner wires the bounded sync-ETL pipeline (#98):
Package runner wires the bounded sync-ETL pipeline (#98):
Package selector implements the point-retrieval selector mini-language (AGENTS #100): a DOM/jQuery-like structural selector over a typed Item tree.
Package selector implements the point-retrieval selector mini-language (AGENTS #100): a DOM/jQuery-like structural selector over a typed Item tree.
Package skills validates that in-repo skills only reference tools that exist.
Package skills validates that in-repo skills only reference tools that exist.
Package source implements the unified sync-ETL Source adapter layer (#97).
Package source implements the unified sync-ETL Source adapter layer (#97).
Package websearch is the SearXNG client used as the second independent source.
Package websearch is the SearXNG client used as the second independent source.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL