Console Shell Supposed To Execute Web Site/index Action?

When I enter the shell via yiic for my app, things at first seems to happen accordingly.

I get a prompt, and I can list the commands via help, and voila - I can see the one ConsoleCommand I’ve created myself.

However, just by entering the shell, I seem to execute code inside my webapp’s index action in my SiteController.

I’m logging stuff from there, but it also seems that debug and trace level doesn’t matter here since even if I explictly set these values again (not just in index.php) right before the call, I still can’t get any call stack info, so I have no idea what is making it call this.

Am I just misunderstanding here? Is opening the console shell for your app supposed to trigger the site/index action?