| Filename | Latest commit message | Latest commit date |
|---|---|---|
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> |
||
| .. | ||
| .gitattributes | ||
| card-viewers-decider.synthetic.payload.hex | ||
| card-viewers-decider.synthetic.payload.msgpack | ||
| card-viewers-non-decider.synthetic.payload.hex | ||
| card-viewers-non-decider.synthetic.payload.msgpack | ||
| 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-non-decider.proposed.payload.hex | ||
| record-non-decider.proposed.payload.msgpack | ||
| 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 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.