Repository navigation
Replies: 2 comments
|
Short answer: no. As of the current main, the notification envelope is typed, but the What is defined:
The app-server README does not describe it. The only PR is the one you linked (#25710), which calls it experimental and meant for "client-side presentation". The only versioning in the repo is in the first-party TUI's own parser, not in the protocol:
On "withhold output": in the TUI the metadata never ends or blocks a turn by itself. It is used as presentation for a turn that then fails through the normal error path. The TUI holds the matching turn error (a bio policy error, or codex/codex-rs/tui/src/chatwidget/safety_recourse.rs Lines 57 to 74 in d84c872 From that, a reasonable rule for a non-interactive client (my inference, not a documented guarantee):
There are no public fixtures. The closest thing is the synthetic integration test. It mocks a codex/codex-rs/app-server/tests/suite/v2/safety_check_downgrade.rs Lines 278 to 342 in d84c872 It doesn't cover the terminal events. For a stable, versioned shape or official fixtures, a feature request in the issue tracker is the channel the contributing guide points to. |
|
Following up on the non-interactive client contract for official Codex app-server 0.169.0. The selected version supports per-connection optOutNotificationMethods, including suppression of turn/moderationMetadata. Can the maintainers confirm whether suppressing this notification preserves ALL required withholding, verification, recourse and final-answer display decisions through independently delivered final-answer item moderation/display fields, terminal errors or other retained signals? Specifically:
A version-applicable contract or public synthetic examples would be helpful. We are not requesting a moderation bypass. |
Uh oh!
There was an error while loading. Please reload this page.
The app-server protocol exposes
turn/moderationMetadatato clients, and its metadata field is typed asJsonValue. What should a non-interactive client do when the object containspromptandgenerationobjects alongside additional fields?Is there a documented, versioned distinction between informational metadata, a notice that must be presented to the user, and a signal that requires withholding ordinary output? A pair of public synthetic fixtures showing the notification and subsequent terminal events would help client implementations test this offline. We are looking for client behavior only.
Protocol reference: #25710
All reactions