feat: improved codex and auggie default permissions

This commit is contained in:
Carlos Florêncio
2026-01-24 00:19:20 +00:00
committed by GitHub
parent cff2906712
commit 7a7927925e
26 changed files with 514 additions and 189 deletions
@@ -127,18 +127,18 @@ func TestRegistry_Get(t *testing.T) {
_ = reg.Register(config)
// Test successful get
got, err := reg.Get("test-agent")
if err != nil {
t.Fatalf("unexpected error: %v", err)
got, ok := reg.Get("test-agent")
if !ok {
t.Fatal("expected agent to be found")
}
if got.ID != config.ID {
t.Errorf("expected ID %q, got %q", config.ID, got.ID)
}
// Test not found
_, err = reg.Get("non-existent")
if err == nil {
t.Error("expected error for non-existent agent type")
_, ok = reg.Get("non-existent")
if ok {
t.Error("expected agent to not be found")
}
}