Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
fix(skills): keep forever watch alive on cycle errors
cyhc14dadc3a532
diff --git a/skills/background-watch-hook/SKILL.md b/skills/background-watch-hook/SKILL.mdindex 3d8a4fcaf..5ae524e45 100644--- a/skills/background-watch-hook/SKILL.md+++ b/skills/background-watch-hook/SKILL.md@@ -285,6 +285,7 @@ scripts/watch_github_pr_then_hook.sh \- it keeps the watcher process alive until you stop it- it advances its cursors after each detected event and waits for the next one+- transient cycle failures are logged and retried instead of killing the watcher immediately- it must run with `--timeout 0`, so omit `--timeout` or pass `0` explicitly- always mention the lifecycle to the user and surface the PID/log path from the startup messagediff --git a/skills/background-watch-hook/scripts/watch_github_pr_then_hook.sh b/skills/background-watch-hook/scripts/watch_github_pr_then_hook.shindex 9c17ae090..17fd36f98 100755--- a/skills/background-watch-hook/scripts/watch_github_pr_then_hook.sh+++ b/skills/background-watch-hook/scripts/watch_github_pr_then_hook.sh@@ -250,6 +250,7 @@ fiif [[ "$forever" -eq 1 ]]; thencursor_file="$(mktemp)"+ retry_delay_seconds=30cleanup() {rm -f "$cursor_file"}@@ -314,7 +315,17 @@ if [[ "$forever" -eq 1 ]]; thencycle_waiter_args+=(--catch-up)fi+ set +e"${cycle_wrapper_args[@]}" -- "${cycle_waiter_args[@]}"+ cycle_status=$?+ set -e++ if [[ "$cycle_status" -ne 0 ]]; then+ echo "Forever watch cycle failed with status $cycle_status; retrying in ${retry_delay_seconds}s." >&2+ current_catch_up=0+ sleep "$retry_delay_seconds"+ continue+ fiif [[ ! -s "$cursor_file" ]]; thenecho "No cursor output written; re-arming with existing cursors." >&2