mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:46 +01:00
docs(agents): ask for SSH access instead of falling back
A missing GitHub SSH key is a credential boundary, not a reason to switch transports silently. Assisted-by: DeepSeek Harness (deepseek-flash)
This commit is contained in:
1 parent
13afe01441
commit
ba1515f094
1 file changed
+2
-1
@@ -165,7 +165,8 @@ For an impactful change, follow these steps in order, scaled to its risk:
|
||||
for one-off tools, and the project's existing toolchain (e.g. its flake, `uv`, `pnpm`) for its
|
||||
dependencies; ask before creating a flake or installing another way.
|
||||
- Use `gh` for authorized GitHub operations; keep SSH for GitHub Git remotes and make sure the
|
||||
Nix-managed `~/.ssh/config` is used.
|
||||
Nix-managed `~/.ssh/config` is used. If SSH authentication is unavailable, stop and ask the user
|
||||
to grant access; do not silently fall back to HTTPS or another credential.
|
||||
- Code layout: `~/codes` = personal, `~/work` = work code, `~/src/<repo>` = source checkouts.
|
||||
- Agents MUST publish only to repositories that are already public or that the user names, and MUST
|
||||
NOT publish content from private repositories or internal sources to a public repository.
|
||||
|
||||
Reference in new issue
Block a user