Huginn/crates/huginn-mind/tests/fixtures/desk-feed
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-14 02:15:20 +00:00
..
cultlib-d3025d3c Desk door: emit CultLib d3025d3c reader shapes (PR A of cut-desk-feed-raised-at.r3 + cut-desk-feed-listing.r8) (#62) 2026-11-11 21:24:36 +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
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-non-decider.request.frame.bin Desk door: emit CultLib d3025d3c reader shapes (PR A of cut-desk-feed-raised-at.r3 + cut-desk-feed-listing.r8) (#62) 2026-11-11 21:24:36 +00:00
list-non-decider.request.frame.hex Desk door: emit CultLib d3025d3c reader shapes (PR A of cut-desk-feed-raised-at.r3 + cut-desk-feed-listing.r8) (#62) 2026-11-11 21:24:36 +00:00
list-non-decider.request.payload.hex Desk door: emit CultLib d3025d3c reader shapes (PR A of cut-desk-feed-raised-at.r3 + cut-desk-feed-listing.r8) (#62) 2026-11-11 21:24:36 +00:00
list-non-decider.request.payload.msgpack Desk door: emit CultLib d3025d3c reader shapes (PR A of cut-desk-feed-raised-at.r3 + cut-desk-feed-listing.r8) (#62) 2026-11-11 21:24:36 +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-non-decider.response.frame.bin Desk door: emit CultLib d3025d3c reader shapes (PR A of cut-desk-feed-raised-at.r3 + cut-desk-feed-listing.r8) (#62) 2026-11-11 21:24:36 +00:00
list-open-non-decider.response.frame.hex Desk door: emit CultLib d3025d3c reader shapes (PR A of cut-desk-feed-raised-at.r3 + cut-desk-feed-listing.r8) (#62) 2026-11-11 21:24:36 +00:00
list-open-non-decider.response.payload.hex Desk door: emit CultLib d3025d3c reader shapes (PR A of cut-desk-feed-raised-at.r3 + cut-desk-feed-listing.r8) (#62) 2026-11-11 21:24:36 +00:00
list-open-non-decider.response.payload.msgpack Desk door: emit CultLib d3025d3c reader shapes (PR A of cut-desk-feed-raised-at.r3 + cut-desk-feed-listing.r8) (#62) 2026-11-11 21:24:36 +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-open.response.frame.bin Desk door: emit CultLib d3025d3c reader shapes (PR A of cut-desk-feed-raised-at.r3 + cut-desk-feed-listing.r8) (#62) 2026-11-11 21:24:36 +00:00
list-open.response.frame.hex Desk door: emit CultLib d3025d3c reader shapes (PR A of cut-desk-feed-raised-at.r3 + cut-desk-feed-listing.r8) (#62) 2026-11-11 21:24:36 +00:00
list-open.response.payload.hex Desk door: emit CultLib d3025d3c reader shapes (PR A of cut-desk-feed-raised-at.r3 + cut-desk-feed-listing.r8) (#62) 2026-11-11 21:24:36 +00:00
list-open.response.payload.msgpack Desk door: emit CultLib d3025d3c reader shapes (PR A of cut-desk-feed-raised-at.r3 + cut-desk-feed-listing.r8) (#62) 2026-11-11 21:24:36 +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-email-subject.failure.response.frame.bin Desk door: listing gate and account-id grammar at decode (PR B of cut-desk-feed-listing.r8; stacked on #62) (#63) 2026-11-14 02:15:20 +00:00
read-email-subject.failure.response.frame.hex Desk door: listing gate and account-id grammar at decode (PR B of cut-desk-feed-listing.r8; stacked on #62) (#63) 2026-11-14 02:15:20 +00:00
read-email-subject.failure.response.payload.hex Desk door: listing gate and account-id grammar at decode (PR B of cut-desk-feed-listing.r8; stacked on #62) (#63) 2026-11-14 02:15:20 +00:00
read-email-subject.failure.response.payload.msgpack Desk door: listing gate and account-id grammar at decode (PR B of cut-desk-feed-listing.r8; stacked on #62) (#63) 2026-11-14 02:15:20 +00:00
read-email-subject.request.frame.bin Desk door: listing gate and account-id grammar at decode (PR B of cut-desk-feed-listing.r8; stacked on #62) (#63) 2026-11-14 02:15:20 +00:00
read-email-subject.request.frame.hex Desk door: listing gate and account-id grammar at decode (PR B of cut-desk-feed-listing.r8; stacked on #62) (#63) 2026-11-14 02:15:20 +00:00
read-email-subject.request.payload.hex Desk door: listing gate and account-id grammar at decode (PR B of cut-desk-feed-listing.r8; stacked on #62) (#63) 2026-11-14 02:15:20 +00:00
read-email-subject.request.payload.msgpack Desk door: listing gate and account-id grammar at decode (PR B of cut-desk-feed-listing.r8; stacked on #62) (#63) 2026-11-14 02:15:20 +00:00
read-mxid-decider.failure.response.frame.bin Desk door: listing gate and account-id grammar at decode (PR B of cut-desk-feed-listing.r8; stacked on #62) (#63) 2026-11-14 02:15:20 +00:00
read-mxid-decider.failure.response.frame.hex Desk door: listing gate and account-id grammar at decode (PR B of cut-desk-feed-listing.r8; stacked on #62) (#63) 2026-11-14 02:15:20 +00:00
read-mxid-decider.failure.response.payload.hex Desk door: listing gate and account-id grammar at decode (PR B of cut-desk-feed-listing.r8; stacked on #62) (#63) 2026-11-14 02:15:20 +00:00
read-mxid-decider.failure.response.payload.msgpack Desk door: listing gate and account-id grammar at decode (PR B of cut-desk-feed-listing.r8; stacked on #62) (#63) 2026-11-14 02:15:20 +00:00
read-mxid-decider.request.frame.bin Desk door: listing gate and account-id grammar at decode (PR B of cut-desk-feed-listing.r8; stacked on #62) (#63) 2026-11-14 02:15:20 +00:00
read-mxid-decider.request.frame.hex Desk door: listing gate and account-id grammar at decode (PR B of cut-desk-feed-listing.r8; stacked on #62) (#63) 2026-11-14 02:15:20 +00:00
read-mxid-decider.request.payload.hex Desk door: listing gate and account-id grammar at decode (PR B of cut-desk-feed-listing.r8; stacked on #62) (#63) 2026-11-14 02:15:20 +00:00
read-mxid-decider.request.payload.msgpack Desk door: listing gate and account-id grammar at decode (PR B of cut-desk-feed-listing.r8; stacked on #62) (#63) 2026-11-14 02:15:20 +00:00
read-non-decider.request.frame.bin Desk door: emit CultLib d3025d3c reader shapes (PR A of cut-desk-feed-raised-at.r3 + cut-desk-feed-listing.r8) (#62) 2026-11-11 21:24:36 +00:00
read-non-decider.request.frame.hex Desk door: emit CultLib d3025d3c reader shapes (PR A of cut-desk-feed-raised-at.r3 + cut-desk-feed-listing.r8) (#62) 2026-11-11 21:24:36 +00:00
read-non-decider.request.payload.hex Desk door: emit CultLib d3025d3c reader shapes (PR A of cut-desk-feed-raised-at.r3 + cut-desk-feed-listing.r8) (#62) 2026-11-11 21:24:36 +00:00
read-non-decider.request.payload.msgpack Desk door: emit CultLib d3025d3c reader shapes (PR A of cut-desk-feed-raised-at.r3 + cut-desk-feed-listing.r8) (#62) 2026-11-11 21:24:36 +00:00
read-non-decider.response.frame.bin Desk door: emit CultLib d3025d3c reader shapes (PR A of cut-desk-feed-raised-at.r3 + cut-desk-feed-listing.r8) (#62) 2026-11-11 21:24:36 +00:00
read-non-decider.response.frame.hex Desk door: emit CultLib d3025d3c reader shapes (PR A of cut-desk-feed-raised-at.r3 + cut-desk-feed-listing.r8) (#62) 2026-11-11 21:24:36 +00:00
read-non-decider.response.payload.hex Desk door: emit CultLib d3025d3c reader shapes (PR A of cut-desk-feed-raised-at.r3 + cut-desk-feed-listing.r8) (#62) 2026-11-11 21:24:36 +00:00
read-non-decider.response.payload.msgpack Desk door: emit CultLib d3025d3c reader shapes (PR A of cut-desk-feed-raised-at.r3 + cut-desk-feed-listing.r8) (#62) 2026-11-11 21:24:36 +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
read.response.frame.bin Desk door: emit CultLib d3025d3c reader shapes (PR A of cut-desk-feed-raised-at.r3 + cut-desk-feed-listing.r8) (#62) 2026-11-11 21:24:36 +00:00
read.response.frame.hex Desk door: emit CultLib d3025d3c reader shapes (PR A of cut-desk-feed-raised-at.r3 + cut-desk-feed-listing.r8) (#62) 2026-11-11 21:24:36 +00:00
read.response.payload.hex Desk door: emit CultLib d3025d3c reader shapes (PR A of cut-desk-feed-raised-at.r3 + cut-desk-feed-listing.r8) (#62) 2026-11-11 21:24:36 +00:00
read.response.payload.msgpack Desk door: emit CultLib d3025d3c reader shapes (PR A of cut-desk-feed-raised-at.r3 + cut-desk-feed-listing.r8) (#62) 2026-11-11 21:24:36 +00:00
README.md Desk door: listing gate and account-id grammar at decode (PR B of cut-desk-feed-listing.r8; stacked on #62) (#63) 2026-11-14 02:15:20 +00:00
record-whole.payload.hex Desk door: emit CultLib d3025d3c reader shapes (PR A of cut-desk-feed-raised-at.r3 + cut-desk-feed-listing.r8) (#62) 2026-11-11 21:24:36 +00:00
record-whole.payload.msgpack Desk door: emit CultLib d3025d3c reader shapes (PR A of cut-desk-feed-raised-at.r3 + cut-desk-feed-listing.r8) (#62) 2026-11-11 21:24:36 +00:00
record-withheld.payload.hex Desk door: emit CultLib d3025d3c reader shapes (PR A of cut-desk-feed-raised-at.r3 + cut-desk-feed-listing.r8) (#62) 2026-11-11 21:24:36 +00:00
record-withheld.payload.msgpack Desk door: emit CultLib d3025d3c reader shapes (PR A of cut-desk-feed-raised-at.r3 + cut-desk-feed-listing.r8) (#62) 2026-11-11 21:24:36 +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 live in Huginn. A reader who is not on the call's deciders sees only forks the Mind lists (docs/desk-feed-door.md); list-empty.response is what such a reader gets from a Mind with nothing listed.

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-non-decider.request Bifrost to Huginn Forks as above, from a subject who is not on the call's deciders
read-non-decider.request Bifrost to Huginn Fork, from a subject who is not on the call's deciders
list-open.response Huginn to Bifrost a decider's page of one open fork: card with raised_at a string, decider_count 2 and both ids, record with answerer_count 3 and every answerer named
list-open-non-decider.response Huginn to Bifrost the same page for a non-decider: deciders empty, decider_count 2, every answerer nil, answerer_count 3; no account id anywhere in its bytes
read.response Huginn to Bifrost a decider's read of one fork, raised_at nil
read-non-decider.response Huginn to Bifrost the same read for a non-decider, raised_at nil, no account id
read-mxid-decider.request client to Huginn a Fork whose first decider is a Matrix id, so outside the account grammar; refused at decode
read-mxid-decider.failure.response Huginn to Bifrost the operation failure for it: payload-not-a-request, naming deciders, never quoting the id
read-email-subject.request client to Huginn a Fork whose subject is an email address; refused at decode
read-email-subject.failure.response Huginn to Bifrost the operation failure for it, naming subject
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 in a decider's view: all four answer variants (Counted, Revision, Refused, Retraction) by three accounts, answerer ids and notes whole, answerer_count 3 (6 keys)
record-withheld fragment the same record in a non-decider's view: every answerer nil, notes whole, answerer_count 3

The reader-count shapes (raised_at, decider_count, answerer_count, nullable answerer) are also CultLib's own bytes, vendored unedited in cultlib-d3025d3c/ (see its README for the pinned commit and each vector). Huginn's types decode every one of them and re-encode it byte for byte; the fixtures above are what Huginn's encoders write for the same shapes.