Skip to content

Use self-contained private switch config - #1

Merged
cnberry merged 1 commit into
mainfrom
codex/system-ctl-deployment
Aug 17, 2026
Merged

Use self-contained private switch config#1
cnberry merged 1 commit into
mainfrom
codex/system-ctl-deployment

Conversation

@cnberry

@cnberry cnberry commented Aug 17, 2026

Copy link
Copy Markdown
Owner

What changed

  • use /usr/local/config/switchctl/config.json by default
  • store Tuya local keys in the secure private config instead of credential environment variables
  • replace the pipx installer with an isolated system environment under /usr/local/lib/home-ops/ctls
  • update examples, the skill, runbook, protocol notes, troubleshooting, and tests

Why

A bootstrap-installed inventory containing only local_key_env references was unusable in normal Strawberry login sessions.

Validation

  • Ruff format and lint
  • detect-secrets baseline scan
  • 25 unit tests
  • live switchctl on patio-lights --yes plus post-write readback on Strawberry

@cnberry
cnberry merged commit fa730dd into main Aug 17, 2026
6 checks passed
@cnberry
cnberry deleted the codex/system-ctl-deployment branch August 17, 2026 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant