Skip to content

Decouple Guardian retrieval from local message-board handles - #60002

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/f8c5bc65d8297f6df6e3b02d6c09006bcaea4b1a
Nov 6, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/f8c5bc65d8297f6df6e3b02d6c09006bcaea4b1a

Conversation

@copyberry

@copyberry copyberry Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Decouple Guardian retrieval from local message-board handles

Why

Guardian's retrieval, channel selection, and evidence delivery depend on concrete local message-board types. Expose the required operations through shared interfaces so these consumers can use trait-based board handles.

What changed

  • Introduce BoardReadView for captured catalogs and post boundaries, with read operations and JSON search configuration but no mutation methods.
  • Extend AgentMessageBoard with namespace identification, read-view capture, and channel subscription operations, and implement them for the local board.
  • Add message_board_read_tools to bind the five read-only tools to a captured view.
  • Migrate Guardian consumers to AgentMessageBoard and BoardReadView, retaining Guardian namespace checks and captured read boundaries.

Testing

Adapt read-view and Guardian retrieval tests to the trait interfaces. Add assertions for the five retrieval tools and rejection of ordinary boards by retrieval binding, subscription capture, and delivery planning.

## Why

Guardian's retrieval, channel selection, and evidence delivery depend on concrete local message-board types. Expose the required operations through shared interfaces so these consumers can use trait-based board handles.

## What changed

- Introduce `BoardReadView` for captured catalogs and post boundaries, with read operations and JSON search configuration but no mutation methods.
- Extend `AgentMessageBoard` with namespace identification, read-view capture, and channel subscription operations, and implement them for the local board.
- Add `message_board_read_tools` to bind the five read-only tools to a captured view.
- Migrate Guardian consumers to `AgentMessageBoard` and `BoardReadView`, retaining Guardian namespace checks and captured read boundaries.

## Testing

Adapt read-view and Guardian retrieval tests to the trait interfaces. Add assertions for the five retrieval tools and rejection of ordinary boards by retrieval binding, subscription capture, and delivery planning.

GitOrigin-RevId: f8c5bc65d8297f6df6e3b02d6c09006bcaea4b1a
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/f8c5bc65d8297f6df6e3b02d6c09006bcaea4b1a branch from 6d19702 to 09bd19a Compare November 6, 2026 22:26
@copyberry
copyberry Bot merged commit 09bd19a into main Nov 6, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor
Codex Review Summary: 🔄 Running

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-11-06T22:26:17.993380Z 6d19702 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/f8c5bc65d8297f6df6e3b02d6c09006bcaea4b1a branch November 6, 2026 22:26
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant