From 4236e8e31b545f6b7d9e04af4dd7780f9b7f5742 Mon Sep 17 00:00:00 2001 From: Chris Berry Date: Mon, 17 Aug 2026 19:59:31 -0700 Subject: [PATCH] Use home-config deployment paths --- AGENTS.md | 2 +- README.md | 6 +++--- script/install | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 45246b9..a9bbfdb 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -37,7 +37,7 @@ and CLI dispatch separate. Treat every physical-access write as safety-sensitive ## Development -Use the private home-ops bootstrap for installed use and `.venv` for development. Run the full +Use the private home-config bootstrap for installed use and `.venv` for development. Run the full format, lint, secret-scan, and test sequence documented in `README.md` before publishing. Live validation must be supervised and must not expose private account, device, callback, or serial data. diff --git a/README.md b/README.md index d045983..27e97ca 100644 --- a/README.md +++ b/README.md @@ -29,14 +29,14 @@ Python 3.11 or newer is required. There are no runtime package dependencies. ## Install ```bash -cd /path/to/private/home-ops +cd /path/to/private/home-config ./bin/bootstrap-ctls gatectl ``` -The private `home-ops` bootstrap is the canonical installer: it populates the +The private `home-config` bootstrap is the canonical installer: it populates the real inventory, calls this repository's stable `script/install` contract, and creates `/usr/local/bin/gatectl` backed by an isolated system environment under -`/usr/local/lib/home-ops/ctls`. For development without installation, prefix +`/usr/local/lib/home-config/ctls`. For development without installation, prefix commands with `PYTHONPATH=src python3 -m gatectl`. ## Configure private targets diff --git a/script/install b/script/install index 55f3e86..a6de448 100755 --- a/script/install +++ b/script/install @@ -4,7 +4,7 @@ set -eu repo_root=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd) name=gatectl install_prefix=${CTL_INSTALL_PREFIX:-/usr/local} -venv_root=${CTL_VENV_ROOT:-$install_prefix/lib/home-ops/ctls} +venv_root=${CTL_VENV_ROOT:-$install_prefix/lib/home-config/ctls} bin_dir=${CTL_BIN_DIR:-$install_prefix/bin} venv="$venv_root/$name" python=${PYTHON:-python3} @@ -14,7 +14,7 @@ if ! command -v "$python" >/dev/null 2>&1; then exit 1 fi -install -d -m 755 "$install_prefix/lib" "$install_prefix/lib/home-ops" "$venv_root" "$bin_dir" +install -d -m 755 "$install_prefix/lib" "$install_prefix/lib/home-config" "$venv_root" "$bin_dir" "$python" -m venv --clear "$venv" "$venv/bin/python" -m pip install --disable-pip-version-check "$repo_root" chmod -R a+rX "$venv"