Desk feed door: list/read wire contract and golden fixtures #55
Loading…
Reference in a new issue
No description provided.
Delete branch "eureka-substrate/desk-feed-door-fixtures"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The list/read half of the desk door for Bifrost's
UnixSocketDeskDoor(Bifrost PR #67): the wire contract and golden bytes Heimdall can decode against.docs/desk-feed-door.md: one peer-checked unix socket per Mind; frame (u32 BE length) + CultNet v0 message + base64 named-MessagePack payload;Forks/Forkrequests and responses as on main; failure means 503 for the addressed Mind only; trust boundary (answerer ids and notes go raw to Bifrost's uid only, Bifrost masks);raised_atas CultLib ruled it (required key, RFC3339 or nil, outsideoptions_hash, first admission); the planned listing gate (default not listed,desk_listingrecord, open questions named).crates/huginn-mind/tests/fixtures/desk-feed/: 11 framed cases (4 requests, 7 responses incl. empty, counts-only, fork_unknown, fork_too_large, Refused Unavailable, operation failure, CultNet Error) plus a whole-record fragment, as.frame.bin/.hexand.payload.msgpack/.hex.crates/huginn-mind/tests/desk_feed_fixtures.rs: writes the fixtures with Huginn's own encoders (HUGINN_WRITE_DESK_FIXTURES=1) and otherwise checks them byte for byte.No card bytes in any fixture: they wait on CultLib's re-pinned card vectors for
raised_at.Verification:
cargo test -p huginn-mind --test desk_feed_fixturespasses; clippy clean on the test; every.hexdecoded independently with Pythonmsgpack1.0.3 underpython3 -I(length prefix equals body length, envelope and payload decode, payload equals the base64-decoded envelope payload,.bin/.msgpackequal their hex).Specs:
eureka-substrate:cut_spec:cut-desk-feed-raised-at.r1,eureka-substrate:cut_spec:cut-desk-feed-listing.r1.🤖 Generated with Claude Code