@@ -23,6 +23,7 @@ func TestFindByID(t *testing.T) {
2323 {name : "antigravity" , id : "antigravity" , wantName : "Antigravity" },
2424 {name : "antigravity-cli" , id : "antigravity-cli" , wantName : "Antigravity CLI" },
2525 {name : "antigravity2.0" , id : "antigravity2.0" , wantName : "Antigravity 2.0" },
26+ {name : "grok" , id : "grok" , wantName : "Grok" },
2627 {name : "unknown agent" , id : "nonexistent" , wantErr : "unknown agent" },
2728 }
2829 for _ , tt := range tests {
@@ -159,6 +160,22 @@ func TestInstallDir(t *testing.T) {
159160 homeDir : "/home/monalisa" ,
160161 wantDir : filepath .Join ("/home/monalisa" , ".gemini" , "config" , "skills" ),
161162 },
163+ {
164+ name : "grok project scope" ,
165+ hostID : "grok" ,
166+ scope : ScopeProject ,
167+ gitRoot : "/tmp/monalisa-repo" ,
168+ homeDir : "/home/monalisa" ,
169+ wantDir : filepath .Join ("/tmp/monalisa-repo" , ".grok" , "skills" ),
170+ },
171+ {
172+ name : "grok user scope" ,
173+ hostID : "grok" ,
174+ scope : ScopeUser ,
175+ gitRoot : "/tmp/monalisa-repo" ,
176+ homeDir : "/home/monalisa" ,
177+ wantDir : filepath .Join ("/home/monalisa" , ".grok" , "skills" ),
178+ },
162179 {
163180 // Issue #13494: Universal must use the shared .agents/skills dir
164181 // at user scope so compliant clients (Copilot, Pi, OpenCode) pick up
0 commit comments