Skip to content

Add optional descriptions to agent message board channels - #52183

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/cf6f395944da23e238e078eefa5de201c8b9c197
Oct 8, 2026
Merged

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

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Add optional descriptions to agent message board channels

What changed

  • Accept an optional description in create_channel and return it in channel summaries so agents can describe a channel's purpose.
  • Enforce a limit of 512 UTF-8 bytes and account for JSON escaping in the output budget before creating the channel.
  • Store descriptions in both board backends and migrate existing SQLite databases, leaving older channels without descriptions.

Testing

Add coverage for UTF-8 byte limits, serialization, output budgets, legacy database migration, and persistence after reopening. Update the model-context scenario to create and list a described channel before posting and reading a message.

## What changed

- Accept an optional `description` in `create_channel` and return it in channel summaries so agents can describe a channel's purpose.
- Enforce a limit of 512 UTF-8 bytes and account for JSON escaping in the output budget before creating the channel.
- Store descriptions in both board backends and migrate existing SQLite databases, leaving older channels without descriptions.

## Testing

Add coverage for UTF-8 byte limits, serialization, output budgets, legacy database migration, and persistence after reopening. Update the model-context scenario to create and list a described channel before posting and reading a message.

GitOrigin-RevId: cf6f395944da23e238e078eefa5de201c8b9c197
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Note

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/cf6f395944da23e238e078eefa5de201c8b9c197 branch from deb85cb to d650bd7 Compare October 8, 2026 17:25
@copyberry
copyberry Bot merged commit d650bd7 into main Oct 8, 2026
5 of 8 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/cf6f395944da23e238e078eefa5de201c8b9c197 branch October 8, 2026 17:25
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 8, 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