| Filename | Latest commit message | Latest commit date |
|---|---|---|
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> |
||
| .. | ||
| cultlib-3a51bbab | ||
| .gitattributes | ||
| error.response.frame.bin | ||
| error.response.frame.hex | ||
| failure.response.frame.bin | ||
| failure.response.frame.hex | ||
| failure.response.payload.hex | ||
| failure.response.payload.msgpack | ||
| list-counts.request.frame.bin | ||
| list-counts.request.frame.hex | ||
| list-counts.request.payload.hex | ||
| list-counts.request.payload.msgpack | ||
| list-counts.response.frame.bin | ||
| list-counts.response.frame.hex | ||
| list-counts.response.payload.hex | ||
| list-counts.response.payload.msgpack | ||
| list-empty.response.frame.bin | ||
| list-empty.response.frame.hex | ||
| list-empty.response.payload.hex | ||
| list-empty.response.payload.msgpack | ||
| list-open-cursor.request.frame.bin | ||
| list-open-cursor.request.frame.hex | ||
| list-open-cursor.request.payload.hex | ||
| list-open-cursor.request.payload.msgpack | ||
| list-open.request.frame.bin | ||
| list-open.request.frame.hex | ||
| list-open.request.payload.hex | ||
| list-open.request.payload.msgpack | ||
| list-response-too-large.response.frame.bin | ||
| list-response-too-large.response.frame.hex | ||
| list-response-too-large.response.payload.hex | ||
| list-response-too-large.response.payload.msgpack | ||
| list-too-large.response.frame.bin | ||
| list-too-large.response.frame.hex | ||
| list-too-large.response.payload.hex | ||
| list-too-large.response.payload.msgpack | ||
| read-too-large.response.frame.bin | ||
| read-too-large.response.frame.hex | ||
| read-too-large.response.payload.hex | ||
| read-too-large.response.payload.msgpack | ||
| read-unknown.response.frame.bin | ||
| read-unknown.response.frame.hex | ||
| read-unknown.response.payload.hex | ||
| read-unknown.response.payload.msgpack | ||
| read.request.frame.bin | ||
| read.request.frame.hex | ||
| read.request.payload.hex | ||
| read.request.payload.msgpack | ||
| README.md | ||
| record-whole.payload.hex | ||
| record-whole.payload.msgpack | ||
| refused-unit.response.frame.bin | ||
| refused-unit.response.frame.hex | ||
| refused-unit.response.payload.hex | ||
| refused-unit.response.payload.msgpack | ||
| unavailable.response.frame.bin | ||
| unavailable.response.frame.hex | ||
| unavailable.response.payload.hex | ||
| unavailable.response.payload.msgpack | ||
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.binand<case>.frame.hex: the whole frame on the socket (u32 big-endian length, then the CultNet message).<case>.payload.msgpackand<case>.payload.hex: the base64-decodedpayloadof an operation message (named MessagePack). Therecord-*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.