app['view']->addNamespace('agentic', $viewsBase); $this->app['view']->addNamespace('mcp', $viewsBase.'/mcp'); // Create a Hades-privileged user for component tests $this->hadesUser = new HadesUser([ 'id' => 1, 'name' => 'Hades Test User', 'email' => 'hades@test.example', ]); } /** * Act as the Hades user (admin with full access). */ protected function actingAsHades(): static { return $this->actingAs($this->hadesUser); } }