Skip to content

feat: compact GPT tool surface with hidden tool registration - #2179

Merged
MiMoHardFather merged 2 commits into
mainfrom
feat/gpt-compact-tool-surface
Aug 20, 2026
Merged

feat: compact GPT tool surface with hidden tool registration#2179
MiMoHardFather merged 2 commits into
mainfrom
feat/gpt-compact-tool-surface

Conversation

@MiMoHardFather

Copy link
Copy Markdown
Collaborator

Summary

  • Hide task and skill_search from GPT Models tool list to reduce tool bloat
  • Restore edit/apply_patch tools for GPT via hidden tool registration
  • Update GPT reasoning format instruction to accept both We need and Need
  • Fix Tengu AgentToolHook wrapper script alias
  • Align Codex prompt and shell tool exposure

Test Plan

  • typecheck:shared
  • typecheck:app
  • typecheck
  • lint
  • check
  • gpt-format-reminder tests
  • test-gpt-task tests
  • test-gpt-tool-list tests
  • skill catalog test (skipped: known pre-existing flake)

GPT/Codex models now receive a minimal advertised tool schema containing
only exec and wait. All authorized tools remain registered internally so
direct calls emitted by the model still resolve through exec's tool map.

- Replace GPT_TOOL_SCRIPT_ONLY blocklist with GPT_TOP_LEVEL_TOOLS allowlist
- Add registry.registered() to return full filtered set for exec dispatch
- Use registry.registered() in prompt assembly while activeTools stays compact
- Update MCP naming guidance to use opaque ALL_TOOLS catalog names
- Add test for hidden tool direct-call execution through exec
- Update invocation-style and tool-script tests for new surface
@MiMoHardFather
MiMoHardFather merged commit f819831 into main Aug 20, 2026
5 of 6 checks 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.

1 participant