Skip to content

refactor: rename session_command to command_expansion#76

Merged
dbpolito merged 2 commits intomainfrom
refactor/session-command-to-expansion
Apr 2, 2026
Merged

refactor: rename session_command to command_expansion#76
dbpolito merged 2 commits intomainfrom
refactor/session-command-to-expansion

Conversation

@dbpolito
Copy link
Copy Markdown
Contributor

@dbpolito dbpolito commented Apr 2, 2026

Ticket

SKIPPED

Description

Renames the session_command tool to command_expansion across the entire codebase for clearer naming that reflects its purpose of expanding and dispatching commands within the same session.

This change affects:

  • Core tools and type definitions
  • All commands that delegate to subagents (branch, ship, ticket/dev, todo)
  • Navigator agent documentation
  • OpenCode adapter output
  • Web documentation

Checklist

Tool Renaming

  • Rename session_command to command_expansion in tool definitions
  • Update tool implementation in dispatch.ts
  • Update tool registration and exports

Command Updates

  • Update branch.md command delegation
  • Update ship.md command delegation
  • Update ticket/dev.md command delegation
  • Update todo.md command delegation

Documentation

  • Update AGENTS.md navigator patterns
  • Update web docs (add command-expansion.mdx, remove session-command.mdx)
  • Update affected command documentation

Generated Output

  • Regenerate OpenCode adapter files
  • Update tests for new tool naming

Validation

  • Verify all references updated consistently
  • Confirm no remaining session_command references

dbpolito added 2 commits April 1, 2026 15:42
- describe session-command acknowledgements as scheduling-only responses
- update ship and branch command wording for skipped branch handling
- align OpenCode tool output and tests with async delegated execution
- Replace <session_command> tags with <delegate> tags in command docs
- Rename session_command tool to command_expansion across core and opencode
- Update agent documentation (navigator) to reflect new terminology
- Update TypeScript types and implementations in dispatch tool
- Update all test files to use new tool name
- Rename session-command.mdx docs to command-expansion.mdx
- Sync generated opencode artifacts with source changes
- Update AGENTS.md workflow guidelines with new terminology
@dbpolito dbpolito self-assigned this Apr 2, 2026
@dbpolito dbpolito merged commit 136e81f into main Apr 2, 2026
1 check passed
@dbpolito dbpolito deleted the refactor/session-command-to-expansion branch April 2, 2026 16:51
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