Migrate and load legacy configuration before preparation writes the root
password. Keep an existing usr/.env authoritative without overwriting
conflicting legacy files or disturbing aliases. Preparation uses stored
dotenv values with the same file-over-environment precedence as UI startup.
Preserve external symlink targets and their replacements, including when
usr/ is itself a symlink. Abort on invalid configuration before creating a
password-only replacement that would hide the saved login credentials.
Cover precedence, aliases, external target replacement, migration failures,
and preparation ordering with regression tests and update the owning docs.
Validation: 80 related tests passed locally; 21 focused tests passed in the
localhost:32081 Docker framework runtime. Full live update/rollback was not
run.
Stop PrintStyle from creating per-process HTML files under /a0/logs and remove the obsolete tracked folder scaffolding.
Delete existing legacy log directories during startup migration so self-updated and manually upgraded installations are cleaned automatically. Point plugin debugging guidance to Docker output and add regression coverage for repeatable cleanup.
- Extract UI server setup into UiServerRuntime class with modular initialization
- Move environment configuration, route registration, and transport handlers to helpers/ui_server.py
- Add released_at timestamp tracking for git tags and branch heads across update system
- Implement get_current_major_main_latest_info to find latest same-major version on main branch
- Add major_upgrade_versions and main_branch_latest fields to update info payload
- Remove
- Change @extensible decorator to generate extension paths from full module and qualname hierarchies instead of flattened names
- Update extension path format from `{module}_{qualname}_{start|end}` to `_functions/<module>/<qualname>/{start|end}`
- Move all extension files to new deep directory structure under `_functions/` to match new path format
- Replace PathSpec.from_lines(GitWildMatchPattern, ...) with PathSpec.from_lines