Area: Admin deep-dive (commerce/config) (audit p15b) · Surface: /admin/oneliners (AdminOnelinerController@index/edit/delete) · Dimension: dead-code · Severity: enhancement
Because `one_liners` is in POLICY_DISABLED it never auto-enables, so `require('one_liners')` throws FeatureDisabledException on every request and the nav link is hidden. The controller, its routes (/admin/oneliners[/{id}/edit|/delete]), and templates/admin/oneliners/ are effectively dead in production. This is intentional per policy — reported as a removal candidate, not a bug.
Evidence
Controller hard-gates on the policy-disabled feature: platform/src/Controllers/AdminOnelinerController.php:13 `$this->features->require('one_liners');` and FeatureCatalog lists it as disabled: platform-admin/src/Domain/FeatureCatalog.php:80 `'one_liners',` under POLICY_DISABLED. Nav link is feature-gated so it never renders: templates/layouts/admin.php:172 `<?php if ($features->oneLiners()): ?>`. Grep for ungated entry points: `grep -rn admin/oneliners platform/templates/ | grep -v layouts/admin.php` returns only links inside templates/admin/oneliners/index.php itself (reachable only after the gated index loads). No external reachable entry.
Suggested fix. Leave in place if tenants may opt in; otherwise schedule removal of AdminOnelinerController, its 3 routes (routes.php:2067-2069), and templates/admin/oneliners/ as part of one_liners decommission.
Filed by the automated tenant-app audit and adversarially evidence-verified. Status: verified. Open — not yet actioned.
Patrick Bass
@mobieus