Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions script/install
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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"
Expand Down
Loading