Skip to content

fix: block global updates when a runtime loses ownership - #144

Merged
PatrickSys merged 1 commit into
mainfrom
fix/global-update-partial-ownership-20261205b
Dec 5, 2026
Merged

PatrickSys merged 1 commit into
mainfrom
fix/global-update-partial-ownership-20261205b

Conversation

@PatrickSys

Copy link
Copy Markdown
Owner

When a global install loses one runtime's ownership manifest, workspine health --global reports a blocker. workspine update --global used to skip that runtime, update the others, and exit successfully.

To reproduce, install Claude and Codex with workspine install --global --tools claude,codex in a disposable agent home. Move aside .codex/workspine-file-manifest.json and .claude/skills/work-plan/SKILL.md. On main, global update exits 0 and restores the Claude skill even though global health reports the missing Codex manifest.

Update now discovers the same targets as health. The existing ownership preflight reports Codex and exits 1 before writing to any target. The regression checks both update modes, and a packed Windows install confirmed that restoring the Codex manifest lets update repair the missing Claude skill.

Verification passed on Windows with Node 24.14.1. The full suite passed all 38 files, including all 28 global-install tests. JavaScript syntax, proof-runner staleness, and diff checks also passed.

@vercel

vercel Bot commented Dec 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
workspine Ready Ready Preview Dec 5, 2026 1:38am UTC

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 5, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-05T01:41:32.081033Z fe3c0cd PR opened
ℹ️ 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.

@PatrickSys
PatrickSys merged commit 52ceea7 into main Dec 5, 2026
4 checks passed
@PatrickSys
PatrickSys deleted the fix/global-update-partial-ownership-20261205b branch December 5, 2026 01:50

This branch was successfully deployed

1 active deployment
Preview — fe3c0cdc Deployed Dec 5, 2026 by vercel[bot]
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.

1 participant