Problem
auths init creates the identity and writes attestations to refs/auths/registry in ~/.auths/.git, but the user must manually:
git fetch ~/.auths refs/auths/registry:refs/auths/registry — pull registry into the project repo
git push origin refs/auths/registry — push to remote
This is non-obvious and undiscoverable. New users don't know the registry exists in ~/.auths, and the fetch-from-local-path pattern is uncommon.
Expected behavior
After auths init (when run inside a git repo):
- Automatically copy
refs/auths/registry from ~/.auths into the current repo
- Prompt or auto-push to the remote
This is related to but distinct from #73 (pre-push hook for ongoing sync). This issue is about the initial setup experience.
Context
During dogfooding, auths init --force completed successfully but the widget showed errors because the registry was never pushed to the remote. Required manual git plumbing to fix.
Problem
auths initcreates the identity and writes attestations torefs/auths/registryin~/.auths/.git, but the user must manually:git fetch ~/.auths refs/auths/registry:refs/auths/registry— pull registry into the project repogit push origin refs/auths/registry— push to remoteThis is non-obvious and undiscoverable. New users don't know the registry exists in
~/.auths, and the fetch-from-local-path pattern is uncommon.Expected behavior
After
auths init(when run inside a git repo):refs/auths/registryfrom~/.authsinto the current repoThis is related to but distinct from #73 (pre-push hook for ongoing sync). This issue is about the initial setup experience.
Context
During dogfooding,
auths init --forcecompleted successfully but the widget showed errors because the registry was never pushed to the remote. Required manual git plumbing to fix.