Huginn/crates/eureka-pipeline
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Eureka 4dc97f6416 Desk door: the listing gate and the account-id grammar at decode
A non-decider reads a fork only while the Mind's desk_listing for it is in force; a decider sees
every showable fork. Counts, pages and cursors are over the visible set; a hidden fork reads as a
missing one (same bytes). New kind desk_listing (epiphany.pipeline.desk_listing.v2, key
<campaign>:desk_listing:<question-label>; unlist = Withdrawn resolution, relist = withdraw that),
new citation role Listed (ALL is 27), admitted on the Admit door only (the desk door refuses one).

subject and every deciders entry are AccountId (lowercase D-format UUID) at decode, refused as
payload-not-a-request naming the field and never the value; the stored desk_answer.answerer is an
AccountId. The longest kind name is now desk_listing, so the resolution local bound is 112.

Tests move to account ids (fixtures::account); refused-request fixtures and their failure frames;
all published schemas, the golden envelopes and the catalog index regenerated.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 20:56:27 +00:00
..
golden Desk door: the listing gate and the account-id grammar at decode 2026-11-11 20:56:27 +00:00
src Desk door: the listing gate and the account-id grammar at decode 2026-11-11 20:56:27 +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.