Bifrost/tests/Bifrost.Web.Tests/Fixtures/desk-feed
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Heimdall a2c41b1f34 Desk: re-vendor Huginn desk fixtures at b299d6f7 (71 files, CultLib 3a51bbab subdirectory) and CultLib vectors at d3025d3c
Pins name the commits, the exact file list and each sha256; the verifier is proved to fail on a changed byte, an
extra file and a missing file, at both directory levels. The four golden request frames still reproduce. The
synthetic card-viewers and proposed non-decider fragments are gone: both reader views are now CultLib's own entry
bytes served through the door. Huginn's record-whole still has no answerer_count (its README says so), so the
fault test stays true and is re-pointed at it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 19:14:17 +00:00
..
cultlib-3a51bbab Desk: re-vendor Huginn desk fixtures at b299d6f7 (71 files, CultLib 3a51bbab subdirectory) and CultLib vectors at d3025d3c 2026-11-11 19:14:17 +00:00
.gitattributes Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
error.response.frame.bin Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
error.response.frame.hex Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
failure.response.frame.bin Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
failure.response.frame.hex Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
failure.response.payload.hex Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
failure.response.payload.msgpack Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
list-counts.request.frame.bin Desk: re-pin CultLib card contract 3a51bbab and Huginn desk-feed fixtures 79d954c 2026-11-11 18:20:02 +00:00
list-counts.request.frame.hex Desk: re-pin CultLib card contract 3a51bbab and Huginn desk-feed fixtures 79d954c 2026-11-11 18:20:02 +00:00
list-counts.request.payload.hex Desk: re-pin CultLib card contract 3a51bbab and Huginn desk-feed fixtures 79d954c 2026-11-11 18:20:02 +00:00
list-counts.request.payload.msgpack Desk: re-pin CultLib card contract 3a51bbab and Huginn desk-feed fixtures 79d954c 2026-11-11 18:20:02 +00:00
list-counts.response.frame.bin Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
list-counts.response.frame.hex Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
list-counts.response.payload.hex Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
list-counts.response.payload.msgpack Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
list-empty.response.frame.bin Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
list-empty.response.frame.hex Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
list-empty.response.payload.hex Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
list-empty.response.payload.msgpack Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
list-open-cursor.request.frame.bin Desk: re-pin CultLib card contract 3a51bbab and Huginn desk-feed fixtures 79d954c 2026-11-11 18:20:02 +00:00
list-open-cursor.request.frame.hex Desk: re-pin CultLib card contract 3a51bbab and Huginn desk-feed fixtures 79d954c 2026-11-11 18:20:02 +00:00
list-open-cursor.request.payload.hex Desk: re-pin CultLib card contract 3a51bbab and Huginn desk-feed fixtures 79d954c 2026-11-11 18:20:02 +00:00
list-open-cursor.request.payload.msgpack Desk: re-pin CultLib card contract 3a51bbab and Huginn desk-feed fixtures 79d954c 2026-11-11 18:20:02 +00:00
list-open.request.frame.bin Desk: re-pin CultLib card contract 3a51bbab and Huginn desk-feed fixtures 79d954c 2026-11-11 18:20:02 +00:00
list-open.request.frame.hex Desk: re-pin CultLib card contract 3a51bbab and Huginn desk-feed fixtures 79d954c 2026-11-11 18:20:02 +00:00
list-open.request.payload.hex Desk: re-pin CultLib card contract 3a51bbab and Huginn desk-feed fixtures 79d954c 2026-11-11 18:20:02 +00:00
list-open.request.payload.msgpack Desk: re-pin CultLib card contract 3a51bbab and Huginn desk-feed fixtures 79d954c 2026-11-11 18:20:02 +00:00
list-response-too-large.response.frame.bin Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
list-response-too-large.response.frame.hex Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
list-response-too-large.response.payload.hex Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
list-response-too-large.response.payload.msgpack Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
list-too-large.response.frame.bin Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
list-too-large.response.frame.hex Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
list-too-large.response.payload.hex Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
list-too-large.response.payload.msgpack Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
read-too-large.response.frame.bin Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
read-too-large.response.frame.hex Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
read-too-large.response.payload.hex Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
read-too-large.response.payload.msgpack Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
read-unknown.response.frame.bin Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
read-unknown.response.frame.hex Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
read-unknown.response.payload.hex Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
read-unknown.response.payload.msgpack Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
read.request.frame.bin Desk: re-pin CultLib card contract 3a51bbab and Huginn desk-feed fixtures 79d954c 2026-11-11 18:20:02 +00:00
read.request.frame.hex Desk: re-pin CultLib card contract 3a51bbab and Huginn desk-feed fixtures 79d954c 2026-11-11 18:20:02 +00:00
read.request.payload.hex Desk: re-pin CultLib card contract 3a51bbab and Huginn desk-feed fixtures 79d954c 2026-11-11 18:20:02 +00:00
read.request.payload.msgpack Desk: re-pin CultLib card contract 3a51bbab and Huginn desk-feed fixtures 79d954c 2026-11-11 18:20:02 +00:00
README.md Desk: re-vendor Huginn desk fixtures at b299d6f7 (71 files, CultLib 3a51bbab subdirectory) and CultLib vectors at d3025d3c 2026-11-11 19:14:17 +00:00
record-whole.payload.hex Desk: re-vendor Huginn desk fixtures at b299d6f7 (71 files, CultLib 3a51bbab subdirectory) and CultLib vectors at d3025d3c 2026-11-11 19:14:17 +00:00
record-whole.payload.msgpack Desk: re-vendor Huginn desk fixtures at b299d6f7 (71 files, CultLib 3a51bbab subdirectory) and CultLib vectors at d3025d3c 2026-11-11 19:14:17 +00:00
refused-unit.response.frame.bin Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
refused-unit.response.frame.hex Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
refused-unit.response.payload.hex Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
refused-unit.response.payload.msgpack Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
unavailable.response.frame.bin Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
unavailable.response.frame.hex Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
unavailable.response.payload.hex Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +00:00
unavailable.response.payload.msgpack Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test 2026-11-11 17:33:54 +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 all four answer variants (Counted, Revision, Refused, Retraction) by three accounts, answerer ids and notes whole: what the door sends today (5 keys, no answerer_count)

The reader-count shapes (raised_at, decider_count, answerer_count, nullable answerer) are CultLib's own bytes, vendored unedited in cultlib-3a51bbab/ (see its README for the pinned commit and each vector). They are not Huginn's output: Huginn's types do not carry those shapes yet. cut-desk-feed-listing and cut-desk-feed-raised-at replace them with entry-bearing fixtures the encoders write, after decoding these bytes into the real types.