Files
Juan DenisandClaude Fable 5 7b45504568 docs: adopt numbered filenames for docs/plans and update references
Plan docs in docs/plans/ (git-ignored) now carry a NN_ prefix in
creation order so new plans sort last. Updated the tracked references
(test docstrings, AGENTS.md, serverkit_installer, _utilities.scss) and
dropped two stale per-file .gitignore lines already covered by the
/docs/plans rule.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-01 20:49:41 -04:00

20 lines
911 B
Python

"""ServerKit installer bootstrap (Phase 5 foundation).
A stdlib-only, import-safe, unit-tested Python package that mirrors the bash
installer's distro/dependency/firewall/service logic. Per the hardening plan
(docs/plans/07_INSTALLER_UPDATER_UNINSTALLER_HARDENING_PLAN.md §8) this is an
*additive foundation*: install.sh remains the canonical installer. The point of
porting the stabilized bash logic here is to get unit-testable orchestration and
a single source of truth for distro detection that the backend can eventually
share.
It is deliberately import-safe with NO dependency on ``app`` (which pulls in
Flask/SQLAlchemy) because the real bootstrap runs *before* the backend venv
exists. It mirrors ``app/utils/system.py``'s ``run_privileged``/sudo contract
rather than importing it.
"""
from . import deps, distro, firewall, service # noqa: F401
__all__ = ["distro", "deps", "firewall", "service"]