You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(routing): add agent role normalization for proper history routing
- Add normalizeAgentRole() to handle subagent patterns (subagents/architect → architect)
- Add tool.execute.before hook to capture subagent_type from Task tool args
- Fix case-sensitivity bug (task vs Task) in logToolExecution
- Add comprehensive unit tests for agent role normalization (20 tests)
Routes subagent outputs to correct history directories:
- architect → history/decisions/
- researcher/analyst/explorer → history/research/
- engineer/designer → history/execution/
Closes agent routing issue where all outputs went to sessions/
0 commit comments