Skip to content

Support live OpenGUI installation in WorkBuddy - #102

Merged
gofenix merged 3 commits into
mainfrom
codex/workbuddy-live-install
Sep 16, 2026
Merged

gofenix merged 3 commits into
mainfrom
codex/workbuddy-live-install

Conversation

@gofenix

@gofenix gofenix commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

WorkBuddy 5.5.6 can watch MCP configuration changes while running and can review external Hook changes from /hooks, but the OpenGUI installer rejected every running WorkBuddy process. This made first installation require Command-Q and a separate Terminal command even when the host supported live configuration.

This change allows WorkBuddy 5.5.6+ to remain open, keeps the restart fallback for older compatible hosts, updates the GitHub installation Skill to complete the install in the current task, and guides the user through /hooks and /skills. It retains atomic configuration writes, old-broker upgrade blocking, immutable package directories, receipts, and rollback behavior. The public-testing version is bumped to 0.3.1.

Validation:

  • 138 tests passed
  • TypeScript build and release validation passed
  • packed fresh/offline MCP smoke passed with isolated ADB discovery
  • packaged installer passed live 5.5.6 first install, idempotent reinstall, and 5.5.3 restart fallback
  • actual running WorkBuddy 5.5.6 preflight returned LIVE_PREFLIGHT_OK without changing configuration
  • installation Skill passed quick_validate.py

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 16, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-16T16:12:43.665984Z b289781 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6415da2fd2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

[ -n "$candidate" ] || continue
case "$executable" in "$candidate"/Contents/*) fail HOST_RUNNING 'Quit WorkBuddy with Command-Q after finishing phone tasks, then rerun this installer. No configuration was changed.' ;; esac
done
case "$executable" in "$app"/Contents/*) return 0 ;; esac

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 检查所有共享配置的 WorkBuddy 进程

当机器上存在多个已识别的 WorkBuddy bundle 时,安装器会要求用 --app 选择一个,但这里仅检查所选 bundle 的进程。若另一个正在运行的旧版或副本使用相同的 dataFolderName(例如两个安装都使用 ~/.workbuddy),选择一个未运行的 5.5.6 bundle 就会让预检通过,并在仍由旧宿主使用的配置目录中写入文件,绕过本应触发的 HOST_RESTART_REQUIRED。请像此前逻辑一样检查所有候选 bundle,至少检查所有可能拥有该 config_root 的运行进程,再决定是否允许热安装。

Useful? React with 👍 / 👎.

@gofenix
gofenix merged commit 737c625 into main Sep 16, 2026
12 checks passed
@gofenix
gofenix deleted the codex/workbuddy-live-install branch September 16, 2026 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants