{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreigj4ekko3rypa2h6dyaxmvryfxal7akjnljm5yzk4wqrd6qgmg5iy",
    "uri": "at://did:plc:lk3jfj3zq4k4wxnk474axylu/app.bsky.feed.post/3mkcrzqjqchn2"
  },
  "path": "/t/how-to-pre-approve-specific-commands/1379737#post_1",
  "publishedAt": "2026-04-25T09:14:34.000Z",
  "site": "https://community.openai.com",
  "textContent": "I want to pre-approve specific commands, not every command that shares the same prefix.\n\nFor example, I want to allow:\n`.\\gradlew.bat compileKotlin`\n\nbut not:\n\n`.\\gradlew.bat compileKotlin && someDangerousCommand`\n\nHowever, Codex always suggests a rule that says not to ask again for commands that “start with” the given command. The rules documentation also seems to describe prefix-based matching only: (see rules documentation, I was not allowed to post a link)\n\nAm I misunderstanding how this works, or is it currently not possible to allow only exact commands?",
  "title": "How to pre-approve *specific* commands?"
}