UAIX / AI Memory / Handoff
UAIX Locale Router 3.76.0 hardening report
Report summary
Embedded front-door recovery/health guard Registered a shutdown handler. Could render public 503 recovery pages after fatal errors. Exposed a public diagnostic REST endpoint. Included recovery flows capable of deleting rewrite rules, disabling plugins, or switching themes through flags. Removed from
Key topics
- UAIX / AI Memory / Handoff
- UAIX
- AI Memory
- Handoff
- WordPress
- Runtime
- Research Archive
- Architecture
- Governance
Research provenance
For citation, use the report title and canonical URL. Archival presence does not establish authorship or promote report statements into portfolio evidence.
This page renders the archived Markdown as safe, formatted HTML. It is background research and does not become a portfolio claim without evidence review.
Full report
On this page
Primary outage drivers found
- Embedded front-door recovery/health guard
- Registered a shutdown handler.
- Could render public 503 recovery pages after fatal errors.
- Exposed a public diagnostic REST endpoint.
- Included recovery flows capable of deleting rewrite rules, disabling plugins, or switching themes through flags.
- Removed from the package.
- Frontend self-repair and loopbacks
- Public requests could trigger localized-home loopback checks and
.htaccessrepair logic. - This can convert a routing problem or slow loopback into visitor-facing instability.
- Converted these methods to explicit no-ops and constrained diagnostics to admin/Site Health flows.
- Runtime mutation of WordPress state
- Install/upgrade work was registered on public
init. - The plugin could mutate the
active_pluginsoption to force itself to the front of the load order. - Moved install/upgrade work to
admin_initand removed active-plugin-order mutation.
- Custom
.htaccessarchitecture
- The plugin wrote custom UAIX marker blocks and refreshed WordPress marker blocks.
- This is fragile on shared hosting, multisite, proxy/CDN, and non-Apache stacks.
- Replaced with standard WordPress rewrite refresh and legacy-marker removal through an authenticated admin action only.
- Hot-path filesystem scans
- Translation fallback could scan active theme/plugin source files on cold frontend requests.
- Dictionary cache fingerprints used full-file hashing.
- Frontend now reads prepared runtime dictionaries, avoids source scans, and uses cheap file-stat fingerprints.
Hardening changes made
- Bumped plugin version and readme stable tag to
3.76.0. - Removed
includes/site-health-guard.phpfrom the package. - Removed top-level inclusion of the health guard.
- Changed default new-install routing state to disabled.
- Changed new-install redirect default to
302. - Restricted install/upgrade tasks to admin execution.
- Removed active plugin load-order mutation.
- Made frontend handoff self-healing an explicit no-op.
- Rewrote
.htaccessmanagement to rely on the standard WordPress block. - Added legacy UAIX
.htaccessmarker detection/removal. - Converted the general repair tool to use a soft rewrite cache refresh.
- Added fallback handling for failed
preg_replace_callback()calls. - Prevented content token rendering when plugin routing is disabled.
- Stopped public bootstrap-failure paths from writing options on every frontend request.
- Stored uploaded dictionaries in runtime-key format so frontend reads do not scan source files.
- Added an admin upgrade migration for existing source-text dictionaries.
- Added stricter upload error and post-read size checks for dictionary JSON files.
- Added a hardening notes document in
docs/HARDENING.md.
Validation performed
- PHP syntax linted every PHP file in the plugin.
- Verified the release ZIP does not include the removed health guard,
includes/,vendor/,node_modules/,.git, tests, or runtime log folders. - Verified package version alignment between the main plugin header,
UAIXLR_VERSION, Composer metadata, andreadme.txtstable tag.
Remaining release caveats
- I did not run a full WordPress integration test matrix inside this environment.
- I did not raise
Tested up tobeyond the original value because that should only be done after a real WordPress-version compatibility pass. - Before marketplace submission, run WordPress Plugin Check and PHPCS/WPCS in CI against the target WordPress/PHP matrix.