fix: rename root time-agent to time-agent-pkt to resolve name collision
Two agent files both declared `name: time-agent` with different implementations: - `.claude/agents/time-agent.md` (root): PKT, UTC+5 (Pakistan Standard Time) - `agent-teams/.claude/agents/time-agent.md` (agent-teams): Dubai GST, UTC+4 When both scopes are active, Claude Code may invoke the wrong time-agent — serving PKT time when a Dubai command expects GST, or vice versa. Renamed the root agent's `name` from `time-agent` to `time-agent-pkt` so the two agents are unambiguous. The agent-teams variant retains `name: time-agent` since `agent-teams/.claude/commands/time-orchestrator.md` explicitly invokes it by that name for Dubai time display. Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: time-agent
|
||||
description: Use this agent to display the current time in Pakistan Standard Time (PKT, UTC+5).
|
||||
name: time-agent-pkt
|
||||
description: Use this agent to display the current time in Pakistan Standard Time (PKT, UTC+5). (root scope — see agent-teams for Dubai time)
|
||||
allowedTools:
|
||||
- "Bash(*)"
|
||||
- "Read"
|
||||
|
||||
Reference in New Issue
Block a user