Let Inbox choose Codex configuration per routine or launch

Open
#4,042 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
15/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
typescript

Research direction

Start by reproducing the sign-in observation: run Codex with the default CODEX_HOME and with a separate home, then check which Inbox MCP tools each session exposes. Next, find where routines store their model and effort fields and where the Inbox resolves CODEX_HOME, since the choice has to be stored per routine or per manual launch. Done means two launches in one folder share the same sign-in, only the opted-in launch gets the Inbox tools, and scheduled runs and retries use the same resolved configuration. Settle the profile-versus-home decision with a maintainer first.

Written by the indexing model from the issue text.

Description

I'd like to run a scheduled health check with the Inbox MCP tools while keeping those tools out of regular Codex sessions. The health check and a regular session may use the same working directory. Could the Inbox let me choose a Codex configuration or profile for one saved routine or one manual launch, while reusing my existing Codex sign-in when the selected configuration supports it?

In Plannotator 0.29.3 and 0.29.4, routines can select a model and effort. They have no field for a Codex profile, config override, or launch environment. The Inbox resolves CODEX_HOME from its login shell or service environment. Setting it for the service can affect other Codex sessions the Inbox starts. In a local check with 0.29.4, the default Codex home was signed in. A separate home with the Inbox MCP server registered was signed out, and Codex's local account check confirmed there was no signed-in account in that home.

The project-level preflight in #4000 would help when a dedicated trusted project is enough. I'd still like to choose which launch gets Inbox access when two sessions share a directory.

Two options could support this.

  1. Offer a named Codex profile or a supported launch-time config override within the existing Codex home. This could keep the current sign-in and enable the Inbox MCP server for the selected launch. It depends on what Codex supports overriding at startup and how those overrides interact with project config.
  2. Allow an explicit CODEX_HOME or a small set of non-secret environment overrides for the selected launch. A separate home can isolate settings and state, but an empty home may require its own sign-in. Reuse an existing sign-in only through a Codex-supported mechanism. Keep authentication under Codex's control in either case.

Use the same resolved configuration for the availability check and the process the Inbox starts, including scheduled runs and retries. With the option unset, preserve existing behavior for saved routines and new launches. A useful check would run two launches in the same folder with the same existing sign-in and confirm that only the opted-in launch gets the Inbox tools.

Pi has a similar configuration scope. The Inbox checks the extension in the settings for the agent directory selected by PI_CODING_AGENT_DIR or the default directory. A per-launch choice could help Pi too. The sign-in observation above is specific to Codex.

Environment

Plannotator 0.29.3 and 0.29.4, Codex CLI 0.172.0, macOS.

Dominant language
TypeScript
Stars
8.7k
Forks
649
Avg merge
16h 1m
Merged PRs (30d)
756

Getting set up

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 backnotprop/plannotator

All issues in backnotprop/plannotator

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.