Expand description
Reversible BRIDGE packet review surface for SIM Web.
This is the human seat on a BRIDGE conversation. It renders one BridgePacket
(from sim-codec-bridge) as Scene data via bridge_packet_view and decodes
ordinary intent/edit-field values back into typed BRIDGE collaboration parts
via bridge_packet_edit. It is a view codec at the surface position, not a new
protocol.
The point is symmetry: a human and an agent edit the same packet expression,
and a patch, review, vote, or receipt a person makes
(patch_edit_intent / review_edit_intent / vote_edit_intent /
receipt_edit_intent) is the identical BRIDGE part record a model produces.
So the merge policy in sim-lib-bridge cannot tell a human reviewer from a
model reviewer – there is one shared object, not a browser copy beside a model
copy. BridgePacketSurfaceCodec / BRIDGE_PACKET_SURFACE_CODEC_ID register
the surface; packet_review_demo is the runnable cookbook seat.
Re-exports§
pub use cookbook::packet_review_demo;
Modules§
- cookbook
- Cookbook fixtures for the BRIDGE packet review surface.
Structs§
- Bridge
Packet Surface Codec - Reversible surface codec for BRIDGE packet review.
Enums§
- Bridge
Glasses Review Input - Glasses-local review inputs while a BRIDGE/FORGE warrant is focused.
- Warrant
Review Decision - Standard warrant decision emitted by glasses review input.
Constants§
- BRIDGE_
PACKET_ SURFACE_ CODEC_ ID - Stable id for the BRIDGE packet review surface codec.
- BRIDGE_
WARRANT_ REVIEW_ MISSION_ NAME - Name used by the standard BRIDGE packet-review mission.
- BRIDGE_
WARRANT_ REVIEW_ MISSION_ NAMESPACE - Namespace used by the standard BRIDGE packet-review mission.
- VITURE_
WARRANT_ REVIEW_ PANEL_ ID - Stable id for the Viture spatial warrant-review panel.
Functions§
- bridge_
packet_ edit - Decodes one edit intent against
packetinto a typed BRIDGE part record. - bridge_
packet_ view - Renders
packetthrough the BRIDGE packet surface. - halo_
warrant_ glance_ pager - Renders
packetas a Haloscene/glancepager through the DEVICE_3 reducer. - patch_
edit_ intent - Builds a patch edit intent for the packet review surface.
- receipt_
edit_ intent - Builds a receipt edit intent for the packet review surface.
- review_
edit_ intent - Builds a review edit intent for the packet review surface.
- viture_
warrant_ review_ panel - Renders
packetas the pinned Viture center-front review panel. - viture_
warrant_ review_ scene - Renders
packetas the Viture spatial scene containing the review panel. - vote_
edit_ intent - Builds a vote edit intent for the packet review surface.
- warrant_
review_ intent - Builds the standard warrant decision Intent for
packet. - warrant_
review_ intent_ from_ glasses_ input - Converts a glasses-local review input into a standard warrant decision Intent.
- warrant_
review_ mission - Returns the mission symbol used by BRIDGE/FORGE warrant decisions.