Huginn/crates/huginn-mind/tests/fixtures/desk-feed
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Eureka d08b8880ff Desk feed door: the door withholds account ids from non-deciders (proposed shapes, CultLib change owed)
Persona's ruling (follow-up chat-mind-20261111T150417226Z-t167): a
reader is a decider when subject is in the call's deciders; any other
reader gets no decider or answerer ids, only counts, and Huginn does it
because the card is opaque to Bifrost. CultLib's closed card (deciders
minItems 1, no count) and non-null answerer cannot carry it yet, so the
doc names the proposal to Libby and the fixtures add clearly synthetic
card fragments and a proposed non-decider record, with a test that no
account id appears in a non-decider's bytes and a decider keeps them.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 17:38:52 +00:00
..
.gitattributes Desk feed door doc: read-form fork_too_large, Refused shapes, fork source, gate not live 2026-11-11 17:14:27 +00:00
card-viewers-decider.synthetic.payload.hex Desk feed door: the door withholds account ids from non-deciders (proposed shapes, CultLib change owed) 2026-11-11 17:38:52 +00:00
card-viewers-decider.synthetic.payload.msgpack Desk feed door: the door withholds account ids from non-deciders (proposed shapes, CultLib change owed) 2026-11-11 17:38:52 +00:00
card-viewers-non-decider.synthetic.payload.hex Desk feed door: the door withholds account ids from non-deciders (proposed shapes, CultLib change owed) 2026-11-11 17:38:52 +00:00
card-viewers-non-decider.synthetic.payload.msgpack Desk feed door: the door withholds account ids from non-deciders (proposed shapes, CultLib change owed) 2026-11-11 17:38:52 +00:00
error.response.frame.bin Desk feed door: list/read wire contract and golden fixtures for Bifrost 2026-11-11 17:03:12 +00:00
error.response.frame.hex Desk feed door: list/read wire contract and golden fixtures for Bifrost 2026-11-11 17:03:12 +00:00
failure.response.frame.bin Desk feed door: list/read wire contract and golden fixtures for Bifrost 2026-11-11 17:03:12 +00:00
failure.response.frame.hex Desk feed door: list/read wire contract and golden fixtures for Bifrost 2026-11-11 17:03:12 +00:00
failure.response.payload.hex Desk feed door: list/read wire contract and golden fixtures for Bifrost 2026-11-11 17:03:12 +00:00
failure.response.payload.msgpack Desk feed door: list/read wire contract and golden fixtures for Bifrost 2026-11-11 17:03:12 +00:00
list-counts.request.frame.bin Desk feed door: account ids are lowercase D-format UUIDs; fixtures and a test pin it 2026-11-11 17:35:49 +00:00
list-counts.request.frame.hex Desk feed door: account ids are lowercase D-format UUIDs; fixtures and a test pin it 2026-11-11 17:35:49 +00:00
list-counts.request.payload.hex Desk feed door: account ids are lowercase D-format UUIDs; fixtures and a test pin it 2026-11-11 17:35:49 +00:00
list-counts.request.payload.msgpack Desk feed door: account ids are lowercase D-format UUIDs; fixtures and a test pin it 2026-11-11 17:35:49 +00:00
list-counts.response.frame.bin Desk feed door: list/read wire contract and golden fixtures for Bifrost 2026-11-11 17:03:12 +00:00
list-counts.response.frame.hex Desk feed door: list/read wire contract and golden fixtures for Bifrost 2026-11-11 17:03:12 +00:00
list-counts.response.payload.hex Desk feed door: list/read wire contract and golden fixtures for Bifrost 2026-11-11 17:03:12 +00:00
list-counts.response.payload.msgpack Desk feed door: list/read wire contract and golden fixtures for Bifrost 2026-11-11 17:03:12 +00:00
list-empty.response.frame.bin Desk feed door: list/read wire contract and golden fixtures for Bifrost 2026-11-11 17:03:12 +00:00
list-empty.response.frame.hex Desk feed door: list/read wire contract and golden fixtures for Bifrost 2026-11-11 17:03:12 +00:00
list-empty.response.payload.hex Desk feed door: list/read wire contract and golden fixtures for Bifrost 2026-11-11 17:03:12 +00:00
list-empty.response.payload.msgpack Desk feed door: list/read wire contract and golden fixtures for Bifrost 2026-11-11 17:03:12 +00:00
list-open-cursor.request.frame.bin Desk feed door: account ids are lowercase D-format UUIDs; fixtures and a test pin it 2026-11-11 17:35:49 +00:00
list-open-cursor.request.frame.hex Desk feed door: account ids are lowercase D-format UUIDs; fixtures and a test pin it 2026-11-11 17:35:49 +00:00
list-open-cursor.request.payload.hex Desk feed door: account ids are lowercase D-format UUIDs; fixtures and a test pin it 2026-11-11 17:35:49 +00:00
list-open-cursor.request.payload.msgpack Desk feed door: account ids are lowercase D-format UUIDs; fixtures and a test pin it 2026-11-11 17:35:49 +00:00
list-open.request.frame.bin Desk feed door: account ids are lowercase D-format UUIDs; fixtures and a test pin it 2026-11-11 17:35:49 +00:00
list-open.request.frame.hex Desk feed door: account ids are lowercase D-format UUIDs; fixtures and a test pin it 2026-11-11 17:35:49 +00:00
list-open.request.payload.hex Desk feed door: account ids are lowercase D-format UUIDs; fixtures and a test pin it 2026-11-11 17:35:49 +00:00
list-open.request.payload.msgpack Desk feed door: account ids are lowercase D-format UUIDs; fixtures and a test pin it 2026-11-11 17:35:49 +00:00
list-response-too-large.response.frame.bin Desk feed door doc: read-form fork_too_large, Refused shapes, fork source, gate not live 2026-11-11 17:14:27 +00:00
list-response-too-large.response.frame.hex Desk feed door doc: read-form fork_too_large, Refused shapes, fork source, gate not live 2026-11-11 17:14:27 +00:00
list-response-too-large.response.payload.hex Desk feed door doc: read-form fork_too_large, Refused shapes, fork source, gate not live 2026-11-11 17:14:27 +00:00
list-response-too-large.response.payload.msgpack Desk feed door doc: read-form fork_too_large, Refused shapes, fork source, gate not live 2026-11-11 17:14:27 +00:00
list-too-large.response.frame.bin Desk feed door doc: read-form fork_too_large, Refused shapes, fork source, gate not live 2026-11-11 17:14:27 +00:00
list-too-large.response.frame.hex Desk feed door doc: read-form fork_too_large, Refused shapes, fork source, gate not live 2026-11-11 17:14:27 +00:00
list-too-large.response.payload.hex Desk feed door doc: read-form fork_too_large, Refused shapes, fork source, gate not live 2026-11-11 17:14:27 +00:00
list-too-large.response.payload.msgpack Desk feed door doc: read-form fork_too_large, Refused shapes, fork source, gate not live 2026-11-11 17:14:27 +00:00
read-too-large.response.frame.bin Desk feed door doc: read-form fork_too_large, Refused shapes, fork source, gate not live 2026-11-11 17:14:27 +00:00
read-too-large.response.frame.hex Desk feed door doc: read-form fork_too_large, Refused shapes, fork source, gate not live 2026-11-11 17:14:27 +00:00
read-too-large.response.payload.hex Desk feed door doc: read-form fork_too_large, Refused shapes, fork source, gate not live 2026-11-11 17:14:27 +00:00
read-too-large.response.payload.msgpack Desk feed door doc: read-form fork_too_large, Refused shapes, fork source, gate not live 2026-11-11 17:14:27 +00:00
read-unknown.response.frame.bin Desk feed door: list/read wire contract and golden fixtures for Bifrost 2026-11-11 17:03:12 +00:00
read-unknown.response.frame.hex Desk feed door: list/read wire contract and golden fixtures for Bifrost 2026-11-11 17:03:12 +00:00
read-unknown.response.payload.hex Desk feed door: list/read wire contract and golden fixtures for Bifrost 2026-11-11 17:03:12 +00:00
read-unknown.response.payload.msgpack Desk feed door: list/read wire contract and golden fixtures for Bifrost 2026-11-11 17:03:12 +00:00
read.request.frame.bin Desk feed door: account ids are lowercase D-format UUIDs; fixtures and a test pin it 2026-11-11 17:35:49 +00:00
read.request.frame.hex Desk feed door: account ids are lowercase D-format UUIDs; fixtures and a test pin it 2026-11-11 17:35:49 +00:00
read.request.payload.hex Desk feed door: account ids are lowercase D-format UUIDs; fixtures and a test pin it 2026-11-11 17:35:49 +00:00
read.request.payload.msgpack Desk feed door: account ids are lowercase D-format UUIDs; fixtures and a test pin it 2026-11-11 17:35:49 +00:00
README.md Desk feed door: the door withholds account ids from non-deciders (proposed shapes, CultLib change owed) 2026-11-11 17:38:52 +00:00
record-non-decider.proposed.payload.hex Desk feed door: the door withholds account ids from non-deciders (proposed shapes, CultLib change owed) 2026-11-11 17:38:52 +00:00
record-non-decider.proposed.payload.msgpack Desk feed door: the door withholds account ids from non-deciders (proposed shapes, CultLib change owed) 2026-11-11 17:38:52 +00:00
record-whole.payload.hex Desk feed door: account ids are lowercase D-format UUIDs; fixtures and a test pin it 2026-11-11 17:35:49 +00:00
record-whole.payload.msgpack Desk feed door: account ids are lowercase D-format UUIDs; fixtures and a test pin it 2026-11-11 17:35:49 +00:00
refused-unit.response.frame.bin Desk feed door doc: read-form fork_too_large, Refused shapes, fork source, gate not live 2026-11-11 17:14:27 +00:00
refused-unit.response.frame.hex Desk feed door doc: read-form fork_too_large, Refused shapes, fork source, gate not live 2026-11-11 17:14:27 +00:00
refused-unit.response.payload.hex Desk feed door doc: read-form fork_too_large, Refused shapes, fork source, gate not live 2026-11-11 17:14:27 +00:00
refused-unit.response.payload.msgpack Desk feed door doc: read-form fork_too_large, Refused shapes, fork source, gate not live 2026-11-11 17:14:27 +00:00
unavailable.response.frame.bin Desk feed door: list/read wire contract and golden fixtures for Bifrost 2026-11-11 17:03:12 +00:00
unavailable.response.frame.hex Desk feed door: list/read wire contract and golden fixtures for Bifrost 2026-11-11 17:03:12 +00:00
unavailable.response.payload.hex Desk feed door: list/read wire contract and golden fixtures for Bifrost 2026-11-11 17:03:12 +00:00
unavailable.response.payload.msgpack Desk feed door: list/read wire contract and golden fixtures for Bifrost 2026-11-11 17:03:12 +00:00

Desk feed golden fixtures

The bytes on a Mind's desk socket for a list or a read. The contract is docs/desk-feed-door.md. crates/huginn-mind/tests/desk_feed_fixtures.rs writes these files with Huginn's own encoders and checks them on every cargo test -p huginn-mind --test desk_feed_fixtures. Set HUGINN_WRITE_DESK_FIXTURES=1 to rewrite them. Do not edit them by hand.

Each case has up to four files:

  • <case>.frame.bin and <case>.frame.hex: the whole frame on the socket (u32 big-endian length, then the CultNet message).
  • <case>.payload.msgpack and <case>.payload.hex: the base64-decoded payload of an operation message (named MessagePack). The record-* cases are bare payload fragments with no frame.

Hex is lowercase with one trailing newline. The fork id is a question Eureka's mind holds. The record's answers, notes and hash are synthetic.

The listing gate is not live. On main every showable question goes to every reader. Do not put a Mind that holds private questions behind a live receiver before cut-desk-feed-listing lands (see docs/desk-feed-door.md).

case direction content
list-open.request Bifrost to Huginn Forks, status open, no cursor, limit 50
list-open-cursor.request Bifrost to Huginn Forks, status open, cursor c42, limit 50
list-counts.request Bifrost to Huginn Forks, status open, limit 0 (counts and stamp only)
read.request Bifrost to Huginn Fork for one fork id
list-empty.response Huginn to Bifrost an empty Mind, or nothing listed to this reader: counts 0, forks: []
list-counts.response Huginn to Bifrost the limit-0 answer: open 3, recorded 5, forks: []
read-unknown.response Huginn to Bifrost NotStored fork_unknown (Bifrost: 404)
list-too-large.response Huginn to Bifrost NotStored fork_too_large naming the cursor to continue (Bifrost: 422)
read-too-large.response Huginn to Bifrost NotStored fork_too_large, read form: names the fork, no order or cursor (Bifrost: 422)
list-response-too-large.response Huginn to Bifrost Refused ResponseTooLarge (Bifrost: 503)
refused-unit.response Huginn to Bifrost Refused with a unit variant: a bare string "MissingIdentity" (shape only; Bifrost: 503)
unavailable.response Huginn to Bifrost Refused Unavailable (Bifrost: 503 for this Mind)
failure.response Huginn to Bifrost operation failure, payloadSchema gamecult.cultnet.operation_failure.v1 (Bifrost: 503)
error.response Huginn to Bifrost CultNet Error message, no payload (Bifrost: 503)
record-whole fragment gamecult.fork.record.v0 with a counted answer and a revision, answerer ids and notes whole: what the door sends today, and a decider's view
record-non-decider.proposed fragment PROPOSED non-decider record: every answerer nil, answerer_count 2. Needs CultLib change cultlib-fork-card-reader-counts; not Huginn output yet
card-viewers-decider.synthetic fragment SYNTHETIC: only {deciders: [two ids], decider_count: 2}. Not a card
card-viewers-non-decider.synthetic fragment SYNTHETIC: only {deciders: [], decider_count: 2}. Not a card

No case carries a card (gamecult.fork.card.v0). The card's bytes wait on CultLib's re-pinned card vectors for raised_at, so no entry-bearing list page or read is pinned yet.