chore(hygiene): remove internal network topology from tracked files #4

Merged
troed merged 5 commits from hygiene/public-repo-sanitization into devel 2026-08-26 12:10:49 +02:00
Owner

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_DIR are 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.sh OK; edited Python module compiles; hygiene scan (git grep -nIEi ...) clean over tracked tree.

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_DIR` are 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.sh` OK; edited Python module compiles; hygiene scan (`git grep -nIEi ...`) clean over tracked tree.
docs(hygiene): document required SERVER_* env vars in deploy.sh header
Some checks failed
CI / Sanity check (ubuntu-latest) (pull_request) Failing after 3m14s
25bb2eff33
fix(conformance): decode-and-skip session hello in fake-server smoke test
All checks were successful
CI / Sanity check (ubuntu-latest) (pull_request) Successful in 4m9s
4a57d445b3
The fake server pushes session.created before any client frame (mirrors the
real server, commit 83e0d4b). The smoke test predates that behavior and
expected the pushed event first; CI never caught it because the ruff-format
gate was failing earlier in the job.
troed merged commit 4e7daea732 into devel 2026-08-26 12:10:49 +02:00
troed deleted branch hygiene/public-repo-sanitization 2026-08-26 12:10:49 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starfleet/computer!4
No description provided.