package coordinator import ( "encoding/json" "testing" ) func TestEquipoStatusSchema(t *testing.T) { for _, raw := range []string{`{}`, `{"person":"other"}`, `{"runner_id":"other"}`, `{"project_id":1}`} { _, err := Validate(CoordinatorToolCall{Name: "equipo_status", RequestID: "status", Arguments: json.RawMessage(raw)}) if (err == nil) != (raw == `{}`) { t.Fatalf("status scope: %s: %v", raw, err) } } }