Huginn/crates/eureka-pipeline
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Eureka dcc51c170f huginn-mind: desk answers take the decider list as input, store attribution, received_at and request_id
DeskStamp carries answerer, attribution (Operator/Steward/Member per CultLib PR #72) and the decider
list; membership decides rule 5, the attribution never does. answer_desk and DeskStamp are crate-private.
The receipt names the operator only for the operator's account. counted_answer and R1 consider
options_hash. A stored answer keeps received_at, claim_in_future, request_id and a body digest;
the same (answerer, request_id) and body replays the stored outcome and writes nothing, another
body is request_id_conflict. Notes are Words (1..=4000 bytes, not blank); answered_at must be UTC.
The vector file is re-sliced byte for byte from PR #72 head 2dea6c56.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 15:46:02 +00:00
..
golden huginn-mind: desk answers take the decider list as input, store attribution, received_at and request_id 2026-11-10 15:46:02 +00:00
src huginn-mind: desk answers take the decider list as input, store attribution, received_at and request_id 2026-11-10 15:46:02 +00:00
Cargo.toml Relicense the workspace AGPL-3.0-only, own the CultLib rev once, index every schema 2026-10-09 15:15:10 +02:00
README.md Delete the migration-era read-back tests and the leaf's overlapping real-store gate 2026-10-26 14:02:51 +01:00

eureka-pipeline

The pipeline leaf: typed documents, bounds, keys and the cultcache wrappers that define the mind's wire. Library only.

Provenance and license

Copied once from GameCult/Epiphany at ef956865, where it was licensed PolyForm Noncommercial. Its sole copyright holder relicensed it AGPL-3.0-only on 2026-10-09; the root LICENSE is the AGPL-3.0 text and covers this crate like the rest of the workspace.

Wire parity checks

Committed (runs in cargo test -p eureka-pipeline): encoded_envelopes_match_the_committed_golden asserts key, cultcache type id, schema name and payload bytes of every kind and every encoding-relevant variant against golden/envelopes.txt. A diff there is a wire change; do not regenerate it to make the test pass. An additive field adds golden lines and never changes an existing one.

The real-store gate is huginn-mind's #[ignore] query::tests::stored_documents_read_back, which checks these stored bytes and the read path together (the leaf cannot see the read path); the Huginn Upgrade runbook in gamecult-ops runs it.