Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
gbrain git commit-push stops and says so when the Git host refuses the push for the account git used, naming the credential helper that answered instead of retrying quietly.
Fixed
- A push the host refuses with "Repository not found" (HTTP 404) or HTTP 403 is now a credential fault:
gbrain git commit-pushexits 1 withpush_credential_refused(not retryable) after one attempt, instead of exit 4push_unconfirmed, which the post-commit hook, autopilot's git reconcile and agents read as transient while commits stayed local for hours. The message names the credential helpers git asked, in order, with the scope and config file of each, which one answered and its account login; the secret is never printed, logged or stored, and a helper's arguments or inline body are never shown. - The refusal is recorded for the checkout until a push lands: doctor
git_convergencewarns about it at once (credential_refusedin the root's details), put_page'slastPushStatusreadsneeds_attention, and the push log line says the push was refused rather than that the remote could not be reached. A dropped connection keepspush_unconfirmedand its retries.