The job token cannot read daniel/gitdan-crates, so CI authenticates with a
read-only deploy key. The action writes it 0600 outside the workspace, pins
the forge's host key (RSA, the only type offered, confirmed against the
trusted known_hosts record and a fresh keyscan), exports GIT_SSH_COMMAND,
proves access with ls-remote, and fails on a Cargo.lock with two commits of
the crates repo. The selftest is wired into selftest.sh.
Existing actions and scripts are untouched.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MfBCVNDv3y5gm2djeZSAk4