app-server README turn/start example uses invalid approvalPolicy value

Open Beginner friendly
#25,569 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
86/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Quiet
Tech stack
rust
Domain
api, documentation

Research direction

Open the app-server README and locate the turn/start example containing approvalPolicy. Compare its value with the TurnStartParams schema described in the issue, then replace the invalid value with a valid documented option. Done means the README example uses an accepted approvalPolicy value or the current granular object form.

Written by the indexing model from the issue text.

Description

app-server documentation
What happened?

The app-server README's turn/start example uses:

"approvalPolicy": "unlessTrusted"

The current TurnStartParams schema accepts the string values:

  • untrusted
  • on-failure
  • on-request
  • never

or a granular approval-policy object. unlessTrusted does not appear to be a valid value.

Expected behavior

The README example should use a valid approvalPolicy value such as on-request, untrusted, on-failure, or never, or show the current granular object form.

Additional context

I searched open issues and PRs for terms including app-server README, approvalPolicy, unlessTrusted, and TurnStartParams, and did not find an existing open item that appears to cover this invalid example value.

Dominant language
Rust
Stars
125k
Forks
19.5k
Avg merge
1m
Merged PRs (30d)
1k

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openai/codex

All issues in openai/codex

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.