docs(deploy): correct ProtectSystem=strict rejection rationale
Core Architecture & Invariant CI / validate (pull_request) Successful in 16s

- README.md: replace the incorrect claim that ProtectSystem=strict was rejected because nix develop needs writable /tmp; systemd.exec(5) keeps /tmp and /var/tmp writable under strict when PrivateTmp=yes is set, which this unit already adopts
- README.md: state the real compatibility constraint instead — strict mounts the whole filesystem read-only including ~/.cache/nix/fetcher-locks and the checkout, matching the documented ProtectHome constraint — so issue #17 AC#4 records an accurate reason
This commit is contained in:
kiskaadee committed 2026-11-17 10:01:38 -05:00
1 parent 52ec28f278
commit 9195d91d7d
1 file changed
+1 -1
+1 -1
View File
@@ -207,7 +207,7 @@ The unit template includes a tested systemd sandboxing baseline (Issue [#17](htt
- **Rejected Directives (Compatibility Constraints):** - **Rejected Directives (Compatibility Constraints):**
- `ProtectHome=yes` / `ProtectHome=read-only`: Ruled out because `nix develop` requires read-write access to `~/.cache/nix/fetcher-locks` for flake evaluation, and the repository checkout resides under the operator's user directory. - `ProtectHome=yes` / `ProtectHome=read-only`: Ruled out because `nix develop` requires read-write access to `~/.cache/nix/fetcher-locks` for flake evaluation, and the repository checkout resides under the operator's user directory.
- `ProtectSystem=strict`: Ruled out because `nix develop` requires writable `/tmp` for development shell temporary files (`/tmp/nix-shell.*`). - `ProtectSystem=strict`: Ruled out because it mounts the entire filesystem read-only, including the operator's home directory and the repository checkout; `nix develop` needs write access to `~/.cache/nix/fetcher-locks` for flake evaluation (the same constraint that rules out `ProtectHome`). Writable `/tmp` is not the blocker: with `PrivateTmp=yes`, systemd keeps `/tmp` and `/var/tmp` writable even under `strict`.
- `PrivateNetwork=yes`: Ruled out because the MCP daemon must communicate over the local network to the TV via SSAP (`wss://:3001`), Developer Mode SSH/SFTP (`:9922`), and Wake-on-LAN UDP broadcasts. - `PrivateNetwork=yes`: Ruled out because the MCP daemon must communicate over the local network to the TV via SSAP (`wss://:3001`), Developer Mode SSH/SFTP (`:9922`), and Wake-on-LAN UDP broadcasts.
### Developer Mode SSH Capture Setup ### Developer Mode SSH Capture Setup