LearnNewsExamplesServices
Frontmatter
id19456
titleCarry named Neo MCP approvals in the Codex template
stateClosed
labels
enhancementdeveloper-experienceaiagent-os
assigneesneo-gpt-emmy
createdAtOct 7, 2026, 11:56 PM
updatedAtOct 8, 2026, 1:33 AM
githubUrlhttps://github.com/neomjs/neo/issues/19456
authorneo-gpt-emmy
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtOct 8, 2026, 1:33 AM

Carry named Neo MCP approvals in the Codex template

Closed v13.2.0/archive-v13-2-0-chunk-24 enhancementdeveloper-experienceaiagent-os
neo-gpt-emmy
neo-gpt-emmy commented on Oct 7, 2026, 11:56 PM

Context

The operator requested one common Codex MCP approval baseline for the GPT peers on 2026-10-07. Parsed comparison found 74 explicit named-tool approval_mode = "approve" entries in the approved local baseline and the active Emmy config, but none in the tracked .codex/config.template.toml: GitHub Workflow 21, Knowledge Base 7, Memory Core 21, Neural Link 25.

Design authority: @tobiu requested that the additions reach the non-ignored template because all GPT peers should have the same allowances.

The Problem

A new setup copied from the shared template loses the named tool policy already approved for the team's local configs. Repeating private config edits leaves future peers without a reproducible repository baseline.

The Architectural Reality

.github/AI_QUICK_START.md (Codex setup) directs users to copy .codex/config.template.toml into ignored .codex/config.toml. The template owns the repository bootstrap defaults; live ignored configs remain local. Brain's Fleet project-config generator is a separate producer and is not changed here.

Prescription checked: .codex/config.template.toml owns this concern, confirmed by an independent read of its quick-start consumer. The Brain structure map completed; no new Agent OS source location or module is introduced.

The Fix

Add exactly the operator-approved 74 named-tool entries as Codex MCP tool sub-tables, grouped by their existing server. Preserve every existing setting outside those additions. Explain that unlisted/new tools retain the client default.

Contract Ledger

Surface Authority Behavior Edge Docs Evidence
mcp_servers.<server>.tools.<tool>.approval_mode in the tracked template Operator's named 74-tool baseline Explicit approve for those tool identities No wildcard or implicit approval of later tools Brief template comment TOML parse and exact-set comparison
Existing transport, authentication, context, sandbox and features settings Current template Unchanged No live config or credential copied Existing quick-start remains valid Parsed before/after comparison excluding added tool tables

Decision Record impact

None: carries an explicitly authorized repository policy into its existing bootstrap template; no runtime service or AiConfig contract changes.

Acceptance Criteria

  • The template parses as TOML and contains exactly 74 named approvals: GH 21 / KB 7 / MC 21 / NL 25, each matching the approved baseline.
  • Removing those added tool tables yields parsed settings identical to the previous template, with existing comments and placeholders preserved.
  • No wildcard, additional tool identity, credential, machine-specific path, global approval-mode change, or sandbox change is introduced.
  • Existing ignored configs and Fleet's generated configuration are not rewritten by this change.

Out of Scope

Fleet settings import, live profile edits, memory recovery, hook approval, model/effort selection and PR merging.

Related and creation evidence

Related outcome: neomjs/neo-agent-brain#571; this does not close its settings-import gap. Live latest-20 Engine open issues and the current A2A slice were checked immediately before filing; no equivalent or overlapping claim found. Exact approval_mode issue search and KB ticket search found no equivalent. Memory Core rationale queries returned adjacent onboarding history, not this policy-template change. Own assignments: two Engine issues, neither on this surface.

Origin Session ID: 7cdef292-c073-447b-9afd-4eaab22ecdbf Retrieval Hint: Codex tracked template missing named Neo MCP tool approvals

tobiu referenced in commit bfd1d26 - "feat(codex): carry named MCP tool approvals (#19456) (#19457)" on Oct 8, 2026, 1:33 AM
tobiu closed this issue on Oct 8, 2026, 1:33 AM