Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .agents/skills/sync-git-branch-continuously/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,15 @@ To check the status or inspect the output of the active background sync loop:
```bash
tail -n 20 "/tmp/sync_git_${REPO_NAME}_${BRANCH_NAME}.log"
```

## Authentication Failures

When `git pull` or `git push` fails due to invalid or expired credentials:

1. Keep the background sync process running so it automatically resumes if
credentials are refreshed incidentally. Never mask or sanitize
authentication errors to suppress wakeups.
2. Prompt the user via `ask_question` so a UI popup alerts them to
re-authenticate.
3. After the user responds, trigger an immediate sync cycle (`kill -USR1
<PID>`) and verify the sync log.
Loading