# 2026-09-18 — First push to origin hangs ## Where we stopped `main` (34e69b5) has never been pushed; the remote repo `bots-garden/ori` on git.rickub.com exists but is empty. Diagnosis done, fix **not applied** — the user chooses. ## Root cause - HTTPS remote + 401 on push + no keychain credential ⇒ git prompts for a password. - Sessions started from VSCodium's integrated terminal export `GIT_ASKPASS=/Applications/VSCodium.app/.../askpass.sh`, so the prompt goes to a VSCodium input box, not the terminal. From a non-interactive context (Claude Code Bash tool, scripts) it blocks indefinitely. ## Options for the next step 1. **SSH remote (recommended, verified working)**: `git remote set-url origin git@git.rickub.com:bots-garden/ori.git` then `git push -u origin main`. The local key is already authorised; `ssh -T git@git.rickub.com` answers "rickub: this endpoint serves git only". 2. **Keep HTTPS**: run `GIT_ASKPASS= git push -u origin main` in a real terminal, answer the prompts once; `credential.helper=osxkeychain` (global, /opt/homebrew/etc/gitconfig) will remember them. ## Traps - macOS has no `timeout`; use `perl -e 'alarm N; exec @ARGV' ` to guard hanging git calls. - Killing a hung `git push` leaves `git-remote-https` + `askpass.sh` orphans (ppid 1); check with `ps -axo pid,ppid,command | grep askpass` and kill them. - Also push `feat/acp-webapp` if the branch history is wanted on the server (only `main` was in scope).