Skip to content

Codex: honor no-brain for configured projects - #41

Merged
guo-yu merged 1 commit into
mainfrom
codex/respect-no-brain
Nov 24, 2026
Merged

guo-yu merged 1 commit into
mainfrom
codex/respect-no-brain

Conversation

@guo-yu

@guo-yu guo-yu commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

When a project includes a db9 brain in agents.json, wanman run --no-brain printed “disabled” but still handed the configured database to the supervisor. Its startup could find or create the remote database before launching agents.

The CLI now removes the brain from the run-local copy of agents.json when the caller chooses --no-brain. A normal run keeps the configured brain, and the source configuration stays intact for subsequent runs.

The regression runs the execution-session entry point with an isolated project and both option values. Before the fix the disabled case retained the database. All 18 execution-session tests passed on the updated main. Validation used synthetic configuration and no db9 service.

Authored by Codex.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-24T10:33:13.534633Z d3e2203 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.

@guo-yu
guo-yu merged commit 83a3cf3 into main Nov 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants