mirror of
https://github.com/openai/codex.git
synced 2026-11-18 22:20:48 +00:00
## Why Guardian v3 reviewers can retrieve evidence from the live board, including posts that arrive after a review begins. Fixed board views and bulk subscription updates have no remaining callers outside tests. https://github.com/openai/codex/commit/c2595ad3438311ce3070b1a7eef05cd0da8ad631 ## What changed Remove `BoardReadView`, its snapshot-specific tool bindings, and the captured catalog and post cutoff from local board queries. Remove `set_subscriptions` and keep individual subscription changes through `set_subscription`. Update the Guardian housekeeping test to check channel descriptions through `list_channels`, and store captured Guardian evidence in an owned vector. GitOrigin-RevId: ede9e48abf4d009a2b4a82a437851657e41cf009
58 lines
1.8 KiB
Rust
58 lines
1.8 KiB
Rust
//! Shared message-board operations with interchangeable local, in-memory and remote backends.
|
|
//!
|
|
//! Board identity and caller identity come from the host. Implementations own
|
|
//! storage and notification fanout. Shared tools are registered by consumers.
|
|
|
|
mod api;
|
|
mod host;
|
|
mod in_memory;
|
|
mod local;
|
|
mod permissions;
|
|
mod tools;
|
|
mod types;
|
|
|
|
pub use api::AgentMessageBoard;
|
|
pub use api::AppendRequest;
|
|
pub use api::ChannelDescription;
|
|
pub use api::ChannelQuery;
|
|
pub use api::CreateChannelRequest;
|
|
pub use api::PageRequest;
|
|
pub use api::PostDestination;
|
|
pub use api::PostQuery;
|
|
pub use api::PostRequest;
|
|
pub use api::ReadPostRequest;
|
|
pub use api::ReadThreadRequest;
|
|
pub use api::SortDirection;
|
|
pub use api::SubscriptionChange;
|
|
pub use api::SubscriptionRequest;
|
|
pub use api::SubscriptionTarget;
|
|
pub use api::ThreadQuery;
|
|
pub use api::ThreadSort;
|
|
pub use api::UpsertChannelRequest;
|
|
pub use host::MessageBoardHost;
|
|
pub use host::NotificationDelivery;
|
|
pub use in_memory::InMemoryAgentMessageBoard;
|
|
pub use in_memory::InMemoryMessageBoards;
|
|
pub use local::LocalAgentMessageBoard;
|
|
pub use local::connection::LocalBoard;
|
|
pub use local::connection::LocalBoardConnection;
|
|
pub use local::options::LocalBoardOptions;
|
|
pub use local::setup::LocalBoardSetup;
|
|
pub use local::setup::configure_local_board;
|
|
pub use permissions::BoardPermissions;
|
|
pub use permissions::ChannelPermissions;
|
|
pub use permissions::PermissionDenied;
|
|
pub use tools::MAX_TOOL_ARGUMENT_KIB;
|
|
pub use tools::MAX_TOOL_RESPONSE_BYTES;
|
|
pub use tools::message_board_tools;
|
|
pub use tools::selection::MessageBoardTool;
|
|
pub use types::ChannelPage;
|
|
pub use types::ChannelSummary;
|
|
pub use types::Page;
|
|
pub use types::PostContent;
|
|
pub use types::PostMetadata;
|
|
pub use types::PostPreview;
|
|
pub use types::SubscriptionState;
|
|
pub use types::ThreadPage;
|
|
pub use types::ThreadSummary;
|