From cdfcc18dbaf34b103f0f368925e6768d0f3b8471 Mon Sep 17 00:00:00 2001 From: "Adam Perry @ OpenAI" Date: Thu, 12 Nov 2026 21:59:52 +0000 Subject: [PATCH] Clarify remote message board and clock documentation (#61197) Describe remote board connection settings, host ownership, and configured clocks in general terms. Update the remote board test credential to match that terminology. GitOrigin-RevId: c2c32808c98afad849f6e4f59f75d8d204f51694 --- codex-rs/agent-message-board-client/src/client.rs | 2 +- codex-rs/agent-message-board-client/src/notifications.rs | 2 +- codex-rs/core/config.schema.json | 2 +- codex-rs/core/src/codex_thread.rs | 2 +- .../tests/suite/scenarios_agent_message_board_remote.rs | 4 ++-- codex-rs/features/src/feature_configs.rs | 2 +- codex-rs/message-board/src/host.rs | 6 +++--- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/codex-rs/agent-message-board-client/src/client.rs b/codex-rs/agent-message-board-client/src/client.rs index 178848b71d..885bb63c11 100644 --- a/codex-rs/agent-message-board-client/src/client.rs +++ b/codex-rs/agent-message-board-client/src/client.rs @@ -96,7 +96,7 @@ impl RemoteAgentMessageBoard { }) } - /// Supply the runtime's configured clock for research's simulated time. + /// Use the calling thread's clock to timestamp new channels and posts. pub fn with_clock( mut self, clock: impl Fn(ThreadId) -> BoxFuture<'static, Result>> + Send + Sync + 'static, diff --git a/codex-rs/agent-message-board-client/src/notifications.rs b/codex-rs/agent-message-board-client/src/notifications.rs index 1a5f96e3c1..53441027ac 100644 --- a/codex-rs/agent-message-board-client/src/notifications.rs +++ b/codex-rs/agent-message-board-client/src/notifications.rs @@ -1,5 +1,5 @@ //! Receives live board previews for an active turn using the extension's turn hooks. -//! Provisioning and durable board ownership belong to the research host. +//! The host provisions and owns the board. use crate::RemoteAgentMessageBoard; use codex_extension_api::ExtensionData; diff --git a/codex-rs/core/config.schema.json b/codex-rs/core/config.schema.json index bfbd2b7300..37db5fe3de 100644 --- a/codex-rs/core/config.schema.json +++ b/codex-rs/core/config.schema.json @@ -4660,7 +4660,7 @@ }, "RemoteMessageBoardConfigToml": { "additionalProperties": false, - "description": "Connection to a board provisioned by the research host.", + "description": "Connection settings for a remote message board.", "properties": { "bearer_token": { "description": "Board credential supplied directly by a runtime config override.", diff --git a/codex-rs/core/src/codex_thread.rs b/codex-rs/core/src/codex_thread.rs index 7ec21199ca..6e375dca71 100644 --- a/codex-rs/core/src/codex_thread.rs +++ b/codex-rs/core/src/codex_thread.rs @@ -275,7 +275,7 @@ impl CodexThread { .await } - /// Reads this thread's configured clock, including an external or simulated clock. + /// Reads this thread's configured clock. pub async fn current_time(&self) -> CodexResult> { self.session .services diff --git a/codex-rs/core/tests/suite/scenarios_agent_message_board_remote.rs b/codex-rs/core/tests/suite/scenarios_agent_message_board_remote.rs index fc9615037c..336c3618a9 100644 --- a/codex-rs/core/tests/suite/scenarios_agent_message_board_remote.rs +++ b/codex-rs/core/tests/suite/scenarios_agent_message_board_remote.rs @@ -1,4 +1,4 @@ -//! Runs existing board tools against a research-provisioned remote board. +//! Runs the board tools against a remote message board. use super::super::super::code_mode::custom_tool_output_last_non_empty_text; use super::BoardClock; @@ -37,7 +37,7 @@ use wiremock::matchers::path; async fn remote_board_uses_the_existing_tools_and_session_identity() -> anyhow::Result<()> { let server = responses::start_mock_server().await; let board = responses::start_mock_server().await; - let token = "research-board-credential-for-runtime-test"; + let token = "remote-board-credential-for-runtime-test"; let url = board.uri(); let root = test_codex() .with_config(move |config| { diff --git a/codex-rs/features/src/feature_configs.rs b/codex-rs/features/src/feature_configs.rs index d93870470c..60e83f8c30 100644 --- a/codex-rs/features/src/feature_configs.rs +++ b/codex-rs/features/src/feature_configs.rs @@ -9,7 +9,7 @@ use serde::Serialize; use std::collections::BTreeMap; use std::num::NonZeroUsize; -/// Connection to a board provisioned by the research host. +/// Connection settings for a remote message board. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, JsonSchema)] #[serde(deny_unknown_fields)] pub struct RemoteMessageBoardConfigToml { diff --git a/codex-rs/message-board/src/host.rs b/codex-rs/message-board/src/host.rs index 494d862b09..a53aa4e1e6 100644 --- a/codex-rs/message-board/src/host.rs +++ b/codex-rs/message-board/src/host.rs @@ -17,9 +17,9 @@ pub enum NotificationDelivery { /// Board-scoped membership, clock and notification access supplied by the host. /// /// The host remains authoritative for membership even when runtimes are unloaded. -/// Clock reads use the posting agent's configured source, including simulated -/// time. Notifications follow the host's ordinary queue-only agent-message -/// scheduling and wake policy, and may be buffered for an idle recipient. +/// Clock reads use the posting agent's configured source. +/// Notifications follow the host's ordinary queue-only agent-message scheduling +/// and wake policy, and may be buffered for an idle recipient. /// Acceptance does not guarantee that the model has consumed the notification. /// Backends may implement these capabilities with local handles or remote RPCs. pub trait MessageBoardHost: Send + Sync {