Directories
¶
| Path | Synopsis |
|---|---|
|
bin
|
|
|
brain
command
Commands in this directory are shebang mains (search.go, serve.go, index.go, get.go, stats.go, eval.go, watch.go), each behind an exclusive build tag.
|
Commands in this directory are shebang mains (search.go, serve.go, index.go, get.go, stats.go, eval.go, watch.go), each behind an exclusive build tag. |
|
chat
command
Commands in this directory are shebang mains (sync.go, import.go, facts.go, apply.go), each behind an exclusive build tag so `go build ./bin/chat` does not see two mains.
|
Commands in this directory are shebang mains (sync.go, import.go, facts.go, apply.go), each behind an exclusive build tag so `go build ./bin/chat` does not see two mains. |
|
cron
command
usr/bin/env go run "$0" "$@"; exit
|
usr/bin/env go run "$0" "$@"; exit |
|
facts
command
usr/bin/env bash -c 'exec go run "$0" "$@"' "$0" "$@"; exit
|
usr/bin/env bash -c 'exec go run "$0" "$@"' "$0" "$@"; exit |
|
mail
command
usr/bin/env go run "$0" "$@"; exit bin/mail/sync.go - async download of OnlyOffice, Gmail and M365 mail to var/corpus/mail/.
|
usr/bin/env go run "$0" "$@"; exit bin/mail/sync.go - async download of OnlyOffice, Gmail and M365 mail to var/corpus/mail/. |
|
mail/watch
command
usr/bin/env go run "$0" "$@"; exit
|
usr/bin/env go run "$0" "$@"; exit |
|
markdown
command
Commands in this directory are shebang mains (import.go), tagged so `go build ./bin/markdown` does not see two mains.
|
Commands in this directory are shebang mains (import.go), tagged so `go build ./bin/markdown` does not see two mains. |
|
onlyoffice
command
Commands in this directory are shebang mains (import-contact.go, reconcile-contact.go, …), each behind an exclusive build tag so `go build ./bin/onlyoffice` does not see two mains.
|
Commands in this directory are shebang mains (import-contact.go, reconcile-contact.go, …), each behind an exclusive build tag so `go build ./bin/onlyoffice` does not see two mains. |
|
postgres
command
Commands in this directory are shebang mains (query.go).
|
Commands in this directory are shebang mains (query.go). |
|
reasoner
command
Commands in this directory are shebang mains (bakeoff.go).
|
Commands in this directory are shebang mains (bakeoff.go). |
|
runner
command
usr/bin/env go run "$0" "$@"; exit
|
usr/bin/env go run "$0" "$@"; exit |
|
semver
command
usr/bin/env go run "$0" "$@"; exit
|
usr/bin/env go run "$0" "$@"; exit |
|
shell
command
usr/bin/env go run "$0" "$@"; exit
|
usr/bin/env go run "$0" "$@"; exit |
|
stack
command
usr/bin/env go run "$0" "$@"; exit
|
usr/bin/env go run "$0" "$@"; exit |
|
web
command
usr/bin/env go run "$0" "$@"; exit
|
usr/bin/env go run "$0" "$@"; exit |
|
internal
|
|
|
address
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). |
|
brain
Parallel embedding and batching helpers for corpus writes.
|
Parallel embedding and batching helpers for corpus writes. |
|
brain/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. |
|
brain/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. |
|
canon
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). |
|
config
Package config loads the typed 2dph configuration.
|
Package config loads the typed 2dph configuration. |
|
corpuswatch
Package watch polls corpus directories for changes and re-runs brain/index.
|
Package watch polls corpus directories for changes and re-runs brain/index. |
|
cron
Package cron implements periodic extraction → brain ingest daemons.
|
Package cron implements periodic extraction → brain ingest daemons. |
|
etl
Registry maps stable handler keys ("mail", "git", "markdown", "facts", …) to a Handler.
|
Registry maps stable handler keys ("mail", "git", "markdown", "facts", …) to a Handler. |
|
facts
Package facts is cgo-free evidence rules (D16 contradictions).
|
Package facts is cgo-free evidence rules (D16 contradictions). |
|
gitlog
Package gitlog reads commit history with go-git (no git binary).
|
Package gitlog reads commit history with go-git (no git binary). |
|
items
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). |
|
mailconv
Type-handler registry for mail attachments, keyed by MIME type + extension.
|
Type-handler registry for mail attachments, keyed by MIME type + extension. |
|
mailsync
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. |
|
ocr
Package ocr runs Tesseract (eng+deu) on images and scanned PDFs.
|
Package ocr runs Tesseract (eng+deu) on images and scanned PDFs. |
|
oohtml
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. |
|
runner
Package runner wires the bounded sync-ETL pipeline (#98):
|
Package runner wires the bounded sync-ETL pipeline (#98): |
|
selector
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. |
|
source
Package source implements the unified sync-ETL Source adapter layer (#97).
|
Package source implements the unified sync-ETL Source adapter layer (#97). |
|
websearch
Package websearch is the SearXNG client used as the second independent source.
|
Package websearch is the SearXNG client used as the second independent source. |
|
pkg
|
|
|
cli
Package cli is the shared flaggy wrapper (D23).
|
Package cli is the shared flaggy wrapper (D23). |
|
duckdb
Package duckdb runs in-process DuckDB for columnar aggregates.
|
Package duckdb runs in-process DuckDB for columnar aggregates. |
|
httpapi
Package httpapi serves the 2dph brain over HTTP.
|
Package httpapi serves the 2dph brain over HTTP. |
|
utils
Package utils holds small, dependency-free helpers shared across pkg/ and internal/.
|
Package utils holds small, dependency-free helpers shared across pkg/ and internal/. |
|
test
|
|
|
stress
command
usr/bin/env go run "$0" "$@"; exit
|
usr/bin/env go run "$0" "$@"; exit |
|
system
command
usr/bin/env go run "$0" "$@"; exit
|
usr/bin/env go run "$0" "$@"; exit |
Click to show internal directories.
Click to hide internal directories.