chore(hygiene): remove internal network topology from tracked files #4
Loading…
Reference in a new issue
No description provided.
Delete branch "hygiene/public-repo-sanitization"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to the public-repo security audit: tracked files carried real internal network details (LAN IP, hostnames, username, home paths, SSH port). This removes them; real values stay in gitignored local files and the deploy environment, mirroring the policy already used in starfleet/roster.
Changes:
AGENTS.md: added a Public repo hygiene section (no internal hostnames/IPs/usernames/home paths/credentials in tracked files; pre-push scan command). Sanitized the deploy/fj sections that documented the live server's address, user, repo path, and SSH commands.deploy.sh:SERVER_HOST,SERVER_USER,SERVER_REPO_DIRare now required env vars (were hardcoded LAN defaults); setup comments use placeholders.client.sh.example/server.sh.example/mcp.json.example: placeholder hosts (<server-host>,<llm-host>,<home-assistant-host>).README.md+src/computer/client/__init__.py: example IPs replaced with placeholders.Deploy note: run deploys with
SERVER_HOST=... SERVER_USER=... SERVER_REPO_DIR=... ./deploy.sh(export them in your shell or a gitignored env file).Verification:
bash -n deploy.shOK; edited Python module compiles; hygiene scan (git grep -nIEi ...) clean over tracked tree.