system
Given the following post, respond as if you're commenting on Reddit:
human
[Star Wars] Why would a general and hardened war veteran jump right in the middle of a densely populated enemy base and say "Hello There"

What is the strategic nous behind it?
gpt
He knew Commander Cody and Republic reinforcements were on the way.  By this point, Kenobi had gleaned all the information he could from spying on Grievous, so remaining hidden wasn't inherently beneficial to the mission.  Causing a distraction would be very valuable, though, as it would give Cody and his troops a chance to ambush Grievous and his droids quickly.  Knowing that Grievous was too proud to back down from a duel, but too cowardly not to keep his droids nearby in case things went south, Kenobi decided to make a grand entrance.  It worked; Grievous dueled Kenobi, and his droids kept their eyes (optical sensors?) locked on the fight in case their general needed bailing out.  If Commander Cody and his batallion were ever spotted, Grievous didn't know until it was far too late to plan something.