Summary
Add patchmill auth as the canonical command for configuring or repairing Patchmill's repo-local Pi provider authentication.
Background
Users can currently get stuck after patchmill init if Pi provider auth fails later, because rerunning init exits when patchmill.config.json already exists. Plain pi is not enough because it may not be globally installed and would not update Patchmill's repo-local .patchmill/pi-agent auth state.
Attached design artifacts
The spec and implementation plan are attached as comments on this issue:
docs/specs/2026-06-16-patchmill-auth-design.md
docs/plans/2026-06-16-patchmill-auth.md
Worktree branch: patchmill-auth
Summary
Add
patchmill authas the canonical command for configuring or repairing Patchmill's repo-local Pi provider authentication.Background
Users can currently get stuck after
patchmill initif Pi provider auth fails later, because rerunninginitexits whenpatchmill.config.jsonalready exists. Plainpiis not enough because it may not be globally installed and would not update Patchmill's repo-local.patchmill/pi-agentauth state.Attached design artifacts
The spec and implementation plan are attached as comments on this issue:
docs/specs/2026-06-16-patchmill-auth-design.mddocs/plans/2026-06-16-patchmill-auth.mdWorktree branch:
patchmill-auth