Skip to content

feat: gate dedicated memories tools in config#24600

Merged
jif-oai merged 2 commits into
mainfrom
jif/dedicated-cfg
May 26, 2026
Merged

feat: gate dedicated memories tools in config#24600
jif-oai merged 2 commits into
mainfrom
jif/dedicated-cfg

Conversation

@jif-oai
Copy link
Copy Markdown
Collaborator

@jif-oai jif-oai commented May 26, 2026

Why

The memories extension already has dedicated list, read, search, and add_ad_hoc_note tools, but app-server registration was still disabled. The memories app collaborator needs an explicit config switch so those native extension tools can be exposed intentionally, without making ordinary memory prompt usage automatically register the dedicated tool surface.

What changed

  • Added [memories].dedicated_tools, defaulting to false, to MemoriesToml / MemoriesConfig.
  • Regenerated core/config.schema.json for the new setting.
  • Registered the memories extension as a ToolContributor, while keeping tool contribution gated on both memories being enabled and dedicated_tools = true.
  • Added tests for the disabled default, the enabled dedicated-tools path, and installer registration.

Verification

  • just test -p codex-config -p codex-memories-extension

@jif-oai jif-oai requested a review from a team as a code owner May 26, 2026 15:34
@jif-oai jif-oai changed the title feat: dedicated tools config feat: gate dedicated memories tools in config May 26, 2026
@jif-oai jif-oai merged commit ef6528c into main May 26, 2026
31 checks passed
@jif-oai jif-oai deleted the jif/dedicated-cfg branch May 26, 2026 16:19
@github-actions github-actions Bot locked and limited conversation to collaborators May 26, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant