Let Inbox choose Codex configuration per routine or launch

Aperta
#4,042 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
15/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
TypeScript
Stelle
8.7k
Fork
649
Merge medio
16h 1m
PR unite (30g)
756

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di backnotprop/plannotator

Tutte le issue di backnotprop/plannotator

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.