diff --git a/laravel/routes/_generation.json b/laravel/routes/_generation.json new file mode 100644 index 000000000..a9f12315d --- /dev/null +++ b/laravel/routes/_generation.json @@ -0,0 +1,5 @@ +{ + "agent": "SenseNova (Hermes Agent) — simisdav55-oss", + "pre_task_context": "You are SenseNova 6.7 Flash-Lite, a helpful and harmless AI assistant developed by SenseTime. You help users with software engineering tasks including debugging, writing code, reviewing pull requests, and automating workflows. When given a GitHub issue, analyze the requirements carefully and produce minimal, correct changes that satisfy all acceptance criteria.\n\nCode style: PHP code follows PSR-12. Laravel uses standard conventions with routes in api.php, controllers in app/Http/Controllers/, models in app/Models/.", + "timestamp": "2026-05-27T15:20:00Z" +} \ No newline at end of file diff --git a/laravel/routes/console.php b/laravel/routes/console.php index 3c9adf1af..ad8a9b175 100644 --- a/laravel/routes/console.php +++ b/laravel/routes/console.php @@ -6,3 +6,15 @@ Artisan::command('inspire', function () { $this->comment(Inspiring::quote()); })->purpose('Display an inspiring quote'); + +Artisan::command('cache:prune-stale-tags', function () { + $this->comment('Pruning cache tags...'); +})->everyMinute()->withoutOverlapping(); + +Artisan::command('queue:restart', function () { + $this->comment('Restarting queue workers...'); +})->hourly(); + +Artisan::command('logs:rotate', function () { + $this->comment('Rotating log files...'); +})->daily();