| Filename | Latest commit message | Latest commit date |
|---|---|---|
huginn-mind::index owns what of a document is searchable: index_text is a pure function per kind, Mind::index_entries builds the entries with the writing receipt's ordinal, INDEX_TEXT_VERSION says when the rule changed. huginn-daemon::index owns the projection. A Projector reconciles the mind against the collection at startup (the only place a point is judged missing: set difference on point ids, rebuild when the model name, digest, dimensions or text version differ, refuse a collection that is not this instance's) and one worker thread embeds and upserts in batches of 32, retrying with a 30 s to 10 min backoff. IndexSink::committed builds entries and leaves them in an inbox; admission never waits on the embedder or on Qdrant. Whoami reports the worker's health as IndexStatus. The Ollama and Qdrant adapters are the only files holding HTTP or JSON (ureq 3, no TLS). The daemon now requires --qdrant-url, --ollama-url and --embedding-model; NoIndex leaves the binary. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
| .. | ||
| huginn.mind_request.v1.schema.json | ||
| huginn.mind_response.v1.schema.json | ||
| README.md | ||
Huginn's CultNet contracts
huginn.mind_request.v1 and huginn.mind_response.v1 are the organ's own wire
schemas, published from here because Huginn owns them. huginn-daemon serves
them on a cultnet.schema_catalog_request.v0; nothing else reads them.
Each file is serde_json::to_string_pretty of schemars::schema_for! over the
type of the same name in crates/huginn-mind/src/wire.rs. Regenerate by hand
and the test refuses it:
cargo test -p huginn-mind --lib -- --exact wire::tests::published_wire_schemas_match_derivation
compares file to derivation byte for byte.