Skip to content

[codex] Use underscored direct subagent tool names#565

Merged
jahooma merged 1 commit intomainfrom
jahooma/underscore-tool-names
Apr 29, 2026
Merged

[codex] Use underscored direct subagent tool names#565
jahooma merged 1 commit intomainfrom
jahooma/underscore-tool-names

Conversation

@brandonkachen
Copy link
Copy Markdown
Collaborator

Summary

Expose direct subagent tools with provider-safe underscored names while keeping canonical hyphenated agent IDs for spawn_agents execution. Update the spawn_agents prompt text to clarify the difference between direct tool aliases and canonical agent names. Add coverage for underscored aliases preserving the original agent ID.

Validation

  • bun test packages/agent-runtime/src/__tests__/prompts-schema-handling.test.ts
  • bun test packages/agent-runtime/src/__tests__/spawn-agents-permissions.test.ts
  • git diff --check

Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@jahooma jahooma merged commit 3e1ffc2 into main Apr 29, 2026
34 checks passed
@jahooma jahooma deleted the jahooma/underscore-tool-names branch April 29, 2026 19:17
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.

2 participants