Problem
Hydra gate-5 (route-auth) fails on scholiq's AppHost-aliased routes. For each route name ctrl#method in appinfo/routes.php, the gate derives lib/Controller/{Ctrl}Controller.php and fails if that file is absent. scholiq's health#index, metrics#index, preferences#getPreference, preferences#setPreference routes point at generic AppHost controllers (ADR-040, GenericHealth/Metrics/PreferencesController) with no local controller file, so the gate reports them as missing:
health#index — lib/Controller/HealthController.php missing
metrics#index — lib/Controller/MetricsController.php missing
preferences#getPreference — lib/Controller/PreferencesController.php missing
preferences#setPreference — lib/Controller/PreferencesController.php missing
This is pre-existing on development (the routes are not introduced by any recent PR) and blocks the pre-merge-check-strict job for every PR whose CI runs the current hydra main.
Options
- Add thin local
HealthController / MetricsController / PreferencesController that extend the AppHost generics and carry the NC auth attributes (#[PublicPage] / #[NoAdminRequired] etc.) — makes gate-5 pass and documents the auth posture locally.
- Or teach hydra gate-5 to recognise AppHost-aliased routes (skip / resolve via the generic) — hydra-side fix.
Option 1 is the scholiq-local fix. Filed while merging the dashboard PR (#45), whose CI was red solely on this pre-existing gate (the PR touches no PHP / routes).
Gemigreerd van Codeberg — oorspronkelijk Conduction/scholiq#51, geopend door rubenvdlinde op 2026-07-07.
Problem
Hydra gate-5 (route-auth) fails on scholiq's AppHost-aliased routes. For each route name
ctrl#methodinappinfo/routes.php, the gate deriveslib/Controller/{Ctrl}Controller.phpand fails if that file is absent. scholiq'shealth#index,metrics#index,preferences#getPreference,preferences#setPreferenceroutes point at generic AppHost controllers (ADR-040, GenericHealth/Metrics/PreferencesController) with no local controller file, so the gate reports them asmissing:This is pre-existing on
development(the routes are not introduced by any recent PR) and blocks thepre-merge-check-strictjob for every PR whose CI runs the current hydramain.Options
HealthController/MetricsController/PreferencesControllerthat extend the AppHost generics and carry the NC auth attributes (#[PublicPage]/#[NoAdminRequired]etc.) — makes gate-5 pass and documents the auth posture locally.Option 1 is the scholiq-local fix. Filed while merging the dashboard PR (#45), whose CI was red solely on this pre-existing gate (the PR touches no PHP / routes).
Gemigreerd van Codeberg — oorspronkelijk Conduction/scholiq#51, geopend door
rubenvdlindeop 2026-07-07.