Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
fix(#6530): helper fallback message names only real commands
garrytan98cd59b9f10c
diff --git a/src/core/brain-repo-durability.ts b/src/core/brain-repo-durability.tsindex 9e3e8dec2a..781e506b5e 100644--- a/src/core/brain-repo-durability.ts+++ b/src/core/brain-repo-durability.ts@@ -299,7 +299,7 @@ if git push origin "$_head:refs/heads/$_branch" >>"$_log" 2>&1; thenecho "$(date -u +%FT%TZ) [push] ok $_branch $(git rev-parse --short "$_head")" >>"$_log"; exit 0fiecho "$(date -u +%FT%TZ) [push] LOCAL-ONLY, NEEDS ATTENTION: $_branch @ $(git rev-parse --short "$_head") push rejected; run gbrain git commit-push --push-only" >>"$_log"-echo "PUSH FAILED — the commit is local-only. Install gbrain and run: gbrain git commit-push --push-only (it merges remote commits safely). Never git pull --rebase here." >&2+echo "PUSH FAILED — the commit is local-only. Install gbrain, then run: gbrain git commit-push --push-only (it merges remote commits safely). Never git pull --rebase here." >&2exit 4`;}